Interaction method, electronic device, storage medium and computer program product
By using container technology to record and collect NAS client applications on network-attached storage devices, the problem of cross-platform adaptation of NAS clients is solved, and compatibility with different operating systems is achieved.
Patent Information
- Application Number
- CN202410529451.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2025-02-07
AI Technical Summary
NAS clients have difficulties in cross-platform adaptation, which makes them unable to be compatible with different operating systems.
By running the target application on the network-attached storage device, recording and/or recording the application using the first container, screen recording data and/or audio data are obtained, and the data is sent to the client for playback through the container.
Cross-platform adaptation is realized, avoiding the development of complex platform native NAS clients for different platforms, and solving the problem that NAS clients cannot be compatible with different operating systems.
Smart Images

Figure CN119402679A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of Internet of Things, and specifically relates to an interaction method, electronic device, storage medium and computer program product. Background Art
[0002] Network Attached Storage (NAS) is a device connected to the network with data storage function, also known as "network storage". With the increase in personal data usage and the improvement in security and privacy requirements, NAS has gradually become a data center for personal families, and many users choose to store a large amount of private data on NAS devices at home.
[0003] Currently, NAS devices usually use Linux as the basic operating system and deploy data management and data transmission synchronization software servers, such as the open source Syncthing. The software on the NAS can synchronize the data stored on the NAS to the user's client for interaction between the NAS and the client. However, since the user's device has a variety of operating systems, such as Android, iOS, and Windows, this will increase the difficulty of cross-platform adaptation of the NAS client, resulting in the NAS client being incompatible with different operating systems. Summary of the invention
[0004] The embodiments of the present application provide an interaction method, an electronic device, a storage medium, and a computer program product, which can solve the problem that the NAS client is incompatible with different operating systems due to the difficulty of cross-platform adaptation of the NAS client.
[0005] In a first aspect, an embodiment of the present application provides an interactive method, which is applied to a network attached storage device, the method comprising: running a target application, recording the screen and / or audio of the target application through a first container, and obtaining screen recording data and / or audio data; and sending the screen recording data and / or audio data to a client through the first container for playback.
[0006] In a second aspect, an embodiment of the present application provides an interactive device, which is applied to a network attached storage device, and the device includes: a working module, which is used to run a target application, and record the screen and / or audio of the target application through a first container to obtain screen recording data and / or audio data; a transmission module, which is used to send the screen recording data and / or audio data to a client for playback through the first container.
[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0009] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer performs the steps of the method described in the first aspect.
[0010] In an embodiment of the present application, by running a target application, the target application is recorded and / or audio is recorded through a first container to obtain recorded screen data and / or audio data; the recorded screen data and / or audio data are sent to a client for playback through the first container, and by running an application on a network attached storage device, the application is recorded and audio is collected, and the collected recorded screen and audio are sent to the client for playback, thereby avoiding the development of complex platform-native network attached storage device clients for different platforms, and solving the problem that the NAS client is incompatible with different operating systems due to the difficulty of cross-platform adaptation of the NAS client. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 It is a flowchart of an interactive method provided in an embodiment of the present application;
[0012] Figure 2 This is a schematic diagram of the structure of a NAS device provided in an embodiment of the present application;
[0013] Figure 3 It is a schematic diagram of an interaction framework provided in an embodiment of the present application;
[0014] Figure 4 This is a schematic diagram of a screen recording process provided by an embodiment of the present application;
[0015] Figure 5 This is a schematic diagram of a recording process provided by an embodiment of the present application;
[0016] Figure 6 This is a flowchart of a NAS remote control provided by an embodiment of the present application;
[0017] Figure 7 is a structural schematic diagram of an interactive device provided in an embodiment of the present application;
[0018] Figure 8 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0020] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0021] The interactive method, electronic device, storage medium and computer program product provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
[0022] Figure 1 An interactive method provided by an embodiment of the present application is shown, and the method can be executed by a network attached storage device. In other words, the method can be executed by software or hardware installed in the network attached storage device, and the method includes the following steps:
[0023] Step 102: Run the target application, and record the screen and / or the audio of the target application through the first container to obtain the screen recording data and / or the audio recording data.
[0024] The current technical solutions for NAS devices to interact with clients mainly include the following aspects:
[0025] 1. The basic operating system of NAS devices.
[0026] 2. Data management and data transfer synchronization client on NAS devices.
[0027] 3. Intelligent data organization software on NAS devices usually includes image file labeling and grouping functions based on image AI algorithms.
[0028] 4. Network penetration software, used to achieve remote access and data transmission in different network environments.
[0029] 5. Client application software running on various terminal devices, such as Android, iOS, and Windows.
[0030] However, the current technical solutions have some disadvantages:
[0031] 1. Complexity of data synchronization: Current NAS software requires data synchronization operations to synchronize data on NAS devices to various clients. As the number of stored files increases, the data synchronization process becomes cumbersome and complicated. The reliability of synchronization has high requirements on the software itself, network environment, etc., and also increases the burden on client storage.
[0032] 2. Difficulty in cross-platform adaptation: NAS clients need to adapt to multiple operating system platforms, such as Android, iOS, and Windows. In order to ensure that users on different platforms can access and operate NAS devices, developers need to do a lot of development work, which increases the workload and time cost of developers.
[0033] In the embodiment of the present application, two Docker containers are run on the NAS main system to integrate algorithm applications and interactive applications of different operating systems: a first container (Android container) is used for file manager applications, and a second container (Linux container) is used for image AI algorithms. At the same time, the storage partition on the NAS is provided to the two containers in the form of shared volumes. In this way, the Linux container can perform image labeling and intelligent grouping, making full use of the AI algorithm ecology of the Linux platform; the file browser application of the Android container can easily access the organized data, taking advantage of the user interaction advantages of the Android platform.
[0034] Docker is an open source technology widely used in containerized deployment. It can package applications and all their dependencies into lightweight containers, allowing them to run quickly and reliably on a variety of terminal devices. The application scenarios of Docker technology on terminal devices are very wide. For example, in the field of Internet of Things, device manufacturers can use Docker technology to package the applications and related dependencies of their devices into containers.
[0035] In the embodiment of the present application, the characteristics of Docker are utilized to encapsulate the file AI recognition classification software used on the NAS into a Linux container to provide algorithm application capabilities; at the same time, an Android container is encapsulated to provide user interaction capabilities. Figure 2 A schematic diagram of the structure of a NAS device provided in an embodiment of the present application is shown as follows: Figure 2As shown in the figure, the lowest layer in the NAS device is the hardware, and above it is the Kernel layer, which provides basic NAS hardware drivers, bridges, and shared volume storage. The bridge module can provide network access for multiple Docker services, and the shared volume storage provides shared access to storage for multiple Docker containers.
[0036] Above the kernel layer, the Linux system will first run as the Host system, such as the Debian Linux system. It provides a container manager to control the startup of the Guest container system, and also provides a basic storage manager module, which is used to manage the storage hardware status and RAID of NAS. It also provides basic support components for the container system.
[0037] The host's container manager is used to start the above two containers, one is an Android container that provides user interaction, which is the first container mentioned above, and the other is a Linux container that provides AI algorithms, which is the second container. Its algorithm application exposes a management interface based on network access for other containers to call. In the Android container, the pre-made file manager has basic interactive capabilities such as local file management and video playback. At the same time, the remote Android server program is pre-made and provided to the client for access through streaming media technology such as WebRTC. The Android container also includes the Android application layer, Android framework layer, and Android virtualization HAL layer.
[0038] The embodiment of the present application runs user interaction remotely and directly on the NAS backend based on streaming media technology: the client uses streaming media transmission technology (such as WebRTC) to connect to the remote Android server program in the Android container, which records the Android screen and collects audio. Specifically, when the target application (target program or target process) is running, the target application is recorded and / or recorded through the first container (Android container) to obtain screen recording data and / or recording data.
[0039] Step 104: Send the screen recording data and / or audio data to the client for playback through the first container.
[0040] After obtaining the screen recording data and audio data of the target application, it is passed to the client (H5 client). In this way, the H5 client can run on various operating systems that support the browser kernel to achieve convenient remote desktop operations. In this way, through container technology, Linux software and Android software are used on a NAS device at the same time, and the integration is used, while avoiding the development of complex NAS client programs on different platforms.
[0041] The interactive method provided in the embodiment of the present application runs the target application, records the screen and / or records the audio of the target application through the first container, and obtains the recorded screen data and / or audio data; sends the recorded screen data and / or audio data to the client for playback through the first container, runs the application on the network attached storage device, records the screen of the application and collects the audio, and sends the collected recorded screen data and audio data to the client for playback, thereby avoiding the development of complex platform-native network attached storage device clients for different platforms, and solving the problem that the NAS client is incompatible with different operating systems due to the difficulty of cross-platform adaptation of the NAS client.
[0042] In one implementation, recording the screen and / or audio of the target application to obtain the screen recording data and / or audio data includes:
[0043] Acquire the layers generated by the target application running through the first container; mix the layers and render the mixed layers to a default screen; capture the default screen to obtain the screen recording data; and / or record the audio source of the target application running through the first container to obtain the audio data.
[0044] In one implementation, sending the screen recording data and / or audio data to the client for playback through the first container includes: encoding the screen recording data and / or audio data to obtain encoded data; and sending the encoded data to the client so that the client decodes and plays the encoded data.
[0045] In the embodiment of the present application, a streaming media transmission technology (such as WebRTC) is used to connect to the Android remote server program in the Android container. The program records the Android screen and collects audio, encodes it into streaming media and transmits it to the H5 client. At the same time, the H5 client can send control data in reverse. In this way, the H5 client can run on various operating systems that support the browser kernel to achieve convenient remote desktop operations. This avoids the development of complex NAS client programs on different platforms. Its framework diagram is as follows Figure 3 shown.
[0046] Figure 4 A schematic diagram of a screen recording process provided by an embodiment of the present application is shown. Figure 4 As shown in the figure, the screen recording process includes:
[0047] 1. Multiple applications (APP1...APPn) are run in the first container (Android container), and interface operations are performed to generate layers.
[0048] 2. The SurfaceFlinger module of the Android container can mix the layers generated by different applications. The upper layer will cover the lower layer, and the layers will be automatically rendered to the default screen device.
[0049] 3. The screen recording program will create an Android VirtualDisplay, which is responsible for automatically obtaining the data of the default screen.
[0050] 4. Call the screen recording interface to obtain the screen recording data from VirtualDisplay.
[0051] 5. Call Android's Mediacodec interface to encode the screen recording data.
[0052] 6. After transmitting the screen recording data to the remote Android client via the network, decode and play the screen recording data.
[0053] Figure 5 A schematic diagram of an audio recording process provided by an embodiment of the present application is shown as follows: Figure 5 As shown, the process of recording audio includes:
[0054] 1. Multiple applications (APP1...APPn) or processes play sounds in a first container (Android container).
[0055] 2. The sound will eventually be called to Android's Native layer AudioTrack for playback.
[0056] 3. AudioTrack is automatically written to an OUTPUT device. Here, the remote_submix device type is used. This is a mechanism designed by Android to record system mixing, which can mix sound data of different volumes and frequencies.
[0057] 4. Call the system's recording interface, the sound source is remote_submix.
[0058] 5. Encode the audio data.
[0059] 6. After the encoded audio data is transmitted to the remote Android client via the network, the audio data is decoded and played.
[0060] In one implementation, the running of the target application includes: receiving a click event sent by a client; converting the click event into a simulated click event through the first container; and distributing the simulated click event to the target application, so that the target application runs in response to the simulated click event.
[0061] Specifically, Figure 6 A schematic diagram of a NAS remote control process provided by an embodiment of the present application is shown, such as Figure 6 As shown in the figure, the NAS remote control process includes:
[0062] 1. A user click occurs on the remote Android client interface.
[0063] 2. The remote Android client encodes and encapsulates the click event and sends it to the container Android system.
[0064] 3. The remote Android server receives and decodes the data and restores it into simulated events of the touch screen.
[0065] 4. In the Android container (first container), call the Input virtual interface of the Android Framework to generate a simulated click event (InputEvent).
[0066] 5. The Android Framework distributes InputEvent internally, and the application on the container Android (such as the file manager) obtains this click event and the interface responds.
[0067] 6. The remote Android server obtains the screen recording data, which requires the Android Framework's Surface to provide the interface image and REMOTE_SUBMIX to provide the mixed audio source.
[0068] 7. The remote Android server encodes the screen recording data.
[0069] 8. The remote Android server sends the captured screen data.
[0070] 9. The remote Android client receives the captured screen data, decodes and plays it, and the user sees the feedback after clicking.
[0071] Using streaming media transmission technology, connect to the Android remote server program in the Android container, which records the Android screen and collects audio, encodes it into streaming media and transmits it to the H5 client. At the same time, the H5 client can send control data in reverse. In this way, the H5 client can run on various operating systems that support the browser kernel to achieve convenient remote desktop operations. This avoids the need to develop complex NAS client programs on different platforms.
[0072] In one implementation, the running the target application includes: when the target application is a file manager of the first container, managing the data stored in the network attached storage device through the target application.
[0073] Specifically, since the data is stored in the NAS device, the user's remote client does not store the data. Therefore, when the data in the NAS device needs to be managed, the file manager in the first container of the NAS device can be remotely controlled to manage the data stored in the network attached storage device through the file manager. In this way, the data can be synchronized with the client, which improves the data processing efficiency and user operation convenience and reduces the burden on the client.
[0074] In one implementation, after managing the data stored in the network attached storage device by the target application, the method further includes:
[0075] The data stored in the network attached storage device is tagged and grouped in a second container.
[0076] Specifically, the second container in the embodiment of the present application, i.e., the Linux container, can perform image labeling and intelligent grouping, making full use of the AI algorithm ecosystem of the Linux platform.
[0077] In one implementation, before managing the data stored in the network attached storage device by the target application, the method further includes: providing the data stored in the network attached storage device to the first container and / or the second container by way of a shared volume.
[0078] In the embodiment of the present application, the storage partition on the NAS is provided to the two containers by means of a shared volume. In this way, the shared volume mechanism allows the Linux container to perform image processing and intelligent grouping, while using the file manager application of the Android container to directly access the image and video files after intelligent processing, so that data can be shared and managed between containers, making full use of the AI algorithm ecology of the Linux platform; the file browser application of the Android container can easily access the organized data, taking advantage of the user interaction advantages of the Android platform.
[0079] It should be noted that the interactive method provided in the embodiment of the present application can be executed by an interactive device or a control module in the interactive device for executing the interactive method. In the embodiment of the present application, the interactive device provided in the embodiment of the present application is described by taking the interactive method executed by the interactive device as an example.
[0080] Figure 7 is a schematic diagram of the structure of an interactive device according to an embodiment of the present application. Figure 7 As shown, the interaction device 700 includes: a working module 710 and a transmission module 720 .
[0081] The working module 710 is used to run the target application, record the screen and / or audio of the target application through the first container, and obtain the recorded screen data and / or audio data; the transmission module 720 is used to send the recorded screen data and / or audio data to the client for playback through the first container.
[0082] In one implementation, the working module 710 is used to obtain the layers generated by the operation of the target application through the first container; mix the layers and render the mixed layers to the default screen; capture the default screen to obtain the screen recording data; and / or record the audio source of the target application when it is running through the first container to obtain audio data.
[0083] In one implementation, the transmission module 720 is used to encode the screen recording data and / or audio data to obtain encoded data; and send the encoded data to the client so that the client decodes and plays the encoded data.
[0084] In one implementation, the working module 710 is used to receive a click event sent by a client; convert the click event into a simulated click event through the first container; and distribute the simulated click event to the target application so that the target application runs in response to the simulated click event.
[0085] In one implementation, the working module 710 is used to manage the data stored in the network attached storage device through the target application when the target application is a file manager of the first container.
[0086] In one implementation, the working module 710 is used to tag and group the data stored in the network attached storage device in a second container.
[0087] In one implementation, the working module 710 is used to tag and group the data stored in the network attached storage device in a second container.
[0088] The interactive device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0089] The interactive device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0090] The interactive device provided in the embodiment of the present application can achieve Figures 1 to 6 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0091] Alternatively, if Figure 8 As shown, an embodiment of the present application further provides an electronic device 800, including a processor 801 and a storage 802, wherein the storage 802 stores a program or instruction that can be executed on the processor 801, and when the program or instruction is executed by the processor 801, it implements: running a target application, recording the screen and / or audio of the target application through a first container to obtain screen recording data and / or audio data; sending the screen recording data and / or audio data to a client through the first container for playback.
[0092] In one implementation, the layers generated by the operation of the target application are obtained through the first container; the layers are mixed and the mixed layers are rendered to a default screen; the default screen is captured to obtain the screen recording data; and / or the audio source of the target application when it is running is recorded through the first container to obtain the audio data.
[0093] In one implementation, the screen recording data and / or audio data are encoded to obtain encoded data; the encoded data is sent to the client so that the client decodes and plays the encoded data.
[0094] In one implementation, a click event sent by a client is received; the click event is converted into a simulated click event through the first container; and the simulated click event is distributed to the target application so that the target application runs in response to the simulated click event.
[0095] In one implementation, when the target application is a file manager of the first container, the data stored in the network attached storage device is managed by the target application.
[0096] In one implementation, after the data stored in the network attached storage device is managed by the target application, the data stored in the network attached storage device is tagged and grouped in a second container.
[0097] In one implementation, before the target application manages the data stored in the network attached storage device, the data stored in the network attached storage device is provided to the first container and / or the second container by way of a shared volume.
[0098] The specific execution steps can refer to the various steps of the above-mentioned interactive method embodiment, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.
[0099] It should be noted that the electronic devices in the embodiments of the present application include: servers, terminals or other devices except terminals.
[0100] The above electronic device structure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, the input unit may include a graphics processing unit (GPU) and a microphone, and the display unit may be configured with a display panel in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit includes a touch panel and at least one of other input devices. The touch panel is also called a touch screen. Other input devices may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0101] The memory can be used to store software programs and various data. The memory may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory may include a volatile memory or a non-volatile memory, or the memory may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DRRAM).
[0102] The processor may include one or more processing units; optionally, the processor integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor.
[0103] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned interaction method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0104] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as ROM, RAM, magnetic disk or optical disk.
[0105] An embodiment of the present application also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the various processes of the above-mentioned interaction method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0106] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0107] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0108] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. An interactive method, characterized in that: Applies to network attached storage devices, including: Running a target application, and recording the screen and / or the audio of the target application through the first container to obtain screen recording data and / or audio data; The screen recording data and / or audio data are sent to the client for playback through the first container.
2. The interactive method according to claim 1, characterized in that: The screen recording and / or audio recording of the target application to obtain screen recording data and / or audio data includes: Acquire, through the first container, a layer generated by the running of the target application; Blending the layers, and rendering the blended layers to a default screen; Capturing the default screen to obtain the screen recording data; and / or The audio data is obtained by recording the audio source of the target application when it is running through the first container.
3. The interactive method according to claim 1, characterized in that: The sending the screen recording data and / or audio data to the client for playing through the first container includes: Encoding the screen recording data and / or audio data to obtain encoded data; The encoded data is sent to the client so that the client decodes and plays the encoded data.
4. The interactive method according to claim 1, characterized in that: The running target application includes: Receive click events sent by the client; Converting the click event into a simulated click event through the first container; The simulated click event is distributed to the target application, so that the target application runs in response to the simulated click event.
5. The interactive method according to claim 1, characterized in that: The running target application includes: In a case where the target application is a file manager of the first container, the data stored in the network attached storage device is managed by the target application.
6. The interactive method according to claim 5, characterized in that: After managing the data stored in the network attached storage device by the target application, the method further includes: The data stored in the network attached storage device is tagged and grouped in a second container.
7. The interactive method according to claim 6, characterized in that: Before managing the data stored in the network attached storage device by the target application, the method further includes: The data stored in the network attached storage device is provided to the first container and / or the second container by way of a shared volume.
8. An electronic device, characterized in that: It comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the interaction method as described in any one of claims 1 to 7.
9. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the interactive method according to any one of claims 1 to 7 are implemented.
10. A computer program product, comprising a computer program stored on a non-transitory computer-readable storage medium, wherein the computer program comprises program instructions, and when the program instructions are executed by a computer, the computer is caused to execute the steps of the interactive method according to any one of claims 1 to 7.