CN113849094A - Response control method, electronic device and computer storage medium - Google Patents

Response control method, electronic device and computer storage medium Download PDF

Info

Publication number
CN113849094A
CN113849094A CN202111146081.2A CN202111146081A CN113849094A CN 113849094 A CN113849094 A CN 113849094A CN 202111146081 A CN202111146081 A CN 202111146081A CN 113849094 A CN113849094 A CN 113849094A
Authority
CN
China
Prior art keywords
window
program module
operation window
control state
electronic equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111146081.2A
Other languages
Chinese (zh)
Inventor
高梦玉
何晓鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202111146081.2A priority Critical patent/CN113849094A/en
Publication of CN113849094A publication Critical patent/CN113849094A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Abstract

The application provides a response control method, an electronic device and a computer storage medium, wherein the response control method is applied to the electronic device, the electronic device runs a first program module and a second program module, the first program module is provided with a first operation window, the second program module is provided with a second operation window, the first operation window is an active window, and the second operation window is an inactive window; the electronic device has a first control state and a second control state; the method comprises the following steps: responding to the electronic equipment in a first control state, and controlling a first program module to respond to input information of first input equipment; and controlling the second program module to respond to the input information of the first input device in response to the electronic device being in the second control state. Therefore, different program modules are controlled to respond by switching the control state of the electronic equipment according to the input signal of the first input equipment, and the flexibility and convenience of information response are improved.

Description

Response control method, electronic device and computer storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a response control method, an electronic device, and a computer storage medium.
Background
Currently, the operating system is generally a single focus operating system, and the focus determines which window or control receives the keyboard input information. However, in a multitasking operation scenario, the single focus mechanism may cause much inconvenience to the user.
Disclosure of Invention
The technical scheme of the application is realized as follows:
the embodiment of the application provides a response control method, which is applied to electronic equipment, wherein the electronic equipment runs a first program module and a second program module, the first program module is provided with a first operating window, the second program module is provided with a second operating window, the first operating window is an active window, and the second operating window is an inactive window;
the electronic device has a first control state and a second control state;
responding to the electronic equipment in a first control state, and controlling a first program module to respond to input information of first input equipment;
and controlling the second program module to respond to the input information of the first input device in response to the electronic device being in the second control state.
In some embodiments, the method further comprises:
under the condition that the electronic equipment is in a first control state or the electronic equipment is in a second control state, controlling the first program module to continuously respond to input information of the second input equipment so as to enable the first operation window to be a movable window all the time; wherein the second input device is different from the first input device.
In some embodiments, in the case where the electronic device is in the second control state, the method further comprises:
judging whether a second operation window has a shielded area or not; and if the second operation window has the shielded area, carrying out shielding removal processing on the second operation window so as to display all areas of the second operation window.
In some embodiments, the first input device is a mouse, and the input information of the first input device indicates to drag the target file icon in the first operation window; the method further comprises the following steps:
detecting whether a preset function key is in an inactivated state or not; if the preset function key is in an inactivated state, determining that the electronic equipment is in a second control state so as to control the target file icon to be dragged into a second operation window; and if the preset function key is in the activated state, determining that the electronic equipment is in a first control state so as to control the target file icon to return to the first operation window.
In some embodiments, the first input device is an audio input device, and the input information of the first input device indicates transmission of voice data to the second program module; the method further comprises the following steps:
detecting whether a preset function key is in an inactivated state or not; if the preset function key is in the activated state, determining that the electronic equipment is in a second control state so as to control a second program module to receive voice data; and if the preset function key is in the inactivated state, determining that the electronic equipment is in the first control state so as to ignore the voice data.
In some embodiments, the preset function keys include at least one of: an Esc function key, a Ctrl function key, an Alt function key, and a Shift function key.
In some embodiments, the performing the deblocking process on the second operation window includes:
carrying out top setting processing on the second operation window; or performing upward moving processing on the second operation window until all the area of the second operation window is displayed.
In some embodiments, after the de-occlusion processing of the second operating window, the method further comprises:
adjusting the transparency of all the areas in the second operation window to a preset value; or, the transparency of the shielded area in the second operation window is adjusted to a preset value.
In a second aspect, an embodiment of the present application provides an electronic device, where the electronic device runs a first program module and a second program module, the first program module has a first operating window, and the second program module has a second operating window, where the first operating window is an active window and the second operating window is an inactive window; the electronic device has a first control state and a second control state;
the electronic equipment comprises a first response unit and a second response unit; wherein the content of the first and second substances,
the first response unit is configured to respond to the electronic equipment in a first control state and control the first program module to respond to the input information of the first input equipment;
and the second response unit is configured to control the second program module to respond to the input information of the first input device in response to the electronic device being in the second control state.
In a third aspect, an embodiment of the present application provides a computer storage medium storing a computer program, which when executed by a processor implements the steps of the method according to the first aspect.
The embodiment of the application provides a response control method, electronic equipment and a computer storage medium, which are applied to the electronic equipment, wherein the electronic equipment runs a first program module and a second program module, the first program module is provided with a first operating window, the second program module is provided with a second operating window, the first operating window is an active window, and the second operating window is an inactive window; the electronic device has a first control state and a second control state; the method comprises the following steps: responding to the electronic equipment in a first control state, and controlling a first program module to respond to input information of first input equipment; and controlling the second program module to respond to the input information of the first input device in response to the electronic device being in the second control state. Therefore, when the electronic equipment executes a plurality of program modules, different program modules are controlled to respond by switching the control state of the electronic equipment according to the input signal of the first input equipment, and the flexibility and convenience of information response are improved.
Drawings
Fig. 1 is a schematic flowchart of a response control method according to an embodiment of the present application;
FIG. 2 is a first schematic diagram of a file dragging scene provided in the related art;
FIG. 3 is a second schematic diagram of a file dragging scene provided in the related art;
fig. 4 is a schematic diagram of a file dragging scene according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of another electronic device provided in the embodiment of the present application;
fig. 7 is a schematic diagram of a specific hardware structure of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It is to be understood that the following detailed description of the embodiments of the present application, taken in conjunction with the accompanying drawings, is intended to provide further understanding of the objects, aspects, and advantages of the embodiments of the present application. However, it will be appreciated by those of ordinary skill in the art that in the examples of the present application, numerous technical details are set forth in order to provide a better understanding of the present application. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
Currently, the operating system is generally a single focus operating system, and the focus determines which window or control receives the keyboard input information. In other words, although the operating system runs a plurality of programs simultaneously, there is only one focus at the same time, and only the program at the focus responds to the input information of the input device, which causes inconvenience.
For example, in a scene of file dragging, a plurality of display windows exist in an operating system of a computer at the same time, and in the process of dragging a file icon, a situation that one window is covered by another window is very easy to occur, so that dragging failure is caused. For another example, a game program and a wechat program are simultaneously run in an operating system of a mobile phone, and if a user replies a wechat message through an audio device such as a microphone while the user controls the game program using a keyboard, a mouse, or the like, the focus is shifted to the wechat program, and the wechat program needs to respond to all input information. In this way, although the user does not involve the keyboard and the mouse in the process of replying the WeChat message, the game program cannot receive new input information given by the keyboard/the mouse, and the game is suspended.
The embodiment of the application provides a response control method, which is applied to electronic equipment, wherein the electronic equipment runs a first program module and a second program module, the first program module is provided with a first operating window, the second program module is provided with a second operating window, the first operating window is an active window, and the second operating window is an inactive window; the electronic device has a first control state and a second control state; the method comprises the following steps: responding to the electronic equipment in a first control state, and controlling the first program module to respond to input information of first input equipment; and responding to the electronic equipment in a second control state, and controlling the second program module to respond to the input information of the first input equipment. Therefore, when the electronic equipment executes a plurality of program modules, different program modules are controlled to respond by switching the control state of the electronic equipment according to the input signal of the first input equipment, and the flexibility and convenience of information response are improved.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
In an embodiment of the present application, a response control method is provided, where the response control method is applied to an electronic device, where the electronic device runs a first program module and a second program module, the first program module has a first operating window, and the second program module has a second operating window, where the first operating window is an active window and the second operating window is an inactive window.
The electronic device has a first control state and a second control state, and referring to fig. 1, a flowchart of a response control method provided by an embodiment of the present application is shown. As shown in fig. 1, the response control method may include:
s101: and controlling the first program module to respond to the input information of the first input device in response to the electronic device being in the first control state.
S102: and controlling the second program module to respond to the input information of the first input device in response to the electronic device being in the second control state.
Note that the electronic device may include a mobile phone, a Personal computer, a tablet computer, a notebook computer, a smart watch, an in-vehicle device, a Personal Digital Assistant (PDA), and the like. Here, the active window is the current working window.
The first input device may be any input device designated in advance, such as a keyboard, a mouse, an audio input device, an image input device, and the like. There are two different control states of the electronic device that allow the active window (first program module) to respond to input information from a first input device and the inactive window (second program module) to respond to input information from a second input device.
It should be understood that only one active window can exist for an electronic device at a time, but multiple inactive windows can exist simultaneously. Thus, at the same time, the electronic device may include a first program module and a plurality of second program modules. That is, in a first control state of the electronic device, only the first program module may respond to the input information of the first input device; in a second control state of the electronic device, all of the second program modules may be responsive to input information from the second input device.
Further, in some embodiments, the input information of the first input device does not affect the definition of the active window, in other words, the window of the first program module is always the active window. Accordingly, the method may further comprise:
and under the condition that the electronic equipment is in the first control state or the electronic equipment is in the second control state, controlling the first program module to continuously respond to the input information of the second input equipment, so that the first operation window is always an active window.
It should also be noted that the input information from the second input device determines the definition of the active window. No matter which control state the electronic device is in, the first program module responds to the input information of the second input device to maintain the first operation window as the active window all the time. Here, the second input device is different from the first input device.
It should be noted that the switching between the first control state and the second control state can be performed in various ways, such as hot key switching, selection instruction switching, etc., and needs to be determined according to the actual application scenario. When the hot key is used for switching the control state, the preset function keys comprise various choices, such as an Esc function key, a Ctrl function key, an Alt function key, a Shift function key and the like, and can also be a mouse key, a mouse wheel and the like.
In a specific embodiment, the response control method is described with a file drag as a specific scene. The first input device is a mouse, and input information of the first input device indicates that the target file icon in the first operation window is dragged; the method may further comprise:
detecting whether a preset function key is in an inactivated state or not;
if the preset function key is in an inactivated state, determining that the electronic equipment is in a second control state so as to control the target file icon to be dragged into a second operation window;
and if the preset function key is in the activated state, determining that the electronic equipment is in a first control state so as to control the target file icon to return to the first operation window.
It should be noted that, in a file dragging scene, at least two file windows are involved, and at this time, a file window in an active state may be considered to correspond to a first program module, and a file window in an inactive state may correspond to a second program module.
In the related art, please refer to fig. 2, which shows a schematic diagram i of a file dragging scene provided in the related art. As shown in fig. 2, in this scenario, there are window 1 and window 2, and it is desired to move the target file (circled file) in window 2 to the target folder (circled folder) in window 1. However, this process may result in a drag failure due to window occlusion or the like. Please refer to fig. 3, which illustrates a schematic diagram two of a file dragging scene provided in the related art. As shown in fig. 3, in this scenario, when a selected target file icon is dragged, since the window 2 is an active window and the target folder in the window 1 is blocked by the window 2, the target file icon cannot be dragged into the target folder quickly.
In the implementation of the application, the electronic device has two response states, and different file windows are respectively used for responding to the dragging action of the mouse, so that the problems are solved. In particular, different response states in the electronic device are switched by presetting function keys (or called hot keys), thereby avoiding the above problems.
Specifically, on one hand, when the user activates the preset function key, the electronic device enters the second control state, and the window (inactive window) corresponding to the second program module responds to the mouse operation, so that even if a certain inactive window is blocked by the active window, the inactive window still responds to the mouse operation, and the target file icon can be smoothly dragged into the second operation window; on the other hand, when the user does not activate the preset function key, the electronic device enters a first control state, that is, only the window (active window) corresponding to the first program module responds to the operation of the mouse, so that the target file icon may be moved to another folder in the first operation window, or the target file icon returns to the original folder in the first operation window (which is equivalent to cancel the dragging).
Therefore, in a file dragging scene, the electronic equipment can respond to the input operation of the first input equipment by using different file windows through presetting the function keys, and allows a user to drag a target file icon to any place, so that the flexibility of information response and the convenience of the user are improved.
In another specific embodiment, the response control method is described with a specific scenario of voice input. The first input device is an audio input device, and the input information of the first input device indicates to transmit voice data to the second program module; the method may further comprise:
detecting whether a preset function key is in an inactivated state or not;
if the preset function key is in the activated state, determining that the electronic equipment is in a second control state so as to control a second program module to receive voice data;
and if the preset function key is in the inactivated state, determining that the electronic equipment is in the first control state so as to ignore the voice data.
It should be noted that, assuming that the first program module is a game and the second program module is a WeChat, when the user replies a WeChat message by using the audio input device, the operation window corresponding to the WeChat is converted into an active window, so that the game cannot receive input information input by a mouse/keyboard and the like, which causes the game to be in a suspended state and brings inconvenience to the user.
In the embodiment of the application, on one hand, under the condition that the preset function key is in the activated state, the electronic device enters the second control state, and the WeChat program receives the voice data of the audio input device, so that the user can reply WeChat messages, and meanwhile, the game still normally receives input information input by a mouse/keyboard and the like, and therefore the two sides do not influence each other. On the other hand, when the preset function key is in the inactive state, the electronic device enters the first control state, and the game program cannot process the input voice data, so that the voice data can be ignored.
In particular, if the first program module is capable of processing speech data, in the first control state the speech data will be responded to by the first program module.
Further, in some embodiments, in a case where the electronic device is in the second control state, the method further comprises:
judging whether a second operation window has a shielded area or not;
and if the second operation window has the shielded area, carrying out shielding removal processing on the second operation window so as to display all areas of the second operation window.
It should be noted that, when the electronic device is in the second control state, the second program module needs to respond to the input information of the first input device, but at this time, the second operating program module corresponding to the second program module is still an inactive window, and the first operating window corresponding to the first program module is an active window. Generally, the active window is in a set-top state, which may block a portion of the second operating window. In addition, a first operating window may be blocked by a second operating window.
Therefore, in the second control state, it is further necessary to determine whether the second operation window currently used for responding to the first input device has an occluded area, and if the second operation window has an occluded area, perform the occlusion removal processing. Therefore, all areas of the second operation window are in a display state, and a user can operate the second operation window conveniently.
In some embodiments, the performing the deblocking processing on the second operation window may include:
carrying out top setting processing on the second operation window; or
And performing upward moving processing on the second operation window until all the area of the second operation window is displayed.
It should be noted that, if the second operation window has an occlusion region, the second operation window may be set to the top, or the second operation window may be moved to the top, so as to display all regions of the second operation window.
In particular, in the related art, the active window is generally in a set-top state; in embodiments of the present application, the active window is decoupled from the set-top state to allow some inactive window to be in the set-top state.
In a file dragging scene, as shown in fig. 3, in the related art, selecting a target file icon causes a window 2 to become an active window, so that the window 1 is partially blocked by the window 2; please refer to fig. 4, which illustrates a schematic diagram of a file dragging scene provided in an embodiment of the present application. As shown in fig. 4, in the embodiment of the present application, after the target file icon is selected, although the window 2 is an active window, the electronic device may be controlled to enter the second control state, the window 1 is used to respond to the operation of the mouse, and the window 1 is set at the top, so that all areas of the window 1 can be displayed.
In some embodiments, after the de-occlusion processing of the second operating window, the method may further include:
adjusting the transparency of all the areas in the second operation window to a preset value; or, the transparency of the shielded area in the second operation window is adjusted to a preset value.
It should be noted that, after the second operating window is in the top-up or top-up processing, the second operating window may block the first operating window or other second operating windows, which also may cause some invariance. Therefore, after the second operation window is subjected to top-shifting or top-shifting processing, the transparency values of all the areas in the second operation window are adjusted to be preset values, or the transparency of the blocked area is adjusted to be preset values, so that information of different windows can be presented to the maximum extent. Here, the preset value may be set in advance, for example, 0.5.
That is to say, in order to more conveniently perform the pre-dragging, the window 1 in fig. 4 is set to have a certain transparency, at this time, the window 1 does not completely cover the window 2, but the window 1 and the folders in the window 2 below the window 1 are presented in a certain proportion, and a user can operate the window 1 through the first input device, can also operate the window 2 through the second input device, and can see the contents of the windows 1 and 2 at the same time.
Therefore, when the target file icon in the window 2 needs to be dragged into the window 1, the window of the window 1 can be jacked onto a desktop with a certain transparency, and dragging failure caused by window occlusion is avoided.
The embodiment of the application provides a response control method, which is applied to electronic equipment, wherein the electronic equipment runs a first program module and a second program module, the first program module is provided with a first operating window, the second program module is provided with a second operating window, the first operating window is an active window, and the second operating window is an inactive window; the electronic device has a first control state and a second control state; the method comprises the following steps: responding to the electronic equipment in a first control state, and controlling a first program module to respond to input information of first input equipment; and controlling the second program module to respond to the input information of the first input device in response to the electronic device being in the second control state. Therefore, when the electronic equipment executes a plurality of program modules, different program modules are controlled to respond by switching the control state of the electronic equipment according to the input signal of the first input equipment, and the flexibility and convenience of information response are improved.
In another embodiment of the present application, refer to fig. 5, which shows a schematic structural diagram of a component of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 runs a first program module and a second program module, the first program module has a first operating window, the second program module has a second operating window, wherein the first operating window is an active window, and the second operating window is an inactive window; the electronic device has a first control state and a second control state;
the electronic device 20 includes a first response unit 201 and a second response unit 202; wherein the content of the first and second substances,
a first response unit 201 configured to control the first program module to respond to the input information of the first input device in response to the electronic device being in the first control state;
the second response unit 202 is configured to control the second program module to respond to the input information of the first input device in response to the electronic device being in the second control state.
In some embodiments, as shown in fig. 6, the electronic device 20 further includes a third responding unit 203, where the third responding unit 203 is configured to control the first program module to continuously respond to the input information of the second input device when the electronic device is in the first control state or the electronic device is in the second control state, so that the first operating window is always an active window; wherein the second input device is different from the first input device.
In some embodiments, in a case that the electronic device is in the second control state, the second response unit 202 is configured to determine whether the second operation window has an occluded area; and if the second operation window has the shielded area, carrying out shielding removal processing on the second operation window so as to display all areas of the second operation window.
In some embodiments, as shown in fig. 6, the electronic device 20 further includes a determining unit 204, configured that the first input device is a mouse, and input information of the first input device indicates that the target file icon in the first operation window is dragged; a judging unit 204 configured to detect whether the preset function key is in an inactive state; if the preset function key is in an inactivated state, determining that the electronic equipment is in a second control state so as to control the target file icon to be dragged into a second operation window; and if the preset function key is in the activated state, determining that the electronic equipment is in a first control state so as to control the target file icon to return to the first operation window.
In some embodiments, the first input device is an audio input device, and the input information of the first input device indicates transmission of voice data to the second program module; a determining unit 204 configured to detect whether a preset function key is in an inactive state; if the preset function key is in the activated state, determining that the electronic equipment is in a second control state so as to control a second program module to receive voice data; and if the preset function key is in the inactivated state, determining that the electronic equipment is in the first control state so as to ignore the voice data.
In some embodiments, the preset function keys include at least one of: an Esc function key, a Ctrl function key, an Alt function key, and a Shift function key.
In some embodiments, the second responding unit 202 is further configured to perform a top-setting process on the second operation window; or performing upward moving processing on the second operation window until all the area of the second operation window is displayed.
In some embodiments, the second responding unit 202 is further configured to adjust the transparency of all the regions in the second operating window to a preset value after performing the occlusion removing process on the second operating window; or, the transparency of the shielded area in the second operation window is adjusted to a preset value.
It is understood that in this embodiment, a "unit" may be a part of a circuit, a part of a processor, a part of a program or software, etc., and may also be a module, or may also be non-modular. Moreover, each component in the embodiment may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware or a form of a software functional module.
Based on the understanding that the technical solution of the present embodiment essentially or a part contributing to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium, and include several instructions for causing a computer device (which may be a personal computer, a service device, or a network device, etc.) or a Processor (Processor) to execute all or part of the steps of the method of the present embodiment. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Accordingly, the present embodiment provides a computer storage medium storing a computer program that, when executed by at least one processor, implements the steps of the response control method of any of the preceding embodiments.
Based on the above-mentioned composition of the electronic device 20 and the computer storage medium, refer to fig. 7, which shows a specific hardware structure diagram of the electronic device 20 provided in the embodiment of the present application. As shown in fig. 7, may include: a communication interface 301, a memory 302, and a processor 303; the various components are coupled together by a bus system 304. It will be appreciated that the bus system 304 is used to enable communications among the components. The bus system 304 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 304 in fig. 7. The communication interface 301 is configured to receive and transmit signals in a process of receiving and transmitting information with other external network elements;
a memory 302 for storing a computer program capable of running on the processor 303;
a processor 303, configured to, when running the computer program, perform:
responding to the electronic equipment in a first control state, and controlling a first program module to respond to input information of first input equipment;
and controlling the second program module to respond to the input information of the first input device in response to the electronic device being in the second control state.
It will be appreciated that the memory 302 in the subject embodiment can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (ddr Data Rate SDRAM, ddr SDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous chained SDRAM (Synchronous link DRAM, SLDRAM), and Direct memory bus RAM (DRRAM). The memory 302 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
And processor 303 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 303. The Processor 303 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 302, and the processor 303 reads the information in the memory 302 and completes the steps of the method in combination with the hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions of the present Application, or a combination thereof.
For a software implementation, the techniques of this application may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions of the present application. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, as another embodiment, the processor 303 is further configured to perform the steps of the method of any of the previous embodiments when running the computer program.
The above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application.
It should be noted that, in the present application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in the several method or apparatus embodiments provided in the present application may be combined arbitrarily, without conflict, to arrive at new method embodiments or apparatus embodiments.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A response control method is applied to electronic equipment, and the electronic equipment runs a first program module and a second program module, the first program module is provided with a first operation window, the second program module is provided with a second operation window, wherein the first operation window is an active window, and the second operation window is an inactive window;
the electronic device has a first control state and a second control state; the method comprises the following steps:
responding to the electronic equipment in a first control state, and controlling the first program module to respond to input information of first input equipment;
and responding to the electronic equipment in a second control state, and controlling the second program module to respond to the input information of the first input equipment.
2. The response control method of claim 1, the method further comprising:
under the condition that the electronic equipment is in a first control state or the electronic equipment is in a second control state, controlling the first program module to continuously respond to input information of a second input device so as to enable the first operation window to be an active window all the time; wherein the second input device is different from the first input device.
3. The response control method of claim 1, with the electronic device in a second control state, the method further comprising:
judging whether the second operation window has a shielded area or not;
and if the second operation window has an occluded area, carrying out occlusion removal processing on the second operation window so as to display all areas of the second operation window.
4. The response control method according to claim 1, wherein the first input device is a mouse, and input information of the first input device indicates that a target file icon in the first operation window is dragged; the method further comprises the following steps:
detecting whether a preset function key is in an inactivated state or not;
if the preset function key is in an inactivated state, determining that the electronic equipment is in a second control state so as to control the target file icon to be dragged into the second operation window;
and if the preset function key is in an activated state, determining that the electronic equipment is in a first control state so as to control the target file icon to return to the first operation window.
5. The response control method according to claim 1, the first input device being an audio input device, and the input information of the first input device indicating transmission of voice data to the second program module; the method further comprises the following steps:
detecting whether a preset function key is in an inactivated state or not;
if the preset function key is in an activated state, determining that the electronic equipment is in a second control state so as to control the second program module to receive the voice data;
and if the preset function key is in an inactivated state, determining that the electronic equipment is in a first control state so as to ignore the voice data.
6. The response control method according to claim 4 or 5, the preset function key comprising at least one of: an Esc function key, a Ctrl function key, an Alt function key, and a Shift function key.
7. The response control method of claim 3, wherein the de-occluding the second operating window comprises:
carrying out top setting processing on the second operation window; or
And performing upward moving processing on the second operation window until all areas of the second operation window are displayed.
8. The response control method of claim 3, after the de-occluding the second operating window, the method further comprising:
adjusting the transparency of all the areas in the second operation window to a preset value; or, the transparency of the blocked area in the second operation window is adjusted to the preset value.
9. An electronic device runs a first program module and a second program module, the first program module is provided with a first operation window, the second program module is provided with a second operation window, the first operation window is an active window, and the second operation window is an inactive window; the electronic device has a first control state and a second control state;
the electronic equipment comprises a first response unit and a second response unit; wherein the content of the first and second substances,
the first response unit is configured to respond to the electronic equipment in a first control state and control the first program module to respond to the input information of the first input equipment;
the second response unit is configured to control the second program module to respond to the input information of the first input device in response to the electronic device being in a second control state.
10. A computer storage medium storing a computer program which, when executed by a processor, carries out the steps of the method according to any one of claims 1 to 8.
CN202111146081.2A 2021-09-28 2021-09-28 Response control method, electronic device and computer storage medium Pending CN113849094A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111146081.2A CN113849094A (en) 2021-09-28 2021-09-28 Response control method, electronic device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111146081.2A CN113849094A (en) 2021-09-28 2021-09-28 Response control method, electronic device and computer storage medium

Publications (1)

Publication Number Publication Date
CN113849094A true CN113849094A (en) 2021-12-28

Family

ID=78980536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111146081.2A Pending CN113849094A (en) 2021-09-28 2021-09-28 Response control method, electronic device and computer storage medium

Country Status (1)

Country Link
CN (1) CN113849094A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6915490B1 (en) * 2000-09-29 2005-07-05 Apple Computer Inc. Method for dragging and dropping between multiple layered windows

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6915490B1 (en) * 2000-09-29 2005-07-05 Apple Computer Inc. Method for dragging and dropping between multiple layered windows

Similar Documents

Publication Publication Date Title
EP3617869B1 (en) Display method and apparatus
EP4187378A1 (en) Application interface switching method and apparatus, and terminal and storage medium
EP2940572A1 (en) Method and electronic device for managing display objects
US10627987B2 (en) Method for launching a second application using a first application icon in an electronic device
US20210191741A1 (en) Window Switching Method, Terminal and Non-Transitory Computer-Readable Storage Medium
KR20110068485A (en) Method and apparatus for communicating data between processors in mobile terminal
CN112947840A (en) Electronic device including touch-sensitive display and method of operating the same
US9201814B2 (en) Electronic devices and methods for sharing peripheral devices in dual operating systems
EP3472699B1 (en) Method and electronic device for managing functionality of applications
CN113811856B (en) Application with self-configuring accessibility settings
CN107370874B (en) Application starting method, mobile terminal and storage medium
CN107770845B (en) mobile hotspot management method and device, terminal and storage medium
CN107391017B (en) Word processing method, device, mobile terminal and storage medium
CN109298907B (en) Application program display method, application program display device and terminal
CN106681817B (en) Terminal control method and terminal
US10416861B2 (en) Method and system for detection and resolution of frustration with a device user interface
US9894318B1 (en) Method for output control of videos from multiple available sources and user terminal using the same
CN113849094A (en) Response control method, electronic device and computer storage medium
EP3373140A1 (en) Method for processing ordered broadcast and electronic device
CN112749030A (en) Clipboard control method and device and readable storage medium
CN115469816B (en) Method, device, equipment and storage medium for switching reading and writing of memory
CN107885443B (en) Information processing method and device
CN111049883A (en) Data reading method, device and system of distributed table system
CN107357490B (en) Display method of tabs and mobile terminal
CN114153535B (en) Method, apparatus, medium and program product for jumping pages on an open page

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination