File management method and device, electronic equipment and storage medium

By determining the application storage directory and obtaining the file path in the simulated running environment, displaying controls for users to operate directly, the complex file management problem in the simulated running environment is solved, and operation efficiency and user experience are improved.

CN120067067APending Publication Date: 2025-05-30TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510114663.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

In a simulated running environment, after storing files, users need to manually find the file path to operate, resulting in complex file management processes and affecting operation efficiency.

Method used

When starting an application in a simulated running environment, determine the storage directory of the application on the virtual disk, and obtain the file path returned by the simulated running environment in the host, displaying the controls so that the user can open the file or directory directly.

Benefits of technology

It simplifies the file management process, reduces operation steps, improves the operation efficiency after file storage, and improves user experience and application activity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120067067A_ABST
    Figure CN120067067A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a file management method and device, electronic equipment and a storage medium, and the method comprises the steps: when a first application is started in a simulation running environment, determining a first storage directory of the first application in a virtual disk, and detecting the first storage directory, the virtual disk is configured to be shared and accessed by the simulation running environment and the host machine, and the first storage directory is used for storing files operated in the first application; when it is detected that a first file is stored in the first storage directory, a first path returned by the simulation running environment is obtained based on the host machine, and a first control is displayed; when the first control is triggered, opening the first storage directory or the first file based on the first path; according to the embodiment of the invention, the file management process can be simplified, so that the operation efficiency after the file is stored is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technologies, and particularly to a file management method, apparatus, electronic device, and storage medium. Background Art

[0002] With the development of computer technologies, more and more applications have emerged and been widely used. By deploying a simulated running environment on a host machine, a suitable running environment can be provided for an application, enabling the application to run more efficiently and be managed more conveniently.

[0003] Currently, when using an application in a simulated running environment, after a file is stored, only a prompt of the storage path is displayed. If a user wants to operate on the file, the user needs to manually search for the file according to the storage path to further operate. This file management process is relatively complex and affects the operation efficiency. Summary of the Invention

[0004] The following is an overview of the subject matter described in detail in the present disclosure. This overview is not intended to limit the scope of protection of the claims.

[0005] Embodiments of the present disclosure provide a file management method, apparatus, electronic device, and storage medium, which can simplify the file management process, thereby improving the operation efficiency after a file is stored.

[0006] On the one hand, embodiments of the present disclosure provide a file management method, including:

[0007] When a first application is started in a simulated running environment, determine a first storage directory of the first application in a virtual disk, and detect the first storage directory, where the simulated running environment is deployed on a host machine, the virtual disk is configured to be shared and accessed by the simulated running environment and the host machine, and the first storage directory is used to store files operated in the first application;

[0008] When it is detected that a first file is stored in the first storage directory, obtain a first path returned by the simulated running environment based on the host machine and display a first control;

[0009] When the first control is triggered, open the first storage directory or the first file based on the first path.

[0010] On the other hand, embodiments of the present disclosure further provide a file management apparatus, including:

[0011] An acquisition module, configured to determine a first storage directory of the first application in a virtual disk when the first application is started in a simulation running environment, and detect the first storage directory, where the simulation running environment is deployed in a host computer, the virtual disk is configured to be shared and accessed by the simulation running environment and the host computer, and the first storage directory is used to store files operated in the first application;

[0012] A display module, configured to, when detecting that a first file is stored in the first storage directory, obtain a first path returned by the simulation running environment based on the host computer and display a first control;

[0013] An open module, configured to, when the first control is triggered, open the first storage directory or the first file based on the first path.

[0014] Further, the above acquisition module is specifically configured to:

[0015] Obtain a first configuration file of the first application, where the first configuration file is used to record the first storage directory of the first application in the virtual disk;

[0016] Parse the first configuration file to determine the first storage directory.

[0017] Further, the above acquisition module is specifically configured to:

[0018] Obtain a first identifier of the first application, generate a configuration acquisition request based on the first identifier, where the first identifier is used to indicate the first application;

[0019] Send the configuration acquisition request to the background, so that the background matches the first configuration file of the first application based on the first identifier;

[0020] Obtain the first configuration file returned by the background.

[0021] Further, the above file management device further includes a configuration module, and the configuration module is specifically configured to:

[0022] Obtain second identifiers of multiple second applications, determine second storage directories of the respective second applications in the virtual disk, where the first application is one of the multiple second applications, the second identifier is used to indicate the corresponding second application, and the second storage directory is used to store files operated in the corresponding second application;

[0023] Generate second configuration files corresponding to the respective second applications respectively based on the second storage directories corresponding to the respective second applications;

[0024] Associate and store each of the second identifiers and the corresponding second configuration files in the background.

[0025] Furthermore, the above file management device further includes a first processing module, and the first processing module is specifically configured to:

[0026] When the display duration of the first control is less than a preset duration threshold, keep the first control displayed;

[0027] Or, when the display duration of the first control is greater than or equal to the duration threshold, close the first control.

[0028] Furthermore, the above file management device further includes a second processing module, and the second processing module is specifically configured to:

[0029] When the display duration of the first control is less than the duration threshold and it is detected that a second file is stored in the first storage directory, reset the display duration of the first control, and display a second control on the native operation interface of the host computer, where the display area of the second control does not overlap with the display area of the first control, and the second control is used to open the first storage directory or open the second file.

[0030] Furthermore, the first path is the path of the first file, the first control includes a directory opening control and a file opening control, and the above opening module is specifically configured to:

[0031] When the directory opening control is triggered, determine a second path of the first storage directory based on the first path, and open the first storage directory based on the second path;

[0032] Or, when the file opening control is triggered, open the first file based on the first path.

[0033] Furthermore, the above display module is specifically configured to:

[0034] Obtain a file storage notification returned by the simulated running environment based on the host computer, where the file storage notification includes a first path;

[0035] In response to the file storage notification, display a guiding pop-up window on the native operation interface of the host computer, where the guiding pop-up window is provided with the directory opening control and the file opening control distributed side by side.

[0036] Furthermore, the above display module is specifically configured to:

[0037] In response to the file storage notification, obtain a preference configuration, the running state of the host computer, and the file attributes of the first file;

[0038] When both the running state and the file attribute meet the preference configuration, open the first storage directory or the first file based on the first path; or, when either the running state or the file attribute does not meet the preference configuration, display a guiding pop-up window on the native operation interface of the host machine.

[0039] Further, the first file is displayed in the simulation operation interface of the simulation running environment. The above file management device further includes a storage module, and the storage module is specifically configured to:

[0040] In response to a selection operation for selecting the first file triggered in the simulation running environment, display a storage control for storing the first file in the simulation operation interface;

[0041] When the storage control is triggered, store the first file in the first storage directory.

[0042] Further, the above file management device further includes an update module, and the update module is specifically configured to:

[0043] Obtain, based on the host machine, interaction information for the first file returned by the simulation running environment;

[0044] Input the first file queried based on the first path into a large language model for domain prediction to obtain the content domain of the first file;

[0045] Obtain the domain score of the content domain, splice the interaction information and the domain score, and input the spliced result into an attention prediction model for attention prediction to obtain content attention;

[0046] Update the file name of the first file based on the content attention.

[0047] Further, the above update module is specifically configured to:

[0048] Obtain, based on the host machine, content information of multimedia content returned by the simulation running environment, where the multimedia content refers to the content operated in the first application within a preset time period before the first file is stored;

[0049] Determine the relevance between the content information and the content domain, and adjust the domain score based on the relevance;

[0050] Splice the interaction information and the adjusted domain score, and input the spliced result into an attention prediction model for attention prediction to obtain content attention.

[0051] On the other hand, an embodiment of the present disclosure also provides an electronic device, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the above file management method is implemented.

[0052] On the other hand, an embodiment of the present disclosure also provides a computer-readable storage medium, where the storage medium stores a computer program, and when the computer program is executed by a processor, the above file management method is implemented.

[0053] On the other hand, an embodiment of the present disclosure also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. The processor of the electronic device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the electronic device executes and implements the above file management method.

[0054] The embodiments of the present disclosure at least include the following beneficial effects: When starting the first application in the simulation running environment, determine the first storage directory of the first application in the virtual disk. Since the first storage directory is used to store the files operated in the first application, by detecting the first storage directory, it can ensure that the files dynamically stored during the running of the first application are effectively detected. When it is detected that a first file is stored in the first storage directory, the simulation running environment deployed in the host can return a first path to the host, so that the host can obtain the first path returned by the simulation running environment. Also, since the virtual disk is configured to be shared and accessed by the simulation running environment and the host, the host can effectively access the first storage directory in the virtual disk, and after a first file is stored in the first storage directory, the host can also effectively access the first file in the virtual disk. When it is detected that a first file is stored in the first storage directory, a first control is displayed on the host. When the first control is triggered, based on the first path, the first storage directory or the first file is opened, realizing that after a file is stored in the simulation running environment, the host displays the first control to guide the user to complete the access, providing the user with a function of quickly opening the first file or the first storage directory, which can simplify the file management process, reduce the operation steps, thereby improving the operation efficiency after the file is stored, and effectively enhancing the user experience and application activity; In addition, the simulation running environment only needs to transmit the first path, and displaying the first control and triggering the first control are both executed on the host, which is equivalent to the host being responsible for the decision of whether to open the storage directory or the file. This makes the simulation running environment keep lightweight and general, reduces the workload of developing and maintaining the simulation running environment. At the same time, the adjustment of the access policy is controlled by the host, without modifying the simulation running environment, thereby improving the management efficiency and flexibility.

[0055] Other features and advantages of the present disclosure will be set forth in the following description, and in part will be obvious from the description, or can be learned by practicing the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] The drawings are used to provide a further understanding of the technical solutions of the present disclosure, and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the technical solutions of the present disclosure, and do not constitute a limitation to the technical solutions of the present disclosure.

[0057] Figure 1 Schematic diagram of an optional implementation environment provided for an embodiment of the present disclosure;

[0058] Figure 2 Schematic diagram of another optional implementation environment provided for an embodiment of the present disclosure;

[0059] Figure 3 Schematic diagram of an optional process flow of a file management method provided for an embodiment of the present disclosure;

[0060] Figure 4 Schematic diagram of an optional interface of an application management program provided for an embodiment of the present disclosure;

[0061] Figure 5 Schematic diagram of an optional interface of a guiding pop-up window provided for an embodiment of the present disclosure;

[0062] Figure 6 Schematic diagram of an optional interface of a first storage directory provided for an embodiment of the present disclosure;

[0063] Figure 7 Schematic diagram of an optional interface of a first file provided for an embodiment of the present disclosure;

[0064] Figure 8 Schematic diagram of an optional interface of a first application provided for an embodiment of the present disclosure;

[0065] Figure 9 Schematic diagram of another optional interface of a first application provided for an embodiment of the present disclosure;

[0066] Figure 10 Schematic diagram of an optional interface of a file browsing panel provided for an embodiment of the present disclosure;

[0067] Figure 11 Schematic diagram of an optional process flow of updating a file name provided for an embodiment of the present disclosure;

[0068] Figure 12 Schematic diagram of an optional process flow of determining content attention degree provided for an embodiment of the present disclosure;

[0069] Figure 13An optional architecture schematic diagram of the file management method provided by the embodiments of the present disclosure;

[0070] Figure 14 An optional structural schematic diagram of the file management device provided by the embodiments of the present disclosure;

[0071] Figure 15 A partial structural block diagram of the terminal provided by the embodiments of the present disclosure;

[0072] Figure 16 A partial structural block diagram of the server provided by the embodiments of the present disclosure. Detailed implementation manners

[0073] In order to make the objectives, technical solutions and advantages of the present disclosure clearer, the present disclosure will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present disclosure, and are not used to limit the present disclosure.

[0074] It should be noted that in each specific implementation manner of the present disclosure, when it comes to performing relevant processing based on data related to the characteristics of the first object, such as the first object attribute information or the set of attribute information, the permission or consent of the first object will be obtained first. Moreover, the collection, use, and processing of these data will comply with relevant laws, regulations, and standards. Among them, the first object may be a user. In addition, when the embodiments of the present disclosure need to obtain the first object attribute information, the separate permission or separate consent of the first object will be obtained by means of a pop-up window or jumping to a confirmation page. After clearly obtaining the separate permission or separate consent of the first object, the necessary data related to the first object for the embodiments of the present disclosure to operate normally will be obtained.

[0075] In the embodiments of the present disclosure, the term "module" or "unit" refers to a computer program with a predetermined function or a part of a computer program, which works together with other related parts to achieve a predetermined first, and can be fully or partially implemented by using software, hardware (such as a processing circuit or a memory), or a combination thereof. Similarly, one processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be a part of the overall module or unit that includes the function of the module or unit.

[0076] Currently, when using an application in a simulation running environment, after storing a file, only a prompt of the storage path is displayed. If the user wants to operate the file, they need to manually find the file according to the storage path to further operate. This file management process is relatively complex and affects the operation efficiency.

[0077] Based on this, embodiments of the present disclosure provide a file management method, apparatus, electronic device, and storage medium, which can simplify the file management process and thus improve the operation efficiency after the file is stored.

[0078] Referring to Figure 1 , Figure 1 FIG. is a schematic diagram of an optional implementation environment provided by an embodiment of the present disclosure. The implementation environment includes a terminal 101, where the terminal 101 can be used as a host computer.

[0079] Exemplarily, when the terminal 101 starts the first application in the simulated operating environment, it can determine the first storage directory of the first application in the virtual disk and detect the first storage directory. The simulated operating environment is deployed in the terminal 101, and the virtual disk is configured to be shared and accessed by the simulated operating environment and the terminal 101. The first storage directory is used to store files operated in the first application; when it is detected that the first file is stored in the first storage directory, the first path returned by the simulated operating environment is obtained based on the terminal 101 and the first control is displayed; when the first control is triggered, the first storage directory or the first file is opened based on the first path.

[0080] When the terminal 101 starts the first application in the simulation running environment, it determines the first storage directory of the first application in the virtual disk. Since the first storage directory is used to store the files operated in the first application, by detecting the first storage directory, it can ensure that the files dynamically stored during the running of the first application are effectively detected. When it is detected that the first file is stored in the first storage directory, the simulation running environment deployed in the terminal 101 can return the first path to the terminal 101, enabling the terminal 101 to obtain the first path returned by the simulation running environment. Also, since the virtual disk is configured for shared access by the simulation running environment and the terminal 101, the terminal 101 can effectively access the first storage directory in the virtual disk. And after the first file is stored in the first storage directory, the terminal 101 can also effectively access the first file in the virtual disk. When it is detected that the first file is stored in the first storage directory, the first control is displayed through the terminal 101. When the first control is triggered, the first storage directory or the first file is opened based on the first path. This realizes that after the file is stored in the simulation running environment, the first control is displayed through the terminal 101 to guide the user to complete the access, providing the user with a function of quickly opening the first file or the first storage directory, which can simplify the file management process, reduce the operation steps, thereby improving the operation efficiency after the file is stored and effectively enhancing the user experience and application activity; in addition, the simulation running environment only needs to transmit the first path, and the display of the first control and the triggering of the first control are both executed on the terminal 101. Equivalent to the terminal 101 being responsible for the decision of whether to open the storage directory or the file, this makes the simulation running environment remain lightweight and general, reducing the workload of developing and maintaining the simulation running environment. At the same time, the adjustment of the access policy is controlled by the terminal 101 without modifying the simulation running environment, thereby improving the management efficiency and flexibility.

[0081] Refer to Figure 2 , Figure 2 FIG. is a schematic diagram of another optional implementation environment provided by the embodiments of the present disclosure. This implementation environment includes a terminal 101 and a server 102. Among them, the terminal 101 and the server 102 are connected through a communication network, and the server 102 can be used as a host computer.

[0082] Exemplarily, when starting the first application in the simulation running environment, the server 102 can determine the first storage directory of the first application in the virtual disk and detect the first storage directory. The simulation running environment is deployed in the server 102, and the virtual disk is configured to be shared and accessed by the simulation running environment and the server 102. The first storage directory is used to store files operated in the first application. When it is detected that the first file is stored in the first storage directory, based on the server 102, obtain the first path returned by the simulation running environment and display the first control. The server 102 can send the media stream to the terminal 101. The media stream can include the display screen of the server 102 and audio data, etc. The server 102 can receive the trigger instruction sent by the terminal 101 for triggering the first control. When the first control is triggered, open the first storage directory or the first file based on the first path.

[0083] When the server 102 starts the first application in the simulation running environment, it determines the first storage directory of the first application in the virtual disk. Since the first storage directory is used to store the files operated in the first application, by detecting the first storage directory, it can ensure that the files dynamically stored during the operation of the first application are effectively detected. When it is detected that the first file is stored in the first storage directory, the simulation running environment deployed in the server 102 can return the first path to the server 102, enabling the server 102 to obtain the first path returned by the simulation running environment. Also, since the virtual disk is configured for shared access by the simulation running environment and the server 102, the server 102 can effectively access the first storage directory in the virtual disk. And after the first file is stored in the first storage directory, the server 102 can also effectively access the first file in the virtual disk. Since the server 102 sends the media stream to the terminal 101 for the terminal 101 to display the display screen and audio data of the server 102, when it is detected that the first file is stored in the first storage directory, the first control displayed by the server 102 can be displayed through the terminal 101. The server 102 can receive the trigger instruction sent by the terminal 101 for triggering the first control. When the first control is triggered, the first storage directory or the first file is opened based on the first path. This realizes that after a file is stored in the simulation running environment, the server 102 displays the first control to guide the user to complete the access, providing the user with a function of quickly opening the first file or the first storage directory, which can simplify the file management process, reduce the operation steps, thereby improving the operation efficiency after the file is stored, and effectively enhancing the user experience and application activity; in addition, the simulation running environment only needs to transmit the first path, and the display of the first control and the triggering of the first control are both executed on the server 102. It is equivalent to the server 102 being responsible for the decision of whether to open the storage directory or the file, which keeps the simulation running environment lightweight and general, reduces the workload of developing and maintaining the simulation running environment. At the same time, the adjustment of the access policy is controlled by the server 102 without the need to modify the simulation running environment, thereby improving the management efficiency and flexibility.

[0084] The server 102 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. In addition, the server 102 can also be a node server in a blockchain network.

[0085] The terminal 101 can be a mobile phone, a computer, a smart voice interaction device, a smart home appliance, a vehicle-mounted terminal, etc., but is not limited thereto. The terminal 101 and the server 102 can be directly or indirectly connected through wired or wireless communication means, and the embodiments of the present disclosure do not limit this here.

[0086] Refer to Figure 3 , Figure 3 FIG. is an optional flowchart of a file management method provided by an embodiment of the present disclosure. The file management method can be executed by a terminal, or can also be executed in cooperation with the terminal by a server. The terminal or the server can be used as a host computer. The file management method includes but is not limited to the following steps 301 to 303.

[0087] Step 301: When starting a first application in a simulated operating environment, determine a first storage directory of the first application in a virtual disk, and detect the first storage directory.

[0088] Among them, the operating environment is a collection of all hardware, software, and settings required to support the operation of a software application, system, or process. For example, the operating environment includes an operating system, which provides the most basic functions and resource management capabilities. Common operating systems include Windows, macOS, Linux, Android, or iOS, etc. For another example, the operating environment includes dependent software, that is, other software components required for the application to run, such as databases, Web (World Wide Web) servers, library files, etc.

[0089] Among them, the simulated operating environment is an emulation environment created on a computer through software. The simulated operating environment is used to simulate the operating conditions of a real system or device, so that the application can run in a non-native environment without affecting the actual system. The simulated operating environment can also be called the Guest side. In the simulated operating environment, applications can be installed and run, and various operations and experiences can be carried out. For example, the Guest side can be an Android system implemented based on the vbox virtualization solution, and its manifestation form is a VDI file. It complies with the VDI file format specification, and the Host side can load and run this VDI file.

[0090] Among them, the simulated operating environment is deployed in the host computer. The simulated operating environment is usually created and hosted by an emulator running on the host computer. The host computer is a physical computer that runs the simulated operating environment. The host computer provides computing resources to support the operation of the simulated operating environment. The host computer can be called the Host side. The Host side includes the emulator software itself, as well as the supporting hardware abstraction layer, operating system, and user interface components. The Host side is responsible for creating and managing the simulated operating environment, and provides a series of tools and interfaces so that users can interact with the simulated operating environment.

[0091] For example, a mobile emulator running on a host machine provides a simulated runtime environment for mobile applications. The mobile emulator can be a mobile phone emulator running the Android system. Another example is that a mini-program emulator running on a host machine provides a simulated runtime environment for mini-program applications.

[0092] Specifically, when the host machine is a terminal providing a desktop operating system, the emulator is a desktop application, that is, an application running on the desktop operating system. A desktop operating system is an operating system designed for personal computers (PCs), which allows users to interact with the host machine through a graphical user interface. The desktop operating system provides a platform for interaction between users and computer hardware and software. Common desktop operating systems include Windows, macOS, Linux, etc.

[0093] Specifically, the first application refers to an application (App) executed in the simulated runtime environment. The first application can run in the simulated runtime environment and depends on functions such as resource management, storage access, network communication, and peripheral emulation provided by the simulated runtime environment. The first application can have functions such as saving, generating, or viewing files. The files operated on in the first application can be files saved, generated, or viewed through the first application, etc. The files operated on in the first application can be stored in the first storage directory. The first application can be a mobile application or a mini-program application, etc., which is not limited in the embodiments of the present disclosure.

[0094] Among them, a virtual disk refers to a simulated disk created on a physical storage device, usually stored on the host machine in the form of a disk image file. The virtual disk can be mounted and used by the simulated runtime environment and is configured for shared access by the simulated runtime environment and the host machine.

[0095] Among them, determining the first storage directory specifically may refer to determining the path of the first storage directory. The first storage directory is used to store files operated on in the first application. Various types of files can be operated on in the first application, so that the first storage directory can store various types of files. For example, the first storage directory can store audio files, video files, picture files, text files, executable files, compressed files, etc., which is not limited in the embodiments of the present disclosure.

[0096] It can be understood that when the first application is started in the simulation running environment, the simulation running environment can determine the first storage directory of the first application in the virtual disk, and then detect the first storage directory. For example, the simulation running environment can create a FileObserver instance, specify the directory to be detected by the FileObserver instance as the first storage directory, and then call the startWatching method to make the FileObserver enter the detection state, so as to detect the first storage directory.

[0097] It should be noted that the simulation running environment is usually configured to continuously detect the first storage directory when the first application is started in the simulation running environment, and the detection will not stop until the first application is closed. Specifically, when the first application is started, the first storage directory will be detected. Assuming that the first application is not closed, regardless of whether a file is detected in the first storage directory, the first storage directory will be continuously detected, and all files stored in the first storage directory can be detected in a timely and effective manner during the running process of the first application. Among them, the first application can be started in multiple ways, and the following describes in detail the multiple startup methods of the first application.

[0098] In the first startup method of the first application, the host can provide an application management program. The application management program refers to a tool for managing software applications, which can cover the entire life cycle of software applications, such as installation, configuration, monitoring, and maintenance. For example, the application management program can specifically refer to an application program for managing software applications, also known as an application butler, which is a management tool integrating downloading, installing, upgrading, and uninstalling applications, providing functions such as high-speed downloading for users, installing without plugins, and uninstalling applications with one click. The one-click installation and running of the emulator and the application can be realized through the application management program, effectively improving the operation efficiency.

[0099] Specifically, refer to Figure 4 , Figure 4 which is an optional interface schematic diagram of the application management program provided by this embodiment of the present disclosure. When the host can be a terminal providing a desktop operating system, the application management program is a desktop application. The management interface 401 of the application management program can display the application opening control 402 of the first application. When the application opening control 402 is triggered, the corresponding emulator of the first application will be opened, and then the simulation running environment will be created and hosted through the emulator, and the first application will be started in the simulation running environment to realize the one-click running of the emulator and the first application. For example, when the first application is a mobile application, then the emulator is a mobile emulator.

[0100] In the second startup method of the first application, the corresponding emulator of the first application can be directly opened through the host computer, and then a simulated operating environment can be created and hosted through the emulator. Then, when the simulated operation interface of the simulated operating environment triggers a control for starting the first application, the first application is started in the simulated operating environment.

[0101] Step 302: When it is detected that a first file is stored in the first storage directory, obtain the first path returned by the simulated operating environment based on the host computer and display the first control.

[0102] Among them, the first file is a file operated in the first application. The first file can be of various types such as an audio file, a video file, a picture file, a text file, an executable file, a compressed file, etc. Since the first storage directory is located in the virtual disk, the first file stored in the first storage directory is also located in the virtual disk. The first path is a path related to the first file.

[0103] Among them, the first control is an interactive element on the host computer, that is, the first control displayed on the host computer can be triggered during user interaction. The first control can exist in various forms such as a button, a checkbox, etc.

[0104] It can be understood that when the simulated operating environment detects that a first file is stored in the first storage directory, the simulated operating environment will determine the first path and return the first path to the host computer for the host computer to obtain the first path and display the first control. It is equivalent to that after the first file is stored in the simulated operating environment and the host computer obtains the first path, the host computer will display the first control to ensure that the first file or the first storage directory can be effectively opened when the first control is triggered.

[0105] Specifically, the simulated operating environment can set a first trigger, and the host computer can set a second trigger. The first trigger is used to trigger the return of the first path to the host computer when it is detected that a first file is stored in the first storage directory, so that the host computer can obtain the first path returned by the simulated operating environment. The second trigger is used to trigger the creation and display of the first control when the first path is obtained.

[0106] Step 303: When the first control is triggered, open the first storage directory or the first file based on the first path.

[0107] It can be understood that when the first control is triggered, the host computer opens the first storage directory or the first file based on the first path. That is to say, the first control is the control that opens the first storage directory or the first file when triggered. When it is necessary to open the first file, the first path can be the path of the first file in the virtual disk. When it is necessary to open the first file, the first path can be the path of the first file in the virtual disk. The first path is input into the directory extraction function to obtain the path of the first storage directory. The first path can also be the path of the first storage directory. This disclosure embodiment does not make a limitation here.

[0108] Specifically, the host computer can open the first storage directory or the first file through the installed application. For example, in the host computer with the Windows operating system, the directory can be opened by calling the system name. Taking C# implementation as an example, when the first control is triggered, the host computer creates a first startup object of the process startup command (such as Process.Start) through PowerShell, specifies the startup path of the first startup object as the path of the first storage directory, and specifies the startup application of the first startup object as the explorer. After calling the process startup command for the first startup object, the first storage directory will be opened through the explorer. Since the first storage directory can be the directory where the first file is located, assuming the first path is the path of the first file, then extracting the path of the directory where the first path is located will obtain the path of the first storage directory.

[0109] In addition, the file can be opened by calling the default application of the Windows operating system or the specified application. Taking C# implementation as an example, when the first control is triggered, the host computer creates a second startup object of the process startup command through PowerShell, specifies the startup path of the second startup object as the path of the first file. When the startup application of the second startup object is not specified, after calling the process startup command for the second startup object, the first file will be opened through the default application. When the startup application of the second startup object is specified, after calling the process startup command for the second startup object, the first file will be opened through the specified application. Among them, the first path can be the path of the first file.

[0110] It should be noted that when the host is a terminal, the native operation interface of the host can directly display the first control to the user, and the host can directly receive the trigger operation input by the user for triggering the first control, thereby opening a directory or a file. When the host is a server, the host can push a media stream to the terminal communicating with the host for the terminal to display the native operation interface of the host based on the media stream. Therefore, the terminal can display the first control of the host. In fact, it is the terminal that displays the first control to the user. The terminal can receive the trigger operation input by the user for triggering the first control, and then generate a trigger instruction based on the trigger operation and send the trigger instruction to the host for the host to trigger the first control in response to the trigger instruction, thereby opening a directory or a file.

[0111] Based on this, when starting the first application in the simulation running environment, the first storage directory of the first application in the virtual disk is determined. Since the first storage directory is used to store the files operated in the first application, by detecting the first storage directory, it can be ensured that the files dynamically stored during the running of the first application are effectively detected. When it is detected that the first file is stored in the first storage directory, the simulation running environment deployed on the host can return the first path to the host, enabling the host to obtain the first path returned by the simulation running environment. Also, since the virtual disk is configured for shared access by the simulation running environment and the host, the host can effectively access the first storage directory in the virtual disk, and after the first file is stored in the first storage directory, the host can also effectively access the first file in the virtual disk. When it is detected that the first file is stored in the first storage directory, the first control is displayed through the host. When the first control is triggered, the first storage directory or the first file is opened based on the first path, realizing that after the file is stored in the simulation running environment, the first control is displayed through the host to guide the user to complete the access, providing the user with a function of quickly opening the first file or the first storage directory, which can simplify the file management process, reduce the operation steps, thereby improving the operation efficiency after the file is stored, effectively enhancing the user experience and the application activity. In addition, the simulation running environment only needs to transmit the first path, and the display and triggering of the first control are both executed on the host. It is equivalent to the host being responsible for the decision of whether to open the storage directory or the file, which makes the simulation running environment remain lightweight and general, reducing the workload of developing and maintaining the simulation running environment. At the same time, the adjustment of the access policy is controlled by the host without the need to modify the simulation running environment, thereby improving the management efficiency and flexibility.

[0112] Among them, the first storage directory can be determined in various ways. The following describes in detail the various ways of determining the first storage directory.

[0113] In the first determination method of the first storage directory, to determine the first storage directory of the first application in the virtual disk, specifically, it can be to obtain the first configuration file of the first application; parse the first configuration file to determine the first storage directory.

[0114] Among them, the first configuration file is used to record the first storage directory of the first application in the virtual disk. Specifically, the first configuration file can record the path of the first storage directory. Determining the first storage directory is equivalent to determining the path of the first storage directory. For example, the path of the first storage directory can include " / sdcard / Picture", " / sdcard / DCI", etc.

[0115] It should be noted that the number of the first storage directories of the first application in the virtual disk can be one or more. Therefore, the first configuration file can record one or more first storage directories, which can realize that the storage directories of the same application are recorded in the same configuration file, while the storage directories of different applications are recorded in different configuration files; when the first configuration file records multiple first storage directories, it is equivalent to the first configuration file recording the directory list of the first application.

[0116] It can be understood that when starting the first application in the simulation running environment, the simulation running environment needs to obtain the first configuration file. Since the first configuration file records the first storage directory, the simulation running environment parses the first configuration file and can determine the first storage directory. For example, the first storage directory is recorded in the first configuration file according to a preset record template, and the simulation running environment can effectively extract the first storage directory by extracting the content at the position of the first storage directory in the record template. In addition, by recording the storage directory of the application in the configuration file, it is convenient for centralized management of the storage directory, with high flexibility, thus improving the efficiency of development and maintenance.

[0117] In the second determination method of the first storage directory, to determine the first storage directory of the first application in the virtual disk, specifically, it can be to obtain the directory list of the first application and determine the first storage directory of the first application in the virtual disk according to the directory list. Based on this, the simulation running environment can directly obtain the directory list of the first application from the background. The directory list includes one or more first storage directories, and then determines the first storage directory through the directory list.

[0118] In a possible implementation manner, to obtain the first configuration file of the first application, specifically, it can be to obtain the first identifier of the first application, generate a configuration acquisition request based on the first identifier; send the configuration acquisition request to the background for the background to match the first configuration file of the first application based on the first identifier; obtain the first configuration file returned by the background.

[0119] Among them, the first identifier is used to indicate the first application, and the first identifier is the unique identifier of the first application. For example, the first identifier is the package name of the first application.

[0120] Among them, the background can run on the host machine. At this time, the host machine runs the background service and the database, stores the first configuration file through the database in the host machine, and the simulation running environment can interact with the database in the host machine to obtain the first configuration file.

[0121] In addition, the background can also run on an independent background server. The background server stores the first configuration file through its own storage or an external database, and the simulation running environment can interact with the background server to obtain the first configuration file. It should be noted that when the host machine is a server, the server acting as the host machine is equivalent to a cloud desktop server. At this time, the cloud desktop server communicates with the background server.

[0122] It should be noted that since the simulation running environment is deployed in the host machine, the simulation running environment can send a configuration acquisition request to the background through the host machine, and obtain the first configuration file returned by the background through the host machine.

[0123] It can be understood that when starting the first application in the simulation running environment, the simulation running environment can obtain the first identifier of the first application, then the simulation running environment generates a configuration acquisition request based on the first identifier, and sends the configuration acquisition request to the background. Since the first configuration file is stored in the background and the first configuration file includes the unique first identifier, the background can respond to the configuration acquisition request, accurately match the first configuration file of the first application based on the first identifier, and return the first configuration file to the simulation running environment, thereby improving the accuracy of the first configuration file, and further ensuring that it is accurately detected whether the first storage directory of the first application stores the first file, and avoiding missed detection or misdetection of the first file.

[0124] Specifically, the first configuration file will be associated with storing the first identifier and the first storage directory of the first application to ensure that the corresponding first configuration file can be accurately matched based on the first identifier. For example, the first identifier and the first storage directory are stored in the first configuration file in the form of a JSON (JavaScript Object Notation) structure, that is, in the form of key-value pairs. The first identifier is used as the key in the JSON structure, and the first storage directory is used as the value in the JSON structure. Therefore, the corresponding first configuration file can be accurately matched based on the first identifier.

[0125] Exemplarily, the JSON structure is {"com.XXXXX": [" / sdcard / Picture", " / sdcard / DCI"]}, where "com.XXXXX" is the key in the JSON structure, and [" / sdcard / Picture", " / sdcard / DCI"] is the value in the JSON structure. That is, the first identifier is "com.XXXXX", and the paths of the first storage directories include " / sdcard / Picture" and " / sdcard / DCI".

[0126] In a possible implementation, before obtaining the first identifier of the first application, the file management method further includes: obtaining the second identifiers of multiple second applications, determining the second storage directories of the respective second applications in the virtual disk; generating respective second configuration files for the respective second applications based on the second storage directories corresponding to the respective second applications; and associatively storing the respective second identifiers and the corresponding second configuration files in the background.

[0127] Among them, the first application is one of the multiple second applications, the second identifier is used to indicate the corresponding second application, and the second storage directory is used to store the files operated in the corresponding second application.

[0128] It can be understood that the second application refers to the application executed in the simulated operating environment. The simulated operating environment can obtain the second identifiers of multiple second applications, and determine the second storage directories of the respective second applications in the virtual disk. The simulated operating environment can also generate the respective second configuration files for the respective second applications, and associatively store the respective second identifiers and the corresponding second configuration files in the background, which is equivalent to establishing a mapping relationship between the second identifier and the corresponding second configuration file in the background. Due to the second identifier and the corresponding second configuration file, subsequently, the second configuration file corresponding to any second application can be accurately matched in the background based on the second identifier of the second application. On this basis, since the first application is one of the multiple second applications, that is, the first configuration file of the first application is one of the multiple second configuration files, and the first identifier of the first application is one of the multiple second identifiers, it is equivalent to that the first identifier and the first configuration file will also be pre-associatively stored in the background to ensure that the first configuration file of the first application can be accurately matched based on the first identifier subsequently.

[0129] It should be noted that the second identifier and the second configuration file can be stored in the background not only through the simulated operating environment, but also through other devices communicating with the background. The embodiments of the present disclosure do not limit this here.

[0130] Specifically, the second storage directory can be determined in various ways. For example, the second storage directory can be obtained through manual query, and a corresponding second configuration file is generated after passing the review. Or, the second storage directory can be obtained through an automated query script. The second storage directory can also be determined by other means, which are not limited in the embodiments of the present disclosure.

[0131] In a possible implementation, to determine the second storage directory of each second application in the virtual disk, specifically, it can be to determine the application popularity of each second application. The application popularity includes the number of downloads, the number of active users, the number of discussions, etc. For each second application, when the application popularity of the second application is greater than or equal to a preset popularity threshold, the second storage directory of the second application is obtained through manual query. Or, when the application popularity of the second application is less than the popularity threshold, the second storage directory of the second application is obtained through an automated query script.

[0132] In a possible implementation, after the host obtains the first path returned by the simulated running environment and displays the first control, the file management method further includes: when the display duration of the first control is less than a preset duration threshold, keep displaying the first control; or, when the display duration of the first control is greater than or equal to the duration threshold, close the first control.

[0133] It can be understood that the host will record the display duration of the first control after displaying the first control. The host will judge whether the display duration of the first control is less than the duration threshold. When the display duration of the first control is less than the duration threshold, the host keeps displaying the first control to ensure that the user has enough time to pay attention to the first control and interact with the first control. And when the display duration of the first control is greater than or equal to the duration threshold, the host closes the first control, that is, the first control will automatically close after being continuously displayed on the host for a period of time. For example, assuming the duration threshold is 5 seconds, then the first control will automatically close after being continuously displayed on the host for 5 seconds, which can avoid the first control occupying the display screen and can also avoid unnecessary resource consumption.

[0134] For example, when the display duration of the first control is greater than or equal to the duration threshold, the host can close the first control by calling a process termination command.

[0135] In a possible implementation, before keeping displaying the first control when the display duration of the first control is less than a preset duration threshold, the file management method further includes: when the display duration of the first control is less than the duration threshold and it is detected that a second file is stored in the first storage directory, reset the display duration of the first control and display a second control on the native operation interface of the host.

[0136] Among them, the display area of the second control does not overlap with that of the first control, and the second control is used to open the first storage directory or open the second file.

[0137] Among them, similar to the first file, the second file is also a file operated in the first application; in addition, similar to the first control, the second control is also an interactive element on the host computer, that is, the second control displayed on the host computer can be triggered during user interaction, and the second control can exist in various forms such as buttons and check boxes. Both the first control and the second control are displayed on the native operation interface of the host computer.

[0138] It can be understood that when the display duration of the first control is less than the duration threshold, if the simulated operating environment detects that the second file is stored in the first storage directory, it means that multiple files are stored in the first storage directory in a short period of time. At this time, the host computer will reset the display duration of the first control and display the second control. Similar to the first control, when the display duration of the second control is greater than or equal to the duration threshold, the second control will be closed, that is, the second control will also be automatically closed after being displayed on the host computer for a period of time. Since the multiple files stored in the first storage directory in a short period of time are usually related, by resetting the display duration of the first control, the display time of the first control can be extended. Although the first control is displayed first and then the second control, the first control and the second control can be closed simultaneously, ensuring that the user has enough time to pay attention to the related first control and second control and interact with the first control or the second control.

[0139] In a possible implementation manner, the first path is the path of the first file, and the first control includes a directory opening control and a file opening control. When the first control is triggered, the first storage directory or the first file is opened based on the first path. Specifically, when the directory opening control is triggered, the second path of the first storage directory is determined based on the first path, and the first storage directory is opened based on the second path; or when the file opening control is triggered, the first file is opened based on the first path.

[0140] It can be understood that when it is detected that the first file is stored in the first storage directory, the host computer can obtain the first path returned by the simulated operating environment, and can also display the directory opening control and the file opening control at the same time. When the directory opening control is triggered, the host computer can first determine the second path of the first storage directory through the first path, and then open the first storage directory based on the second path. It is equivalent that the directory opening control is the control to open the first storage directory when triggered, and when the file opening control is triggered, the host computer can open the first file based on the first path. It is equivalent that the file opening control is the control to open the first file when triggered.

[0141] Based on this, by simultaneously displaying the directory opening control and the file opening control, it is convenient for the user to quickly open the first storage directory by triggering the directory opening control, achieving one-key opening of the directory where the file is located, and quickly opening the first file by triggering the file opening control, achieving one-key opening of the file, and further improving the flexibility of file management.

[0142] Specifically, the host can set a second trigger, and the second trigger is used to trigger the creation and display of the directory opening control and the file opening control when obtaining the first path.

[0143] In a possible implementation manner, based on the host obtaining the first path returned by the simulation running environment and displaying the first control, specifically, it can be based on the host obtaining the file storage notification returned by the simulation running environment; in response to the file storage notification, a guiding pop-up window is displayed on the native operation interface of the host.

[0144] Among them, the file storage notification includes the first path, and the guiding pop-up window is provided with a directory opening control and a file opening control distributed side by side. The file storage notification may also include other information. For example, the file storage notification includes information such as a timestamp and the package name of the first application. The embodiments of the present disclosure do not limit this here.

[0145] It can be understood that the simulation running environment can return the first path to the host by means of a file storage notification. Specifically, when the simulation running environment detects that the first file is stored in the first storage directory, it generates a file storage notification including the first path, and then returns the file storage notification to the host. The first path is transmitted through the file storage notification. The host can not only determine the first path through the file storage notification, but also subscribe to the event of the file storage notification. When receiving the file storage notification, in response to the file storage notification, a guiding pop-up window is displayed, which can improve the accuracy of the first path transmission, and can also decouple the simulation running environment from the host, improving flexibility.

[0146] In addition, the guiding pop-up window is a prompt window provided by the host desktop operating system for guiding the user's operation. When the host displays the directory opening control and the file opening control, it can be achieved by means of the guiding pop-up window. Specifically, a guiding pop-up window is displayed on the native operation interface of the host. The guiding pop-up window provides a directory opening control and a file opening control distributed side by side. The user can perform a triggering operation on the directory opening control or the file opening control set on the guiding pop-up window. Displaying the directory opening control and the file opening control in the guiding pop-up window can attract the user's attention, prevent the user from ignoring the directory opening control and the file opening control, can also keep the interface clean, improve readability, and is also helpful for saving screen space without additional interface jumps.

[0147] It should be noted that the shape of the guiding pop-up window can be rectangular or other forms, and the guiding pop-up window can be displayed in the upper right area or other areas of the application interface of the first application. The present disclosure does not make specific limitations on the shape, style, and display method of the guiding pop-up window.

[0148] It is worth noting that when the emulator runs on the host computer, the native operation interface of the host computer can display the program window of the emulator, and the application interface of the first application is displayed in the program window. Displaying the guiding pop-up window on the native operation interface of the host computer can specifically be displaying the guiding pop-up window in the program window.

[0149] Exemplarily, referring to Figure 5 , Figure 5 is an optional interface schematic diagram of the guiding pop-up window provided by an embodiment of the present disclosure. The host computer runs an emulator, and the simulation running environment of the emulator can run the first application, so that the native operation interface 501 of the host computer displays the application interface 502 of the first application. The application interface 502 can be displayed in the specified display area of the emulator. In response to the file storage notification, the guiding pop-up window 503 is displayed on the native operation interface 501 of the host computer. The guiding pop-up window 503 can be located on the top layer of the application interface 502, that is, the area of the guiding pop-up window 503 will cover the area of the application interface 502. The guiding pop-up window 503 provides directory opening controls 504 and file opening controls 505 distributed side by side. The text of the directory opening control 504 can be set to "Open Directory", and the text of the file opening control 505 can be set to "View File". In addition, information such as prompts or explanations can also be provided on the guiding pop-up window 503. For example, by displaying the text "Export Successful" on the guiding pop-up window 503 to prompt that the first file has been stored in the first storage directory, which helps the user make a better decision.

[0150] Then referring to Figure 6 , Figure 6 is an optional interface schematic diagram of the first storage directory provided by an embodiment of the present disclosure. When the directory opening control 504 in the guiding pop-up window 503 is triggered, the directory interface 601 of the first storage directory is opened and displayed. For example, in the host computer with the Windows operating system, the directory interface 601 is the interface of the resource manager.

[0151] Then referring to Figure 7 , Figure 7 is an optional interface schematic diagram of the first file provided by an embodiment of the present disclosure. When the file opening control 505 in the guiding pop-up window 503 is triggered, the file interface 701 of the first file is opened and displayed. When the first file is an image file, the file interface 701 is the interface of an image viewing software.

[0152] In a possible implementation, in response to a file storage notification, a guidance pop-up window is displayed on the native operation interface of the host computer. Specifically, in response to the file storage notification, preference configurations, the operating status of the host computer, and the file attributes of the first file are obtained. When both the operating status and the file attributes meet the preference configurations, the first storage directory or the first file is opened based on the first path. Or, when any one of the operating status and the file attributes does not meet the preference configurations, a guidance pop-up window is displayed on the native operation interface of the host computer.

[0153] Among them, the preference configuration refers to the settings customized according to needs. The preference settings usually meet specific usage habits, expectations, or environments. The operating status of the host computer can include the metric status and the working mode of the host computer, etc. The metric status can include CPU usage rate, CPU temperature, and memory usage rate, etc. The working mode can include the normal mode, the do not disturb mode, the game mode, etc. The file attributes can include the file size, file type, etc. of the first file.

[0154] It can be understood that the preference configuration can be set as the expected conditions for automatically opening the first storage directory or the first file. When any one of the operating status and the file attributes does not meet the preference configuration, it means that the expected conditions for automatically opening the first storage directory or the first file are not met. At this time, a guidance pop-up window is displayed on the native operation interface of the host computer. The first storage directory is opened by triggering the directory opening control on the guidance pop-up window, or the first file is opened by triggering the file opening control on the guidance pop-up window, guiding the user to choose whether to open the directory or the file through the guidance pop-up window by themselves. And when both the operating status and the file attributes meet the preference configuration, it means that the expected conditions for automatically opening the first storage directory or the first file are met. At this time, the first storage directory or the first file is automatically opened based on the first path.

[0155] Based on this, determining whether the operating status and the file attributes meet the preference configuration, and automatically opening the first storage directory or the first file when the preference configuration is met are all executed on the host computer. While ensuring that the simulated operating environment remains lightweight and general, it ensures that the host computer can make decisions more flexibly, can further improve the flexibility of the file management process, and helps to simplify the file management process.

[0156] Exemplarily, the preference configuration is set such that the working mode is in the normal mode, the CPU usage rate is less than 30%, the file size is less than 1MB, and the file type is text. Assuming that the running state of the host includes that the working mode is in the normal mode and the CPU usage rate is 15%, and the file attributes include that the file size is 100KB and the file type is text, then both the running state and the file attributes meet the preference configuration. At this time, directly open the first storage directory or the first file based on the first path. Also assume that the running state of the host includes that the working mode is in the do-not-disturb mode, which means that the running state does not meet the preference configuration. At this time, a guiding pop-up window is displayed on the native operation interface of the host to guide the user to select whether to open the directory or the file through the guiding pop-up window by himself / herself.

[0157] In a possible implementation manner, the first file is displayed in the simulation operation interface of the simulation running environment. Before obtaining the first path returned by the simulation running environment based on the host and displaying the first control when it is detected that the first file is stored in the first storage directory, the file management method further includes: in response to a selection operation for selecting the first file triggered in the simulation running environment, display a storage control for storing the first file in the simulation operation interface; when the storage control is triggered, store the first file in the first storage directory.

[0158] Among them, displaying the first file in the simulation operation interface may mean that all or abbreviated content of the first file is displayed in the simulation operation interface. For example, when the first file is an image file, the application interface may display a thumbnail image or a complete image of the image file; when the first file is a text file, the application interface may display abbreviated information of the text file, and the abbreviated information includes file name, file icon, file size, etc. In addition, an application interface may also be displayed after the first application is started. At this time, the application interface is displayed in the simulation operation interface. Displaying the first file in the simulation operation interface is equivalent to displaying the first file in the application interface. After the first application is started, the application interface may not be displayed and only run in the background. At this time, the first file can be directly displayed in the simulation operation interface. The embodiments of the present disclosure do not make any limitations in this regard.

[0159] Among them, the storage control is an interactive element on the simulation running environment, that is, the first control displayed on the host can be triggered during user interaction, and the storage control can exist in various forms such as buttons and check boxes.

[0160] It can be understood that the triggered selection operation can specifically be an operation such as single - clicking, double - clicking, or clicking and holding for a period of time on the first file in the application interface. After the first file is selected, the simulation operation interface will create and display a storage control. The creation and display of the storage control can be controlled by the first application or by the simulation running environment. When the storage control is triggered, the simulation running environment will store the first file in the first storage directory. That is, the storage control is the control that stores the first file when it is triggered. By displaying the storage control, it is convenient for the user to quickly store the first file after selecting it, further improving the flexibility of file management.

[0161] Exemplarily, referring to Figure 8 and Figure 9 , Figure 8 is an optional interface schematic diagram of the first application provided by the embodiments of the present disclosure. Figure 9 is another optional interface schematic diagram of the first application provided by the embodiments of the present disclosure. In the native operation interface 501 of the host computer, the application interface 502 of the first application running in the simulation running environment is displayed. The application interface 502 displays a file selection control 801 for the first file. For example, when the first file is an image file, the file selection control 801 can display the complete image of the image file. When the file selection control 801 can be configured to display a content processing pop - up window 901 after being held for a period of time, a storage control 902 is set in the content processing pop - up window 901. When the storage control 902 is triggered, the first file is stored in the first storage directory.

[0162] In a possible implementation manner, referring to Figure 10 , Figure 10 is an optional interface schematic diagram of the file browsing panel provided by the embodiments of the present disclosure. The program window of the emulator displays a panel opening control 506. When the panel opening control 506 is triggered, a file browsing panel 507 is displayed in the native operation interface 501 of the host computer. The file browsing panel 507 will display the files recorded in the first storage directory of the first application. The file browsing panel 507 can be provided with controls for opening the first file, controls for opening the directory where the first file is located, controls for opening the first storage directory corresponding to the first application in the virtual disk, and controls for importing files into the virtual disk.

[0163] In a possible implementation manner, referring to Figure 11 , Figure 11FIG. 0 is an optional process flow diagram for updating a file name provided by an embodiment of the present disclosure. After obtaining a first path returned by a simulation running environment based on a host computer and displaying a first control, the file management method further includes: obtaining, based on the host computer, interaction information for a first file returned by the simulation running environment; inputting the first file queried based on the first path into a large language model for domain prediction to obtain the content domain of the first file; obtaining a domain score for the content domain, concatenating the interaction information and the domain score, and inputting the concatenated information into an attention prediction model for attention prediction to obtain content attention; and updating the file name of the first file based on the content attention.

[0164] Among them, the interaction information for the first file may refer to the interaction information of the user with respect to the first file in the first application. For example, the interaction information may include likes, forwards, or collections of the first file in the first application, etc.; the content domain refers to the domain involved in the first file. For example, the content domain includes transportation, healthcare, education, the Internet, etc.

[0165] Specifically, the domain score can be obtained through operations based on historical data. For example, the historical data may be the user's recent browsing data or all browsing data. Through the data ratios between the various domains involved in the historical data, the domain scores for the various domains can be statistically obtained. Therefore, the distribution of the domain scores corresponding to each user is usually different. After determining the content domain, it is necessary to target the current user to obtain an appropriate domain score.

[0166] Among them, the large language model (Large Language Model, LLM) is a deep learning model trained using a large amount of text data and can generate natural language text or understand the meaning of language text; the large language model generally uses a recurrent neural network (Recurrent Neural Network, RNN) or variants such as long short-term memory network (Long Short-Term Memory, LSTM) and gated recurrent unit (Gated Recurrent Unit, GRU) to capture context information in the text sequence, thereby realizing tasks such as natural language text generation, language model evaluation, text classification, and sentiment analysis; in the field of natural language processing, the large language model has been widely used, such as speech recognition, machine translation, automatic summarization, dialogue systems, intelligent question answering, etc.

[0167] It can be understood that in addition to being able to obtain the interaction information returned by the simulated running environment, the host can also input the first file queried based on the first path into the large language model for domain prediction. Since the large language model has extensive knowledge reserves, it can accurately predict the content domain of the first file, and then obtain the domain score of this content domain. Through this domain score, the degree of user attention to this content domain can be determined in one dimension, and through the interaction information, the degree of user attention to this content domain can be determined in another dimension. Therefore, after splicing the interaction information and the domain score and inputting them into the attention prediction model, the attention prediction model can accurately predict the content attention. Predicting the content domain and determining the content attention are executed on the host, and the simulated running environment only needs to transmit the first path and the interaction information, which makes the simulated running environment lightweight and general. Then, based on the content attention, the file name of the first file is updated, so that the file name can accurately indicate the user's attention to the first file, facilitating the management of the first file with the updated file name.

[0168] Exemplarily, the attention prediction model includes an encoding layer and a regression layer. The interaction information is recorded according to a specific template. For example, the interaction information is a string of a specific length, and different elements in the interaction information are used to indicate different types of interaction information, while the domain score can be a floating point number. Splicing the interaction information and the domain score is equivalent to splicing a new element at the end of the interaction information, and a new string can be obtained. After splicing the interaction information and the domain score and inputting them into the attention prediction model, specifically, the encoding layer can be used to encode the splicing result of the interaction information and the domain score to obtain an encoded feature, and then the regression layer can be used to perform regression on the encoded feature to obtain the content attention.

[0169] For example, assume that the interaction information is a string of length 3. The first element of the interaction information is used to indicate whether a like is given to the first file in the first application. The first element being 1 represents that a like has been given, and the first element being 0 represents that no like has been given. The second element of the interaction information is used to indicate whether the first file is forwarded in the first application. The second element being 1 represents that it has been forwarded, and the second element being 0 represents that it has not been forwarded. The third element of the interaction information is used to indicate whether the first file is collected in the first application. The third element being 1 represents that it has been collected, and the third element being 0 represents that it has not been collected. Assume that the interaction information is 111, which means that in the first application, the first file has been liked, forwarded, and collected.

[0170] In one possible implementation, referring to Figure 12 , Figure 12An optional process schematic diagram for determining content attention provided by an embodiment of the present disclosure. After splicing the interaction information and the domain score, the spliced result is input into an attention prediction model for attention prediction to obtain the content attention. Specifically, it may be based on the host computer to obtain the content information of the multimedia content returned by the simulation running environment; determine the relevance between the content information and the content domain, and adjust the domain score based on the relevance; splice the interaction information and the adjusted domain score and input them into the attention prediction model for attention prediction to obtain the content attention.

[0171] Among them, the multimedia content refers to the content that has been operated in the first application within a preset time period before the first file is stored, that is, the multimedia content is the content that has been recently operated in the first application. For example, within the preset time period before the trigger selection operation, the user has also browsed content A and content B in the first application, then the simulation running environment will return content A and content B as the multimedia content to the host computer.

[0172] It can be understood that the host computer can obtain the multimedia content returned by the simulation running environment. Since the multimedia content is the content that has been recently operated in the first application, the reference domain corresponding to the multimedia content is the domain that the user has recently paid attention to. Also, since the content domain is determined based on the currently stored first file, the content domain is the domain that the user currently pays attention to. The host computer determines the relevance between the content information and the content domain, which is equivalent to determining the relevance between the reference domain that the user has recently paid attention to and the content domain that the user currently pays attention to. Then, based on the relevance, the domain score is adjusted. When the relevance between the content information and the content domain is higher, it means that the possibility that the content domain is the reference domain that the user has recently paid attention to is higher, and the domain score is increased to enhance the user's attention to the content domain. When the relevance between the content information and the content domain is lower, it means that the possibility that the content domain is the reference domain that the user has recently paid attention to is lower, and the domain score is increased to weaken the user's attention to the content domain, so that the domain score can more accurately represent the user's attention to the content domain. Through the interaction information and the adjusted domain score, a more accurate content attention can be predicted.

[0173] The following details the complete process of the file management method.

[0174] Refer to Figure 13 , Figure 13 An optional architecture schematic diagram of the file management method provided by an embodiment of the present disclosure.

[0175] First, when starting the first application, i.e., starting the App, in the simulation running environment, obtain the first identifier of the first application, and generate a configuration acquisition request based on the first identifier; send the configuration acquisition request to the background, i.e., the Guest side sends a request for the directory list of the App to the background, so that the background can match the first configuration file of the first application based on the first identifier; obtain the first configuration file returned by the background. Since the first configuration file includes the directory list of at least one first storage directory, it is equivalent to the Guest side obtaining the directory list of the App returned by the background; parse the first configuration file to determine the first storage directory. Among them, the first identifier is used to indicate the first application, the first configuration file is used to record the first storage directory of the first application in the virtual disk, the simulation running environment is deployed in the host, the virtual disk is configured for shared access by the simulation running environment and the host, and the first storage directory is used to store the files operated in the first application.

[0176] Then, detect the first storage directory, i.e., detect that the files in the first storage directory have changed. For example, create a file detection task through FileObserver.

[0177] Then, when it is detected that the first file is stored in the first storage directory, for example, when the App saves a file, obtain the file storage notification returned by the simulation running environment based on the host, i.e., the Guest side sends a notification to the Host side, where the file storage notification includes the first path.

[0178] Then, in response to the file storage notification, display a guiding pop-up window on the native operation interface of the host, i.e., the Host side pops up a guiding pop-up window, where the guiding pop-up window is provided with a directory opening control and a file opening control distributed side by side.

[0179] Then, when the directory opening control is triggered, determine the second path of the first storage directory based on the first path, and open the first storage directory based on the second path; or, when the file opening control is triggered, open the first file based on the first path.

[0180] Based on this, when starting the first application in the simulation running environment, the first storage directory of the first application in the virtual disk is determined. Since the first storage directory is used to store the files operated in the first application, by detecting the first storage directory, it can ensure that the files dynamically stored during the running of the first application are effectively detected. When it is detected that the first file is stored in the first storage directory, the simulation running environment deployed in the host can return the first path to the host, so that the host can obtain the first path returned by the simulation running environment. Also, since the virtual disk is configured for shared access by the simulation running environment and the host, the host can effectively access the first storage directory in the virtual disk, and after the first file is stored in the first storage directory, the host can also effectively access the first file in the virtual disk. When it is detected that the first file is stored in the first storage directory, the first control is displayed through the host. When the first control is triggered, the first storage directory or the first file is opened based on the first path, realizing that after the file is stored in the simulation running environment, the host displays the first control to guide the user to complete the access, providing the user with a function of quickly opening the first file or the first storage directory, which can simplify the file management process, reduce the operation steps, thereby improving the operation efficiency after the file is stored, and effectively enhancing the user experience and application activity; in addition, the simulation running environment only needs to transmit the first path, and the display of the first control and the triggering of the first control are both executed on the host. It is equivalent to the host being responsible for the decision of whether to open the storage directory or the file, which makes the simulation running environment keep lightweight and general, reduces the workload of developing and maintaining the simulation running environment. At the same time, the adjustment of the access policy is controlled by the host, without changing the simulation running environment, thereby improving the management efficiency and flexibility.

[0181] It can be understood that although the steps in each of the above flowcharts are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this embodiment, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above flowcharts may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.

[0182] Refer to Figure 14 , Figure 14 FIG. 1400 is an optional structural schematic diagram of a file management device provided by an embodiment of the present disclosure. The file management device 1400 includes:

[0183] An acquisition module 1401, configured to determine a first storage directory of a first application in a virtual disk and detect the first storage directory when the first application is started in a simulation running environment. The simulation running environment is deployed in a host computer, the virtual disk is configured to be shared and accessed by the simulation running environment and the host computer, and the first storage directory is used to store files operated in the first application.

[0184] A display module 1402, configured to, when detecting that a first file is stored in the first storage directory, obtain a first path returned by the simulation running environment based on the host computer and display a first control.

[0185] An opening module 1403, configured to, when the first control is triggered, open the first storage directory or the first file based on the first path.

[0186] Furthermore, the acquisition module 1401 is specifically configured to:

[0187] Obtain a first configuration file of the first application, where the first configuration file is used to record the first storage directory of the first application in the virtual disk.

[0188] Parse the first configuration file to determine the first storage directory.

[0189] Furthermore, the acquisition module 1401 is specifically configured to:

[0190] Obtain a first identifier of the first application, generate a configuration acquisition request based on the first identifier, where the first identifier is used to indicate the first application.

[0191] Send the configuration acquisition request to the background, so that the background matches the first configuration file of the first application based on the first identifier.

[0192] Obtain the first configuration file returned by the background.

[0193] Furthermore, the above file management device further includes a configuration module (not shown in the figure), and the configuration module is specifically configured to:

[0194] Obtain second identifiers of multiple second applications, determine second storage directories of the respective second applications in the virtual disk, where the first application is one of the multiple second applications, the second identifier is used to indicate the corresponding second application, and the second storage directory is used to store files operated in the corresponding second application.

[0195] Generate second configuration files corresponding to the respective second applications based on the second storage directories corresponding to the respective second applications.

[0196] Associate and store the respective second identifiers and the corresponding second configuration files in the background.

[0197] Further, the above file management device further includes a first processing module (not shown in the figure), and the first processing module is specifically configured to:

[0198] When the display duration of the first control is less than a preset duration threshold, keep the first control displayed;

[0199] Or, when the display duration of the first control is greater than or equal to the duration threshold, close the first control.

[0200] Further, the above file management device further includes a second processing module (not shown in the figure), and the second processing module is specifically configured to:

[0201] When the display duration of the first control is less than the duration threshold and it is detected that a second file is stored in the first storage directory, reset the display duration of the first control, and display a second control on the native operation interface of the host computer, where the display area of the second control does not overlap with the display area of the first control, and the second control is used to open the first storage directory or the second file.

[0202] Further, the first path is the path of the first file, the first control includes a directory opening control and a file opening control, and the above opening module 1403 is specifically configured to:

[0203] When the directory opening control is triggered, determine a second path of the first storage directory based on the first path, and open the first storage directory based on the second path;

[0204] Or, when the file opening control is triggered, open the first file based on the first path.

[0205] Further, the above display module 1402 is specifically configured to:

[0206] Obtain a file storage notification returned by the simulated operating environment based on the host computer, where the file storage notification includes the first path;

[0207] In response to the file storage notification, display a guiding pop-up window on the native operation interface of the host computer, where the guiding pop-up window is provided with a directory opening control and a file opening control distributed side by side.

[0208] Further, the above display module 1402 is specifically configured to:

[0209] In response to the file storage notification, obtain the preference configuration, the operating state of the host computer, and the file attributes of the first file;

[0210] When both the operating state and the file attributes meet the preference configuration, open the first storage directory or the first file based on the first path, or, when any one of the operating state and the file attributes does not meet the preference configuration, display a guiding pop-up window on the native operation interface of the host computer.

[0211] Furthermore, the first file is displayed in the simulation operation interface of the simulation running environment. The above file management device further includes a storage module (not shown in the figure), and the storage module is specifically configured to:

[0212] In response to a selection operation for selecting the first file triggered in the simulation running environment, display a storage control for storing the first file in the simulation operation interface;

[0213] When the storage control is triggered, store the first file in the first storage directory.

[0214] Furthermore, the above file management device further includes an update module (not shown in the figure), and the update module is specifically configured to:

[0215] Obtain, based on the host, interaction information for the first file returned by the simulation running environment;

[0216] Input the first file queried based on the first path into a large language model for domain prediction to obtain the content domain of the first file;

[0217] Obtain the domain score of the content domain, splice the interaction information and the domain score, and input the spliced result into an attention prediction model for attention prediction to obtain the content attention;

[0218] Update the file name of the first file based on the content attention.

[0219] Furthermore, the above update module is specifically configured to:

[0220] Obtain, based on the host, the content information of the multimedia content returned by the simulation running environment, where the multimedia content refers to the content that was operated on in the first application within a preset time period before the first file was stored;

[0221] Determine the relevance between the content information and the content domain, and adjust the domain score based on the relevance;

[0222] Splice the interaction information and the adjusted domain score, and input the spliced result into an attention prediction model for attention prediction to obtain the content attention.

[0223] The above file management device 1400 and the file management method are based on the same inventive concept. When starting the first application in the simulated operating environment, the first storage directory of the first application in the virtual disk is determined. Since the first storage directory is used to store the files operated in the first application, by detecting the first storage directory, it can be ensured that the files dynamically stored during the operation of the first application are effectively detected. When it is detected that the first file is stored in the first storage directory, the simulated operating environment deployed in the host can return the first path to the host, enabling the host to obtain the first path returned by the simulated operating environment. Also, since the virtual disk is configured to be shared and accessed by the simulated operating environment and the host, the host can effectively access the first storage directory in the virtual disk, and after the first file is stored in the first storage directory, the host can also effectively access the first file in the virtual disk. When it is detected that the first file is stored in the first storage directory, the host displays the first control. When the first control is triggered, the first storage directory or the first file is opened based on the first path, realizing that after the file is stored in the simulated operating environment, the host displays the first control to guide the user to complete the access, providing the user with a function to quickly open the first file or the first storage directory, which can simplify the file management process, reduce the operation steps, thereby improving the operation efficiency after the file is stored, and effectively enhancing the user experience and application activity. In addition, the simulated operating environment only needs to transmit the first path, and the display of the first control and the triggering of the first control are both executed on the host. It is equivalent to the host being responsible for the decision of whether to open the storage directory or the file, which makes the simulated operating environment keep lightweight and general, reducing the workload of developing and maintaining the simulated operating environment. At the same time, the adjustment of the access policy is controlled by the host without modifying the simulated operating environment, thereby improving the management efficiency and flexibility.

[0224] The electronic device for executing the above file management method provided by the embodiments of the present disclosure may be a terminal. Referring to Figure 15 , Figure 15 which is a partial structural block diagram of the terminal provided by the embodiments of the present disclosure. The terminal includes components such as a camera module 1510, a first memory 1520, an input unit 1530, a display unit 1540, sensors 1550, an audio circuit 1560, a wireless fidelity (WiFi) module 1570, a first processor 1580, and a first power supply 1590. Those skilled in the art can understand that Figure 15 the terminal structure shown in

[0225] The camera component 1510 can be used to collect images or videos. Optionally, the camera component 1510 includes a front camera and a rear camera. Generally, the front camera is disposed on the front panel of the terminal, and the rear camera is disposed on the back of the terminal. In some embodiments, there are at least two rear cameras, which can be any one of a main camera, a depth camera, a wide-angle camera, and a telephoto camera, so as to implement the function of background blurring by fusing the main camera and the depth camera, panoramic shooting by fusing the main camera and the wide-angle camera, and VR (Virtual Reality) shooting function or other fusion shooting functions.

[0226] The first memory 1520 can be used to store software programs and modules. The first processor 1580 executes various functional applications and data processing of the terminal by running the software programs and modules stored in the first memory 1520.

[0227] The input unit 1530 can be used to receive input digital or character information, and generate key signal inputs related to the settings and function controls of the terminal. Specifically, the input unit 1530 can include a touch panel 1531 and other input devices 1532.

[0228] The display unit 1540 can be used to display input information or provided information, as well as various menus of the terminal. The display unit 1540 can include a display panel 1541.

[0229] The audio circuit 1560, the speaker 1561, and the microphone 1562 can provide an audio interface.

[0230] The first power supply 1590 can be alternating current, direct current, a disposable battery, or a rechargeable battery.

[0231] The number of sensors 1550 can be one or more. The one or more sensors 1550 include, but are not limited to: an acceleration sensor, a gyroscope sensor, a pressure sensor, an optical sensor, etc. Among them:

[0232] The acceleration sensor can detect the magnitudes of accelerations on the three coordinate axes of the coordinate system established by the terminal. For example, the acceleration sensor can be used to detect the components of the gravitational acceleration on the three coordinate axes. The first processor 1580 can control the display unit 1540 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor. The acceleration sensor can also be used for game or user motion data collection.

[0233] The gyroscope sensor can detect the body orientation and rotation angle of the terminal, and the gyroscope sensor can cooperate with the acceleration sensor to collect the 3D actions of the user on the terminal. According to the data collected by the gyroscope sensor, the first processor 1580 can implement the following functions: motion sensing (such as changing the UI according to the user's tilting operation), image stabilization during shooting, game control, and inertial navigation.

[0234] The pressure sensor can be disposed on the side frame of the terminal and / or the lower layer of the display unit 1540. When the pressure sensor is disposed on the side frame of the terminal, it can detect the holding signal of the user on the terminal, and the first processor 1580 can perform left / right hand recognition or quick operation according to the holding signal collected by the pressure sensor. When the pressure sensor is disposed on the lower layer of the display unit 1540, the first processor 1580 can control the operable controls on the UI interface according to the pressure operation of the user on the display unit 1540. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.

[0235] The optical sensor is used to collect the ambient light intensity. In one embodiment, the first processor 1580 can control the display brightness of the display unit 1540 according to the ambient light intensity collected by the optical sensor. Specifically, when the ambient light intensity is high, the display brightness of the display unit 1540 is increased; when the ambient light intensity is low, the display brightness of the display unit 1540 is decreased. In another embodiment, the first processor 1580 can also dynamically adjust the shooting parameters of the camera module 1510 according to the ambient light intensity collected by the optical sensor.

[0236] In this embodiment, the first processor 1580 included in the terminal can execute the file management method of the previous embodiment.

[0237] The electronic device for executing the above file management method provided by the embodiments of the present disclosure can also be a server. Referring to Figure 16 , Figure 16 is a partial structural block diagram of the server provided by the embodiments of the present disclosure. The server may vary greatly due to configuration or performance, and may include one or more second processors 1610 and a second memory 1630, and one or more storage media 1640 (such as one or more mass storage devices) for storing application programs 1643 or data 1642. Among them, the second memory 1630 and the storage media 1640 can be transient storage or persistent storage. The program stored in the storage media 1640 can include one or more modules (not shown in the figure), and each module can include a series of instruction operations on the server. Further, the second processor 1610 can be configured to communicate with the storage media 1640 and execute a series of instruction operations in the storage media 1640 on the server.

[0238] The server may also include one or more second power supplies 1620, one or more wired or wireless network interfaces 1650, one or more input / output interfaces 1660, and / or one or more operating systems 1641, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and so on.

[0239] The second processor 1610 in the server can be used to execute the file management method.

[0240] The embodiments of the present disclosure also provide a computer-readable storage medium for storing a computer program for executing the file management method of each of the foregoing embodiments.

[0241] The embodiments of the present disclosure also provide a computer program product including a computer program stored in a computer-readable storage medium. The processor of the electronic device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the electronic device executes the file management method described above.

[0242] Terms such as "first", "second", "third", "fourth", etc. (if any) in the specification of the present disclosure and the above drawings are used to distinguish similar objects and do not necessarily describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.

[0243] It should be understood that in this disclosure, "at least one (item)" means one or more, and "a plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist. For example, "A and / or B" can mean: only A exists, only B exists, and both A and B exist at the same time. Among them, A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one (one)" or a similar expression thereof refers to any combination of these items, including any combination of single items (ones) or plural items (ones). For example, at least one (one) of a, b, or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or plural.

[0244] It should be understood that in the description of the embodiments of this disclosure, the meaning of a plurality (or multiple items) is more than two. Understandings such as greater than, less than, exceeding, etc. do not include the present number, and understandings such as above, below, within, etc. include the present number.

[0245] In several embodiments provided in this disclosure, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of units is only a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces, and the indirect coupling or communication connection of devices or units can be in electrical, mechanical, or other forms.

[0246] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0247] In addition, the functional units in each embodiment of this disclosure can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

[0248] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical discs.

[0249] It should also be understood that the various embodiments provided by the embodiments of the present disclosure can be combined arbitrarily to achieve different technical effects.

[0250] The above is a specific description of the preferred embodiments of the present disclosure, but the present disclosure is not limited to the above embodiments. Those skilled in the art can also make various equivalent deformations or substitutions without departing from the spirit of the present disclosure, and these equivalent deformations or substitutions are all included within the scope defined by the claims of the present disclosure.

Claims

1. A file management method, characterized in that: include: When starting a first application in a simulated operating environment, determining a first storage directory of the first application in a virtual disk, and detecting the first storage directory, wherein the simulated operating environment is deployed in a host machine, the virtual disk is configured to be shared and accessed by the simulated operating environment and the host machine, and the first storage directory is used to store files operated in the first application; When it is detected that the first storage directory stores a first file, acquiring a first path returned by the simulation running environment based on the host machine and displaying a first control; When the first control is triggered, the first storage directory or the first file is opened based on the first path.

2. The file management method according to claim 1, characterized in that: The determining a first storage directory of the first application in the virtual disk includes: Obtaining a first configuration file of the first application, wherein the first configuration file is used to record a first storage directory of the first application in the virtual disk; The first configuration file is parsed to determine the first storage directory.

3. The file management method according to claim 2, characterized in that: The obtaining a first configuration file of the first application includes: Obtain a first identifier of a first application, and generate a configuration acquisition request based on the first identifier, wherein the first identifier is used to indicate the first application; Sending the configuration acquisition request to a backend, so that the backend matches a first configuration file of the first application based on the first identifier; Obtain the first configuration file returned by the background.

4. The file management method according to claim 3, characterized in that: Before obtaining the first identifier of the first application, the file management method further includes: Obtaining second identifiers of multiple second applications, and determining a second storage directory of each of the second applications in the virtual disk, wherein the first application is one of the multiple second applications, the second identifier is used to indicate the corresponding second application, and the second storage directory is used to store files operated in the corresponding second application; generating second configuration files corresponding to the respective second applications based on the respective second storage directories corresponding to the respective second applications; Each of the second identifiers and the corresponding second configuration files are associated and stored in the background.

5. The file management method according to claim 1, characterized in that: After acquiring the first path returned by the simulated running environment based on the host machine and displaying the first control, the file management method further includes: When the display time of the first control is less than a preset time threshold, keep displaying the first control; Alternatively, when the display duration of the first control is greater than or equal to the duration threshold, the first control is closed.

6. The file management method according to claim 5, characterized in that: When the display duration of the first control is less than a preset duration threshold, before the first control is kept displayed, the file management method further includes: When the display duration of the first control is less than the duration threshold and it is detected that the first storage directory stores the second file, the display duration of the first control is reset, and the second control is displayed on the native operation interface of the host machine, wherein the display area of ​​the second control does not overlap with the display area of ​​the first control, and the second control is used to open the first storage directory or open the second file.

7. The file management method according to claim 1, characterized in that: The first path is a path of the first file, the first control includes a directory opening control and a file opening control, and when the first control is triggered, opening the first storage directory or the first file based on the first path includes: When the directory opening control is triggered, determining a second path of the first storage directory based on the first path, and opening the first storage directory based on the second path; Alternatively, when the file opening control is triggered, the first file is opened based on the first path.

8. The file management method according to claim 7, characterized in that: The acquiring, based on the host machine, the first path returned by the simulation running environment and displaying the first control comprises: Acquiring, based on the host machine, a file deposit notification returned by the simulation running environment, wherein the file deposit notification includes a first path; In response to the file deposit notification, a guide pop-up window is displayed on the native operation interface of the host machine, wherein the guide pop-up window is provided with the directory opening control and the file opening control distributed side by side.

9. The file management method according to claim 8, characterized in that: The step of displaying a guidance pop-up window on the native operation interface of the host machine in response to the file storage notification includes: In response to the file storage notification, obtaining a preference configuration, an operating state of the host machine, and a file attribute of the first file; When the running status and the file attributes both satisfy the preference configuration, the first storage directory or the first file is opened based on the first path; or, when any one of the running status and the file attributes does not satisfy the preference configuration, a guidance pop-up window is displayed in the native operation interface of the host machine.

10. The file management method according to claim 1, characterized in that: The first file is displayed in the simulation operation interface of the simulation operation environment, and when it is detected that the first storage directory stores the first file, before obtaining the first path returned by the simulation operation environment based on the host machine and displaying the first control, the file management method further includes: In response to a selection operation for selecting the first file triggered in the simulation operation environment, displaying a storage control for storing the first file in the simulation operation interface; When the storage control is triggered, the first file is stored in the first storage directory.

11. The file management method according to claim 1, characterized in that: After acquiring the first path returned by the simulated running environment based on the host machine and displaying the first control, the file management method further includes: Acquire, based on the host machine, interaction information for the first file returned by the simulation running environment; Inputting the first file queried based on the first path into a large language model for domain prediction to obtain a content domain of the first file; Obtaining a domain score for the content domain, splicing the interaction information and the domain score, and inputting the spliced ​​information into an attention prediction model to perform attention prediction, thereby obtaining content attention; The file name of the first file is updated based on the content attention.

12. The file management method according to claim 11, characterized in that: The step of splicing the interaction information and the domain score and inputting them into an attention prediction model to perform attention prediction to obtain content attention includes: Acquiring content information of multimedia content returned by the simulated running environment based on the host machine, wherein the multimedia content refers to content operated in the first application within a preset time period before the first file is stored; Determining a relevance between the content information and the content domain, and adjusting the domain score based on the relevance; The interactive information and the adjusted domain score are spliced ​​and input into an attention prediction model to perform attention prediction to obtain content attention.

13. A file management device, characterized in that: include: an acquisition module, configured to determine a first storage directory of the first application in a virtual disk and detect the first storage directory when starting a first application in a simulated operating environment, wherein the simulated operating environment is deployed in a host machine, the virtual disk is configured to be shared and accessed by the simulated operating environment and the host machine, and the first storage directory is used to store files operated in the first application; A display module, configured to, when detecting that a first file is stored in the first storage directory, obtain a first path returned by the simulation running environment based on the host machine and display a first control; An opening module is used to open the first storage directory or the first file based on the first path when the first control is triggered.

14. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the file management method according to any one of claims 1 to 12 is implemented.

15. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the file management method according to any one of claims 1 to 12 is implemented.

16. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the file management method according to any one of claims 1 to 12 is implemented.