Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in and/or in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part 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. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "a" and "an" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be construed as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
The following describes in detail the scheme provided by the embodiment of the present application with reference to the accompanying drawings.
An embodiment of the present disclosure proposes a control method of a terminal, for example, for an android terminal with a touch screen, referring to fig. 1, where the control method in the embodiment of the present disclosure includes:
s11: and establishing a cover layer on the upper layer of the display interface of the terminal.
Specifically, in this embodiment, the display interface of the terminal may not always have a cover layer, but the cover layer is established when the cover layer needs to be used, and in some embodiments, the cover layer is established at an upper layer of the display interface in response to the second operation on the terminal. The mask layer may be located at an upper layer of the display interface, an application window is displayed on the application interface, referring to fig. 2 for a positional relationship between the mask layer and the application window, the mask layer is located at a different layer from the application window, the mask layer is located at an upper layer of the application window, a z-axis is pointed to a user from a screen of the terminal, and a z-axis value of a layer where the mask layer is located is greater than a z-axis value of a layer where the application window is located.
S12: and receiving a first operation of a display interface of the terminal, wherein the first operation acts on the cover layer.
Specifically, the first operation may be any operation, for example, clicking or long pressing, or may be an operation for controlling a display of the terminal, for example, the control may be displayed on the cover layer, and the first operation is performed on the control on the cover layer, where in some embodiments, the first operation is at least partially located in an external area of the application window corresponding to the first operation.
S12: and responding to the first operation, and executing preset control corresponding to the first operation on at least one application window corresponding to the first operation.
Specifically, in this embodiment, the application window refers to a window displayed by any application, and since the cover layer is located on an upper layer of the application window, the cover layer may intercept the first operation in preference to the application window, in some embodiments, the cover layer may cover the entire display interface, and in other embodiments, the cover layer at least partially covers an area other than the corresponding application window.
In the prior art, when a user performs control operation on an application window, the control operation must be performed within the range of the application window, so that the range of the control operation is limited. According to the control method of the terminal, the first operation is performed on the upper layer of the application window, so that the control operation range of a user can be at least enlarged, when the user wants to control the application window, the user can control the application window not above the application window but in an area beyond the application window, and optionally, the whole range of the terminal display interface can be covered by the cover layer, so that the application window can be controlled at any position of the screen.
In some embodiments, the position of the first operation is at least partially or entirely located in an area outside the application window corresponding to Meng Ceng, that is, the first operation can be performed in the area outside the application window, and the limitation of the application window on the first operation is removed.
In some embodiments of the present disclosure, the number of application windows is at least two. The mask layer may correspond to one or more application windows, one or more application windows may be controlled according to needs, that is, all application windows corresponding to the mask layer may be controlled, or a portion of application windows corresponding to the mask layer may be controlled, specifically, please refer to fig. 3, in some embodiments, at least two application windows are displayed on the display interface, one or more display windows may be controlled according to needs, when at least two application windows on the screen need to be uniformly controlled, at least two application windows may be controlled in response to the first operation, if the prior art is adopted, each application window needs to be separately controlled, and in this embodiment, because in response to the first operation through the mask layer, when the application windows are controlled, the application windows are not limited to specific application windows, and all application windows may be uniformly controlled according to the first operation. Of course, in some alternative embodiments, one or more of the application windows may be designated in advance as a target application window, and the target application window may be controlled according to the first operation, where all application windows are not uniformly controlled, but a part of application windows are uniformly controlled.
In some embodiments of the present disclosure, in response to the first operation, performing a preset operation corresponding to the first operation on at least one application window corresponding to the first operation includes: the application window is moved in response to the first operation. Specifically, the first operation may be a moving operation, for example, the user slides on the touch screen, after the first operation is intercepted by the cover layer, coordinates of a start point and an end point of the movement of the first operation are sent to the application window, and the application window is controlled to move. In this embodiment, since the first operation is intercepted by the cover layer, it is not necessary to write codes for the respective application programs in response to the first operation, and the code amount is reduced, thereby reducing the storage usage of the application programs.
In some embodiments of the present disclosure, at least 1 control component is disposed on the cover layer; responding to the first operation, and executing preset operation corresponding to the first operation on at least one application window corresponding to the first operation comprises the following steps: and responding to the first operation, and controlling the application window according to the control component triggered by the first operation. Specifically, referring to fig. 3, in this embodiment, a cover layer is used as a container adding control component, and the control component may be, for example, a menu bar, a status bar, a tool bar, a button, etc., and a user controls an application window by operating the control component on the cover layer. In the prior art, a control component needs to be independently written for each application window, the control component of an application program is closed after one application program is closed, and in the embodiment, by adding the control component on a cover layer, different application windows can adopt a shared control component, after the application window of one application program is closed, the control component can not be closed, and the control component can be continuously used after other application programs are opened, so that the code amount is reduced, the size of the application program is reduced, and the storage space is saved.
In some embodiments of the present disclosure, the projection of at least 1 control component onto the layer on which the application window is located at least partially outside the application window. Specifically, referring to fig. 4, the control component is located on the cover layer, and the cover layer is located on the upper layer of the application window, so that the control component is located on the upper layer of the application window, in the prior art, the control component can only be added inside the application window, but the control component can be separated from the application window by adopting a method of adding the control component on the cover layer, and the control component is added at any position, so that the number and the position of the control component are not limited by the position and the size of the application window any more.
In some embodiments of the present disclosure, in response to the first operation, performing a preset operation corresponding to the first operation on at least one application window corresponding to the first operation includes: a pattern is drawn on the mask layer in response to a first operation. Specifically, in this embodiment, when the user wants to draw the pattern, the coupling between the pattern and the application window may be released by drawing on the mask layer, so that the pattern may be located at any position, if the pattern is drawn in the application program, only the inside of the application window may be displayed, and the content of the application program may be blocked, while drawing the pattern on the mask layer may be displayed at any position, and optionally, the projection of the pattern on the layer where the application window is located is at least partially located outside of the application window. In this embodiment, the drawn pattern can be displayed at any position, so that the decoration effect of the application window can be achieved, in the prior art, when the application window is wanted to be decorated, only the application skin pattern can be replaced, the skin pattern replaced in this way can only be applied to a specific application window, the skin pattern can disappear after the application window is closed, and the pattern is decoupled from each application window by drawing the pattern on the cover layer, so that the drawn pattern can be used for decorating any application window, and the pattern can be continuously used even if the application window is closed.
As shown in fig. 5, an embodiment of the present disclosure further provides a control device of a terminal, including:
A building unit 10 for building a cover layer on an upper layer of a display interface of the terminal;
a receiving unit 20, configured to receive a first operation on a display interface of a terminal, where the first operation acts on the cover layer;
And a control unit 30, configured to respond to the first operation, and perform a preset operation corresponding to the first operation on at least one application window corresponding to the first operation.
For an embodiment of the device, reference is made to a partial description of an embodiment of the method for the second terminal, since it substantially corresponds to the method embodiment. The apparatus embodiments described above are merely illustrative, wherein the modules illustrated as separate modules may or may not be separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The remote education interaction method and device of the present disclosure are described above based on the embodiments and applications. In addition, the present disclosure also provides a terminal and a storage medium, which are described below.
Referring now to fig. 6, a schematic diagram of an electronic device (e.g., a terminal device or server) 800 suitable for use in implementing embodiments of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 6 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 6, the electronic device 800 may include a processing means (e.g., a central processor, a graphics processor, etc.) 801, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 802 or a program loaded from a storage means 808 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804.
In general, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 807 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, etc.; storage 808 including, for example, magnetic tape, hard disk, etc.; communication means 809. The communication means 809 may allow the electronic device 800 to communicate wirelessly or by wire with other devices to exchange data. While fig. 6 shows an electronic device 800 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication device 809, or installed from storage device 808, or installed from ROM 802. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 801.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the methods of the present disclosure described above.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided a control method of a terminal, including:
Establishing a cover layer on the upper layer of a display interface of the terminal;
Receiving a first operation of a display interface of a terminal, wherein the first operation acts on the cover layer;
and responding to the first operation, and executing a preset operation corresponding to the first operation on at least one application window corresponding to the first operation.
According to one or more embodiments of the present disclosure, there is provided a control method of a terminal,
The number of the application windows is at least two.
According to one or more embodiments of the present disclosure, there is provided a control method of a terminal, for establishing a cover layer on an upper layer of a display interface of the terminal, including: and responding to a second operation on the terminal, and establishing a cover layer at the upper layer of the display interface.
According to one or more embodiments of the present disclosure, there is provided a control method of a terminal, in response to the first operation, performing a preset operation corresponding to the first operation on at least one application window corresponding to the first operation includes: and moving the application window in response to the first operation.
According to one or more embodiments of the present disclosure, there is provided a control method of a terminal, the cover layer having at least 1 control component disposed thereon;
Responding to the first operation, and executing preset operation corresponding to the first operation on at least one application window corresponding to the first operation comprises the following steps: and responding to the first operation, and controlling the application window according to a control component triggered by the first operation.
According to one or more embodiments of the present disclosure, there is provided a method for controlling a terminal, where at least 1 projection of the control component on a layer where the application window is located is at least partially located outside the application window.
According to one or more embodiments of the present disclosure, there is provided a control method of a terminal, in response to the first operation, performing a preset operation corresponding to the first operation on at least one application window corresponding to the first operation, including: and drawing a pattern on the mask layer in response to the first operation.
According to one or more embodiments of the present disclosure, there is provided a control method of a terminal, where a projection of the pattern on a layer where the application window is located is at least partially located outside the application window.
According to one or more embodiments of the present disclosure, there is provided a control apparatus of a terminal, including:
the establishing unit is used for establishing a cover layer at the upper layer of the display interface of the terminal;
a receiving unit, configured to receive a first operation on a display interface of a terminal, where the first operation acts on the cover layer;
and the control unit is used for responding to the first operation and executing preset operation corresponding to the first operation on at least one application window corresponding to the first operation.
According to one or more embodiments of the present disclosure, there is provided a terminal including: at least one memory and at least one processor;
wherein the at least one memory is configured to store program code, and the at least one processor is configured to invoke the program code stored by the at least one memory to perform any of the methods described above.
According to one or more embodiments of the present disclosure, there is provided a storage medium for storing program code for performing the above-described method.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.