Window control method and system, electronic equipment and storage medium

By monitoring the events of the teaching window on the student client and adjusting the processing function, the changes in the full-screen top display status are prevented, and the problem that the teaching window on the student client is easily cancelled, closed or full-screen is solved, and the stable full-screen top display of the teaching window is realized, improving the management and quality of teaching activities.

CN119829172APending Publication Date: 2025-04-15GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311331408.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-13
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

Existing student clients are easily cancelled, closed or full screen during teaching activities, resulting in the inability to carry out normal teaching activities, which greatly reduces the control over the teaching client and reduces the quality of teaching activities.

Method used

By receiving window display instructions from the teacher client, the full screen top display of the teaching window is realized and the events in the teaching window are monitored. If a target event that changes the full screen top display status is detected, the processing function is adjusted to prevent this change, thereby restoring the teaching window to the full screen top display status.

Benefits of technology

Ensure that the teaching window is always displayed in the form of a full screen top during teaching activities, improve the management and control of teaching activities, and improve teaching efficiency and teaching quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119829172A_ABST
    Figure CN119829172A_ABST
Patent Text Reader

Abstract

The invention provides a window control method and system, electronic equipment and a storage medium, and the method comprises the steps: displaying a teaching window corresponding to a window display instruction in a full-screen top display state through the window display instruction from a teacher client, and monitoring an event of the teaching window, obtaining a window operation event of the teaching window and a first processing function of the window operation event, and if the window operation event is a target event for changing the full-screen top display state of the teaching window, adjusting the first processing function into a second processing function, the first processing function is a processing function number for executing a preset conventional window operation event, the second processing function is a processing function for preventing the change of a full-screen top display state of the teaching window, and the teaching window of each student client is ensured to be displayed in a full-screen top form in a teaching activity. Therefore, the manageability and the controllability of teaching activities are improved, and the teaching efficiency and the teaching quality are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a window control processing method, system, electronic device and storage medium. Background Art

[0002] With the popularization of Internet technology, electronic classrooms are widely used in teaching activities. Specifically, there is usually a teacher client communicating with several student clients. The teacher client can perform various teaching activities on the student clients, such as teaching broadcasts, student demonstrations, black screen control, etc., and the student client displays the teaching windows corresponding to the various teaching activities sent by the teacher client. In addition, in order to ensure the quality of teaching, the teaching window is displayed in full screen and on top of the student client. Students cannot perform operations other than the teaching window through the student client, such as exiting the teaching window, opening other applications, etc. Once the teaching window of the client is closed, the full screen is canceled, or the top is canceled, normal teaching activities cannot be carried out, which greatly reduces the controllability of the teaching client and leads to poor quality of teaching activities. Summary of the invention

[0003] The present application provides a window control method, system, electronic device, storage medium and computer storage medium, aiming to solve the technical problem that the existing student client is easily unpinned, closed or full-screen during teaching activities, resulting in the inability to carry out normal teaching activities, greatly reducing the controllability of the teaching client and reducing the quality of teaching activities.

[0004] On the one hand, the present application provides a window control method, which is applied to a student client, and the method includes:

[0005] According to the window display instruction from the teacher client, the teaching window corresponding to the window display instruction is displayed in a full-screen top display state;

[0006] Monitor the events of the teaching window, obtain the window operation events of the teaching window, and the first processing function of the window operation events; wherein the first processing function is a processing function for executing a preset conventional window operation event;

[0007] If the window operation event is a target event for changing the full-screen top display state of the teaching window, the first processing function is adjusted to a second processing function; wherein the second processing function is a processing function for preventing the full-screen top display state of the teaching window from changing;

[0008] Through the second processing function, the teaching window is controlled to return to the full-screen top display state.

[0009] In some embodiments of the present application, if the window operation event is a target event for changing the full-screen top display state of the teaching window, adjusting the first processing function to the second processing function includes:

[0010] Determine the event type of the target event, where the event type includes: at least one of a window closing event, a size change event, and a level change event;

[0011] According to the event type of the target event and the preset mapping relationship, a second processing function of the target event is determined, and the first processing function is adjusted to the second processing function.

[0012] In some embodiments of the present application, determining the second processing function of the target event according to the event type of the target event and a preset mapping relationship includes:

[0013] If the event type is a size change event, then according to a preset mapping relationship, a restore full screen function is set as the second processing function of the target event, and the restore full screen function is used to control the teaching window to restore to the full screen display mode;

[0014] If the event type is a level change event, then according to a preset mapping relationship, a restore-to-top function is set as the second processing function of the target event, and the restore-to-top function is used to control the teaching window to return to the top display mode.

[0015] In some embodiments of the present application, determining the second processing function of the target event according to the event type of the target event and a preset mapping relationship includes:

[0016] If the event type is the window closing event, determining whether the window closing event is a normal closing;

[0017] If the window closing event is a normal closing, then according to the preset mapping relationship, an interception closing function is set as the second processing function of the target event, and the interception closing function is used to intercept the closing of the teaching window;

[0018] If the window closing event is an abnormal closing, then according to a preset mapping relationship, a window reconstruction function is set as the second processing function of the target event, and the window reconstruction function is used to rebuild the closed teaching window.

[0019] In some embodiments of the present application, if the window operation event is a target event for changing the full-screen top display state of the teaching window, before adjusting the first processing function to the second processing function, the method includes:

[0020] Detecting the window operation event to determine whether the window operation event is an operation event for changing the full-screen top display state of the teaching window;

[0021] If the window operation event is an operation event for changing the full-screen top display state of the teaching window, the window operation event is determined to be a target event.

[0022] In some embodiments of the present application, controlling the teaching window to return to a full-screen top display state through the second processing function includes:

[0023] According to the second processing function, the target window data currently displayed by the teacher client is obtained, and the teaching window corresponding to the target window data is displayed in a full-screen top display state.

[0024] In a second aspect, an embodiment of the present application further provides a window control method, wherein the window control method is applied to a teacher client, and the window control method comprises:

[0025] In response to the window control operation, a window display instruction is generated and sent to a student client that is communicatively connected to the teacher client;

[0026] Controlling the student client to display the teaching window corresponding to the window display instruction in a full-screen top display state; and

[0027] Control the student client to monitor the events of the teaching window, so that the student client obtains the window operation events of the teaching window and the first processing function of the window operation events; if the window operation event is a target event for changing the full-screen top display state of the teaching window, adjust the first processing function to a second processing function; through the second processing function, control the teaching window to restore to the full-screen top display state; wherein the first processing function is a regular processing function of the window operation event, and the second processing function is a processing function that prevents the full-screen top display state of the teaching window from changing.

[0028] In a third aspect, an embodiment of the present application further provides a window control system, the window control system comprising: a teacher client and at least one student client in communication with the teacher client, the window control system performing the following operations:

[0029] The teacher client is used to generate a window display instruction in response to the window control operation and send it to the student client which is in communication connection with the teacher client;

[0030] The student client is used to display the teaching window corresponding to the window display instruction in a full-screen top display state, and monitor the events of the teaching window to obtain the window operation events of the teaching window and the first processing function of the window operation event; if the window operation event is a target event for changing the full-screen top display state of the teaching window, the first processing function is adjusted to the second processing function; through the second processing function, the teaching window is controlled to be restored to the full-screen top display state; wherein the first processing function is a regular processing function of the window operation event, and the second processing function is a processing function that prevents the full-screen top display state of the teaching window from changing.

[0031] In a fourth aspect, an embodiment of the present application further provides an electronic device, the electronic device comprising:

[0032] one or more processors;

[0033] Memory; and

[0034] One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the steps in the window control method.

[0035] In a fifth aspect, an embodiment of the present application further provides a computer storage medium on which a computer program is stored, and the computer program is loaded by a processor to execute the steps in the window control method.

[0036] In the technical solution of the embodiment of the present application, a window display instruction from a teacher client is used to display the teaching window corresponding to the window display instruction in a full-screen top display state, and events of the teaching window are monitored to obtain window operation events of the teaching window and a first processing function of the window operation event. If the window operation event is a target event for changing the full-screen top display state of the teaching window, the first processing function is adjusted to a second processing function. The first processing function is a conventional processing function of the window operation event, and the second processing function is a processing function for preventing the teaching window from changing its full-screen top display state. During teaching activities, it is ensured that the teaching window of each student client is displayed in a full-screen top display form, thereby improving the manageability and controllability of teaching activities, and improving teaching efficiency and teaching quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0038] Figure 1 A flowchart of a window control method provided in an embodiment of the present application;

[0039] Figure 2 A flowchart of another window control method provided in an embodiment of the present application;

[0040] Figure 3 A schematic diagram of the system structure of a window control system provided in an embodiment of the present application;

[0041] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of the present invention.

[0043] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0044] In this application, the word "exemplary" is used to mean "serving as an example, illustration, or illustration." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any person skilled in the art to implement and use the invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the invention can be implemented without using these specific details. In other instances, well-known structures and processes are not elaborated in detail to avoid obscuring the description of the invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in this application.

[0045] As can be seen from the above background technology, electronic classrooms are widely used in teaching activities. However, the premise for the teacher client and the student client to carry out various teaching activities is to establish a communication connection between the teacher client and each student client. Generally, it is a local area network communication, and a communication connection can be carried out through websocket. After the connection is established, the teacher client can send various teaching instructions to the student client. For example, the teacher broadcasts, and the teacher client sends the "instruction to start receiving the teacher broadcast" to each student client. After the student client receives the instruction, it starts to project the teaching window of the teacher client in full-screen top mode. It can be seen that when teaching activities are carried out through the electronic classroom, it is necessary to ensure that during the teaching activities, the student client displays the teaching window in full-screen top mode. However, some third-party tool applications on the market can close the teaching window of the student client, or switch to non-full-screen mode, or cancel the top mode. For example, under the windows system, the third-party tool application can get the window handle, call the system interface to close the teaching window of the student client, or switch to non-full-screen mode, or cancel the top mode.

[0046] However, once the teaching window is closed, or switched to non-full-screen mode, or the pinned mode is canceled, on the one hand, if you want to restore it, you need to restart the entire application, which affects the teaching efficiency and quality. On the other hand, the student client can perform other operations during the teaching activities, which greatly reduces the manageability and controllability of the teaching activities.

[0047] In order to solve the above technical problems, the embodiments of the present application provide a window control method, system, electronic device and computer storage medium.

[0048] This embodiment will be described from the perspective of a window control device, which can be integrated in an electronic device, that is, the window control method of the embodiment of the present application can be executed by an electronic device, and optionally, the electronic device can include: a terminal device. The terminal device can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop computer, a game console, or a personal computer (PC) and other devices.

[0049] The window control method provided in the embodiment of the present application can be applied to a window control system. The window control system may include a teaching client and a student client. The terminal device may be a device including both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. The teaching client and the student client may perform two-way communication via a network.

[0050] It can be understood that the number and type of devices of the teacher client and the student client in the above-mentioned window control system, or the number and type of devices contained in each device, do not affect the overall implementation of the technical solution in the embodiment of the present invention, and can all be regarded as equivalent replacements or derivatives of the technical solution required to be protected in the embodiment of the present invention.

[0051] In an embodiment of the present application, the teacher client is mainly used to: generate a window display instruction and send it to each student client; the student client is mainly used to: display the teaching window corresponding to the window display instruction in full screen and on top according to the window display instruction from the teacher client; monitor the events of the teaching window, obtain the window operation events of the teaching window, and the first processing function of the window operation event; wherein the first processing function is a regular processing function of the window operation event; if the window operation event is a target event for changing the full screen and top display state of the teaching window, the first processing function is adjusted to the second processing function; wherein the second processing function is a processing function that prevents the full screen and top display state of the teaching window from changing; through the second processing function, the teaching window displayed on the client is restored to the full screen and top mode.

[0052] Figure 1 One of the flowcharts of the window control method provided in the embodiment of the present application is as follows Figure 1 As shown, the window control method provided in the embodiment of the present application may at least include the following steps:

[0053] S101, receiving a window display instruction from a teacher client, and displaying a teaching window corresponding to the window display instruction in a full-screen top display state.

[0054] The above window display instruction is used to indicate that the student client is controlled to display the teaching window corresponding to the window display instruction. The above full screen top display state means that the teaching window is displayed in full screen on the screen of the student client and is at the top layer.

[0055] Optionally, the above-mentioned window display instruction includes: teaching window data, so that the student client renders a corresponding teaching window according to the teaching window data.

[0056] In this embodiment, after receiving the window display instruction from the teacher client, the student client can first parse the window display instruction to obtain the teaching window data, and render the teaching window according to the teaching window data to obtain the teaching window, and then display the teaching window on the student client in a full-screen top display state.

[0057] S102, monitoring the events of the teaching window, obtaining the window operation events of the teaching window, and the first processing function of the window operation events.

[0058] The above-mentioned window operation events may include: operation events for changing the teaching window full screen top display state, and other operation events (for example, changing screen brightness, changing screen resolution, etc.). The above-mentioned first processing function is a processing function for executing preset conventional window operation events, and the preset window operation events mentioned here are other operation events except the above-mentioned operation events for changing the teaching window full screen top display state.

[0059] It is understandable that the above-mentioned first processing function can be pre-programmed by a program engineer according to a preset conventional window operation event, and pre-set and stored in the student client for calling.

[0060] In an embodiment of the present application, after displaying the teaching window in a full-screen top display state, the student client continues to monitor the events of the displayed teaching window to monitor the window operation events of the teaching window and obtain the first processing function of the window operation event.

[0061] Optionally, a monitoring mechanism (i.e., a preset monitoring mechanism) is pre-set in the student client. After the student client displays the teaching window in a full-screen top display state, the student client calls the above-mentioned preset monitoring mechanism to monitor the events of the teaching window through the above-mentioned preset monitoring mechanism to obtain the window operation events of the teaching window.

[0062] S103: If the window operation event is a target event for changing the teaching window to a full-screen top display state, the first processing function is adjusted to a second processing function.

[0063] Among them, the second processing function is a processing function that prevents the teaching window from changing its full-screen top display state.

[0064] It can be understood that the above-mentioned second processing function is pre-set and stored in the teaching client. When the window operation event is a target event for changing the full-screen top display state of the teaching window, the second processing function of the target event is obtained, and the first processing function is adjusted to the second processing function.

[0065] In some optional embodiments, the above step S103: if the window operation event is a target event for changing the full-screen top display state of the teaching window, adjusting the first processing function to the second processing function can be implemented by the following operations:

[0066] Determine the event type of the target event; determine the second processing function of the target event according to the event type of the target event and the first mapping relationship, and adjust the first processing function to the second processing function.

[0067] The event type of the target event includes: at least one of a window closing event, a size change event, and a level change event. Optionally, the window closing event includes a normal closing event and an abnormal closing event.

[0068] The above-mentioned normally closed window closing event refers to an event triggered by the normal closing operation of the teaching window. The normal closing operation includes: shortcut key closing operation and clicking the close button operation.

[0069] The above-mentioned abnormal window closing event refers to an event triggered by an abnormal closing operation of the teaching window, and the abnormal closing operation refers to a closing event triggered by a third-party tool software.

[0070] The size change event is an event triggered by resizing the teaching window, such as changing the full screen display state to the normal display state. The window resizing operation can be triggered normally or by a third-party tool application, which is not specifically limited here.

[0071] The above-mentioned level change event refers to an event triggered by a level adjustment operation on the teaching window, such as adjusting the top display state to a non-top display state. The level adjustment operation mentioned here can be triggered normally or by a third-party tool application, which is not specifically limited here.

[0072] In the embodiment of the present application, a mapping relationship between an event type and a second processing function is preset (ie, a preset mapping relationship), and the second processing function corresponding to different event types can be queried through the preset mapping relationship.

[0073] Specifically, if the event type is a size change event, then according to a preset mapping relationship, a restore full screen function is set as the second processing function of the target event, and the restore full screen function is used to control the teaching window to return to the full screen display mode.

[0074] If the event type is a level change event, then according to a preset mapping relationship, a restore-to-top function is set as the second processing function of the target event, and the restore-to-top function is used to control the teaching window to return to the top display mode.

[0075] If the event type is a window closing event, determine whether the window closing event is a normal closing; if the window closing event is a normal closing, then according to the preset mapping relationship, set the intercept closing function as the second processing function of the target event, and the intercept closing function is used to intercept the closing of the teaching window; if the window closing event is an abnormal closing, then according to the preset mapping relationship, set the window reconstruction function as the second processing function of the target event, and the window reconstruction function is used to rebuild the closed teaching window.

[0076] Through the above-mentioned embodiments, the teaching window of the student client is prevented from being closed, canceled from full screen or canceled from being fixed on top, and it can be fully guaranteed that the teaching window of the student client is displayed in a full screen and fixed on top display state during the teaching process.

[0077] In some optional embodiments, before executing step S103: if the window operation event is a target event for changing the full-screen top display state of the teaching window, then adjusting the first processing function to the second processing function, the window control method provided by the embodiment of the present application may further include:

[0078] Detecting the window operation event to determine whether the window operation event is an operation event for changing the full-screen top display state of the teaching window;

[0079] If the window operation event is an operation event for changing the teaching window to a full-screen top display state, the window operation event is determined to be a target event.

[0080] S104, through the second processing function, controlling the above teaching window to restore to the full-screen top display state.

[0081] Specifically, according to the second processing function, the target window data currently displayed by the teacher client is obtained, and the teaching window corresponding to the target window data is displayed in a full-screen top display state.

[0082] Since the content displayed in the teaching window changes to a certain extent in actual scenarios, when controlling the above-mentioned teaching window to return to the full-screen top display state, the data acquisition instruction can be first generated by the second processing function and sent to the teacher client to receive the currently displayed target window data fed back by the teacher client according to the data acquisition instruction, so that the student client can display the teaching window corresponding to the target window data in the full-screen top display state to ensure the synchronization of the teacher client and the student client, thereby further improving the teaching quality.

[0083] The window control method provided in the embodiment of the present application uses a window display instruction from a teacher client to display the teaching window corresponding to the window display instruction in a full-screen top display state, and monitors the events of the teaching window to obtain the window operation events of the teaching window and the first processing function of the window operation event. If the window operation event is a target event for changing the full-screen top display state of the teaching window, the first processing function is adjusted to the second processing function. The above-mentioned first processing function is a processing function for executing a preset conventional window operation event, and the above-mentioned second processing function is a processing function for preventing the teaching window from changing its full-screen top display state. In the teaching activities, it is ensured that the teaching window of each student client is displayed in the form of a full-screen top display, thereby improving the manageability and controllability of the teaching activities, and improving the teaching efficiency and teaching quality.

[0084] Figure 2 A flowchart of a window control method provided in an embodiment of the present application, wherein the window control method is applied to a teacher client, such as Figure 2 As shown, the window control method at least includes the following steps:

[0085] S201, in response to a window control operation, generating a window display instruction and sending the instruction to a student client in communication connection with a teacher client.

[0086] S202, controlling the student client to display the teaching window corresponding to the window display instruction in a full-screen top display state.

[0087] S203, controlling the student client to monitor the events of the teaching window, so that the student client obtains the window operation events of the teaching window and the first processing function of the window operation events; if the window operation event is a target event for changing the full-screen top display state of the teaching window, the first processing function is adjusted to the second processing function; through the second processing function, the teaching window is controlled to be restored to the full-screen top display state.

[0088] Among them, the first processing function is a processing function for executing a preset conventional window operation event, and the second processing function is a processing function for preventing the teaching window from changing its full-screen top display state.

[0089] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0090] Accordingly, the embodiment of the present application also provides a window control system, Figure 3 A schematic diagram of the system structure of the window control system provided in the embodiment of the present application is shown in FIG. Figure 3As shown, the window control system provided by the embodiment of the present application includes: a teacher client 310 and at least one student client 320 connected to the teacher client for communication. The window control system performs the following operations:

[0091] The teacher client 310 is used to generate a window display instruction in response to a window control operation and send the window display instruction to the student client 320 that is communicatively connected to the teacher client.

[0092] The student client 320 monitors the events of the teaching window so that the student client obtains the window operation events of the teaching window and the first processing function of the window operation event; if the window operation event is a target event for changing the full-screen top display state of the teaching window, the first processing function is adjusted to the second processing function; through the second processing function, the teaching window is controlled to be restored to the full-screen top display state; wherein the first processing function is a processing function for executing a preset conventional window operation event, and the second processing function is a processing function for preventing the full-screen top display state of the teaching window from changing.

[0093] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0094] Accordingly, the present application also provides an electronic device, such as Figure 4 As shown, the electronic device includes a processor 401 having one or more processing cores, a memory 402 having one or more computer-readable storage media, and a computer program stored in the memory 402 and executable on the processor. The processor 401 is electrically connected to the memory 402. Those skilled in the art will appreciate that the electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0095] The processor 401 is the control center of the electronic device 400, and uses various interfaces and lines to connect various parts of the entire electronic device 400. By running or loading software programs and / or units stored in the memory 402, and calling data stored in the memory 402, the processor 401 executes various functions of the electronic device 400 and processes data, thereby monitoring the electronic device 400 as a whole. The processor 401 can be a processor CPU, a graphics processor GPU, a network processor (Network Processor, NP), etc., and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application.

[0096] In the embodiment of the present application, the processor 401 in the electronic device 400 will load instructions corresponding to the processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 will run the application programs stored in the memory 402 to implement various functions, such as:

[0097] According to the window display instruction from the teacher client, the teaching window corresponding to the window display instruction is displayed in a full-screen top display state;

[0098] Monitor the events of the teaching window, obtain the window operation events of the teaching window, and the first processing function of the window operation events; wherein the first processing function is a processing function for executing a preset conventional window operation event;

[0099] If the window operation event is a target event for changing the full-screen top display state of the teaching window, the first processing function is adjusted to a second processing function; wherein the second processing function is a processing function for preventing the full-screen top display state of the teaching window from changing;

[0100] By means of the second processing function, the teaching window is controlled to be restored to a full-screen top display state;

[0101] or,

[0102] In response to the window control operation, a window display instruction is generated and sent to a student client that is communicatively connected to the teacher client;

[0103] Controlling the student client to display the teaching window corresponding to the window display instruction in a full-screen top display state; and

[0104] Control the student client to monitor the events of the teaching window, so that the student client obtains the window operation events of the teaching window and the first processing function of the window operation event; if the window operation event is a target event for changing the full-screen top display state of the teaching window, adjust the first processing function to a second processing function; through the second processing function, control the teaching window to restore to the full-screen top display state; wherein, the first processing function is a processing function for executing a preset conventional window operation event, and the second processing function is a processing function for preventing the full-screen top display state of the teaching window from changing.

[0105] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0106] Optional, such as Figure 4As shown, the electronic device 400 further includes: a touch screen 403, a radio frequency circuit 404, an audio circuit 405, an input unit 406, and a power supply 407. The processor 401 is electrically connected to the touch screen 403, the radio frequency circuit 404, the audio circuit 405, the input unit 406, and the power supply 407, respectively. Those skilled in the art can understand that Figure 4 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0107] The touch display screen 403 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The touch display screen 403 may include a display panel and a touch panel. Among them, the display panel may be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device, and these graphical user interfaces may be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode) and the like. The touch panel may be used to collect the user's touch operation on or near it (such as the user using any suitable object or attachment such as a finger, a stylus, etc. on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 401, and can receive the command sent by the processor 401 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 401 to determine the type of touch event, and then the processor 401 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 403 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 403 can also be used as a part of the input unit 406 to realize the input function.

[0108] The radio frequency circuit 404 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other electronic devices through wireless communication, and to send and receive signals with the network device or other electronic devices.

[0109] The audio circuit 405 can be used to provide an audio interface between the user and the electronic device through a speaker and a microphone. The audio circuit 405 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 405 and converted into audio data, and then the audio data is output to the processor 401 for processing, and then sent to another electronic device through the radio frequency circuit 404, or the audio data is output to the memory 402 for further processing. The audio circuit 405 may also include an earplug jack to provide communication between an external headset and an electronic device.

[0110] The input unit 406 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0111] The power supply 407 is used to supply power to various components of the electronic device 400. Optionally, the power supply 407 can be logically connected to the processor 401 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The power supply 407 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0112] although Figure 4 Not shown, the electronic device 400 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.

[0113] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0114] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0115] To this end, an embodiment of the present application provides a computer-readable storage medium, in which a plurality of computer programs are stored. The computer program can be loaded by a processor to execute any one of the window control methods provided in the embodiments of the present application. The computer program can execute the following steps of the window control method:

[0116] According to the window display instruction from the teacher client, the teaching window corresponding to the window display instruction is displayed in a full-screen top display state;

[0117] Monitor the events of the teaching window, obtain the window operation events of the teaching window, and the first processing function of the window operation events; wherein the first processing function is a processing function for executing a preset conventional window operation event;

[0118] If the window operation event is a target event for changing the full-screen top display state of the teaching window, the first processing function is adjusted to a second processing function; wherein the second processing function is a processing function for preventing the full-screen top display state of the teaching window from changing;

[0119] Through the second processing function, the teaching window is controlled to return to the full-screen top display state.

[0120] or,

[0121] In response to the window control operation, a window display instruction is generated and sent to a student client that is communicatively connected to the teacher client;

[0122] Controlling the student client to display the teaching window corresponding to the window display instruction in a full-screen top display state; and

[0123] Control the student client to monitor the events of the teaching window, so that the student client obtains the window operation events of the teaching window and the first processing function of the window operation event; if the window operation event is a target event for changing the full-screen top display state of the teaching window, adjust the first processing function to a second processing function; through the second processing function, control the teaching window to restore to the full-screen top display state; wherein, the first processing function is a processing function for executing a preset conventional window operation event, and the second processing function is a processing function for preventing the full-screen top display state of the teaching window from changing.

[0124] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0125] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0126] Since the computer program stored in the computer-readable storage medium can execute any window control method provided in the embodiments of the present application, the beneficial effects that can be achieved by any window control method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0127] In the above-mentioned embodiments of the window control system, computer-readable storage medium, and electronic device, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, reference can be made to the relevant description of other embodiments. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process and beneficial effects of the above-mentioned window control system, computer-readable storage medium, electronic device and its corresponding units can refer to the description of the window control method in the above embodiment, and will not be repeated here.

[0128] The above is a detailed introduction to a window control method, system, electronic device, and computer-readable storage medium provided in the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A window control method, characterized in that: The window control method is applied to a student client, and the method comprises: According to the window display instruction from the teacher client, the teaching window corresponding to the window display instruction is displayed in a full-screen top display state; Monitor the events of the teaching window, obtain the window operation events of the teaching window, and the first processing function of the window operation events; wherein the first processing function is a processing function for executing a preset conventional window operation event; If the window operation event is a target event for changing the full-screen top display state of the teaching window, the first processing function is adjusted to a second processing function; wherein the second processing function is a processing function for preventing the full-screen top display state of the teaching window from changing; Through the second processing function, the teaching window is controlled to return to the full-screen top display state.

2. The window control method according to claim 1, characterized in that: If the window operation event is a target event for changing the full-screen top display state of the teaching window, adjusting the first processing function to the second processing function includes: Determine the event type of the target event, where the event type includes: at least one of a window closing event, a size change event, and a level change event; According to the event type of the target event and the preset mapping relationship, a second processing function of the target event is determined, and the first processing function is adjusted to the second processing function.

3. The window control method according to claim 2, characterized in that: The determining, according to the event type of the target event and the preset mapping relationship, a second processing function of the target event includes: If the event type is a size change event, then according to a preset mapping relationship, a restore full screen function is set as the second processing function of the target event, and the restore full screen function is used to control the teaching window to restore to the full screen display mode; If the event type is a level change event, then according to a preset mapping relationship, a restore-to-top function is set as the second processing function of the target event, and the restore-to-top function is used to control the teaching window to return to the top display mode.

4. The window control method according to claim 2, characterized in that: The determining, according to the event type of the target event and the preset mapping relationship, a second processing function of the target event includes: If the event type is the window closing event, determining whether the window closing event is a normal closing; If the window closing event is a normal closing, then according to the preset mapping relationship, an interception closing function is set as the second processing function of the target event, and the interception closing function is used to intercept the closing of the teaching window; If the window closing event is an abnormal closing, then according to a preset mapping relationship, a window reconstruction function is set as the second processing function of the target event, and the window reconstruction function is used to rebuild the closed teaching window.

5. The window control method according to any one of claims 1 to 4, characterized in that: If the window operation event is a target event for changing the full-screen top display state of the teaching window, before adjusting the first processing function to the second processing function, the method includes: Detecting the window operation event to determine whether the window operation event is an operation event for changing the full-screen top display state of the teaching window; If the window operation event is an operation event for changing the full-screen top display state of the teaching window, the window operation event is determined to be a target event.

6. The window control method according to any one of claims 1 to 4, characterized in that: The controlling the teaching window to restore to a full-screen top display state through the second processing function includes: According to the second processing function, the target window data currently displayed by the teacher client is obtained, and the teaching window corresponding to the target window data is displayed in a full-screen top display state.

7. A window control method, characterized in that: The window control method is applied to a teacher client, and the window control method includes: In response to the window control operation, a window display instruction is generated and sent to a student client that is communicatively connected to the teacher client; Controlling the student client to display the teaching window corresponding to the window display instruction in a full-screen top display state; and Control the student client to monitor the events of the teaching window, so that the student client obtains the window operation events of the teaching window and the first processing function of the window operation events; if the window operation event is a target event for changing the full-screen top display state of the teaching window, adjust the first processing function to a second processing function; through the second processing function, control the teaching window to restore to the full-screen top display state; wherein the first processing function is a regular processing function of the window operation event, and the second processing function is a processing function that prevents the full-screen top display state of the teaching window from changing.

8. A window control system, characterized in that: The window control system includes: a teacher client and at least one student client connected to the teacher client for communication. The window control system performs the following operations: The teacher client is used to generate a window display instruction in response to the window control operation and send it to the student client which is in communication connection with the teacher client; The student client is used to display the teaching window corresponding to the window display instruction in a full-screen top display state, and monitor the events of the teaching window to obtain the window operation events of the teaching window and the first processing function of the window operation event; if the window operation event is a target event for changing the full-screen top display state of the teaching window, the first processing function is adjusted to the second processing function; through the second processing function, the teaching window is controlled to be restored to the full-screen top display state; wherein the first processing function is a regular processing function of the window operation event, and the second processing function is a processing function that prevents the full-screen top display state of the teaching window from changing.

9. An electronic device, characterized in that: The electronic device comprises: one or more processors; Memory; and One or more application programs, wherein the one or more application programs are stored in the memory and are configured to be executed by the processor to implement the steps in the window control method according to any one of claims 1 to 7.

10. A computer storage medium, characterized in that: A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in the window control method according to any one of claims 1 to 7.