An interoperation method and device, electronic equipment and storage medium

By introducing a pluggable and scalable guardian toolkit and a method for dynamically selecting executable files into the internet education platform, the lag issues caused by poor network environment and excessive resource consumption have been resolved, improving the smoothness of learning applications and user experience.

CN117216013BActive Publication Date: 2026-03-03BEIJING CENTURY TAL EDUCATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311167711.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-11
Publication Date
2026-03-03
Estimated Expiration
2043-09-11

AI Technical Summary

Technical Problem

In online education platforms, problems such as lag in learning applications and low teaching efficiency caused by poor network environment and excessive resource consumption are not effectively solved by the current technology's limited guardian process capabilities, thus affecting user experience and learning efficiency.

Method used

By introducing a pluggable and scalable daemon toolkit design, large files are split into smaller files for uploading, reducing the main process's resource consumption. The server dynamically selects suitable executable files for operation, reducing the main process's crash rate and improving smoothness and user experience.

Benefits of technology

It effectively reduced the main process crash rate, improved the smoothness of the learning application and the user experience, and ensured the stability and efficiency of the learning process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117216013B_ABST
    Figure CN117216013B_ABST
Patent Text Reader

Abstract

This disclosure provides an interactive operation method, apparatus, electronic device, and storage medium. The method includes: responding to an interactive operation request for a learning application, determining an executable file matching the interactive operation request from a plurality of executable files; determining the type of the learning application based on the data source of the interactive operation request; if the type of the learning application is a client-side learning application, sending the executable file to the learning application; wherein the executable file is used to execute the interactive operation request to obtain an interactive operation result. It is evident that exemplary embodiments of this disclosure can select the most suitable scheme to execute the interactive operation request for different types of learning applications, thereby obtaining the interactive operation result, thus ensuring the accuracy of the operation result. Simultaneously, analyzing the interactive operation request on the server side can also reduce the cache pressure on the terminal, thereby ensuring the smooth operation of the learning application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and more particularly to an interactive operation method, apparatus, electronic device, and storage medium. Background Technology

[0002] In recent years, with the development of online education, more and more users are using the internet for teaching or learning. Instructors can use terminals to deliver lessons and upload learning materials to the education platform. Students can access these materials through the platform, and also answer practice questions and upload their answers to the platform for instructors to review online. Summary of the Invention

[0003] According to one aspect of this disclosure, an interactive operation method is provided, comprising:

[0004] In response to an interactive operation request for a learning application, an executable file matching the interactive operation request is determined from multiple executable files;

[0005] The type of the learning application is determined based on the data source of the interactive operation request.

[0006] If the learning application is a client-side learning application, the executable file is sent to the learning application; wherein, the executable file is used to execute the interactive operation request to obtain the interactive operation result.

[0007] According to another aspect of this disclosure, an alternative interactive operation method is provided, including:

[0008] In response to interactive actions for the learning application, send an interactive action request to the server;

[0009] If the learning application is a client-side learning application, obtain the executable file from the server, and the executable file matches the interactive operation request;

[0010] The interactive operation request is executed based on the executable file to obtain the interactive operation result.

[0011] According to another aspect of this disclosure, an interactive operation device is provided, comprising:

[0012] A response module is used to respond to an interactive operation request for the learning application by determining an executable file that matches the interactive operation request from multiple executable files;

[0013] The determination module is used to obtain the request header information of the interactive operation request and determine the type of the learning application based on the request header information;

[0014] The sending module is used to send the executable file to the learning application if the learning application is a client-side learning application; wherein the executable file is used to execute the interactive operation request to obtain the interactive operation result.

[0015] According to another aspect of this disclosure, another interactive operation device is provided, characterized in that the device comprises:

[0016] The sending module is used to respond to interactive operations for the learning application and send interactive operation requests to the server.

[0017] The acquisition module is used to acquire an executable file from the server if the type of the learning application is a client-side learning application, and the executable file matches the interactive operation request;

[0018] The module is used to execute the interactive operation request based on the executable file and obtain the interactive operation result.

[0019] According to another aspect of this disclosure, an electronic device is provided, comprising:

[0020] Processor; and memory that stores programs;

[0021] The program includes instructions that, when executed by the processor, cause the processor to perform the method according to an exemplary embodiment of the present disclosure.

[0022] According to another aspect of this disclosure, a non-transitory computer-readable storage medium is provided, the non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method according to exemplary embodiments of this disclosure.

[0023] One or more technical solutions provided in the exemplary embodiments of this disclosure can, in response to an interactive operation request from a learning application, determine an executable file matching the interactive operation request from multiple executable files. This allows for the selection of an executable file matching the interactive operation request, avoiding situations where the interactive operation request cannot be completed due to a mismatch between the executable file and the interactive operation request, thereby improving teaching efficiency. The type of the learning application is determined based on the data source of the interactive operation request; that is, the most suitable processing solution is selected for the learning application based on its type. If the learning application is a client-side learning application, an executable file is sent to the learning application; wherein, the executable file is used to execute the interactive operation request and obtain the interactive operation result. Based on this, once the learning application obtains the executable file, it can directly use the executable file in subsequent use without sending the interactive operation request again, thereby improving user convenience and user experience.

[0024] This disclosure can also respond to interactive operations for learning applications by sending interactive operation requests to the server. When a learning application sends an interactive operation request to the server, the server can promptly detect and resolve it, preventing the learning process from being affected by the inability to execute the interactive operation. If the learning application is a client-side learning application, an executable file is obtained from the server, and the executable file matches the interactive operation request. This allows for the selection of an executable file usage scheme based on different learning scenarios, making the executable file settings more flexible. The interactive operation request is executed based on the executable file to obtain the interactive operation result. Based on this, the most suitable executable file usage scheme for the current learning application can be selected according to different learning scenarios to obtain an interactive operation result that matches the interactive operation request. Therefore, the exemplary embodiments of this disclosure can select the most suitable scheme to execute interactive operation requests for different types of learning applications, thereby obtaining interactive operation results and ensuring the accuracy of the operation results. Simultaneously, analyzing the interactive operation request on the server side can reduce the cache pressure on the terminal, thereby ensuring the smooth operation of the learning application. Attached Figure Description

[0025] The accompanying drawings, which are included to provide a further understanding of this disclosure and form part of this disclosure, illustrate exemplary embodiments of the present disclosure and are used to explain the disclosure, but do not constitute an undue limitation of the disclosure. In the drawings:

[0026] Figure 1 A schematic diagram of an example system in which the various methods described herein may be implemented according to exemplary embodiments of the present disclosure;

[0027] Figure 2 A schematic diagram of the interactive operation method flow of an exemplary embodiment of this disclosure is shown;

[0028] Figure 3 An associated file selection interface of an exemplary embodiment of this disclosure is shown;

[0029] Figure 4 A schematic diagram illustrating the executable file registration process of an exemplary embodiment of this disclosure is shown;

[0030] Figure 5 A schematic diagram of another interactive operation method flow of an exemplary embodiment of the present disclosure is shown;

[0031] Figure 6 A schematic diagram illustrating the process of uploading learning resources according to an exemplary embodiment of this disclosure is shown;

[0032] Figure 7 A schematic block diagram of the functional modules of an interactive operation device according to an exemplary embodiment of the present disclosure is shown;

[0033] Figure 8 A schematic block diagram of the functional modules of another interactive operation device according to an exemplary embodiment of the present disclosure is shown;

[0034] Figure 9 A schematic block diagram of a chip according to an exemplary embodiment of the present disclosure is shown;

[0035] Figure 10 A structural block diagram of an exemplary electronic device that can be used to implement embodiments of the present disclosure is shown. Detailed Implementation

[0036] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0037] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.

[0038] The term "comprising" and its variations as used herein are open-ended, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc., used in this disclosure are only used to distinguish different devices, modules, or units, and are not intended to limit the order of functions performed by these devices, modules, or units or their interdependencies.

[0039] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0040] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0041] Before introducing the embodiments of this disclosure, the relevant terms involved in the embodiments of this disclosure are first defined as follows:

[0042] An executable file is a file format used to run a piece of code or start a software program when executed. An executable file can be opened by simply double-clicking it, and the act of opening an executable file is called executing it.

[0043] In recent years, with the popularization of online education, more and more people are choosing to learn and teach through online education platforms. When learning on an online education platform, instructors can upload learning materials to the platform using the learning application, making it convenient for students to obtain the learning materials they need. At the same time, students can use student clients to learn on the online education platform. For example, students can answer questions in the question bank on the online education platform using the student client and upload their answers to the platform, allowing instructors to check students' learning progress in a timely manner.

[0044] However, in practical applications, due to the large number of teaching users and student users at the same time, when teaching users need to call a lot of external resources or upload large data files during the teaching process, if the network environment of the learning application is poor, or if the main teaching process has a lot of heavy tasks occupying resource objects and cannot be released in time for a long time, it will lead to memory overflow and task crash. Too many tasks at the same time may cause resource lag on the Internet education platform, thereby directly or indirectly affecting the teaching experience of the learning application and the learning experience of the student client.

[0045] In existing technologies, a daemon process design scheme for the system is proposed to address the above-mentioned problems. This scheme only performs periodic polling and monitoring of the protection capabilities of multiple designated processes, without providing pre-defined protection measures. If the protected process has a heavy workload and consumes a lot of system resources, the frequency of crashes will increase accordingly, leading to various crash issues. Furthermore, the daemon process's responsibilities and roles are limited to process mounting, periodic polling, and repeated restarting. If the process itself is overloaded and the problem of lag and crashes is not resolved, the main process may be trapped in a vicious cycle of crashes and repeated restarts, preventing instructors from conducting normal teaching and students from accessing teaching resources in a timely manner, thus affecting the user experience.

[0046] Meanwhile, in the current technology, most system continuous protection processes have limited capabilities, only focusing on process protection. They do not currently support protection for the large number of audio and video materials generated during the teaching process, such as uploading large amounts of files, collecting plugin monitoring logs, and taking screenshots. Furthermore, since each business in the existing continuous integration solution needs to maintain its own complete monitoring process, it can only monitor specific businesses based on pre-defined monitoring processes. It cannot monitor software introduced during the business process that is not within the scope of the monitoring process, and it lacks the ability to introduce a dynamically pluggable proactive protection "toolbox" or "tool platform".

[0047] To address the aforementioned issues, this disclosure proposes an interactive operation method. When the learning application operates in a poor network environment and generates a large number of file resources, large files can be split into multiple smaller files for upload. This reduces the resource burden on the main process of the learning application, allowing it to continue teaching normally. It also solves the problem of limited daemon capabilities, reducing the risk of repeated main process restarts and crashes. Furthermore, this disclosure introduces a pluggable and scalable daemon process design concept, incorporating a daemon toolbox or platform. This allows for the unlimited expansion of the main process's service scope, while also improving the reusability of executable files. Therefore, this disclosure reduces the excessive workload on the main process, lowers its crash rate, improves the smoothness of the teaching process, and further enhances the user experience and learning efficiency.

[0048] Figure 1 A schematic diagram of an example system in which various methods described herein can be implemented according to exemplary embodiments of this disclosure is shown. Figure 1 As shown, the system 100 of the exemplary embodiments of this disclosure may include: a learning application 110 and a server 120.

[0049] like Figure 1 As shown, the learning application 110 can communicate with the server 120 via a communication network. This communication network can be a wired or wireless network. The wired network can be a communication network based on power line carrier technology, and the wireless network can be a local area network (LAN) or a wide area network (WAN). The LAN can be a Wi-Fi network, a Zigbee network, a mobile communication network, or a satellite communication network, etc. Alternatively, the communication network can be an IPC communication network, where the IPC communication module is used to monitor the operation commands of all processes within the learning application 110.

[0050] like Figure 1 As shown, the learning application 110 can be logged into via smart terminals such as computers, mobile phones, or information processing centers. The server 120 can be a cloud server, network server, application server, or management server with data processing capabilities, used to implement search and monitoring methods.

[0051] like Figure 1 As shown, the server 120 includes a toolbox 1201 and a signaling factory 1202. The toolbox 1201 can store a database of executable files, which can be located on the server 120 or on another network server. The toolbox 1201 can be separate from the server 120 or integrated within it. The signaling factory 1202 is mainly used to identify the instructions sent from the learning application 110 to the server 120. The server 120 can also be used to monitor various operations in the learning application in real time.

[0052] In practical applications, learning application 110 may include client-side learning application 1101 and web-based learning application 1102. During the teaching process, users can send interactive operation requests to the server 120. When the server 120 receives an interactive operation request from the learning application 110, it first needs to identify and analyze the interactive operation request based on the signaling factory 1202 in the server 120 to determine whether the interactive operation request comes from the client version of the learning application 1101 or the web version of the learning application 1102, and to determine the target executable file that matches the interactive operation request. Then, it queries the target executable file in the toolbox 1201 corresponding to the server 120. If the target executable file is an executable file that already exists in the toolbox 1201, it can be directly called through the executable file call interface in the toolbox 1201. If the target executable file does not exist in the toolbox 1201, it sends a registration prompt message for the target executable file to the learning application 110, prompting the learning application 110 to register the target executable file to the server 120. The registration method can be to save it in a specified path, which can be the storage path of the database of executable files corresponding to the toolbox 1201.

[0053] When the interactive operation request originates from the client-side Learning 1101 application, the server 120 can directly send the target executable file to the learning application 110, and then run the target executable file to obtain the interactive operation result. When the interactive operation request originates from the web-based Learning application 1102, the server 120 can, after determining the target executable file, directly run the target executable file on the server 120, and use the executable file to execute the interactive operation request to obtain the interactive operation result, and then directly send the interactive operation result to the learning application 110.

[0054] The monitoring method of the exemplary embodiments of this disclosure can be applied to a server or a chip in a server. The method of the exemplary embodiments of this disclosure is described in detail below with reference to the accompanying drawings. Figure 2 A schematic flowchart of an interactive operation method according to an exemplary embodiment of this disclosure is shown. Figure 2 As shown, the interactive operation method of the exemplary embodiment of this disclosure includes:

[0055] Step 201: In response to an interactive operation request for the learning application, determine the executable file that matches the interactive operation request from multiple executable files.

[0056] For example, during the teaching process, that is, when the learning application is running, if it is necessary to call an executable file to complete a specified operation, an interactive operation request can be sent to the server. After the server receives the interactive operation request from the learning application, it needs to determine the executable file that matches the interactive operation request. The executable file that matches the interactive operation request is the executable file that can complete the interactive operation request. Based on this, an executable file that matches the interactive operation can be selected for the interactive operation request, which can avoid the situation where the interactive operation request cannot be completed due to the mismatch between the executable file and the interactive operation request, thereby improving teaching efficiency.

[0057] In practical applications, interactive operation requests can include screenshot requests. Users can send screenshot requests to the server using screenshot controls within the learning application, either by clicking the control. After receiving the screenshot request from the learning application, the server identifies and analyzes the request using its signaling factory to determine the corresponding screenshot executable file. It should be understood that in practical applications, interactive operation requests can also include screen recording requests, data upload screenshot requests, audio recording requests, etc., and the method of sending these requests can be configured according to the specific circumstances.

[0058] Step 202: Determine the type of learning application based on the data source of the interactive operation request.

[0059] For example, the signaling factory can identify the source of the interactive operation request and thus determine the type of learning application. Based on the type of learning application, it can then select the most suitable processing solution for the interactive operation request.

[0060] In practical applications, interactive operation requests can be sent in the form of data packets. These data packets may include request header data, which typically carries a data source identifier. Therefore, determining the learning application type only requires checking the data source identifier. For example, if field A is the data source identifier for a client-side learning application, then when the signaling factory on the server determines that field A exists in the interactive operation request, it considers the request to originate from the client-side learning application. It should be understood that the signaling factory can also obtain the real-time status of the learning application, enabling real-time monitoring and timely handling of any abnormal statuses, thus ensuring the smooth operation of the learning application.

[0061] Step 203: If the learning application is a client-side learning application, send the executable file to the learning application; the executable file is used to execute interactive operation requests and obtain interactive operation results.

[0062] For example, when the learning application is a client-side learning application, the server can directly send the executable file to the client-side learning application corresponding to the interactive operation request. Based on this, once the learning application obtains the executable file, it can directly use the executable file in subsequent use without having to send the interactive operation request again, thereby improving the user experience while making it more convenient for users.

[0063] In practical applications, the code corresponding to executable files that may be involved in the use of the learning application can be pre-compressed into executable binary files and stored in a specified path on the server. When the learning application needs to obtain the executable file to perform corresponding interactive operation requests during operation, the server can send the executable binary file corresponding to the executable file to the learning application. After obtaining the executable binary file, the user can run the executable binary file in the learning application as an administrator, and then complete the specified operation based on the executable binary file.

[0064] In one alternative approach, if the learning application is a client-based learning application, a file destruction condition can also be sent to the learning application. The file destruction condition is used to control the learning application to destroy the executable file when an event that satisfies the file destruction condition is detected in the learning application. The file destruction condition includes at least one of the following: the cache occupancy rate of the executable file is greater than or equal to a preset occupancy rate, or the process termination condition of the learning application.

[0065] In practical applications, file destruction conditions can be used to destroy the executable file sent from the server to the client-side learning application after the client-side learning process ends, thereby freeing up terminal memory and improving terminal performance. Alternatively, when the executable file's cache usage is greater than or equal to a preset usage rate, the executable file can be destroyed to prevent the learning application from lagging due to excessive memory consumption by the executable file, thus affecting teaching quality. It should be understood that when the executable file is essential to the main process, after destruction based on the file destruction condition, the user needs to resend a request to the server to retrieve the executable file.

[0066] In one alternative approach, if the learning application is a client-based learning application, and the executable file has associated files, the associated files are sent to the learning application. These associated files include at least one of the executable file's user manual information and its extension files. It should be understood that the executable file's user manual information is used to guide the user in running the executable file.

[0067] For example, the executable file corresponding to the interactive operation request may have one or more associated files, where the associated files can be extension files of the executable file to extend its functionality. When the executable file has associated files, the user can choose whether to obtain the associated files. If the user chooses to obtain them, the executable file and one or more associated files corresponding to the executable file are sent to the learning application together; if the user chooses not to obtain them, the executable file is sent to the learning application.

[0068] Figure 3 An associated file selection interface of an exemplary embodiment of this disclosure is shown. For example... Figure 3 As shown. After the server determines the executable file, it can determine whether there are associated files based on the association between the executable file and other executable files. When there are associated files, the associated file selection interface 300 can be displayed in the learning application. The associated file selection interface 300 includes associated file A, associated file B, and associated file C, and each associated file corresponds to an associated file selection control 301.

[0069] In practical applications, such as Figure 3 As shown, when the user only needs to select associated file A, they only need to click the associated file selection control 301 corresponding to associated file A in the display interface. At this time, the state of the associated file selection control 301 corresponding to associated file A changes from unselected state 3012 to selected state 3011. Then, the user clicks the OK control 303 to send the associated file selection information to the server. Based on the associated file selection message, the server sends associated file A and the executable file together to the learning application.

[0070] In one alternative approach, when the executable file is a screenshot executable file and has associated files, the associated files may include usage instructions for the screenshot executable file and a screenshot marker file, where the screenshot marker file is an extension file of the executable file. Based on this, when a user takes a screenshot using the screenshot executable file, they can capture specified content on the screen using the executable file to obtain a screenshot. Then, based on the screenshot marker file, markers are added to the screenshot to obtain the final marked screenshot. It should be understood that the usage instructions for the executable file are used to assist users in taking screenshots using the screenshot executable file. When a user is using the screenshot executable file for the first time, they can follow the steps based on the usage instructions. Furthermore, the usage instructions for the executable file may also include usage instructions for the extension files.

[0071] As can be seen, the associated files provided in the exemplary embodiments of this disclosure can not only help users use executable files, but also expand the functionality of executable files by extending the files, making the executable files more feature-rich. More feature-rich files can better help users learn, thereby enhancing the user's experience with learning applications.

[0072] In one alternative approach, if the learning application is a web-based learning application, an interactive operation request is executed based on the executable file to obtain the interactive operation result; then the interactive operation result is sent to the learning application.

[0073] For example, when the learning application is a web-based learning application, after the server receives the interactive operation request, the server does not need to send the executable file to the learning application. Instead, it can directly run the executable file on the server and use it to execute the interactive operation request. Furthermore, when the learning application is a web-based learning application, directly sending the executable file to the learning application might result in the executable file failing to run due to permission restrictions, or the web-based learning application experiencing lag due to excessive webpage load. Therefore, the executable file can be run directly on the server to obtain the interactive operation result, without needing to run the executable file within the learning application. This reduces the operational pressure on the terminal corresponding to the learning application, improves the smoothness of the learning application's operation, and also ensures the security of the executable file, preventing the leakage of its contents.

[0074] In one alternative embodiment, the exemplary embodiment of this disclosure may also send an interaction failure condition to the learning application; the interaction failure condition is used to control the learning application to terminate the display of the interactive operation result when an event satisfying the interaction failure condition is detected in the learning application; the interaction failure condition includes at least one of the following: the learning application's process termination condition and the learning application being in a background running state.

[0075] In practical applications, when the terminal learning application finishes its process, the application can be controlled to stop displaying the interactive operation results based on the interaction failure condition. At the same time, the application can also be controlled to stop displaying the interactive operation results when it is running in the background. This avoids the terminal from lag caused by the continuous running of executable files, frees up the terminal's memory, improves the terminal's running speed, enhances the user experience, and facilitates continued use later.

[0076] For example, when the executable file is a screenshot executable file, the user can obtain the screenshot file based on the screenshot executable file. When the terminal detects the user's operation to end the learning application process, or when the user chooses to run the learning application in the background, the screenshot file can be stopped from being displayed in the learning application based on the interaction failure condition. Stopping the display of the screenshot file can be done by deleting the screenshot file, closing the screenshot file, or minimizing the screenshot file.

[0077] In one alternative approach, the executable file and / or its extension files can be modified in response to a configuration change instruction for the executable file.

[0078] For example, a business code editor can be provided in the front-end display interface of the learning application. Users can modify the source code of the executable file based on the business code editor, and they can also modify the source code of the extension file corresponding to the executable file. In this way, user-specific executable files can be dynamically designed according to different learning scenarios, which facilitates user use and makes the configuration of executable files more flexible.

[0079] In one alternative approach, after determining the executable file matching the interactive operation request from a plurality of executable files in response to an interactive operation request for the learning application, the method of the exemplary embodiment of this disclosure further includes: obtaining user information of the learning application; and confirming that the user information matches the user usage conditions of the executable file.

[0080] For example, when executable file A is used to count the number of students in a class, and the user access condition for executable file A is limited to teacher users, then the teacher user can log in to the learning application, count the number of students in class based on executable file A, and monitor the number of students in real time during the class. However, student users cannot access executable file A due to the mismatch in access conditions. The user information of the learning application can be determined based on the user's login information. It is evident that multiple executable files can be categorized based on user access conditions, facilitating management and allowing different users to more clearly understand their roles when using the learning application.

[0081] In one alternative approach, if no executable file matching the interactive operation request is found from multiple executable files, a registration prompt message is sent to the learning application. The registration prompt message is used to prompt the learning application to send a registration request for the executable file. In response to the registration request from the learning application, the executable file is registered.

[0082] For example, the server can search for an executable file that matches the interactive operation request among multiple executable files stored in the toolbox. If no executable file matching the interactive operation request is found in the toolbox, the server needs to send an executable file registration prompt message to the learning application.

[0083] In practical applications, users can register executable files with the server based on executable file registration prompts. For example, these prompts can instruct users to store the executable file data in a specified path. After receiving the prompts, users add the executable file's data package to the designated path in the learning application. This can be done by copying and pasting the data package or by dragging and dropping it. When the server detects a successful addition of the executable file's data package, it confirms successful registration and monitors the executable file's operation within the application in real time. This allows the server to promptly detect and fix issues such as missing, duplicate, or formatted errors in the executable file, thereby improving its reliability and security.

[0084] Figure 4 A schematic diagram illustrating the executable file registration process of an exemplary embodiment of this disclosure is shown. Figure 4 As shown, executable file registration in an exemplary embodiment of this disclosure includes the following steps:

[0085] Step 401: Query executable files that match the interactive operation request based on the interactive operation request.

[0086] For example, the server can query among the multiple executable files stored in the toolbox for an executable file that matches the interactive operation request of the learning application. If the query fails, step 402 is executed.

[0087] Step 402: Send an executable file registration prompt message to the learning application.

[0088] In practical applications, if it is confirmed that there is no executable file in the toolbox that matches the interactive operation request, a registration prompt message for the executable file needs to be sent to the learning application. The registration prompt message is used to prompt the learning application to register the executable file. If the user chooses to register the executable file, step 403 is executed. If the user chooses not to register the executable file, a registration failure message is displayed, and the interactive operation request cannot be executed.

[0089] Step 403: Register the executable file.

[0090] In practical applications, registration prompts can include registration path information. After receiving the registration prompt from the server, the user directly adds the binary file corresponding to the executable file to the storage path specified in the registration path information and saves it. The server responds to the user's save operation to complete the registration of the executable file. Registered executable files are monitored in real-time by the server during use, thus ensuring the security of the executable file while guaranteeing the normal operation of the learning application.

[0091] In one alternative approach, the server can monitor the executable file's progress in executing interactive operation requests within the learning application in real time. This allows for the timely detection of problems arising during these requests, such as executable file corruption or permission acquisition failures. Different strategies can then be applied to address these issues promptly. Furthermore, the server can ensure the security and reliability of the data running within the learning application while the executable file is executing.

[0092] The interactive operation method of the exemplary embodiments of this disclosure can also be applied to a terminal or a chip in a terminal. The method of the exemplary embodiments of this disclosure will be described in detail below with reference to the accompanying drawings.

[0093] Figure 5 A schematic diagram of another interactive operation method flow, illustrating an exemplary embodiment of this disclosure, is shown. For example... Figure 5 As shown, another interactive operation method of an exemplary embodiment of this disclosure includes:

[0094] Step 501: In response to an interactive operation for the learning application, send an interactive operation request to the server.

[0095] For example, multiple interactive controls can be set in the front-end interface of the learning application. When a user needs to use an interactive operation, they only need to click the corresponding control in the front-end display interface. The learning application responds to the user's click operation by sending an interactive operation request to the server.

[0096] In practical applications, the server can monitor all operations of the learning application in real time, thereby ensuring the stability of the learning application. Based on this, when the learning application sends an interactive operation request to the server, the server can also detect it in time and resolve it in a timely manner, so as to avoid affecting the learning process due to the inability to execute the interactive operation.

[0097] Step 502: If the learning application is a client-side learning application, obtain the executable file from the server and match the executable file with the interactive operation request.

[0098] In practical applications, when the learning application is a client-side application, the executable file can be directly obtained from the server and run within the application. Furthermore, the executable file's code information can be obtained from its data package. Based on this, the executable file's source code can be modified using the application's business code editor. This allows for the dynamic design of user-specific executable files tailored to different learning scenarios, facilitating user convenience and making executable file settings more flexible.

[0099] Step 503: Execute the interactive operation request based on the executable file and obtain the interactive operation result.

[0100] For example, once the learning application obtains the executable file, it can install and run the executable file as an administrator. At the same time, it can monitor the progress of the executable file in the learning application in real time on the server side, so as to promptly detect problems that arise when the executable file performs interactive operation requests in the learning application, such as executable file corruption or failure to obtain permissions. Then, it can promptly solve different problems based on different strategies. In addition, installing and running the executable file as an administrator can avoid errors in the executable file during operation, expand the access permissions of the executable file, and improve the smoothness of the executable file's operation.

[0101] In practical applications, when the executable file is a screenshot executable file and is successfully installed in the learning application, it can be presented as a control in the display interface of the learning application. At the same time, during the screenshot process, the screenshot range can be customized according to the user's needs, and the screenshot range is not limited to the interface of the learning application.

[0102] In one alternative approach, if the learning application is a client-side learning application, file destruction conditions are obtained from the server; if an event satisfying the file destruction conditions is detected when the learning application executes the event, the executable file is destroyed. The file destruction conditions include at least one of the following: the cache occupancy rate of the executable file is greater than or equal to a preset occupancy rate, or the process termination condition of the learning application.

[0103] For example, when the executable file is a screenshot executable file, when the user closes the learning application process, the terminal simultaneously detects an event that the learning application executes and meets the file destruction conditions. At this time, the executable file is destroyed, and all data information related to the executable file is deleted from the learning application. Alternatively, if the cache usage of the screenshot executable file is greater than or equal to a preset usage rate at a certain moment during the learning application's operation, excessive cache usage can cause problems such as the learning application lagging or crashing. Therefore, when the cache usage of the executable file during the learning application's operation is detected to be greater than or equal to the preset usage rate, the executable file is destroyed. Based on this, destroying the executable file can release the terminal's running memory, reduce the operating pressure, and thus allow the learning application to run smoothly.

[0104] In one alternative approach, if the learning application is a client-side learning application, the associated file of the executable file is obtained from the server; if the associated file of the executable file includes usage instructions for the executable file, the usage instructions for the executable file are displayed; if the associated file of the executable file includes extension files of the executable file, the executable file is extended based on the extension files of the executable file before executing an interactive operation request based on the executable file and obtaining the interactive operation result.

[0105] For example, an executable file may include multiple associated files. These associated files can be usage instructions for the executable file to assist users in running it, or they can be extension files to extend the executable file's functionality. Therefore, learning applications can not only obtain the executable file that matches the interactive operation request, but also obtain the associated files associated with the executable file, and further enrich the content of the executable file based on its associated files.

[0106] In one alternative approach, if the learning application is detected to be a web-based learning application, the interaction results from the server are obtained and displayed. In practical applications, based on this, the server can directly send the interaction results after the executable file executes an interaction request to the learning application without exposing the executable file's source code, thus protecting the security and privacy of the executable file's source code.

[0107] In one alternative approach, an exemplary embodiment of this disclosure may obtain interaction failure conditions from the server; if displaying the interaction operation result, when an event satisfying the interaction failure condition is detected in the learning application, the display of the interaction operation result is terminated, and the interaction failure condition includes at least one of the following: the learning application's process termination condition and the learning application being in a background running state.

[0108] In practical applications, when the executable file is used to control the resolution of the terminal display interface, the learning application can use the dynamic link library to set the terminal's screen resolution based on the system resolution index exposed by the Windows Technical Documentation Library Information Service in response to interactive operation requests. The current screen resolution is recorded before sending the interactive operation request. When the server detects that the learning application's execution process has ended, the display of the screen resolution change is terminated, and the terminal's resolution can be restored based on the resolution recorded before sending the interactive operation request. It should be understood that the display of the screen resolution change can also be terminated when the server detects that the learning application is running in the background, and the terminal's resolution can be restored based on the resolution recorded before sending the interactive operation request. Therefore, the execution of the executable file can be terminated after the learning application ends or is running in the background, freeing up the terminal's memory and improving the terminal's operating speed.

[0109] In an alternative embodiment of this disclosure, a configuration change instruction for the executable file may also be sent to the server, the configuration change instruction being used to instruct the server to change the executable file and / or the executable file's extension files.

[0110] In practical applications, a business code editor can also be provided in the front-end interface of the learning application. Users can view the source code of multiple executable files or their associated files in the business code editor. Furthermore, the source code of the executable files or their associated files can be modified adaptively in the front-end interface provided by the toolbox module. This allows for dynamic configuration of executable files or their associated files according to different learning scenarios, making the use of executable files more flexible.

[0111] In an alternative embodiment, this disclosure may also respond to a registration prompt message from the server regarding the executable file by sending a registration request for the executable file to the server. The registration request is used to request the server to register the executable file.

[0112] In practical applications, if the server detects that the target executable file is unregistered, it sends a registration prompt message to the learning application. This message prompts the application to send a registration request for the target executable file. In response to the registration request, the server registers the executable file in its toolbox. This allows the server to extend the executable file based on different interactive operation requests, preventing issues from arising during the execution of these requests, improving the stability of the learning application, expanding its functionality, and enhancing the user experience. This truly achieves scalability and pluggability for the executable file.

[0113] This exemplary embodiment also provides a data fragmentation upload method. For example, when a teacher needs to upload learning resources to a server through a learning application, the learning resources can be those uploaded by the teacher before class, or those temporarily generated during class based on interactive operations. For example, learning resources can be screenshots taken during class, or documents temporarily created by the teacher in the learning application during class. Student users can also upload learning resources to the server corresponding to the learning application; for example, class notes and assignments. Simultaneously, student users can use the learning application to access learning resources uploaded by teachers to the server corresponding to the learning application, and teachers can use the learning application to access class notes or assignments uploaded by students to the server corresponding to the learning application. It should be understood that class notes and assignments uploaded by student users can be files edited by the student users in the learning application.

[0114] Figure 6 A schematic diagram illustrating the process of uploading learning resources according to an exemplary embodiment of this disclosure is shown. Figure 6 As shown, the uploading of learning resources in an exemplary embodiment of this disclosure includes the following steps:

[0115] Step 601: Start uploading.

[0116] The server responds to the user's learning resource upload operation in the learning application by uploading the learning resources to the server.

[0117] Step 602: Obtain the MD5 value of the learning resource.

[0118] The MD5 value above treats the entire learning resource as a large text message. Through its irreversible string transformation algorithm, it generates this unique MD5 message digest, which includes the file size, file format, number of files, file fragment information, etc.

[0119] Step 603: Check if the learning resources exist.

[0120] After obtaining the MD5 value of the learning resource, the system will verify the integrity and upload status of the learning resource with the server. If the learning resource is found on the server, proceed to step 6011; otherwise, proceed to step 604.

[0121] Step 604: Divide the learning resources into segments.

[0122] For example, learning resources can be sliced ​​according to a preset slice size to obtain multiple learning resource slices. The preset slice size can be 10M, and can be set according to the actual situation.

[0123] Step 605: Add multiple learning resource segments to the upload list in sequence.

[0124] If the number of learning resource fragments being uploaded is less than the preset upload limit, the next highest priority learning resource fragment will be added to the upload list based on the fragment information, and the upload will begin. The preset upload limit can be set by the user; for example, it can be set to 3 fragments, meaning that 3 learning resource fragments can be uploaded simultaneously.

[0125] Step 606: Confirm that the learning application is running.

[0126] During the upload process, the learning status of the learning application can be detected in real time by the IPC communication module. If the learning application is detected to be running, step 607 is executed; if the learning application is detected to be closed, step 608 is executed.

[0127] Step 607: Enable rate limiting.

[0128] If the learning application is detected to be in a learning state, rate limiting is enabled by modifying the upload buffer byte space. This process is to indirectly monitor the main process of the learning application and prevent issues such as excessive network usage during the loading of courseware from the external network, which could interfere with the upload task, causing network resource strain and resulting in lag during the learning process.

[0129] Step 608: The server confirms whether all learning resource fragments have been uploaded.

[0130] Based on the MD5 value of the learning resource, confirm whether multiple learning resource fragments corresponding to the same learning resource have been uploaded. If multiple learning resource fragments corresponding to the same learning resource have been uploaded, proceed to step 6010. If it is confirmed that multiple learning resource fragments corresponding to the same learning resource have not been uploaded, proceed to step 609.

[0131] Step 609: Waiting for upload.

[0132] If the MD5 hash of a learning resource confirms that multiple fragments corresponding to the same learning resource have not been completely uploaded, then proceed to step 605 to wait for the remaining fragments to be uploaded. At this point, already uploaded fragments will not be uploaded again; only the remaining fragments need to be uploaded.

[0133] Step 6010: Merge multiple learning resource fragments.

[0134] Multiple learning resources are merged into a complete learning resource based on their MD5 values.

[0135] Step 6011: Upload complete.

[0136] One or more technical solutions provided in the exemplary embodiments of this disclosure can, in response to an interactive operation request from a learning application, determine an executable file matching the interactive operation request from multiple executable files. This allows for the selection of an executable file matching the interactive operation request, avoiding situations where the interactive operation request cannot be completed due to a mismatch between the executable file and the interactive operation request, thereby improving teaching efficiency. The type of the learning application is determined based on the data source of the interactive operation request; that is, the most suitable processing solution is selected for the learning application based on its type. If the learning application is a client-side learning application, an executable file is sent to the learning application; wherein, the executable file is used to execute the interactive operation request and obtain the interactive operation result. Based on this, once the learning application obtains the executable file, it can directly use the executable file in subsequent use without sending the interactive operation request again, thereby improving user convenience and user experience.

[0137] This disclosure can also respond to interactive operations for learning applications by sending interactive operation requests to the server. When a learning application sends an interactive operation request to the server, the server can promptly detect and resolve it, preventing the learning process from being affected by the inability to execute the interactive operation. If the learning application is a client-side learning application, an executable file is obtained from the server, and the executable file matches the interactive operation request. This allows for the selection of an executable file usage scheme based on different learning scenarios, making the executable file settings more flexible. The interactive operation request is executed based on the executable file to obtain the interactive operation result. Based on this, the most suitable executable file usage scheme for the current learning application can be selected according to different learning scenarios to obtain an interactive operation result that matches the interactive operation request. Therefore, the exemplary embodiments of this disclosure can select the most suitable scheme to execute interactive operation requests for different types of learning applications, thereby obtaining interactive operation results and ensuring the accuracy of the operation results. Simultaneously, analyzing the interactive operation request on the server side can reduce the cache pressure on the terminal, thereby ensuring the smooth operation of the learning application.

[0138] The foregoing primarily describes the solutions provided by the embodiments of this disclosure from the perspective of the server. It is understood that, in order to implement the above functions, the server includes the corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, this disclosure can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this disclosure.

[0139] This disclosure embodiment can divide the server into functional units according to the above method example. For example, it can divide each function into a separate functional module, or it can integrate two or more functions into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this disclosure embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0140] In the case of dividing each functional module according to its corresponding functions, an exemplary embodiment of this disclosure provides an interactive operation device, which can be a server or a chip applied to a server. Figure 7 A schematic block diagram of the functional modules of an interactive operation device according to an exemplary embodiment of the present disclosure is shown. Figure 7 As shown, the interactive operation device 700 includes:

[0141] The response module 701 is configured to respond to an interactive operation request for the learning application by determining an executable file that matches the interactive operation request from a plurality of executable files;

[0142] The determining module 702 is used to obtain the request header information of the interactive operation request and determine the type of the learning application based on the request header information;

[0143] The sending module 703, if the type of the learning application is a client-side learning application, sends the executable file to the learning application; wherein, the executable file is used to execute the interactive operation request to obtain the interactive operation result.

[0144] In one possible implementation, the sending module 703 is further configured to send a file destruction condition to the learning application if the type of the learning application is a client-side learning application; the file destruction condition is configured to control the learning application to destroy the executable file when an event satisfying the file destruction condition is detected in the learning application; the file destruction condition includes at least one of the following: the cache occupancy rate of the executable file is greater than or equal to a preset occupancy rate, and the process termination condition of the learning application.

[0145] In one possible implementation, the sending module 703 is further configured to, if the type of the learning application is a client-side learning application, send the associated file to the learning application when the executable file has an associated file, wherein the associated file includes at least one of the usage instructions of the executable file and the extension files of the executable file.

[0146] In one possible implementation, the sending module 703 is further configured to, if the type of the learning application is a web-based learning application, execute the interactive operation request based on the executable file, obtain the interactive operation result, and send the interactive operation result to the learning application.

[0147] In one possible implementation, the sending module 703 is further configured to send an interaction failure condition to the learning application; the interaction failure condition is configured to control the learning application to terminate the display of the interaction operation result when an event satisfying the interaction failure condition is detected in the learning application; the interaction failure condition includes at least one of the following: the learning application's process termination condition and the learning application being in a background running state.

[0148] In one possible implementation, the apparatus 700 further includes a modification device 704, which is configured to modify the executable file and / or its extension file in response to a configuration change instruction for the executable file.

[0149] In one possible implementation, after determining the executable file matching the interactive operation request from multiple executable files in response to the interactive operation request of the learning application, the method further includes: obtaining user information of the learning application; and confirming that the user information matches the user usage conditions of the executable file.

[0150] In one possible implementation, if no executable file matching the interactive operation request is found from multiple executable files, a registration prompt message is sent to the learning application. The registration prompt message is used to prompt the learning application to send a registration request for the executable file. In response to the registration request from the learning application, the executable file is registered.

[0151] In the case of dividing each functional module according to its corresponding functions, an exemplary embodiment of this disclosure provides another interactive operation device, which can be a terminal or a chip applied to a terminal. Figure 8 A schematic block diagram of the functional modules of an interactive operation device according to an exemplary embodiment of the present disclosure is shown. Figure 8 As shown, the interactive operation device 800 includes:

[0152] The sending module 801 is used to respond to interactive operations for the learning application and send interactive operation requests to the server.

[0153] The acquisition module 802 is used to acquire an executable file from the server if the type of the learning application is a client-side learning application, wherein the executable file matches the interactive operation request;

[0154] The module 803 is used to execute the interactive operation request based on the executable file and obtain the interactive operation result.

[0155] In one possible implementation, the acquisition module 802 is further configured to acquire file destruction conditions from the server if the type of the learning application is a client-side learning application; and destroy the executable file if an event satisfying the file destruction conditions is detected when the learning application executes such an event. The file destruction conditions include at least one of the following: the cache occupancy rate of the executable file is greater than or equal to a preset occupancy rate, or the process termination condition of the learning application.

[0156] In one possible implementation, the acquisition module 802 is further configured to: if the type of the learning application is a client-side learning application, acquire the associated file of the executable file from the server; if the associated file of the executable file includes the usage instructions of the executable file, display the usage instructions of the executable file; if the associated file of the executable file includes the extended file of the executable file, extend the executable file based on the extended file before executing the interactive operation request based on the executable file and obtaining the interactive operation result.

[0157] In one possible implementation, the acquisition module 802 is further configured to acquire and display the interaction operation results from the server if the type of the learning application is detected to be a web-based learning application.

[0158] In one possible implementation, the interaction failure condition is obtained from the server; if the interaction operation result is displayed, when an event satisfying the interaction failure condition is detected in the learning application, the display of the interaction operation result is terminated, wherein the interaction failure condition includes at least one of the following: the learning application process termination condition and the learning application being in a background running state.

[0159] In one possible implementation, the sending module 801 is further configured to send a configuration change instruction for the executable file to the server, the configuration change instruction being used to instruct the server to change the executable file and / or the extended file of the executable file.

[0160] In one possible implementation, the sending module 801 is further configured to send a registration request for the executable file to the server in response to a registration prompt message for the executable file from the server, the registration request being used to request the server to register the executable file.

[0161] Figure 9 A schematic block diagram of a chip according to an exemplary embodiment of the present disclosure is shown. Figure 9 As shown, the chip 900 includes one or more (including two) processors 901 and a communication interface 902. The communication interface 902 can support the server in performing the data transmission and reception steps in the above method, and the processor 901 can support the server in performing the data processing steps in the above method.

[0162] Optional, such as Figure 9 As shown, the chip 900 also includes a memory 903, which may include read-only memory and random access memory, and provides operation instructions and data to the processor. A portion of the memory may also include non-volatile random access memory (NVRAM).

[0163] In some implementations, such as Figure 9As shown, processor 901 executes corresponding operations by calling operation instructions stored in memory (which may be stored in the operating system). Processor 901 controls the processing operations of any terminal device; processor can also be called a central processing unit (CPU). Memory 903 may include read-only memory and random access memory, and provides instructions and data to processor 901. A portion of memory 903 may also include NVRAM. For example, in applications, memory, communication interfaces, and other components are coupled together via a bus system, which may include, in addition to a data bus, a power bus, a control bus, and a status signal bus, etc. However, for clarity, in... Figure 9 The general designated all buses as Bus System 904.

[0164] The methods disclosed in the embodiments of this disclosure can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above methods can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, a digital signal processor (DSP), an ASIC, a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this disclosure. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this disclosure can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory; the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above methods.

[0165] Exemplary embodiments of this disclosure also provide an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor. The memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to cause the electronic device to perform a method according to an embodiment of this disclosure.

[0166] Exemplary embodiments of this disclosure also provide a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a computer's processor, is used to cause the computer to perform a method according to embodiments of this disclosure.

[0167] Exemplary embodiments of this disclosure also provide a computer program product, including a computer program, wherein, when executed by a processor of a computer, the computer program is used to cause the computer to perform a method according to an embodiment of this disclosure.

[0168] refer to Figure 10 The present invention describes a structural block diagram of an electronic device that can serve as a server or client of the present disclosure, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0169] like Figure 10 As shown, the electronic device 1000 includes a computing unit 1001, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1002 or a computer program loaded from a storage unit 1008 into a random access memory (RAM) 1003. The RAM 1003 may also store various programs and data required for the operation of the device 1000. The computing unit 1001, ROM 1002, and RAM 1003 are interconnected via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.

[0170] Multiple components in electronic device 1000 are connected to I / O interface 1005, including: input unit 1006, output unit 1007, storage unit 1008, and communication unit 1009. Input unit 1006 can be any type of device capable of inputting information to electronic device 1000. Input unit 1006 can receive input digital or character information and generate key signal inputs related to user settings and / or function control of electronic device. Output unit 1007 can be any type of device capable of presenting information and may include, but is not limited to, a display, speaker, video / audio output terminal, vibrator, and / or printer. Storage unit 1004 may include, but is not limited to, disk and optical disk. Communication unit 1009 allows electronic device 1000 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers, and / or chipsets, such as Bluetooth™ devices, WiFi devices, WiMax devices, cellular communication devices, and / or the like.

[0171] The computing unit 1001 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 1001 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 1001 performs the various methods and processes described above. For example, in some embodiments, the methods of the exemplary embodiments of this disclosure can be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 1008. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 1000 via ROM 1002 and / or communication unit 1009. In some embodiments, the computing unit 1001 can be configured to perform the methods of the exemplary embodiments of this disclosure by any other suitable means (e.g., by means of firmware).

[0172] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0173] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0174] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0175] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0176] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other.

[0177] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of this disclosure are performed, in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a terminal, a user equipment, or other programmable device. The computer program or instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program or instructions can be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center integrating one or more available media. The available medium can be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; it can also be an optical medium, such as a digital video disc (DVD); or it can be a semiconductor medium, such as a solid-state drive (SSD).

[0178] Although this disclosure has been described in conjunction with specific features and embodiments, it will be apparent that various modifications and combinations can be made therein without departing from the spirit and scope of this disclosure. Accordingly, this specification and drawings are merely exemplary illustrations of the disclosure as defined by the appended claims and are to be considered as covering any and all modifications, variations, combinations, or equivalents within the scope of this disclosure. It is obvious that those skilled in the art can make various alterations and modifications to this disclosure without departing from its spirit and scope. Thus, this disclosure is also intended to include any such modifications and modifications that fall within the scope of the claims of this disclosure and their equivalents.

Claims

1. An interactive operation method, characterized in that, The method includes: In response to an interactive operation request for a learning application, an executable file matching the interactive operation request is determined from multiple executable files; The type of the learning application is determined based on the data source of the interactive operation request. If the learning application is a client-based learning application, the executable file is sent to the learning application; wherein, the executable file is used to execute the interactive operation request to obtain the interactive operation result; If the learning application is a web-based learning application, the interactive operation request is executed based on the executable file to obtain the interactive operation result; the interactive operation result is then sent to the learning application. The method further includes: When each of the plurality of executable files fails to match the interactive operation request, a registration prompt message is sent to the learning application, the registration prompt message being used to prompt the learning application to send a registration request for the executable file; In response to the registration request from the learning application, the executable file is registered.

2. The method according to claim 1, characterized in that, The method further includes: If the learning application is a client-based learning application, send the file destruction condition to the learning application; The file destruction condition is used to control the learning application to destroy the executable file when an event satisfying the file destruction condition is detected. The file destruction conditions include at least one of the following: the cache occupancy rate of the executable file is greater than or equal to a preset occupancy rate, and the process termination condition of the learning application.

3. The method according to claim 1, characterized in that, The method further includes: If the learning application is a client-side learning application, when the executable file has associated files, the associated files are sent to the learning application. The associated files include at least one of the executable file's user manual information and the executable file's extension files.

4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: Send the interaction failure condition to the learning application; The interaction failure condition is used to control the learning application to terminate the display of the interaction operation result when an event satisfying the interaction failure condition is detected. The interaction failure conditions include at least one of the following: the learning application's process termination condition and the learning application being in a background running state.

5. The method according to any one of claims 1 to 3, characterized in that, After determining the executable file matching the interactive operation request from multiple executable files in response to the interactive operation request for the learning application, the method further includes: Obtain user information for the learning application; Confirm that the user information matches the user usage conditions of the executable file.

6. An interactive operation method, characterized in that, The method includes: In response to interactive actions for the learning application, send an interactive action request to the server; If the learning application is a client-side learning application, obtain an executable file from the server, and match the executable file with the interactive operation request; execute the interactive operation request based on the executable file to obtain the interactive operation result; If the learning application is a web-based learning application, obtain the interaction results from the server and display the interaction results; The method further includes: In response to the registration prompt message for the executable file from the server, a registration request is sent to the server.

7. The method according to claim 6, characterized in that, The method further includes: If the learning application is a client-based learning application, obtain the file destruction conditions from the server. If an event is detected in which the learning application executes an event that satisfies the file destruction condition, the executable file is destroyed. The file destruction condition includes at least one of the following: the cache occupancy rate of the executable file is greater than or equal to a preset occupancy rate, or the process termination condition of the learning application.

8. The method according to claim 6, characterized in that, The method further includes: If the learning application is a client-side learning application, obtain the associated file of the executable file from the server; If the associated file of the executable file includes the usage instructions for the executable file, then display the usage instructions for the executable file; If the associated file of the executable file includes an extension file of the executable file, the executable file is extended based on the extension file of the executable file before the interactive operation request is executed based on the executable file and the interactive operation result is obtained.

9. The method according to any one of claims 6 to 8, characterized in that, The method further includes: Obtain the interaction failure conditions from the server; If the interactive operation result is displayed, the display of the interactive operation result will be terminated when an event satisfying the interaction failure condition is detected in the learning application. The interaction failure condition includes at least one of the following: the learning application process terminates, or the learning application is running in the background.

10. An interactive operation device, characterized in that, The device includes: A response module is used to respond to an interactive operation request for the learning application by determining an executable file that matches the interactive operation request from multiple executable files; The determination module is used to determine the type of the learning application based on the data source of the interactive operation request; The sending module is configured to send the executable file to the learning application if the learning application is a client-based learning application; wherein the executable file is used to execute the interactive operation request to obtain the interactive operation result; if the learning application is a web-based learning application, the module executes the interactive operation request based on the executable file to obtain the interactive operation result; and sends the interactive operation result to the learning application. The registration module is configured to send a registration prompt message to the learning application when each of the plurality of executable files fails to match the interactive operation request, the registration prompt message being used to prompt the learning application to send a registration request for the executable file; and to register the executable file in response to the registration request from the learning application.

11. An interactive operation device, characterized in that, The device includes: The sending module is used to respond to interactive operations for the learning application and send interactive operation requests to the server. The acquisition module is used to acquire an executable file from the server if the type of the learning application is a client-side learning application, and the executable file matches the interactive operation request; The obtaining module is used to execute the interactive operation request based on the executable file and obtain the interactive operation result; The display module is used to obtain the interaction operation results from the server and display the interaction operation results if the type of the learning application is a web-based learning application. The response module is used to send a registration request to the server in response to the registration prompt information for the executable file from the server.

Citation Information

Patent Citations

  • Target file processing method and device and terminal equipment

    CN113032042A