Electronic device control method and electronic device

By transmitting input information to different program modules according to the conditions of operating events in the electronic device, the problem of response conflicts when multiple program modules run cooperatively is solved, and the user experience and flexibility of input information response are improved.

CN113849108BActive Publication Date: 2024-09-17LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111057980.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-09
Publication Date
2024-09-17
Estimated Expiration
2041-09-09

AI Technical Summary

Technical Problem

Existing electronic devices are prone to response conflicts when multiple program modules run collaboratively, affecting user operating experience.

Method used

By transmitting input information from different input components to different program modules when the acquired operation events meet specific conditions, the system can flexibly respond to operation events and avoid conflicts between program modules.

Benefits of technology

It improves user operation experience, enhances the flexibility of input information response, and reduces conflicts between program modules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113849108B
    Figure CN113849108B
Patent Text Reader

Abstract

An embodiment of the present application discloses a control method of an electronic device and an electronic device, wherein the electronic device includes: a content display area, a first input component and a second input component; the method includes: when the electronic device runs a first program module, display information of the first program module is displayed in a first display area of ​​the content display area; in response to the electronic device running a second program module, wherein the display information of the second program module is displayed in a second display area of ​​the content display area, a first operation event is acquired; in response to the first operation event meeting a specific condition, the input information of the first input component is controlled to be transmitted to the first program module, and the input information of the second input component is controlled to be transmitted to the second program module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of screen control, and relates to but is not limited to a control method of an electronic device and an electronic device. Background Art

[0002] There are still many problems in equipment collaboration that need to be solved. Summary of the invention

[0003] In view of this, an embodiment of the present application provides a control method of an electronic device and an electronic device.

[0004] In a first aspect, an embodiment of the present application provides a control method for an electronic device, the method comprising: when the electronic device runs a first program module, display information of the first program module is displayed in a first display area of ​​the content display area; in response to the electronic device running a second program module, wherein display information of the second program module is displayed in a second display area of ​​the content display area, a first operation event is acquired; in response to the first operation event meeting a specific condition, controlling the input information of the first input component to be transmitted to the first program module, and controlling the input information of the second input component to be transmitted to the second program module.

[0005] In a second aspect, an embodiment of the present application provides an electronic device, comprising: a first display module, for displaying display information of a first program module in a first display area of ​​the content display area when the electronic device runs a first program module; a second display module, for acquiring a first operation event in response to the electronic device running a second program module, wherein display information of the second program module is displayed in a second display area of ​​the content display area; and a control module, for controlling input information of the first input component to be transmitted to the first program module, and controlling input information of the second input component to be transmitted to the second program module, in response to the first operation event meeting specific conditions.

[0006] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the steps in the control method of any electronic device described in the embodiment of the present application are implemented.

[0007] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the control method of any electronic device described in the embodiment of the present application.

[0008] In an embodiment of the present application, by transmitting input information of different input components to different program modules when the acquired operation events meet specific conditions, it is possible to respond to operation events more flexibly, avoid response conflicts between program modules, and improve the user operation experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 A schematic diagram of a flow chart of a control method of an electronic device according to an embodiment of the present application;

[0010] Figure 2 This is a schematic diagram of a display area and display effect of a second display area in an embodiment of the present application;

[0011] Figure 3 This is a schematic diagram of another display area and display effect of the second display area in an embodiment of the present application;

[0012] Figure 4 A schematic diagram of a display area and display effect of another second display area in an embodiment of the present application;

[0013] Figure 5 A schematic diagram of a display area and display effect of another second display area in an embodiment of the present application;

[0014] Figure 6 A schematic diagram of a display area and display effect of another second display area in an embodiment of the present application;

[0015] Figure 7 A schematic diagram of a display area and display effect of another second display area in an embodiment of the present application;

[0016] Figure 8 A schematic diagram of a display area and display effect of another second display area in an embodiment of the present application;

[0017] Fig. 9 A schematic diagram of a display area and display effect of another second display area in an embodiment of the present application;

[0018] Fig.10 A schematic diagram of a flow chart of a screen OSD operation method proposed in an embodiment of the present application;

[0019] Fig.11 A flowchart of another screen OSD operation method proposed in an embodiment of the present application;

[0020] Fig.12 This is a schematic diagram of the structure of the electronic device according to the embodiment of the present application;

[0021] Fig.13 A hardware entity schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0022] The technical solution of the present application is further described in detail below with reference to the accompanying drawings and embodiments.

[0023] Figure 1 1 is a schematic diagram of an implementation flow of a control method of an electronic device according to an embodiment of the present application, which is applied to an electronic device, wherein the electronic device includes a content display area, a first input component and a second input component, such as Figure 1 As shown, the method includes:

[0024] Step 102: when the electronic device runs a first program module, display information of the first program module is displayed in a first display area of ​​the content display area;

[0025] Among them, the electronic device can be a mobile phone, tablet computer, laptop computer, desktop computer, personal digital assistant, navigator, digital phone, video phone, television, sensor device, etc. When the electronic device is a laptop computer, the content display area may include side A, side B, side C and side D of the laptop computer. Side A of the laptop computer is actually the top side after the computer screen is covered, and the product LOGO (LOGOTYPE, trademark) is usually printed on side A; side B of the laptop computer is the side where the laptop computer screen is located, side C of the laptop computer is the side where the laptop computer keyboard is located, and side D of the laptop computer is the bottom side when the laptop computer is placed. The battery of some laptop computers can be removed from side D.

[0026] The first program module may be a windows system program module, an input program module, a game program module, an office program module, a social program module, a driver program module, an antivirus program module, a video program module, a browsing program module, a screen parameter adjustment module, etc. When the first program module is a game program module or a video program module, the first display area may be the B surface of the laptop computer, and when the first program module is an input program module, the first display area may be the C surface of the laptop computer.

[0027] Step 104: in response to the electronic device running a second program module, wherein display information of the second program module is displayed in a second display area of ​​the content display area, acquiring a first operation event;

[0028] Among them, the second program module can be a Windows system program module, an input program module, a game program module, an office program module, a social program module, a driver module, an antivirus program module, a video program module, a browsing program module, a screen parameter adjustment program module, etc. The screen parameter adjustment module can adjust the screen parameters, the first program module and the second program module can be the same or different, and the second display area and the first display area can be the same side of the laptop computer or different sides of the laptop computer.

[0029] The first operation event may be a trigger event of a mouse, such as a mouse click or drag event; it may also be a user click or slide event acquired by the touch screen when the B side of the laptop is a touch screen; it may also be an input event of the keyboard on the C side of the laptop, etc.

[0030] Step 106: In response to the first operation event meeting a specific condition, controlling the input information of the first input component to be transmitted to the first program module, and controlling the input information of the second input component to be transmitted to the second program module.

[0031] Wherein, when the first operation event meets a specific condition, the input information of two different input components can be controlled to be transmitted to two different program modules respectively.

[0032] The first input component may be a keyboard, a mouse, a touch screen, a microphone, etc. Similarly, the second input component may also be a keyboard, a mouse, a touch screen, a microphone, etc.; the first input component and the second input component may be one a large keyboard and the other a small keyboard; the first input component and the second input component may be one a mouse and the other a keyboard; the first input component and the second input component may be one a mouse and the other a microphone; the first input component and the second input component may be one a keyboard and the other a microphone.

[0033] In an embodiment of the present application, by transmitting input information of different input components to different program modules when the acquired operation events meet specific conditions, it is possible to respond to operation events more flexibly, avoid response conflicts between program modules, and improve the user operation experience.

[0034] The present application also provides a method for controlling an electronic device, the method comprising the following steps:

[0035] Step S202: when the electronic device runs a first program module, display information of the first program module is displayed in a first display area of ​​the content display area;

[0036] Among them, the first program module is controlled by the central processing unit; the second program module is controlled by the screen chip; when the first program module is any program module of the windows system program module, input program module, game program module, office program module, social program module, driver module, antivirus program module, video program module, and browsing program module, the first program module can be controlled by the central processing unit (CPU), and the software system that cooperates with the central processing unit can be the windows system; when the second program module is a screen parameter adjustment module, the second program module can be controlled by the screen chip, which can also be called a screen IC chip (Integrated Circuit Chip), and the software system that cooperates with the screen chip can be a screen IC control system.

[0037] Step S204: setting the display area and / or display effect of the second display area according to the display area of ​​the first display area;

[0038] Among them, when the second program module is a screen parameter adjustment module, the display area of ​​the second display area can be an on-screen menu adjustment mode (On-Screen Display, OSD) area on the screen (display); the display effect of the second display area can include at least one of the display size, display shape, display transparency and display mode of the second display area.

[0039] Figure 2 This is a schematic diagram of the display area and display effect of a second display area in an embodiment of the present application, see Figure 2 , the screen parameters may include screen image setting parameters 201, color setting parameters 202, window brightening parameters 203, OSD setting parameters 204, game setting parameters 205, etc.; the screen resolution parameters 206, horizontal frequency 207 and vertical frequency 208, etc. may also be set; the resolution parameter 206 may be 1920 (H) * 1080 (V), where H represents horizontal and V represents vertical; in addition, the display area of ​​the second display area is directly below the screen, the display size of the second display area is larger, and the display shape of the second display area is rectangular; the display transparency of the second display area is displayed in an opaque manner; the display mode of the second display area is not displayed in full screen mode.

[0040] Figure 3 This is another display area and display effect diagram of the second display area in the embodiment of the present application, see Figure 3, the screen parameters may include frames per second (FPS) 301, color enhancement parameters 302 and controls 303 corresponding to the color enhancement parameters, the value of FPS 301 may be 100, indicating that 100 frames are transmitted per second; the control 303 may be "ON", indicating that color enhancement is performed; the control 303 may also be "OFF", indicating that color enhancement is not performed; in addition, the display area of ​​the second display area is the upper right corner of the screen, the display size of the second display area is small, and the display shape of the second display area is a rectangle; the display transparency of the screen is displayed in an opaque manner; the display mode of the screen is not displayed in full screen mode.

[0041] Step S206: in response to the electronic device running a second program module, wherein display information of the second program module is displayed in a second display area of ​​the content display area, acquiring a first operation event;

[0042] Step S208: When the electronic device is in the first state, controlling the input information of the first input component and the second input component to be transmitted to the first program module;

[0043] The first state may be a normal state of the electronic device, or a state in which input information of the second input component is not controlled to be transmitted to the second program module, for example, a state in which the screen parameter adjustment module does not respond to input information of the mouse.

[0044] Step S210: When the electronic device is in the second state, in response to the first operation event meeting a specific condition, the input information of the first input component is controlled to be transmitted to the first program module, and the input information of the second input component is controlled to be transmitted to the second program module.

[0045] The second state may be a state in which input information of the second input component is controlled to be transmitted to the second program module, for example, it may be a state in which the screen parameter adjustment module responds to input information of the mouse.

[0046] In the embodiment of the present application, the first program module and the second program module can be controlled by the central processing unit and the screen chip respectively, so that different program modules can be accurately controlled; when the electronic device is in the first state, the first program module responds to the input information of the first input component and the second input component, and when the electronic device is in the second state, the first program module responds to the input information of the first input component and the second program module responds to the input information of the second input component, thereby improving the flexibility of the input information response.

[0047] The present application also provides a method for controlling an electronic device, the method comprising the following steps:

[0048] Step S302: when the electronic device runs a first program module, display information of the first program module is displayed in a first display area of ​​the content display area;

[0049] Step S304: in response to the electronic device running a second program module, wherein display information of the second program module is displayed in a second display area of ​​the content display area, acquiring a first operation event;

[0050] Step S306: in response to the first operation event being triggered in the first display area or the second display area, controlling the input information of the first input component to be transmitted to the first program module;

[0051] Step S308: In response to the first operation event being triggered in the second display area or the first display area, control the input information of the second input component to be transmitted to the second program module.

[0052] In one embodiment, the first program module may be a game program module, and the second program module may be a screen parameter adjustment module; the first display area may be a game display interface, and the second display area may be a screen parameter adjustment interface; the first operation event may be a mouse trigger event or a keyboard input event; the first input component may be a keyboard, and the second input component may be a mouse, then the specific condition may be that the keyboard event is triggered in the first display area or the second display area, or the mouse event is triggered in the second display area or the first display area. Then step S306 may be in response to the keyboard event being triggered in the first display area or the second display area, transmitting the keyboard input information to the game program module, and step S308 may be in response to the mouse event being triggered in the second display area or the first display area, transmitting the mouse input information to the screen parameter adjustment module.

[0053] In the above embodiment, it is possible to play games using a keyboard and adjust screen parameters using a mouse.

[0054] In another embodiment, the first program module can still be a game program module, and the second program module can still be a screen parameter adjustment module; the first display area can be a game display interface, and the second display area can be a screen parameter adjustment interface; the first operation event can be a mouse trigger event or a keyboard input event; the first input component can be a mouse, and the second input component can be a keyboard, then the specific condition can be that the mouse event is triggered in the first display area or the second display area, or the keyboard event is triggered in the second display area or the first display area. Then step S306 can be in response to the mouse event being triggered in the first display area or the second display area, and the mouse input information is transmitted to the game program module, and step S308 can be in response to the keyboard event being triggered in the second display area or the first display area, and the keyboard input information is transmitted to the screen parameter adjustment module.

[0055] In the above embodiment, it is possible to play games using a mouse and adjust screen parameters using a keyboard.

[0056] In another embodiment, the first program module may be a game program module, and the second program module may be a social program module; the first display area may be a game display interface, and the second display area may be a real-time chat interface; the first operation event may be a mouse trigger event or a microphone input event; the first input component may be a mouse, and the second input component may be a microphone, then the specific condition may be that the mouse event is triggered in the first display area or the second display area, or the microphone event is triggered in the second display area or the first display area. Then step S306 may be in response to the mouse event being triggered in the first display area or the second display area, transmitting the mouse input information to the game program module, and step S308 may be in response to the microphone event being triggered in the second display area or the first display area, transmitting the microphone input information (voice information) to the social program module.

[0057] In the above embodiment, it is possible to play games through a mouse and conduct social chatting through a microphone.

[0058] In another embodiment, the first program module may be a game program module, and the second program module may be a social program module; when the electronic device is a computer, the display content in the social software corresponding to the second program module of the mobile phone may be projected to the second display area of ​​the electronic device, the first display area may be a game display interface, and the second display area may be a real-time chat interface; the first operation event may be a mouse trigger event or a keyboard input event; the first input component may be a mouse, and the second input component may be a keyboard, then the specific condition may be that the mouse event is triggered in the first display area or the second display area, or the keyboard event is triggered in the second display area or the first display area. Then step S306 may be in response to the mouse event being triggered in the first display area or the second display area, transmitting the mouse input information to the game program module, and step S308 may be in response to the keyboard event being triggered in the second display area or the first display area, transmitting the keyboard input information to the social program module.

[0059] In the above embodiment, it is possible to play games using a mouse and conduct social chatting using a keyboard.

[0060] In an embodiment of the present application, by transmitting input information of different input components to different program modules when the acquired operation events meet specific conditions, it is possible to respond to operation events more flexibly, avoid response conflicts between program modules, and improve the user operation experience.

[0061] The present application also provides a method for controlling an electronic device, the method comprising the following steps:

[0062] Step S402: when the electronic device runs a first program module, display information of the first program module is displayed in a first display area of ​​the content display area;

[0063] Among them, the display area of ​​the first program module can be a preset display position of the first program module on the screen. It should be noted that the display size, display shape, display transparency and display mode of the first program module can also be preset. The display shape can be rectangular, circular, square, etc., and the display effect can be translucent display, opaque display, and display in a specific color, etc.; the display mode can be full-screen display or not full-screen display, etc.

[0064] Step S404: when the first display area is displayed in full screen mode, setting the second display area at a corner of the screen, and / or displaying the second display area in a semi-transparent mode;

[0065] Wherein, when the first display area is displayed in full screen mode, the second display area will inevitably block the first display area, that is, the second display area and the first display area partially overlap; Figure 4 This is a schematic diagram of the display area and display effect of another second display area in the embodiment of the present application, see Figure 4 , the first display area is displayed in full screen mode, that is, the display area 401 of the first display area covers the entire screen, the display area of ​​the second display area can be set at the screen corners 402 to 405, and the second display area is displayed in a semi-transparent manner.

[0066] In one embodiment, when the first display area is displayed in full screen mode, the display size of the second display area can be reduced to reduce the area blocked by the second display area on the first display area; in another embodiment, when the first display area is displayed in full screen mode, the first display area can be adjusted to not be displayed in full screen mode to reduce the area blocked by the second display area on the first display area.

[0067] Step S406: when the first display area is not displayed in full screen mode, setting the display area of ​​the second display area in the first area so that the second display area at least partially does not overlap with the first display area;

[0068] The first area is an area on the display screen that is not a display area of ​​the first display area;

[0069] In one embodiment, when the relative position relationship between the display area of ​​the first display area and the display area of ​​the second display area is at least partially overlapping, the display size of the second display area or the first display area can be further reduced so that the relative position relationship between the display area of ​​the first display area and the display area of ​​the second display area is non-overlapping.

[0070] Step S408: in response to the electronic device running a second program module, wherein display information of the second program module is displayed in a second display area of ​​the content display area, acquiring a first operation event;

[0071] Step S410: when the electronic device is in the first state, controlling the input information of the first input component and the second input component to be transmitted to the first program module;

[0072] Step S412: When the electronic device is in the second state, in response to the first operation event meeting a specific condition, the input information of the first input component is controlled to be transmitted to the first program module, and the input information of the second input component is controlled to be transmitted to the second program module.

[0073] In an embodiment of the present application, by setting the display area or display effect of the second display area according to the display area of ​​the first display area, the influence of the second display area on the display effect of the first display area can be reduced; by displaying the second display area at the corner of the screen when the first display area is displayed in full screen mode, or by displaying the second display area semi-transparently, the influence of the display of the second display area on the display effect of the first display area can be reduced; by transmitting the input information of different input components to different program modules when the acquired operation event meets specific conditions, it is possible to respond to the operation event more flexibly, avoid response conflicts between program modules, and improve the user operation experience.

[0074] The present application also provides a method for controlling an electronic device, the method comprising the following steps:

[0075] Step S502: when the electronic device runs a first program module, display information of the first program module is displayed in a first display area of ​​the content display area;

[0076] Step S504: when the first display area is displayed in full screen mode, setting the second display area at a corner of the screen, and / or displaying the second display area in a semi-transparent mode;

[0077] Step S506: When the first display area is not displayed in full screen mode, if the relative position relationship between the display area of ​​the second display area and the display area of ​​the first display area is that they are at least partially overlapped, the display area of ​​the second display area is adjusted to the corner of the display area of ​​the first display area, and / or the display area of ​​the second display area is displayed in a semi-transparent manner.

[0078] Figure 5 This is a schematic diagram of the display area and display effect of another second display area in the embodiment of the present application, see Figure 5 , the display area 502 of the second display area can be adjusted to the corner 503 or 504 of the display area 501 of the first display area, and the second display area can be displayed in a semi-transparent manner.

[0079] The first area is an area on the display screen that is not a display area of ​​the first display area;

[0080] Step S508: in response to the electronic device running a second program module, wherein display information of the second program module is displayed in a second display area of ​​the content display area, acquiring a first operation event;

[0081] Step S510: when the electronic device is in the first state, controlling the input information of the first input component and the second input component to be transmitted to the first program module;

[0082] Step S512: When the electronic device is in the second state, in response to the first operation event meeting a specific condition, the input information of the first input component is controlled to be transmitted to the first program module, and the input information of the second input component is controlled to be transmitted to the second program module.

[0083] In the embodiment of the present application, by displaying the second display area at the corners of the display area of ​​the first display area, or displaying the second display area semi-transparently when the first display area is not displayed in full screen mode and partially overlaps with the second display area, the influence of the display of the second display area on the display effect of the first display area can be reduced.

[0084] The present application also provides a method for controlling an electronic device, the method comprising the following steps:

[0085] Step S602: when the electronic device runs a first program module, display information of the first program module is displayed in a first display area of ​​the content display area;

[0086] Step S604: when the first display area is displayed in full screen mode, setting the second display area at a corner of the screen, and / or displaying the second display area in a semi-transparent mode;

[0087] Step S606: When the first display area is not displayed in full screen mode, if the relative position relationship between the display area of ​​the second display area and the display area of ​​the first display area is that they are at least partially overlapped, the display area of ​​the second display area is adjusted to the corner of the display area of ​​the first display area, and / or the portion overlapping with the display area of ​​the first display area is displayed in a semi-transparent manner.

[0088] The first area is an area on the display screen that is not a display area of ​​the first display area;

[0089] Figure 6 This is a schematic diagram of the display area and display effect of another second display area in the embodiment of the present application, see Figure 6 , the portion 603 of the display area 602 of the second display area that overlaps with the display area 601 of the first display area can be displayed in a semi-transparent manner.

[0090] Step S608: in response to the electronic device running a second program module, wherein display information of the second program module is displayed in a second display area of ​​the content display area, acquiring a first operation event;

[0091] Step S610: when the electronic device is in the first state, controlling the input information of the first input component and the second input component to be transmitted to the first program module;

[0092] Step S612: When the electronic device is in the second state, in response to the first operation event meeting a specific condition, the input information of the first input component is controlled to be transmitted to the first program module, and the input information of the second input component is controlled to be transmitted to the second program module.

[0093] In the embodiment of the present application, by displaying the second display area at the corners of the display area of ​​the first display area when the first display area is not displayed in full screen mode and partially overlaps with the second display area, or by displaying the overlapping portion of the second display area with the first display area semi-transparently, the influence of the display of the second display area on the display effect of the first display area can be further reduced on the basis of improving the display effect of the second display area.

[0094] The present application also provides a method for controlling an electronic device, the method comprising the following steps:

[0095] Step S702: when the electronic device runs a first program module, display information of the first program module is displayed in a first display area of ​​the content display area;

[0096] Step S704: setting the display area and / or display effect of the second display area according to the display area of ​​the first display area;

[0097] Step S706: in response to the electronic device running a second program module, wherein display information of the second program module is displayed in a second display area of ​​the content display area, acquiring a first operation event;

[0098] Step S708: In response to the first operation event meeting a specific condition, controlling the input information of the first input component and the second input component to be transmitted to the second program module.

[0099] The specific condition may be that the first operation event is triggered in the second display area.

[0100] Figure 7 This is a schematic diagram of the display area and display effect of another second display area in the embodiment of the present application, see Figure 7 The relative position relationship between the display area 701 of the first display area and the display area 702 of the second display area is non-overlapping, and the triggering area 703 of the first operation event is within the display area 702 of the second display area.

[0101] Figure 8 This is a schematic diagram of the display area and display effect of another second display area in the embodiment of the present application, see Figure 8, the relative position relationship between the display area 801 of the first display area and the display area 802 of the second display area is at least partially overlapping, the relative position relationship between the trigger area 803 of the operation event and the display area 801 of the first display area is at least partially overlapping, and the relative position relationship between the trigger area 803 of the operation event and the display area 802 of the second display area is at least partially overlapping.

[0102] See also Figure 8 The relative position relationship between the trigger area 803 of the operation event and the display area 801 of the first display area is at least partially overlapping, that is, when the trigger area 803 of the operation event falls into the common display area 804 of the first display area and the second display area, the first program module does not respond to the data, and only the second program module responds to the data.

[0103] Step S710: In response to the first operation event not meeting a specific condition, controlling the input information of the first input component and the second input component to be transmitted to the first program module.

[0104] Fig. 9 This is a schematic diagram of the display area and display effect of another second display area in the embodiment of the present application, see Fig. 9 , the trigger area 903 of the first operation event and the display area 902 of the second display area do not overlap, then regardless of whether the display area 903 of the first operation event overlaps with the display area 901 of the first display area, the first program module can respond to the data.

[0105] The first operation event includes a click event, a scroll event, a character input event, a drag event, etc.

[0106] In the embodiment of the present application, when the first operation event falls within the display area of ​​the second display area, the second program module draws the display area and responds to the event, so that the screen parameters can be adjusted more conveniently without affecting the operation of other modules, thereby improving the user experience. When the first operation event falls outside the display area of ​​the second display area, the first program module responds to the data.

[0107] In addition, when the user operates the display area (second display area) or other display areas (other areas outside the second display area) of the second program module for adjusting screen parameters, the second program module can respond to data, so as not to affect the normal operation of the subsequent first program module (game or other application).

[0108] The control interface of ordinary monitors is very common, but there are not many screen control settings for laptops. The screen control chip is also called the screen IC (Integrated Circuit) chip, which can control the screen parameters and provide users with some additional functions, such as timer, FPS display, etc.

[0109] The OSD on the screen is displayed by the chip, and users can only set it through a dedicated software interface in the software. Moreover, if you want to set it during the game, you need to switch to external dedicated software settings, which is very inconvenient.

[0110] At present, screen IC (scaler chip) solutions have been added to some models of notebooks to present more OSD information and settings to users. The embodiments of the present application are aimed at upgrading and improving existing products. Mouse operation can bring users a better user experience and can extend more additional functions.

[0111] In the embodiment of the present application, the mouse device is connected to the system without being directly connected to the screen IC, without changing the hardware design, and is not limited by the hardware capabilities of the screen IC. Through the overall solution of system software and BIOS, mouse control in the OSD area is achieved by forwarding the mouse position and events to the screen IC.

[0112] Fig.10 This is a flow chart of a screen OSD operation method proposed in an embodiment of the present application, see Fig.10 , the convenient operation of the screen OSD can be realized by forwarding the mouse event, and the method includes the following steps:

[0113] Step S701: the operating system 1002 obtains the position and event of the mouse 1001;

[0114] Step S702: the operating system 1002 sends the position and event of the mouse 1001 to a forwarding application (Application) 1003;

[0115] Step S703: the forwarding application 1003 sends the position and event of the mouse 1001 to the Basic Input Output System (BIOS) 1004 via a system plug-in (Windows Management Instrumentation, WMI);

[0116] Step S704: BIOS 1004 sends the position and event of the mouse 1001 to an embedded controller (EC) 1005;

[0117] Step S705: EC 1005 sends the mouse position and event to screen IC 1006, which draws the mouse position and responds to the mouse action.

[0118] In the embodiment of the present application, the hardware design is not changed. Through the VMI method, the forwarding APP passes the mouse position, event and other information to the BIOS, and then forwards it to the screen IC to realize the mouse position drawing and event response.

[0119] In the embodiment of the present application, the application is not interfered with and seamless connection is achieved. In full-screen applications, such as games, in order not to interfere with the normal operation of the game, after turning on the OSD of the screen IC, the forwarding APP can achieve switching between the screen OSD and the game screen in two ways.

[0120] In one method, after the screen OSD is displayed, the forwarding APP intercepts the system mouse events and forwards them all to the screen IC for operation, and other applications in the system cannot receive the mouse information. In this way, when the user operates the screen OSD, it will not affect the subsequent games or applications.

[0121] In another way, after the screen OSD is displayed, when the user's mouse operates at the position of the screen OSD, the mouse information is forwarded to the screen IC, and other applications in the system will not receive the mouse information; when the relative position of the user's mouse moves out of the OSD display area of ​​the screen, the forwarding APP stops forwarding the mouse information, and other applications in the system can obtain the mouse information normally for operation.

[0122] The embodiment of the present application provides a convenient mouse operation solution without any hardware requirements, and also supports user settings in the game.

[0123] Fig.11 This is a flow chart of another screen OSD operation method proposed in an embodiment of the present application, see Fig.11 , the method comprises the following steps:

[0124] Step S801: the forwarding application 1102 intercepts the event of the system mouse 1101;

[0125] Step S802: the forwarding application 1102 forwards the event of the mouse 1101 to the basic input and output system (BIOS) 1103;

[0126] Step S803: BIOS 1103 forwards mouse events to LCD (Liquid Crystal Display) chip 1104;

[0127] Step S804: LCD chip 1104 draws the position of the mouse and responds to the mouse action.

[0128] Based on the foregoing embodiments, an embodiment of the present application provides an electronic device, which includes the modules included and the units included in the modules, which can be implemented by a processor in the electronic device; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU, Central Processing Unit), a microprocessor (MPU, Microprocessor Unit), a digital signal processor (DSP, Digital Signal Processing) or a field programmable gate array (FPGA, Field Programmable Gate Array), etc.

[0129] Fig.12 Schematic diagram of the structure of the electronic device according to the embodiment of the present application. Fig.12 As shown, the electronic device 1200 includes a first display module 1201, a second display module 1202 and a control module 1203, wherein:

[0130] A first display module 1201, configured to display display information of a first program module in a first display area of ​​the content display area when the electronic device runs the first program module;

[0131] A second display module 1202 is used to obtain a first operation event in response to the electronic device running a second program module, wherein display information of the second program module is displayed in a second display area of ​​the content display area;

[0132] The control module 1203 is used to control the input information of the first input component to be transmitted to the first program module, and control the input information of the second input component to be transmitted to the second program module in response to the first operation event meeting a specific condition.

[0133] In one embodiment, the electronic device includes a first state and a second state; the device further includes: a control module, which is used to control the input information of the first input component and the second input component to be transmitted to the first program module when the electronic device is in the first state;

[0134] In one embodiment, the control module 1203 is used to control the input information of the first input component to be transmitted to the first program module, and to control the input information of the second input component to be transmitted to the second program module in response to the first operation event meeting a specific condition when the electronic device is in the second state.

[0135] In one embodiment, the first program module is controlled by a central processing unit; the second program module is controlled by a screen chip.

[0136] In one embodiment, the control module 1203 includes: a first control submodule, used to control the input information of the first input component to be transmitted to the first program module in response to the first operation event being triggered in the first display area or the second display area; a second control submodule, used to control the input information of the second input component to be transmitted to the second program module in response to the first operation event being triggered in the second display area or the first display area.

[0137] In one embodiment, the combination of the first input component and the second input component includes one of the following: one of the first input component and the second input component is a mouse, and the other is a keyboard; one of the first input component and the second input component is a mouse, and the other is a microphone; one of the first input component and the second input component is a keyboard, and the other is a microphone.

[0138] In one embodiment, the device further includes: a setting module, configured to set a display area and / or a display effect of the second display area according to a display area of ​​the first display area.

[0139] In one embodiment, the setting module includes: a first setting sub-module, used to set the second display area at a corner of the screen when the first display area is displayed in full screen mode, and / or to display the second display area in a semi-transparent manner; a second setting sub-module, used to set the display area of ​​the second display area in a first area so that the second display area does not at least partially overlap with the first display area when the first display area is not displayed in full screen mode; the first area is an area on the display screen that is not the display area of ​​the first display area.

[0140] In one embodiment, the second setting submodule includes: a first setting unit, which is used to adjust the display area of ​​the second display area to the corner of the display area of ​​the first display area if the relative position relationship between the display area of ​​the second display area and the display area of ​​the first display area is at least partially overlapped, and / or, to display the second display area in a semi-transparent manner.

[0141] In one embodiment, the second setting submodule further includes: a second setting unit, which is used to adjust the display area of ​​the second display area to the corner of the display area of ​​the first display area if the relative position relationship between the display area of ​​the second display area and the display area of ​​the first display area is at least partially overlapped, and / or, to display the part overlapping with the display area of ​​the first display area in a semi-transparent manner.

[0142] In one embodiment, the setting module 1202 includes: a first setting sub-module, used to set the display area of ​​the second module at the corner of the screen when the first module is displayed in full-screen mode, and / or to display the second module in a semi-transparent manner; a second setting sub-module, used to set the display area of ​​the second module in a first area when the first module is not displayed in full-screen mode so that the second module does not at least partially overlap with the first module; the first area is an area on the display screen that is not the display area of ​​the first module.

[0143] In one embodiment, the second setting submodule includes: a first display unit, which is used to adjust the display area of ​​the second module to the corner of the display area of ​​the first module if the relative position relationship between the display area of ​​the second module and the display area of ​​the first module is at least partially overlapped, and / or display the second module in a semi-transparent manner.

[0144] In one embodiment, the second setting submodule also includes: a second display unit, which is used to adjust the display area of ​​the second module to the corner of the display area of ​​the first module if the relative position relationship between the display area of ​​the second module and the display area of ​​the first module is at least partially overlapping, and / or to display the part overlapping with the display area of ​​the first module in a semi-transparent manner.

[0145] In one embodiment, the response module 1204 includes: a first response submodule, used to send data of the first control module to the second module when the display area of ​​the first control module at least partially overlaps with the display area of ​​the second module, so that the second module responds to the data.

[0146] In one embodiment, the data includes data of a display area of ​​the first control module and an event corresponding to the display area of ​​the first control module.

[0147] In one embodiment, the first response submodule includes: a first response unit, used to send the data of the display area of ​​the first control module and the events corresponding to the display area of ​​the first control module to the second module, so that the second module draws the display area of ​​the first control module and responds to the events.

[0148] In one embodiment, the response module 1204 includes: a second response submodule, used to send the data of the first control module to the first module when the display area of ​​the first control module does not overlap with the display area of ​​the second module, so that the first module responds to the data.

[0149] In one embodiment, the first module includes a game module and other modules; the second response submodule includes: a second response unit, which is used to send the data of the first control module to the game module when the relative position relationship between the display area of ​​the first control module and the display area of ​​the game module is at least partially overlapped, so that the game module responds to the data; a third response unit, which is used to send the data of the first control module to the other modules when the relative position relationship between the display area of ​​the first control module and the display area of ​​the game module is not overlapped, so that the other modules respond to the data.

[0150] It should be noted that in the embodiment of the present application, if the above-mentioned control method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable an electronic device (which can be a mobile phone, a tablet computer, a desktop, a personal digital assistant, a navigator, a digital phone, a video phone, a television, a sensor device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.

[0151] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0152] Correspondingly, an embodiment of the present application provides another electronic device, Fig.13 A hardware entity diagram of an electronic device according to an embodiment of the present application is shown in FIG. Fig.13 As shown, the hardware entity of the electronic device 1300 includes: a memory 1301 and a processor 1302, wherein the memory 1301 stores a computer program that can be run on the processor 1302, and the processor 1302 implements the steps in the control method of the above embodiment when executing the program.

[0153] The memory 1301 is configured to store instructions and applications executable by the processor 1302, and can also cache data to be processed or processed by the processor 1302 and various modules in the electronic device 1300 (for example, image data, audio data, voice communication data, and video communication data), which can be implemented through flash memory (FLASH) or random access memory (Random Access Memory, RAM).

[0154] Correspondingly, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the control method provided in the above embodiment are implemented.

[0155] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the device embodiments. For technical details not disclosed in the storage medium and method embodiments of this application, please refer to the description of the device embodiments of this application for understanding.

[0156] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0157] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0158] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0159] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, the functional units in the embodiments of the present application may be all integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0160] It can be understood by those skilled in the art that all or part of the steps of the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiment are executed; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, read-only memory (ROM), magnetic disks or optical disks. Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a mobile phone, a tablet computer, a desktop computer, a personal digital assistant, a navigator, a digital phone, a video phone, a television, a sensor device, etc.) to execute all or part of the methods described in each embodiment of the present application. And the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, magnetic disks or optical disks.

[0161] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain a new method embodiment. The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain a new product embodiment. The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain a new method embodiment or device embodiment.

[0162] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for controlling an electronic device, the electronic device comprising: a content display area, a first input component, and a second input component; The method comprises: When the electronic device runs a first program module, display information of the first program module is displayed in a first display area of ​​the content display area; In response to the electronic device running a second program module, wherein display information of the second program module is displayed in a second display area of ​​the content display area, acquiring a first operation event; In response to the first operation event meeting a specific condition, the input information of the first input component is controlled to be transmitted to the first program module, and the input information of the second input component is controlled to be transmitted to the second program module.

2. The method according to claim 1, characterized in that The electronic device includes a first state and a second state; the method further includes: When the electronic device is in a first state, controlling the input information of the first input component and the second input component to be transmitted to the first program module; In response to the first operation event meeting a specific condition, controlling the input information of the first input component to be transmitted to the first program module, and controlling the input information of the second input component to be transmitted to the second program module, comprises: When the electronic device is in the second state, in response to the first operation event meeting a specific condition, the input information of the first input component is controlled to be transmitted to the first program module, and the input information of the second input component is controlled to be transmitted to the second program module.

3. The method according to claim 1, characterized in that: The first program module is controlled by a central processing unit; the second program module is controlled by a screen chip.

4. The method according to claim 1, characterized in that: In response to the first operation event meeting a specific condition, controlling the input information of the first input component to be transmitted to the first program module, and controlling the input information of the second input component to be transmitted to the second program module, comprises: In response to the first operation event being triggered in the first display area or the second display area, controlling the input information of the first input component to be transmitted to the first program module; In response to the first operation event being triggered in the second display area or the first display area, the input information of the second input component is controlled to be transmitted to the second program module.

5. The method according to claim 4, characterized in that The combination of the first input component and the second input component includes one of the following: One of the first input component and the second input component is a mouse and the other is a keyboard; One of the first input component and the second input component is a mouse and the other is a microphone; One of the first input component and the second input component is a keyboard and the other is a microphone.

6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: The display area and / or the display effect of the second display area are set according to the display area of ​​the first display area.

7. The method according to claim 6, characterized in that The step of setting the display area and / or display effect of the second display area according to the display area of ​​the first display area includes: When the first display area is displayed in full screen mode, the second display area is set at a corner of the screen, and / or the second display area is displayed in a semi-transparent mode; When the first display area is not displayed in full screen mode, setting the display area of ​​the second display area in the first area so that the second display area at least partially does not overlap with the first display area; The first area is an area on the display screen that is not a display area of ​​the first display zone.

8. The method according to claim 7, characterized in that The step of arranging the second display area in the first area so that the second display area at least partially does not overlap with the first display area includes: If the display area of ​​the second display area is at least partially overlapped with the display area of ​​the first display area, the display area of ​​the second display area is adjusted to the corner of the display area of ​​the first display area, and / or the second display area is displayed in a semi-transparent manner.

9. The method according to claim 7, characterized in that: The step of arranging the second display area in the first area so that the second display area at least partially does not overlap with the first display area further includes: If the relative position relationship between the display area of ​​the second display area and the display area of ​​the first display area is that they are at least partially overlapped, the display area of ​​the second display area is adjusted to the corner of the display area of ​​the first display area, and / or the part overlapping with the display area of ​​the first display area is displayed in a semi-transparent manner.

10. An electronic device, comprising: A first display module, configured to display display information of a first program module in a first display area of ​​the content display area when the electronic device runs the first program module; A second display module is used to obtain a first operation event in response to the electronic device running a second program module, wherein display information of the second program module is displayed in a second display area of ​​the content display area; The control module is used for controlling the input information of the first input component to be transmitted to the first program module, and controlling the input information of the second input component to be transmitted to the second program module in response to the first operation event meeting a specific condition.