CN113641326A - Display method, medium, program product, chip device, and electronic apparatus - Google Patents

Display method, medium, program product, chip device, and electronic apparatus Download PDF

Info

Publication number
CN113641326A
CN113641326A CN202110785859.8A CN202110785859A CN113641326A CN 113641326 A CN113641326 A CN 113641326A CN 202110785859 A CN202110785859 A CN 202110785859A CN 113641326 A CN113641326 A CN 113641326A
Authority
CN
China
Prior art keywords
resolution
interface
display
screen
app2
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.)
Granted
Application number
CN202110785859.8A
Other languages
Chinese (zh)
Other versions
CN113641326B (en
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.)
Shanghai Glory Smart Technology Development Co ltd
Original Assignee
Honor Device Co 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211248388.8A priority Critical patent/CN115826902A/en
Priority to CN202110785859.8A priority patent/CN113641326B/en
Publication of CN113641326A publication Critical patent/CN113641326A/en
Application granted granted Critical
Publication of CN113641326B publication Critical patent/CN113641326B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application relates to a display method, a medium, a program product, a chip device, and an electronic apparatus. The method comprises the following steps: the electronic equipment is displayed with a first interface and a second interface, wherein the first interface has a first resolution; when the electronic equipment detects that a trigger event needing to adjust the resolution ratio is generated in the first interface, the display resolution ratio of the first interface is adjusted from the first resolution ratio to a second resolution ratio, wherein the second resolution ratio is larger than the first resolution ratio. According to the technical scheme, under the condition that a trigger event needing to adjust the resolution ratio exists in one display interface of the electronic equipment under the multi-task operation scenes such as split screen and parallel view, the display resolution ratio adopted when the display interface is displayed by the electronic equipment is improved, so that the success rate of executing task processing corresponding to the trigger event by the electronic equipment is improved, and the user experience is improved.

Description

Display method, medium, program product, chip device, and electronic apparatus
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a display method, a medium, a program product, a chip device, and an electronic apparatus.
Background
With the rapid development of network technology, intelligent terminal devices such as smart phones and tablet computers are more and more popular, and great convenience is brought to life, study and work of people. In some scenarios, when a user uses a terminal device, a multitask operation is required, for example, a document is written while a browser is used to search for data; and simultaneously using the instant communication tool to perform online communication and using the video playing tool to watch the video online.
However, since the pixel density of the screen of the terminal device is fixed, when the terminal device switches from a conventional single task operation scene to a multi-task operation scene, for example, the terminal device only displays a User Interface (UI) of one application from the whole screen, and switches to simultaneously display UI interfaces of two applications, the resolution of the UI interfaces for simultaneously displaying the two applications becomes small, and a problem that some functions of the two applications cannot be implemented occurs.
For example, when the terminal device switches from a display mode in which only one instant messaging application having a code scanning function is displayed on the entire screen to a split-screen display mode in which UI interfaces of the instant messaging application and the video application are simultaneously displayed as shown in fig. 1(a), the aspect ratio of the UI interface of the instant messaging application on the screen of the terminal device becomes small, and the pixel density of the screen of the terminal device is fixed, and therefore, the display resolution of the instant messaging application becomes small. Therefore, in a split-screen scene as shown in fig. 1(a), when the two-dimensional code is scanned by the instant messaging application, the resolution of the acquired two-dimensional code image is low, so that the two-dimensional code preview image shown in fig. 1(b) and displayed in the two-dimensional code preview frame of the instant messaging application is relatively blurred, and therefore, the instant messaging application may not recognize the two-dimensional code, the code scanning fails, and user experience is affected.
Disclosure of Invention
The embodiment of the application provides a display method, a medium, a program product, a chip device and an electronic device. According to the technical scheme, under the condition that a trigger event needing to adjust the resolution ratio exists in one display interface of the electronic equipment under the multi-task operation scenes such as split screen and parallel view, the display resolution ratio adopted when the display interface is displayed by the electronic equipment is improved, so that the success rate of executing task processing corresponding to the trigger event by the electronic equipment is improved, and the user experience is improved.
In a first aspect, an embodiment of the present application provides a display method, including:
the electronic equipment is displayed with a first interface and a second interface, wherein the first interface has a first resolution;
when the electronic equipment detects that a trigger event needing to adjust the resolution ratio is generated in the first interface, the display resolution ratio of the first interface is adjusted from the first resolution ratio to a second resolution ratio, wherein the second resolution ratio is larger than the first resolution ratio.
The first resolution is a display resolution adopted by the electronic device when the electronic device displays the first interface, and the second resolution is a display resolution adopted by the electronic device when the electronic device detects that a trigger event requiring resolution adjustment is generated in the first interface.
Furthermore, the triggering event is an event that triggers the electronic device to perform task processing related to the display resolution of the first interface. For example, a first display interface of the electronic device is a display interface of an instant messaging APP, and when a user clicks a certain control of the first display interface, the electronic device is triggered to call the camera to acquire a two-dimensional code image at a first resolution, and then an operation of the user clicking the certain control of the first display interface is a trigger event.
For example, when the electronic device in the split screen scene detects a trigger to call the camera of the electronic device, so as to perform a trigger event of acquiring image information, the electronic device automatically switches from the horizontal screen split screen mode to the horizontal screen state after a single APP monopolizes the screen mode, the display resolution of the APP is improved, when the APP needs to acquire the image information, the resolution of the acquired image is also improved, and the success rate of performing the next processing by using the image is improved.
In a possible implementation of the first aspect, the method further includes: the electronic device adjusts the display resolution of the first interface from the first resolution to the second resolution by:
the electronic equipment enlarges the screen occupation ratio of the first interface and reduces the screen occupation ratio of the second display interface.
It can be understood that, because the pixel density of the screen of the electronic device is fixed, the electronic device expands the screen occupation ratio of the first interface and reduces the screen occupation ratio of the second display interface, thereby improving the display resolution of the first interface and reducing the display resolution of the second interface. The display resolution of the first interface is improved by expanding the screen occupation ratio of the first interface and reducing the screen occupation ratio of the second display interface, so that the success rate of task processing related to the display resolution of the first interface in the APP corresponding to the first interface is improved, and the user experience is improved.
In a possible implementation of the first aspect, the method further includes: the electronic device adjusts the display resolution of the first interface from the first resolution to the second resolution by:
the electronic device enlarges the screen occupancy of the first interface to 100%.
It can be understood that, after the electronic device enlarges the screen occupation ratio of the first interface to 100%, only the first interface is displayed on the screen of the electronic device, and the second interface is not displayed any more. Because the pixel density of the screen of the electronic equipment is fixed, compared with the electronic equipment which simultaneously displays the first interface and the second interface, after the screen occupation ratio of the first interface is enlarged to 100%, the display resolution ratio of the first interface is automatically improved, the success rate of processing tasks related to the display resolution ratio of the first interface in the APP corresponding to the first interface is favorably improved, and the user experience is improved.
In a possible implementation of the first aspect, the method further includes: the electronic device displays the first interface and the second interface and adjusts the display resolution of the first interface from the second resolution to the first resolution when determining that the task processing corresponding to the trigger event is completed, wherein the task processing corresponding to the trigger event is related to the second resolution.
Namely: and under the condition that the electronic equipment determines that the task processing corresponding to the trigger event is finished, automatically recovering the multitask operation state before the trigger event is generated so as to follow the use habit of the user.
In a possible implementation of the first aspect, the method further includes: the method comprises the steps that under the condition that it is determined that task processing corresponding to a trigger event fails, the electronic equipment adjusts the display resolution of a first interface from a second resolution to a third resolution within a preset adjustment range, wherein the third resolution is larger than the second resolution; and the number of the first and second electrodes,
the electronic device performs task processing corresponding to the trigger event, wherein the task processing corresponding to the trigger event is associated with the third resolution.
Namely: after the electronic device automatically raises the display resolution of the first interface to the second resolution by increasing the proportion of the first display interface on the screen, if the task processing corresponding to the trigger event still fails, the display resolution of the first interface may be further raised from the second resolution to the third resolution within a preset adjustment range, so as to further raise the success rate of the task processing corresponding to the trigger event. It is to be understood that, after the display resolution of the first interface is increased from the second resolution to the third resolution and the task processing corresponding to the trigger event is continuously executed, the resolution used for the task processing is the third resolution.
In a possible implementation of the first aspect, the adjusting the display resolution of the first interface from the second resolution to the third resolution within the preset adjustment range includes:
within the preset adjusting times, adjusting the display resolution of the first interface from the second resolution to a third resolution; alternatively, the first and second electrodes may be,
and adjusting the display resolution of the first interface from the second resolution to the third resolution within a preset resolution range.
The preset adjustment range may be a preset adjustment number. For example, in some embodiments, the first display interface is a display interface of the instant messaging APP2, the preset adjustment time is 5 times, and when the time for adjusting the display resolution of the instant messaging APP2 by the electronic device is less than 5 times, the display resolution of the instant messaging APP2 in the horizontal exclusive screen mode may be continuously adjusted, so as to further improve the display resolution of the instant messaging APP 2. When the number of times of adjusting the display resolution of the instant messaging APP2 by the electronic device reaches 5 times, the adjustment of the display resolution of the instant messaging APP2 is stopped.
In addition, the preset adjustment range may also be a preset resolution range, for example, the preset resolution range is a resolution range that is greater than the current display resolution of the instant messaging APP2 and is less than a preset maximum resolution. The preset maximum resolution may be the maximum resolution supported by the mobile phone 100, or may be a larger resolution smaller than the maximum resolution supported by the mobile phone 100. The resolutions included in the preset resolution range are resolutions that can be supported by the mobile phone 100, and the resolutions have a linear relationship with each other, for example, the resolutions have a certain multiple relationship with each other. It should be noted that each resolution included in the preset resolution range may be some conventional resolution which is frequently used in the industry, or may be some resolution which is less frequently used.
In a possible implementation of the first aspect, the method further includes: and in the case of exceeding the preset adjustment range, the electronic equipment displays the first interface and the second interface, and adjusts the display resolution of the first interface from the third resolution to the first resolution.
For example, if the display resolution of the first interface of the electronic device is continuously adjusted within the preset adjustment range, the maximum adjustment times among the preset adjustment times are reached, or the maximum resolution among the preset resolution range is reached, and the task processing corresponding to the trigger event still fails, the electronic device automatically returns to the multitask operation state, so that the use habit of the user is not affected.
In a possible implementation of the first aspect, the method further includes: the first interface and the second interface are display interfaces of the same application, or the first interface and the second interface are display interfaces of different applications.
For example, the first interface and the second interface are two different display interfaces of a certain shopping APP, the first interface is a display interface of a commodity homepage, the second interface is a display interface of a commodity detail page, and a scene in which the first interface and the second interface are display interfaces of the same application is called a parallel view scene.
For another example, the first interface and the second interface are display interfaces of a video APP and an instant messaging APP, respectively, and a scene in which the first interface and the second interface are display interfaces of different applications is referred to as a split screen scene.
In a second aspect, the present application provides a computer-readable storage medium, on which instructions are stored, and when executed on an electronic device, the instructions cause the electronic device to perform the display method of the first aspect and any one of various possible implementations of the first aspect.
In a third aspect, the present application provides a computer program product, where the computer program product includes instructions for implementing the first aspect and any one of the various possible implementations of the first aspect.
In a fourth aspect, an embodiment of the present application provides a chip apparatus, where the chip apparatus includes:
a communication interface for inputting and/or outputting information;
a processor configured to execute a computer-executable program to cause an apparatus in which the chip device is installed to perform the display method of any one of the first aspect and various possible implementations of the first aspect.
In a fifth aspect, an embodiment of the present application provides an electronic device, including:
a memory for storing instructions for execution by one or more processors of the electronic device, an
A processor configured to perform the display method of the first aspect described above and any of the various possible implementations of the first aspect when the instructions are executed by the one or more processors.
Drawings
Fig. 1(a) to 1(b) are schematic diagrams illustrating a user interface of an instant messaging APP scanning two-dimensional code used in a horizontal screen split state;
fig. 1(c) to fig. 1(h) are schematic diagrams of related user interfaces of an instant messaging APP used in a horizontal screen split state for scanning a two-dimensional code according to some embodiments of the present application;
fig. 1(i) to 1(j) are schematic diagrams illustrating further user interfaces involved in scanning a two-dimensional code by an instant messaging APP used in a landscape screen split state according to some embodiments of the present application;
fig. 2 schematically illustrates a system architecture diagram of an electronic device that may implement aspects of the present disclosure, in accordance with some embodiments of the present disclosure;
fig. 3(a) to 3(g) schematically illustrate some operation interface diagrams of the mobile phone 100 after adding a "resolution adaptive adjustment" global switch according to some embodiments of the present application;
FIG. 4 illustrates a process flow diagram of aspects of the present application, in accordance with some embodiments of the present application;
FIG. 5(a) illustrates exemplary dimensioning of a screen of a handset 100 in the X and Y directions, according to some embodiments of the present application;
FIG. 5(b) illustrates a plurality of resolution criteria for various different screen scales, according to some embodiments of the present application;
FIG. 6 illustrates another process flow diagram of aspects of the present disclosure, in accordance with some embodiments of the present disclosure;
FIG. 7 illustrates another process flow diagram of aspects of the present disclosure, in accordance with some embodiments of the present disclosure;
fig. 8(a) is a schematic interface diagram illustrating an example of a two-dimensional code preview image obtained by scanning after an instant messenger APP2 monopolizes a screen of a mobile phone 100 in a portrait screen state according to some embodiments of the present application;
fig. 8(b) and 8(c) are schematic diagrams of interfaces for successful code scanning after the instant messenger APP2 monopolizes the screen of the mobile phone 100 in the portrait screen state according to some embodiments of the present application;
FIG. 9 illustrates a flow diagram of a display method provided herein, according to some embodiments of the present application;
fig. 10 is a block diagram illustrating an exemplary hardware configuration of a handset 100 capable of implementing aspects of the present disclosure, according to some embodiments of the present disclosure.
Detailed Description
Illustrative embodiments of the present application include, but are not limited to, a display method, medium, program product, chip arrangement, and electronic device.
In the description of the embodiments of the present application, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the embodiments of the present application, "a plurality" means two or more unless otherwise specified.
Embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1(a) shows a schematic view of a display interface 10 of an electronic device 100. Wherein, electronic device 100 is in a horizontal screen use state, and the left and right sides of display Interface 10 of electronic device 100 respectively show User Interfaces (UI) of two different applications (applications, APPs), and the use scene of electronic device 100 that corresponds under this situation can be called as: and (5) split screen scene.
It can be understood that, since a pixel density (Pixels Per inc, PPI) of the electronic device 100 (representing the number of Pixels possessed by the electronic device 100 Per Inch of screen) is fixed, a display resolution of the UI interfaces of the two APPs is reduced when the UI interfaces of the two APPs are horizontally split-screen displayed. For example, when the display resolution of the display interface 10 of the electronic device 100 is 1280 × 1024, and the horizontal screen displays the UI interfaces of the two APPs, the display resolutions of the UI interfaces of the two APPs are 640 × 1024. Compared with a UI (user interface) which displays one APP independently on the horizontal screen, the display resolution of the UI interfaces of the two APPs is reduced in the horizontal screen split mode.
As shown in fig. 1(a), the left side of the display interface 10 of the electronic device 100 is a display interface 11 of a video APP 1; the right side is a display interface 12 of an instant messaging APP2 supporting a two-dimensional code scanning function in a code scanning state, and the display interface 12 includes a two-dimensional code preview box 121. However, since the pixel density of the electronic device 100 is fixed, and the resolution of the two-dimensional code image acquired by the instant messenger APP2 during scanning is related to the display resolution of the instant messenger APP2 (i.e., the resolution adopted by the electronic device 100 when displaying the UI interface of the instant messenger APP 2). Therefore, in the split screen scenario shown in fig. 1(a), the proportion of the instant messenger APP2 display interface 12 on the screen of the electronic device 100 is small, resulting in a low resolution of the instant messenger APP2 display interface 12. Therefore, in a split-screen scene as shown in fig. 1(a), when the instant messenger APP2 scans a two-dimensional code, the resolution of the acquired two-dimensional code image is low, so that the two-dimensional code preview image 122 shown in fig. 1(b) and displayed in the two-dimensional code preview frame 121 of the instant messenger APP2 is blurred, and the instant messenger APP2 cannot recognize the two-dimensional code, and the code scanning fails. Moreover, in the case of code scanning failure, the user can only manually click the return identifier 123 in the display interface 12 to stop scanning the instant messaging APP2, which affects user experience.
After the technical solution of the present application is adopted, by executing the display method provided by the present application, when the electronic device 100 in the split screen scene detects that the APP used in the split screen has a trigger event of a task related to the display resolution of the APP, the mode is automatically switched from the split screen mode to the mode in which the single APP monopolizes the screen (for convenience of description, hereinafter referred to as the single APP monopolizes the screen mode). For example, in some embodiments, when electronic device 100 in the split-screen scene detects a trigger event that triggers a call to a camera of electronic device 100 to acquire image information, electronic device 100 automatically switches from the landscape split-screen mode to a single APP exclusive-screen mode in the landscape state, that is, only one UI interface of an APP is displayed in switched display interface 10. In addition, in the mode in which a single APP exclusively occupies the screen, the display resolution of the APP is consistent with the display resolution of the electronic device 100 in the conventional landscape mode (in the landscape state, the UI interface of the single APP exclusively occupies the entire screen). Because the display resolution ratio of same APP under horizontal screen monopolizing screen mode is greater than the display resolution ratio under horizontal screen split screen mode to, when this APP need carry out image information's collection, this APP calls electronic equipment 100's camera, then the camera carries out image information's collection according to the current display resolution ratio of this APP, and the resolution ratio of the image that the camera was gathered promptly is relevant with this APP's display resolution ratio. Therefore, electronic device 100 is automatic from horizontal screen split screen mode, switches to horizontal single APP of screen and monopolizes the screen mode after, and this APP's display resolution has obtained the improvement, and when this APP need carry out image information's collection, the resolution ratio of the image of gathering has also obtained the improvement, helps promoting to utilize this image to carry out the success rate of processing next step.
For example, as shown in fig. 1(c), after the user clicks the control 124 on the display interface 12 of the instant messenger APP2, the instant messenger APP2 pops up the pull-down menu 125 shown in fig. 1(d) in the display interface 12, where the pull-down menu includes a "scan" control 126, and after the user clicks the "scan" control 126, a call to the camera of the electronic device 100 is triggered, so that the electronic device 100 is triggered to automatically switch from the landscape screen splitting mode shown in fig. 1(d) to the single APP exclusive screen mode in the landscape screen state shown in fig. 1(e), and after the switch, only the UI interface of the instant messenger APP2 is displayed in the display interface 10 of the electronic device 100.
As shown in fig. 1(e), when the instant messenger APP2 scans the same two-dimensional code as in the embodiment shown in fig. 1(b), the display resolution of the instant messenger APP2 is improved because the ratio of the UI interface of the instant messenger APP2 to the screen of the electronic device 100 is improved. Therefore, when the instant messaging APP2 scans the two-dimensional code, the resolution of the acquired two-dimensional code is improved, the two-dimensional code preview image 132 in the two-dimensional code preview frame 131 shown in fig. 1(e) is clearer, and the success rate of two-dimensional code identification is improved. When the two-dimensional code recognition is successful, the electronic device 100 enters the display interface 10 shown in fig. 1(f), which includes a circular control 133 for indicating that the two-dimensional code recognition is successful, and a text prompt 134 with the content "scan complete, ready to open". The electronic device 100 then jumps to the display interface 10 shown in fig. 1(g), where the specific content displayed is the information related to the recruitment of public numbers for a certain company.
In some embodiments, after the electronic device 100 jumps to the display interface 10 shown in fig. 1(g), in the case that a click operation on the screen by the user is detected, the electronic device automatically switches back to the landscape split mode. For example, when the user clicks the return control 135 on the display interface 10 shown in fig. 1(g), the electronic device 100 automatically switches back to the split-screen mode similar to that shown in fig. 1(c) after detecting the user's clicking operation, where a chat interface is currently displayed in the display interface 12 of the instant messenger APP 2.
In some embodiments, after the electronic device 100 jumps to the display interface 10 shown in fig. 1(g), the horizontal split screen mode is automatically switched back after a preset time interval without any operation by the user. For example, after the electronic device 100 jumps to the display interface 10 shown in fig. 1(g), the screen split mode similar to that shown in fig. 1(h) is automatically switched back after 1 second, and the content currently displayed in the display interface 12 of the instant messenger APP2 is not changed, but remains the relevant information for recruiting public numbers of a certain company.
In addition, in some embodiments, after the scanning is successful, the electronic device 100 automatically switches back to the split screen mode similar to that shown in fig. 1(h) while displaying the interface representing the scanning success as shown in fig. 1(f), where information related to the recruitment of public number of a company is currently displayed in the display interface 12 of the instant messenger APP 2.
In addition, in some embodiments, after the electronic device 100 displays the interface representing the successful scanning as shown in fig. 1(f) shortly after the successful scanning is performed, for example, after the interface representing the successful scanning as shown in fig. 1(f) is displayed for 0.5 second, the electronic device automatically switches back to the split screen mode similar to that shown in fig. 1(h), where information related to recruitment of a certain company to the public number is currently displayed in the display interface 12 of the instant messenger APP 2.
In addition, it should be noted that, above is only taking the electronic device 100 in the horizontal screen state as an example, when the electronic device 100 detects that there is a trigger event of a task related to the display resolution of an APP in the APP used in the split screen, the mode that a single APP monopolizes the screen in the horizontal screen state is automatically switched from the horizontal screen split screen mode to improve the display resolution of the single APP, so as to improve the success rate of processing the task corresponding to the trigger event. In addition, in order to improve the user experience, the electronic device 100 switches back to the split-screen mode after the task corresponding to the trigger event is completed without changing the use habit of the user.
However, it is understood that, when the electronic device 100 is in the split-screen mode in the horizontal-screen state, in order to improve the success rate of task processing related to the display resolution in the APPs used in the split-screen state, when the electronic device 100 detects a trigger event of a task related to the display resolution, the proportion of the display interface of the corresponding APP occupying the screen of the electronic device 100 is automatically expanded, and the proportion of the display interface of another APP used in the split-screen state occupying the screen of the electronic device 100 is reduced, so as to improve the success rate of task processing related to the display resolution.
For example, after the user clicks the "sweep" control 126 as shown in FIG. 1(d), a call to the camera of the electronic device 100 is triggered. Thereby triggering the electronic device 100 to automatically enlarge the proportion of the display interface 12 of the instant messaging APP2 on the display interface 10 of the electronic device 100 and compress the proportion of the display interface 11 of the video APP1 on the display interface 10 of the electronic device 100. As shown in fig. 1(i), when the instant messenger APP2 scans the same two-dimensional code as in the embodiment shown in fig. 1(b), the display resolution of the instant messenger APP2 is improved because the display interface 12 of the instant messenger APP2 occupies a higher area on the screen of the electronic device 100. Therefore, when the instant messaging APP2 scans the two-dimensional code, the resolution of the acquired two-dimensional code is improved, the two-dimensional code preview image 132 in the two-dimensional code preview frame 131 shown in fig. 1(i) is clearer, and the success rate of two-dimensional code identification is improved. When the two-dimensional code identification is successful, the electronic device 100 may also sequentially enter the display interface 10 shown in fig. 1(f) and 1 (g).
In addition, it should be noted that, in some embodiments, after the technical solution of the present application is adopted, by executing the display method provided by the present application, the electronic device 100 in the split screen mode in the vertical screen state may further automatically switch from the split screen mode in the vertical screen state to the single APP exclusive screen mode in the vertical screen state when detecting that the APP used in the split screen has a trigger event of a task related to the display resolution of the APP.
In addition, in some embodiments, when the electronic device 100 is in the split-screen mode in the vertical-screen state, in order to improve the success rate of task processing related to the display resolution in the APPs used in the split-screen mode, when the electronic device 100 detects a trigger event of a task related to the display resolution, the proportion of the display interface of the corresponding APP occupying the screen of the electronic device 100 is automatically expanded, and the proportion of another APP display interface used in the split-screen mode occupying the screen of the electronic device 100 is reduced, so as to improve the success rate of task processing related to the display resolution.
In addition, in the above exemplary description of the technical solution in conjunction with fig. 1(a) to 1(i), the two APPs used in the electronic device 100 for split screen are the video APP1 and the instant messaging APP2, respectively. It is understood that the two APPs used in the screen of the electronic device 100 may also be the same APP, that is: when the electronic device 100 displays two UI interfaces simultaneously, the two UI interfaces are UI interfaces of the same APP. For example, when the APP is a shopping APP, the electronic device 100 displays a home page of the merchandise on one side of the screen and a detailed page of the merchandise on the other side. For another example, when the APP is an instant messaging APP, one side of the screen of the electronic device 100 displays a chat interface and the other side displays a video call interface. For convenience of detailed description of the present solution in the following description, an application scene in which two APPs used for split-screen display in the electronic device 100 are the same APP is simply referred to as a parallel view scene.
In addition, in order to further improve the success rate of processing the task related to the display resolution in the APP related to the split screen, the parallel view, and the like, when the electronic device 100 detects a trigger event of the task related to the display resolution, the display resolution of the APP may be adjusted according to a preset resolution adjustment method. For example, in some embodiments, when electronic device 100 detects a triggering event for a task related to display resolution, the display resolution of the APP is adjusted to one of a plurality of resolutions supported by electronic device 100, such as a maximum resolution that electronic device 100 is capable of supporting, or a greater resolution that is less than the maximum resolution.
In addition, in some embodiments, when the electronic device 100 determines that the task processing related to the display resolution in the APP fails, the display resolution of the APP is adjusted within a preset adjustment range according to a preset resolution adjustment method, so as to improve the display resolution of the APP, and further improve the success rate of the task processing related to the display resolution in the APP.
For example, when the electronic device 100 determines that the task processing related to the display resolution in the APP fails, if the APP supports resolution adjustment and the display resolution of the APP is smaller than the maximum resolution that the electronic device 100 can support, the display resolution of the APP may be directly adjusted to the maximum resolution that the electronic device 100 can support, then the task processing related to the display resolution in the APP is executed again, and if the processing still fails, an application scenario such as split screen or parallel view is automatically returned.
For another example, when the electronic device 100 determines that the task processing related to the display resolution in the APP fails, if the APP supports resolution adjustment and the display resolution of the APP is smaller than the maximum resolution that the electronic device 100 can support, the display resolution of the APP may be adjusted within a preset number of times of adjustment, and if the preset number of times of adjustment is reached and the task processing related to the display resolution still fails, the adjustment of the display resolution of the APP is stopped, and an application scenario such as split screen and parallel view is automatically returned.
For another example, when the electronic device 100 determines that the task processing related to the display resolution in the APP fails, if the APP supports resolution adjustment and the display resolution of the APP is smaller than the maximum resolution that the electronic device 100 can support, the display resolution of the APP may be adjusted within a preset resolution range, and after the preset resolution range is reached, for example, the display resolution of the APP is adjusted to the maximum resolution that the electronic device 100 supports, and the task processing related to the display resolution still fails, the display resolution of the APP is stopped from being adjusted, and an application scenario such as split screen and parallel view is automatically returned.
Furthermore, the APP described above may be any APP supporting a split screen application scenario, a parallel view application scenario, and the like, including but not limited to: video APP, instant messaging APP, intelligent lock APP, bank APP, shopping APP, wisdom city APP etc..
Further, it is understood that the electronic device 100 may be a variety of electronic devices that support multitasking operation functionality, for example, the electronic device 100 may include, but is not limited to, a cell phone, a tablet computer, a laptop computer, a desktop computer, a server, a wearable device, a head-mounted display, a mobile email device, a car machine device, a portable game player, a portable music player, a reader device, a television with one or more processors embedded or coupled therein, or other electronic device capable of accessing a network.
In addition, it can be understood that each APP installed in the electronic device 100 can support resolution adjustment, so that the electronic device 100 can achieve a better display effect by adjusting the display resolution of the APPs in different application scenarios. In the following description of the solution, each APP installed in the electronic device 100 may support resolution adjustment by default.
The following describes a system structure of an electronic device to which the present invention is applied in detail with reference to the accompanying drawings. The system structure shown in fig. 2 includes a camera 101, a display screen 102, an application 103, an event detection module 104, a display control module 105, and a resolution adjustment module 106.
The camera 101 is used for capturing still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The light sensing element converts the optical signal into an electrical signal. For example, in some embodiments of the present application, the camera 101 is used for acquiring a face image and a two-dimensional code image, and is used for the electronic device 100 to perform face recognition, two-dimensional code recognition, and the like. When the camera 101 collects an image, the resolution of the collected image is related to the display resolution of the application program calling the camera 101. Therefore, when the electronic device 100 executes the technical solution of the present application, and the display resolution of the application program is improved, when the application program calls the camera 101 to perform image acquisition, the resolution of the acquired image is also improved, so as to improve the success rate of the application program in processing operations such as face recognition and image recognition.
The display screen 102 includes a display panel. The Display panel may be a Liquid Crystal Display (LCD), an Organic Light-emitting Diode (OLED), an Active matrix Organic Light-emitting Diode (Active-matrix Organic Light-emitting Diode, AMOLED), a flexible Light-emitting Diode (FLED), a Mini LED, a Micro OLED, a Quantum Dot Light-emitting Diode (QLED), or the like. For example, the display screen 102 is used for displaying various UI interfaces of the electronic device 100 in modes of split screen, parallel view, single APP exclusive screen, and the like in the landscape/portrait state.
Application 103 may include video APP, instant messaging APP, smart door lock APP, bank APP, shopping APP, smart city APP, music APP, game APP, online education APP, and the like. In some embodiments, when the electronic device 100 is switched from the single APP exclusive screen mode in the portrait screen state to the landscape screen split mode, the display resolution of the APP used for split screen is reduced. By executing the technical scheme of the application, the electronic device 100 improves the display resolution of the APP, so as to improve the success rate of processing some tasks related to the display resolution of the APP.
The event detection module 104 may be used to detect a user's related operations on the electronic device 100. For example, in some embodiments, the user clicks the "scan" control 126 on the display interface 12 of the instant messenger APP2 shown in fig. 1(d), and the instant messenger APP2 invokes the camera 101 of the electronic device 100 to scan the two-dimensional code in response to the user's operation. When the event detection module 104 detects the call of the instant messaging APP2 to the camera 101, it generates a screen switching notification message to notify the display control module 105 of the electronic device 100 to switch the display mode of the display screen 102.
The display control module 105 is configured to control the display screen 102 of the electronic device 100 to automatically switch between a single APP exclusive screen mode and a split screen, parallel view mode, or the like. The method and the device can also be used for expanding the display interface of the APP with the trigger event in the two different APPs displayed in the split screen and reducing the display interface of the other APP when the display screen 102 is in the split screen scene. In addition, when the display screen 102 is in a parallel view field scene, the method may be further configured to expand a display interface in which the trigger event exists in two display interfaces of the same APP in the parallel view field scene, and reduce the other display interface of the APP. For example, in some embodiments, after receiving the screen switching notification message sent by the event detection module 104, the display control module 105 controls the display screen 102 to switch to the exclusive screen mode of the instant messaging APP2 in the landscape state according to the received screen switching notification message.
The resolution adjustment module 106 is configured to adjust a display resolution of an APP currently displayed on the display screen 102, so as to improve a success rate of task processing related to the display resolution of the APP. For example, in some embodiments, after the code scanning of the instant messaging APP2 fails, a notification message of the code scanning failure is sent to the resolution adjustment module 106, and after receiving the notification message, the resolution adjustment module 106, in response to the notification message, raises the display resolution of the APP related to the trigger event, so as to further raise the success rate of processing some tasks related to the trigger event in the APP. For example, when the user clicks the "scan" control 126 on the display interface 12 of the instant messenger APP2 shown in fig. 1(d), the display control module 105 is triggered to control the display interface of the display screen 102 to switch from the mode of split-screen display in the landscape screen state shown in fig. 1(d) to the single APP exclusive screen mode shown in fig. 1(e), although the display resolution of the instant messenger APP2 is improved after switching from fig. 1(d) to the state shown in fig. 1(e), there is still a problem that the two-dimensional code scanning fails because the scanned two-dimensional code is relatively blurred. In this case, the resolution adjustment module 106 may further increase the display resolution of the instant messenger APP2, for example, to make the display interface of the instant messenger APP2 completely occupy the entire display screen 102. Make instant messaging APP2 when scanning the two-dimensional code, the resolution ratio of the image of the two-dimensional code that obtains further promotion to further promote and sweep the code success rate.
It is to be understood that the system architecture shown in fig. 2 above does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown in FIG. 2, or some components may be combined, some components may be split, or a different arrangement of components.
For simplicity, the following description will use the electronic device 100 as the mobile phone 100 as an example to describe the technical solution of the present application.
The technical solution of the present application will be further described in detail below with reference to the scene diagram shown in fig. 1 and the system structure diagram shown in fig. 2.
Example one
First, after the instant messaging APP2 used for split-screen display in the mobile phone 100 in the landscape screen state detects an operation of a user, the mobile phone 100 is triggered to automatically switch to a mode in which the instant messaging APP2 monopolizes a screen in the landscape screen state, and the display resolution of the instant messaging APP2 is adjusted according to a preset resolution adjustment mode.
First, it should be noted that, in some embodiments, in order to facilitate user operation, a global switch may be added in an operation interface of the mobile phone 100, and a user may select whether to turn on a function of adaptively adjusting resolution by selecting whether to turn on the global switch.
For example, as shown in fig. 3(a), the user clicks a "settings" icon 141 on the desktop of the cellular phone 100, and enters a settings interface as shown in fig. 3 (b). After the user clicks the auxiliary function control 143, the mobile phone 100 enters the interface of the auxiliary function setting as shown in fig. 3(c), and the user clicks the "resolution adaptive adjustment" switch 145 of the interface of the auxiliary function setting, so as to turn on the resolution adaptive adjustment function of the mobile phone 100.
In addition, it can be understood that, in the process of implementing the resolution adaptive adjustment function, the mobile phone 100 may involve application scenarios such as split screen and parallel view, and therefore, the split screen and parallel view functions of the mobile phone 100 need to be started. As shown in fig. 3(c), the split screen and parallel view functions of the handset 100 are turned on.
Then, after the functions of screen splitting, parallel view, resolution adaptive adjustment, and the like of the mobile phone 100 are turned on. Assuming that the user clicks the icon 146 of the video APP in the desktop of the mobile phone 100 in the portrait state as shown in fig. 3(d), the mobile phone 100 opens the video APP to play the video as shown in fig. 3 (e). If the user rotates the mobile phone 100 counterclockwise by 90 degrees from the vertical screen state shown in fig. 3(e) and rotates the mobile phone 100 to the horizontal screen state shown in fig. 3(f), the video picture played by the video APP displayed on the display interface 10 of the mobile phone 100 is also switched to the full-screen display mode. At this time, if the user's finger slides leftward at the position of the edge a of the display screen 102 of the mobile phone 100 in the landscape state as shown in fig. 3(f), the display interface 10 of the mobile phone 100 pops up the side tool box 147 as shown in fig. 3 (g). The side tool box 147 displays a plurality of icons of APPs supporting split screen application scenes, and after the user clicks the icon 148 of the instant messenger APP2 in the side tool box 147 and drags to the display interface 11 of the left video APP, the mobile phone 100 switches to the split screen display state as shown in fig. 1 (c).
Specifically, as shown in fig. 4, the process of the mobile phone 100 adaptively adjusting the display resolution of the instant messaging APP2 includes the following steps:
step 401: instant messaging APP2 generates a trigger event in response to a user action. The trigger event refers to an event of task processing generated by the instant messenger APP2 in response to a user operation and related to the display resolution of the instant messenger APP 2. The trigger event is used to trigger the display interface on the display screen 102 of the handset 100 to switch from the split screen mode to the single APP exclusive screen mode.
For example, as shown in fig. 1(c), after the user clicks the control 124 on the display interface 12 of the instant messenger APP2, the instant messenger APP2 pops up the pull-down menu 125 shown in fig. 1(d) in the display interface 12, where the pull-down menu includes a "scan" control 126, and after the user clicks the "scan" control 126, the instant messenger APP2 responds to the click operation of the user to generate a trigger event of invoking the camera 101 to capture an image of a two-dimensional code to be scanned.
Step 402: instant messaging APP2 sends the generated trigger event to event detection module 104.
For example, the instant messaging APP2 sends the generated trigger event of invoking the camera 101 to the event detection module 104, so that the event detection module 104 performs the next processing after receiving the trigger event.
Step 403: the event detection module 104 generates a screen switching notification message to notify the display control module 105 to control the display screen 102 to perform screen switching after receiving the trigger event.
Step 404: the event detection module 104 transmits the generated screen switching notification message to the display control module 105.
Step 405: the display control module 105 controls the display screen 102 to switch to the exclusive screen mode of the instant messaging APP2 in the landscape state according to the received screen switching notification message.
For example, the display control module 105 switches the display screen 102 of the mobile phone 100 from the horizontal screen split mode shown in fig. 1(d) to the exclusive screen mode of the instant messaging APP2 in the horizontal screen state shown in fig. 1(e) according to the received screen switching notification message, and only displays the UI interface of the instant messaging APP2 in the display interface 10 of the mobile phone 100 after switching. In addition, as shown in fig. 1(e), the display resolution of the instant messenger APP2 in the horizontal screen state after switching is the same as the display resolution in the exclusive screen mode of the instant messenger APP2 before split screen. Because the display resolution of the same APP in the horizontal screen exclusive screen mode is greater than that in the horizontal screen split screen mode, and when the APP needs to acquire image information, the resolution of the acquired image is related to the display resolution of the APP. Therefore, after the mobile phone 100 switches from the horizontal screen split mode shown in fig. 1(d) to the horizontal screen state shown in fig. 1(e) in which the instant messaging APP2 monopolizes the screen mode, the display resolution of the instant messaging APP2 is improved, and when the instant messaging APP2 needs to scan a two-dimensional code, the resolution of the acquired two-dimensional code image is also improved, which is helpful for improving the success rate of two-dimensional code scanning.
Step 406: the display control module 105 sends a notification message of the completion of the switching to the instant messenger APP 2.
Step 407: and after receiving the notification message of switching completion, the instant messaging APP2 acquires a two-dimensional code image. As can be seen from the above description about step 405, when the instant messenger APP2 is specifically the instant messenger APP2, if the mobile phone 100 switches from the horizontal screen split screen mode shown in fig. 1(d) to the instant messenger APP2 monopolizing the screen mode in the horizontal screen state shown in fig. 1(e), the resolution of the two-dimensional code image acquired by the instant messenger APP2 is improved, which means that the instant messenger APP2 can acquire more two-dimensional code information, which is helpful for improving the success rate of two-dimensional code scanning.
Step 408: instant messaging APP2 identifies the acquired two-dimensional code image. For example, the instant messaging APP2 extracts features of the acquired two-dimensional code image and then performs recognition based on the extracted features.
Step 409: the instant messaging APP2 determines whether the recognition is successful. If the identification is successful, go to step 410; otherwise, the identification fails, and step 412 is entered.
For example, in some embodiments, as shown in fig. 1(e), when the instant messenger APP2 scans the two-dimensional code that is the same as in the embodiment shown in fig. 1(b), since the display resolution of the instant messenger APP2 is improved, the resolution of the two-dimensional code that is acquired when the instant messenger APP2 scans the two-dimensional code is improved, and the two-dimensional code preview image 132 in the two-dimensional code preview frame 131 shown in fig. 1(e) is clearer. When the two-dimensional code identification is successful, the mobile phone 100 sequentially enters the display interfaces 10 shown in fig. 1(f) and 1(g), and then switches to the display interface 10 shown in fig. 1 (h).
In some embodiments, since the resolution of the two-dimensional code to be scanned is low, even if the display resolution of the instant messaging APP2 is improved by switching the mobile phone 100 from the horizontal screen split mode to the mode in which the instant messaging APP2 monopolizes the screen, the two-dimensional code still cannot be successfully identified. In case of code scanning failure, the instant messaging APP2 sends a notification message of failure in identification to the resolution adjustment module 106 to notify the resolution adjustment module 106 to adjust the display resolution of the instant messaging APP 2.
Step 410: instant messenger APP2 sends a notification message of the success of the identification to display control module 105.
Step 411: the display control module 105 controls the display screen 102 to return to the landscape split mode according to the received notification message that the identification is successful.
It can be understood that, since the user performs the two-dimensional code scanning by using the instant messenger APP2 of the mobile phone 100, the mobile phone 100 can be in the horizontal split screen mode only under the operation of the user, that is: the user wishes the handset 100 to be in the landscape split mode. In consideration of the habit of the user, after the instant messenger APP2 finishes scanning the two-dimensional code, the user still wants the mobile phone 100 to return to the horizontal split screen mode. Therefore, in the technical solution of the present application, in order to not change the usage habit of the user, after the instant messaging APP2 finishes scanning the two-dimensional code, the display control module 105 is notified to switch, and the display control module 105 controls the display screen 102 of the mobile phone 100 to return to the horizontal split screen mode according to the notification message.
Step 412: instant messaging APP2 sends a notification message of the failure to identify to resolution adjustment module 106. The resolution adjustment module 106 is informed to further improve the display resolution of the instant messaging APP2 in a preset resolution adjustment manner.
For example, in some embodiments, since the resolution of the two-dimensional code to be scanned is low, even if the display resolution of the instant messaging APP2 is improved by switching the mobile phone 100 from the horizontal screen split mode to the mode in which the instant messaging APP2 monopolizes the screen, the two-dimensional code still cannot be successfully recognized. Then under the condition that code scanning fails, the instant messaging APP2 sends a notification message indicating that the recognition fails to the resolution adjustment module 106, so as to notify the resolution adjustment module 106 to improve the display resolution of the instant messaging APP2, thereby improving the resolution of the acquired two-dimensional code image, acquiring more two-dimensional code information, and improving the code scanning success rate.
Step 413: under the condition that the display resolution does not exceed the preset adjustment range, the resolution adjustment module 106 adjusts the display resolution of the instant messaging APP2 in the horizontal screen exclusive screen mode according to the received notification message of the identification failure, so as to further improve the display resolution of the instant messaging APP 2.
The preset adjustment range may be a preset adjustment number. For example, the preset adjustment time is 5 times, and when the time for adjusting the display resolution of the instant messaging APP2 by the resolution adjustment module 106 is less than 5 times, the display resolution of the instant messaging APP2 in the horizontal exclusive screen mode may be continuously adjusted, so as to further improve the display resolution of the instant messaging APP 2. When the resolution adjusting module 106 adjusts the display resolution of the instant messaging APP2 for 5 times, the adjustment of the display resolution of the instant messaging APP2 is stopped.
In addition, the preset adjustment range may also be a preset resolution range, for example, the preset resolution range is a resolution range that is greater than the current display resolution of the instant messaging APP2 and is less than a preset maximum resolution. The preset maximum resolution may be the maximum resolution supported by the mobile phone 100, or may be a larger resolution smaller than the maximum resolution supported by the mobile phone 100. The resolutions included in the preset resolution range are resolutions that can be supported by the mobile phone 100, and the resolutions have a linear relationship with each other, for example, the resolutions have a certain multiple relationship with each other. It should be noted that each resolution included in the preset resolution range may be some conventional resolution which is frequently used in the industry, or may be some resolution which is less frequently used.
For example, assuming that the size of the screen of the cellular phone 100 in the X direction is larger than the size in the Y direction as shown in fig. 5(a), the size of the screen of the cellular phone 100 in the X direction is referred to as a length, and the size in the Y direction is referred to as a width, and the aspect ratio of the screen of the cellular phone 100 is 4: 3. Since the pixels on the screen of the mobile phone 100 are uniformly distributed, it is understood that the ratio of the number of the pixels on the screen of the mobile phone 100 in the X direction and the Y direction is also 4:3, and thus the ratio of the resolution of the screen of the mobile phone 100 in the X direction and the Y direction is also 4: 3. Moreover, the ratio of the resolution adopted by the mobile phone 100 when displaying the UI interface of each APP in the X direction and the Y direction is also 4: 3. For convenience of description, the ratio of the resolution of the screen of the mobile phone 100 in the X direction and the Y direction, and the ratio of the resolution (display resolution of APPs) adopted by the mobile phone 100 in displaying the UI interfaces of the respective APPs in the X direction and the Y direction are both referred to as "resolution ratio" hereinafter. Some resolutions included in the above-mentioned preset resolution range may be 640 × 480, 768 × 576, 800 × 600, 1024 × 738, 1280 × 1024, 1400 × 1050, and 1600 × 1200 as shown in fig. 5(b) for the case where the resolution ratio is 4: 3.
In some embodiments, for the case of a resolution ratio of 4:3, if the maximum resolution in the preset resolution range is 1400 × 1050 as shown in fig. 5 (b). Assume that, after the mobile phone 100 is switched from the horizontal split screen mode to the mode in which the instant messenger APP2 has exclusive screen through the step 405, the display resolution of the instant messenger APP2 is 640 × 480. In this case, the two-dimensional code cannot be successfully recognized. Since several resolution levels of 768 × 576, 800 × 600, 1024 × 738, and 1280 × 1024 are also included between 1400 × 1050 and 640 × 480 for the case of the resolution ratio of 4: 3. Therefore, the display resolution of the instant messaging APP2 can be adjusted to 768 × 576 respectively, and then the two-dimensional code is scanned, and if the scanning is successful, the adjustment of the resolution is stopped; if the scanning fails, firstly adjusting the display resolution of the instant messaging APP2 to 800 multiplied by 600, then scanning the two-dimensional code, and if the scanning succeeds, stopping adjusting the resolution; if the scanning fails, the display resolution of the instant messaging APP2 is adjusted to 1024 × 738, then the two-dimensional code is scanned, if the scanning succeeds, the adjustment of the resolution is stopped, otherwise, the display resolution of the instant messaging APP2 is continuously adjusted until the maximum resolution 1400 × 1050 in the preset resolution range is adjusted.
Step 414: the resolution adjustment module 106 sends a notification message of completing the resolution adjustment to the instant messaging APP2 to notify the instant messaging APP2 to continue scanning the two-dimensional code.
Step 415: and after receiving the notification message of the completion of the resolution adjustment, the instant messaging APP2 acquires a two-dimensional code image. It will be appreciated that the two-dimensional code image acquired here has an improved resolution compared to the two-dimensional code image acquired in step 407.
Step 416: the instant messaging APP2 identifies the two-dimensional code image acquired after the resolution is adjusted. After the instant messaging APP2 completes the recognition operation on the two-dimensional code image acquired after the resolution adjustment, the process proceeds to step 409.
In addition, in the embodiment, after the operation of the user is detected by the instant messaging APP2 split-screen for use in the mobile phone 100 in the landscape state, the mobile phone 100 is triggered to automatically switch to the mode in which the instant messaging APP2 monopolizes the screen in the landscape state, and the display resolution of the instant messaging APP2 is adjusted according to the preset resolution adjustment mode, which is taken as an example, so that the technical scheme of the present application is described in detail. After detecting the operation of the user, the instant messaging APP2 for split-screen use in the mobile phone 100 in the vertical screen state triggers the mobile phone 100 to automatically switch to the mode in which the instant messaging APP2 monopolizes the screen in the vertical screen state, and the process of adjusting the display resolution of the instant messaging APP2 according to the preset resolution adjustment mode is similar to the whole processing process in the horizontal screen state, and is not described herein again.
Example two
Next, after the instant messaging APP2 split-screen for use in the mobile phone 100 in the landscape state detects a corresponding trigger event, the mobile phone 100 is triggered to automatically expand the proportion of the display interface of the instant messaging APP2 on the screen of the mobile phone 100, and compress the proportion of the display interface of the video APP1 on the screen of the mobile phone 100 (the mobile phone still maintains the landscape split-screen mode), so as to adjust the display resolution of the instant messaging APP2, for example, and detailed description is performed on the technical solution of the present application.
Specifically, as shown in fig. 6, after detecting a corresponding trigger event, the mobile phone 100 in the horizontal split screen mode still remains in the horizontal split screen mode, and the process of adjusting the display resolution of the instant messaging APP2 includes the following steps of directly adjusting the percentage of the display interface of the instant messaging APP2 generating the trigger event on the screen of the mobile phone 100 and the percentage of the display interface of the compressed video APP1 on the screen of the mobile phone 100:
step 601: instant messaging APP2 generates a trigger event in response to a user action. The trigger event refers to an event of task processing generated by the instant messenger APP2 in response to a user operation and related to the display resolution of the instant messenger APP 2. The trigger event is used for triggering the adjustment of the proportion of the display interfaces of the instant messaging APP2 and the video APP1 on the screen of the mobile phone 100, so that the purpose of adjusting the display resolution of the instant messaging APP2 and the video APP1 is achieved.
Step 602: instant messaging APP2 sends the generated trigger event to event detection module 104.
Step 603: after receiving the trigger event, the event detection module 104 generates a screen adjustment notification message to notify the display control module 105 to adjust the ratio of the display interface of the instant messaging APP2 on the screen of the mobile phone 100, so as to adjust the display resolution of the instant messaging APP 2.
Step 604: the event detection module 104 transmits the generated screen adjustment notification message to the display control module 105.
Step 605: the display control module 105 enlarges the proportion of the instant messaging APP2 on the screen of the mobile phone 100 and reduces the proportion of the video APP1 on the screen of the mobile phone 100 according to the received screen adjustment notification message.
For example, the display control module 105 enlarges the ratio a of the display interface 12 of the instant messaging APP2 on the screen of the mobile phone 100 in the horizontal split screen mode shown in fig. 1(b) to the ratio b shown in fig. 1(i) according to the received screen adjustment notification message, so as to improve the display resolution of the instant messaging APP2, thereby improving the code scanning success rate of the instant messaging APP 2.
Step 606: the display control module 105 sends a notification message of completion of adjustment to the instant messenger APP 2.
Step 607: and after receiving the notification message of the completion of the adjustment, the instant messaging APP2 acquires the two-dimensional code image. As can be seen from the above description about step 605, if the proportion a of the display interface 12 of the instant messaging APP2 on the screen of the mobile phone 100 in the horizontal split screen mode shown in fig. 1(b) is increased to the proportion b shown in fig. 1(i), the resolution of the two-dimensional code image acquired by the instant messaging APP2 is improved, that is, the instant messaging APP2 can acquire more two-dimensional code information, which is helpful for improving the success rate of two-dimensional code scanning.
Step 608: instant messaging APP2 identifies the acquired two-dimensional code image. For example, the instant messaging APP2 extracts features of the acquired two-dimensional code image and then performs recognition based on the extracted features.
Step 609: the instant messaging APP2 determines whether the recognition is successful. If the identification is successful, go to step 610; otherwise, if the identification fails, step 612 is entered.
For example, in some embodiments, as shown in fig. 1(i), when the instant messenger APP2 scans the two-dimensional code that is the same as in the embodiment shown in fig. 1(b), since the display resolution of the instant messenger APP2 is improved, the resolution of the two-dimensional code that is acquired when the instant messenger APP2 scans the two-dimensional code is improved, so that the two-dimensional code preview image 132 in the two-dimensional code preview frame 131 shown in fig. 1(i) is clearer. When the two-dimensional code identification is successful, the display interface 10 shown in fig. 1(j) and fig. 1(h) is entered in sequence.
In some embodiments, since the resolution of the two-dimensional code to be scanned is low, even if the display resolution of the instant messaging APP2 is improved by directly expanding the proportion of the display interface of the instant messaging APP2 on the screen of the mobile phone 100, the two-dimensional code still cannot be successfully identified.
Step 610: instant messenger APP2 sends a notification message of the success of the identification to display control module 105.
Step 611: the display control module 105 controls the display screen 102 to return to the screen splitting state before switching according to the received notification message that the identification is successful. For example, the proportion b of the display interface 12 of the instant messaging APP2 on the screen of the mobile phone 100 in the horizontal screen split mode shown in fig. 1(i) is reduced to the proportion a shown in fig. 1(b) before adjustment, so that the use of the video APP1 in the split screen mode is not affected.
Step 612: instant messaging APP2 sends a notification message of the failure to identify to resolution adjustment module 106. The resolution adjustment module 106 is informed to further improve the display resolution of the instant messaging APP2 in a preset resolution adjustment manner.
For example, in some embodiments, since the resolution of the two-dimensional code to be scanned is low, even if the display resolution of the instant messaging APP2 is improved by directly expanding the proportion of the display interface of the instant messaging APP2 on the screen of the mobile phone 100 in the horizontal split screen mode, the two-dimensional code still cannot be successfully identified.
Step 613: under the condition that the display resolution does not exceed the preset adjustment range, the resolution adjustment module 106 adjusts the display resolution of the instant messaging APP2 in the split screen mode according to the received notification message indicating that the identification fails, so as to further improve the display resolution of the instant messaging APP 2. For details, reference may be made to the related description in step 413 of the first embodiment, and details are not repeated here.
Step 614: the resolution adjustment module 106 sends a notification message of completing the resolution adjustment to the instant messaging APP2 to notify the instant messaging APP2 to continue scanning the two-dimensional code.
Step 615: and after receiving the notification message of the completion of the resolution adjustment, the instant messaging APP2 acquires a two-dimensional code image. It can be appreciated that the two-dimensional code image acquired here has an improved resolution compared to the two-dimensional code image acquired in step 607.
Step 616: the instant messaging APP2 identifies the two-dimensional code image acquired after the resolution is adjusted. After the instant messaging APP2 completes the recognition operation on the two-dimensional code image acquired after the resolution adjustment, the process proceeds to step 609.
In addition, it should be noted that, in the second embodiment, after the instant messaging APP2 used for split-screen display in the mobile phone 100 in the landscape screen state detects a corresponding trigger event, the mobile phone 100 is triggered to automatically expand the proportion of the display interface of the instant messaging APP2 on the screen of the mobile phone 100, and compress the proportion of the display interface of the video APP1 on the screen of the mobile phone 100 (the mobile phone still maintains the landscape screen split mode), so as to adjust the display resolution of the instant messaging APP2 as an example, and the technical solution of the present application is described in detail. Similarly, after the instant messenger APP2 split-screen for use in the mobile phone 100 in the vertical screen state detects a corresponding trigger event, the mobile phone 100 is triggered to automatically expand the occupation ratio of the display interface of the instant messenger APP2 on the screen of the mobile phone 100 and compress the occupation ratio of the display interface of the video APP1 on the screen of the mobile phone 100 (the mobile phone still maintains the horizontal screen split-screen mode), so that the processing procedure for adjusting the display resolution of the instant messenger APP2 is similar to the processing procedure in the horizontal screen state related to the second embodiment, and is not described again here.
EXAMPLE III
Taking as an example that after the instant messaging APP2 used for split-screen display in the mobile phone 100 in the landscape screen state detects the operation of the user, the mobile phone 100 is triggered to automatically switch to the mode in which the instant messaging APP2 monopolizes the screen in the portrait screen state, a technical solution of the present application is described in detail below. Specifically, after detecting a corresponding trigger event, the mobile phone 100 in the landscape screen splitting mode automatically switches to the screen exclusive mode of the instant messaging APP2 in the portrait screen state, and then after completing the task processing corresponding to the trigger event, the process of automatically switching back to the landscape screen splitting mode includes steps 701 to 716 shown in fig. 7. The flowchart shown in fig. 7 is similar to the flowchart shown in fig. 4 related to the first embodiment, and compared with the flowchart shown in fig. 4, the difference is only in step 705 and step 713 in the flowchart shown in fig. 7, and unlike step 405 and step 413 in the flowchart shown in fig. 4, only step 705 and step 713 are described in detail below:
step 705: the display control module 105 controls the display screen 102 to switch to the mode of monopolizing the screen by the instant messaging APP2 in the portrait screen state according to the received screen switching notification message.
For example, when the mobile phone 100 is in the horizontal split screen mode as shown in fig. 1(d), and the user clicks the "scan" control 126 in the display interface 12 of the instant messaging APP2, the display control module 105 is triggered to control the display screen 102 to switch to the exclusive screen mode of the instant messaging APP2 in the vertical screen state as shown in fig. 8 (a). Since the display resolution of the instant messaging APP2 when the screen is monopolized in the vertical screen state is greater than the display resolution in the horizontal screen split mode, compared with the preview image 152 of the two-dimensional code preview frame 121 in the horizontal screen split mode as shown in fig. 1(b), the two-dimensional code image 152 displayed in the two-dimensional code preview frame 151 as shown in fig. 8(a) is clearer, which means that the information of the captured two-dimensional code image is richer and the success rate of recognition is higher. If the identification is successful, the mobile phone 100 sequentially enters the interfaces shown in fig. 8(b) and fig. 8(c), and then automatically switches to the horizontal screen splitting mode shown in fig. 1(h) at preset intervals.
Step 713: if the current resolution does not exceed the preset adjustment range, the resolution adjustment module 106 adjusts the display resolution of the instant messaging APP2 in the exclusive screen mode in the portrait screen state according to the received notification message indicating the failure of identification.
For example, in some embodiments, when the display screen 102 of the mobile phone 100 is switched to the mode where the instant messaging APP2 monopolizes the screen in the vertical screen state as shown in fig. 8(a), and the scanning of the code still fails due to the low resolution of the scanned two-dimensional code itself, the display resolution of the instant messaging APP2 monopolizes the screen mode in the vertical screen state may be adjusted to further improve the display resolution of the instant messaging APP 2. For details, reference may be made to the related description in step 413 of the first embodiment, and details are not repeated here.
In addition, in the third embodiment, after the operation of the user is detected by the instant messaging APP2 used in the split screen of the mobile phone 100 in the horizontal screen state, the mobile phone 100 is triggered to automatically switch to the mode in which the instant messaging APP2 monopolizes the screen in the vertical screen state, which is described in detail in the technical solution of the present application. Similarly, after the instant messaging APP2 used for split-screen display in the mobile phone 100 in the portrait screen state detects the operation of the user, the processing procedure after triggering the mobile phone 100 to automatically switch to the mode in which the instant messaging APP2 monopolizes the screen in the portrait screen state is similar to the processing procedure in the third embodiment, and is not described again here.
The first to third embodiments are respectively taken as examples, and the application scenario of the mobile phone 100 in the landscape state is taken as an example, so that the applied technical scheme is described in detail. The following will also take the handset 100 as an example, and summarize the adaptive resolution adjustment scheme provided in the present application based on the analysis and introduction of the above embodiments. Specifically, as shown in fig. 9, the flowchart of the adaptive resolution adjustment scheme provided by the present application includes the following steps:
step 901: and switching the display mode of the screen under the condition that the trigger event is detected. For example, the trigger event is a trigger event of a task related to the display resolution generated in the instant messaging APP2 in the mobile phone 100 in an application scenario such as split screen or parallel view. Specifically, for example, as shown in fig. 1(c), after the user clicks the control 124 on the display interface 12 of the instant messenger APP2, the instant messenger APP2 pops up the pull-down menu 125 shown in fig. 1(d) in the display interface 12, where the pull-down menu includes a "scan" control 126, and after the user clicks the "scan" control 126, the instant messenger APP2 generates a trigger event of calling the camera 101 in response to the user clicking operation, and triggers the screen of the mobile phone 100 to switch from the horizontal screen splitting mode shown in fig. 1(d) to the instant messenger APP2 exclusive screen mode in the horizontal screen state shown in fig. 1 (e).
Step 902: after the screen switching is completed, processing of a task corresponding to the trigger event is performed.
For example, after the screen of the mobile phone 100 is switched from the horizontal split screen mode shown in fig. 1(d) to the exclusive screen mode of the instant messaging APP2 in the horizontal screen state shown in fig. 1(e), the processing of the scanning task corresponding to the trigger event of calling the camera 101 is executed. It can be understood that only the UI interface of the instant messaging APP2 is displayed in the display interface 10 of the mobile phone 100 after switching. In addition, as shown in fig. 1(e), the display resolution of the instant messenger APP2 in the horizontal screen state after switching is the same as the display resolution in the exclusive screen mode of the instant messenger APP2 before split screen. Because the display resolution of the same APP in the horizontal screen exclusive screen mode is greater than that in the horizontal screen split screen mode, and when the APP needs to acquire image information, the resolution of the acquired image is related to the display resolution of the APP. Therefore, after the mobile phone 100 switches from the horizontal screen split mode shown in fig. 1(d) to the horizontal screen state shown in fig. 1(e) in which the instant messaging APP2 monopolizes the screen mode, the display resolution of the instant messaging APP2 is improved, and when the instant messaging APP2 needs to scan a two-dimensional code, the resolution of the acquired two-dimensional code image is also improved, which is helpful for improving the success rate of two-dimensional code scanning.
Step 903: and judging whether the task corresponding to the trigger event is successfully processed, if so, indicating that the task corresponding to the trigger event is successfully processed, and entering a step 904, otherwise, entering a step 905.
Step 904: and restoring the screen to the display mode before switching.
For example, after the mobile phone 100 switches to the horizontal screen mode in which the instant messenger APP2 monopolizes the screen as shown in fig. 1(e), the display resolution of the instant messenger APP2 is improved, the resolution of the acquired image of the two-dimensional code is improved, and the two-dimensional code is successfully scanned, so that the screen of the mobile phone 100 returns to the horizontal screen split mode as shown in fig. 1 (h).
Step 905: and judging whether the adjustment range is within the preset adjustment range, if so, indicating that the adjustment range is within the preset adjustment range, and entering a step 906, otherwise, entering a step 904.
For example, after the mobile phone 100 switches to the horizontal screen mode in which the instant messaging APP2 monopolizes the screen, as shown in fig. 1(e), and the code scanning still fails, it is first determined whether the current display resolution of the instant messaging APP2 reaches the preset maximum resolution, if so, it indicates that the current display resolution of the instant messaging APP2 is the preset maximum resolution, and the screen of the mobile phone 100 is directly restored to the horizontal screen split mode as shown in fig. 1(h) without readjustment. If not, the current display resolution of the instant messaging APP2 is less than the preset maximum resolution, and the display resolution of the instant messaging APP2 can be further improved. For example, the mobile phone 100 may adjust the display resolution of the instant messaging APP within the preset adjustment times or within the preset resolution range by using a method similar to the method in step 413 described above, so as to further improve the display resolution of the instant messaging APP, thereby improving the success rate of code scanning.
Step 906: and adjusting the display resolution of the application corresponding to the trigger event.
For example, in some embodiments, in the case that the preset adjustment range is not exceeded, the display resolution of the instant messaging APP is adjusted by a method similar to the method in step 413, so as to further improve the display resolution of the instant messaging APP, thereby improving the success rate of code scanning.
Fig. 10 shows a hardware structure diagram of a mobile phone 100 according to an embodiment of the present application.
The mobile phone 100 can execute the display method provided by the embodiment of the application. In fig. 10, like parts have the same reference numerals. As shown in fig. 10, the mobile phone 100 may include a processor 110, a power module 140, a memory 180, a camera 101, a mobile communication module 130, a wireless communication module 120, a sensor module 190, an audio module 150, an interface module 160, a display screen 102, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the mobile phone 100. In other embodiments of the present application, the handset 100 may include more or fewer components than shown, or some components may be combined, some components may be separated, or a different arrangement of components may be used. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The Processor 110 may include one or more Processing units, for example, Processing modules or Processing circuits that may include a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a Digital Signal Processor (DSP), a Microprocessor (MCU), an Artificial Intelligence (AI) Processor, or a Programmable logic device (FPGA), and the like. The different processing units may be separate devices or may be integrated into one or more processors. For example, in some examples of the present application, the processor 110 may be used to determine whether there is currently a triggering event for a task related to the display resolution of the application. In some embodiments, the processor 110 controls the display mode of the screen of the mobile phone 100 to switch to improve the display resolution of the application when it is determined that the trigger event of the task related to the display resolution of the application currently exists. In some embodiments, the processor 110 adjusts the display resolution of the application within a preset range in the case that it is determined that the task processing related to the aforementioned trigger event in the application fails, so as to further improve the display resolution of the application, and further improve the success rate of the task processing related to the aforementioned trigger event.
Memory 180 may be used to store data, software programs, and modules, and may be a Volatile Memory (Volatile Memory), such as a Random-Access Memory (RAM); or a Non-Volatile Memory (Non-Volatile Memory), such as a Read-Only Memory (ROM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, HDD) or a Solid-State Drive (SSD); or a combination of the above types of memories, or may be a removable storage medium such as a Secure Digital (SD) memory card. In some embodiments of the application, the memory 180 is used to store various resolution parameters supported by the handset 100, including the maximum resolution.
The power module 140 may include a power supply, power management components, and the like. The power source may be a battery. The power management component is used for managing the charging of the power supply and the power supply of the power supply to other modules. The charging management module is used for receiving charging input from the charger; the power management module is used for connecting a power supply, the charging management module and the processor 110.
The mobile communication module 130 may include, but is not limited to, an antenna, a power amplifier, a filter, a Low Noise Amplifier (LNA), and the like. The mobile communication module 130 can provide a solution including wireless communication of 2G/3G/4G/5G and the like applied to the handset 100. The mobile communication module 130 may receive electromagnetic waves from the antenna, filter, amplify, etc. the received electromagnetic waves, and transmit the electromagnetic waves to the modem processor for demodulation. The mobile communication module 130 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 130 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 130 may be disposed in the same device as at least some of the modules of the processor 110.
The wireless communication module 120 may include an antenna, and implement transceiving of electromagnetic waves via the antenna. The Wireless Communication module 120 may provide solutions for Wireless Communication applied to the mobile phone 100, including Wireless Local Area Networks (WLANs) (e.g., Wireless Fidelity (Wi-Fi) network), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The handset 100 may communicate with a network and other devices via wireless communication techniques.
In some embodiments, the mobile communication module 130 and the wireless communication module 120 of the handset 100 may also be located in the same module.
The camera 101 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element converts the optical Signal into an electrical Signal, and then transmits the electrical Signal to an ISP (Image Signal Processor) to be converted into a digital Image Signal. The mobile phone 100 can implement a shooting function through an ISP, a camera 101, a video codec, a GPU (graphics Processing Unit), a display screen 102, an application processor, and the like. For example, in some embodiments of the present application, the camera 101 is used to acquire a face image and a two-dimensional code image, and is used for the mobile phone 100 to perform face recognition, two-dimensional code recognition, and the like. When the camera 101 collects an image, the resolution of the collected image is related to the display resolution of the application program calling the camera 101. Therefore, when the mobile phone 100 executes the technical solution of the present application, so that the display resolution of the application program is improved, and the application program calls the camera 101 to perform image acquisition, the resolution of the acquired image is also improved, thereby improving the success rate of the application program in processing operations such as face recognition and image recognition.
The display screen 102 includes a display panel. The Display panel may be a Liquid Crystal Display (LCD), an Organic Light-emitting Diode (OLED), an Active matrix Organic Light-emitting Diode (Active-matrix Organic Light-emitting Diode, AMOLED), a flexible Light-emitting Diode (FLED), a Mini LED, a Micro OLED, a Quantum Dot Light-emitting Diode (QLED), or the like. For example, the display screen 102 is used to display each UI interface in the modes of split screen, parallel view, single APP exclusive screen, and the like of the mobile phone 100 in the landscape/portrait state.
The sensor module 190 may include a proximity light sensor, a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
The audio module 150 may convert digital audio information into an analog audio signal output or convert an analog audio input into a digital audio signal. The audio module 150 may also be used to encode and decode audio signals. In some embodiments, the audio module 150 may be disposed in the processor 110, or some functional modules of the audio module 150 may be disposed in the processor 110.
The interface Module 160 includes an external memory interface, a Universal Serial Bus (USB) interface, a Subscriber Identity Module (SIM) card interface, and the like. The external memory interface may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability of the mobile phone 100. The external memory card communicates with the processor 110 through an external memory interface to implement a data storage function. The usb interface is used for the handset 100 to communicate with other handsets. The SIM card interface is used to communicate with a SIM card attached to the handset 100, for example to read a telephone number stored in the SIM card or to write a telephone number into the SIM card.
In some embodiments, the handset 100 also includes keys, motors, indicators, and the like. The keys may include a volume key, an on/off key, and the like. The motor is used to create a vibration effect to the handpiece 100. The indicators may include laser indicators, radio frequency indicators, LED indicators, and the like.
Embodiments of the mechanisms disclosed herein may be implemented in hardware, software, firmware, or a combination of these implementations. Embodiments of the application may be implemented as computer programs or program code executing on programmable systems comprising at least one processor, a storage system (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device.
Program code may be applied to input instructions to perform the functions described herein and generate output information. The output information may be applied to one or more output devices in a known manner. For purposes of this Application, a processing system includes any system having a Processor such as, for example, a Digital Signal Processor (DSP), a microcontroller, an Application Specific Integrated Circuit (ASIC), or a microprocessor.
The program code may be implemented in a high level procedural or object oriented programming language to communicate with a processing system. The program code can also be implemented in assembly or machine language, if desired. Indeed, the mechanisms described in this application are not limited in scope to any particular programming language. In any case, the language may be a compiled or interpreted language. In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried by or stored on one or more transitory or non-transitory machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed via a network or via other computer readable media. Thus, a machine-readable medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including, but not limited to, floppy diskettes, optical disks, Read-Only memories (CD-ROMs), magneto-optical disks, Read-Only memories (ROMs), Random Access Memories (RAMs), Erasable Programmable Read-Only memories (EPROMs), Electrically Erasable Programmable Read-Only memories (EEPROMs), magnetic or optical cards, flash Memory, or tangible machine-readable memories for transmitting information (e.g., carrier waves, infrared digital signals, etc.) using the Internet to transmit information in an electrical, optical, acoustical or other form of propagated signals. Thus, a machine-readable medium includes any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a form readable by a machine (e.g., a computer).
In addition, the technical solution of the present application also provides a computer-readable storage medium, on which instructions are stored, and when the instructions are executed on the electronic device 100, the electronic device 100 executes the display method provided in the technical solution of the present application.
In addition, the technical scheme of the application also provides a computer program product, which comprises instructions used for realizing the display method provided by the technical scheme of the application.
In addition, the technical scheme of this application still provides a chip device, and the chip device includes: a communication interface for inputting and/or outputting information; and the processor is used for executing the computer executable program so that the equipment provided with the chip device executes the display method provided by the technical scheme of the application.
In the drawings, some features of the structures or methods may be shown in a particular arrangement and/or order. However, it is to be understood that such specific arrangement and/or ordering may not be required. Rather, in some embodiments, the features may be arranged in a manner and/or order different from that shown in the illustrative figures. In addition, the inclusion of a structural or methodical feature in a particular figure is not meant to imply that such feature is required in all embodiments, and in some embodiments, may not be included or may be combined with other features.
It should be noted that, in the embodiments of the apparatuses in the present application, each unit/module is a logical unit/module, and physically, one logical unit/module may be one physical unit/module, or may be a part of one physical unit/module, and may also be implemented by a combination of multiple physical units/modules, where the physical implementation manner of the logical unit/module itself is not the most important, and the combination of the functions implemented by the logical unit/module is the key to solve the technical problem provided by the present application. Furthermore, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units/modules which are not so closely related to solve the technical problems presented in the present application, which does not indicate that no other units/modules exist in the above-mentioned device embodiments.
It is noted that, in the examples and descriptions of this patent, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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, the use of the verb "comprise a" to define an element does not exclude the presence of another, same element in a process, method, article, or apparatus that comprises the element.
While the present application has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present application.

Claims (12)

1. A display method, comprising:
the electronic device is displayed with a first interface and a second interface, wherein the first interface has a first resolution;
when detecting that a trigger event needing to adjust the resolution ratio is generated in the first interface, the electronic equipment adjusts the display resolution ratio of the first interface from a first resolution ratio to a second resolution ratio, wherein the second resolution ratio is larger than the first resolution ratio.
2. The method of claim 1, wherein the electronic device adjusts the display resolution of the first interface from a first resolution to a second resolution by:
and the electronic equipment enlarges the screen occupation ratio of the first interface and reduces the screen occupation ratio of the second display interface.
3. The method of claim 2, wherein the electronic device adjusts the display resolution of the first interface from a first resolution to a second resolution by:
the electronic device enlarges the screen occupation ratio of the first interface to 100%.
4. The method of any of claims 1 to 3, further comprising:
and when determining that the task processing corresponding to the trigger event is finished, the electronic equipment displays the first interface and the second interface, and adjusts the display resolution of the first interface from the second resolution to the first resolution, wherein the task processing corresponding to the trigger event is related to the second resolution.
5. The method of any of claims 1 to 3, further comprising:
the method comprises the steps that when the electronic equipment determines that task processing corresponding to a trigger event fails, the display resolution of a first interface is adjusted from a second resolution to a third resolution within a preset adjustment range, wherein the third resolution is larger than the second resolution; and the number of the first and second electrodes,
the electronic equipment executes task processing corresponding to the trigger event, wherein the task processing corresponding to the trigger event is related to the third resolution.
6. The method of claim 5, wherein the adjusting the display resolution of the first interface from the second resolution to a third resolution within a preset adjustment range comprises:
within preset adjusting times, adjusting the display resolution of the first interface from the second resolution to a third resolution; alternatively, the first and second electrodes may be,
and adjusting the display resolution of the first interface from the second resolution to a third resolution within a preset resolution range.
7. The method of claim 5 or 6, further comprising:
and if the preset adjustment range is exceeded, the electronic equipment displays the first interface and the second interface, and adjusts the display resolution of the first interface from the third resolution to the first resolution.
8. The method of any one of claims 1 to 7, wherein the first interface and the second interface are display interfaces of a same application, or wherein the first interface and the second interface are display interfaces of different applications.
9. A computer-readable storage medium having stored thereon instructions that, when executed on an electronic device, cause the electronic device to perform the method of any of claims 1-8.
10. A computer program product, characterized in that it comprises instructions for implementing the method according to any one of claims 1-8.
11. A chip arrangement, the chip arrangement comprising:
a communication interface for inputting and/or outputting information;
a processor for executing a computer executable program for causing a device on which the chip arrangement is installed to perform the method of any one of claims 1-8.
12. An electronic device, comprising:
a memory for storing instructions for execution by one or more processors of the electronic device, an
A processor for performing the method of any one of claims 1-8 when the instructions are executed by one or more processors.
CN202110785859.8A 2021-07-12 2021-07-12 Display method, medium, chip device and electronic equipment Active CN113641326B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211248388.8A CN115826902A (en) 2021-07-12 2021-07-12 Display method, medium, program product, chip device, and electronic apparatus
CN202110785859.8A CN113641326B (en) 2021-07-12 2021-07-12 Display method, medium, chip device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110785859.8A CN113641326B (en) 2021-07-12 2021-07-12 Display method, medium, chip device and electronic equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202211248388.8A Division CN115826902A (en) 2021-07-12 2021-07-12 Display method, medium, program product, chip device, and electronic apparatus

Publications (2)

Publication Number Publication Date
CN113641326A true CN113641326A (en) 2021-11-12
CN113641326B CN113641326B (en) 2022-11-01

Family

ID=78417085

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110785859.8A Active CN113641326B (en) 2021-07-12 2021-07-12 Display method, medium, chip device and electronic equipment
CN202211248388.8A Pending CN115826902A (en) 2021-07-12 2021-07-12 Display method, medium, program product, chip device, and electronic apparatus

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202211248388.8A Pending CN115826902A (en) 2021-07-12 2021-07-12 Display method, medium, program product, chip device, and electronic apparatus

Country Status (1)

Country Link
CN (2) CN113641326B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105138302A (en) * 2015-08-24 2015-12-09 深信服网络科技(深圳)有限公司 Screen splitting display method and device
US20170140507A1 (en) * 2015-11-13 2017-05-18 International Business Machines Corporation Optimizing electronic display resolution
CN106775304A (en) * 2016-12-01 2017-05-31 广州三星通信技术研究有限公司 The adaptively method and apparatus at display input method interface
CN108920064A (en) * 2018-07-10 2018-11-30 Oppo广东移动通信有限公司 Split screen window adjusting method, device, storage medium and electronic equipment
CN109471570A (en) * 2018-10-01 2019-03-15 魏新成 The method and system of two dimensional code barcode scanning operation is directly carried out in mobile-phone payment child window
EP3493042A1 (en) * 2012-09-24 2019-06-05 Samsung Electronics Co., Ltd. Method and apparatus for executing applications in a touch device
CN109917956A (en) * 2019-02-22 2019-06-21 华为技术有限公司 It is a kind of to control the method and electronic equipment that screen is shown
CN111176506A (en) * 2019-12-25 2020-05-19 华为技术有限公司 Screen display method and electronic equipment
CN112015323A (en) * 2020-07-26 2020-12-01 王亚鹏 Intelligent terminal application program screen capture control method and device based on AR
CN112130742A (en) * 2019-06-25 2020-12-25 华为技术有限公司 Full screen display method and device of mobile terminal
CN112486386A (en) * 2020-11-30 2021-03-12 维沃移动通信有限公司 Screen projection method, screen projection device, electronic equipment and readable storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3493042A1 (en) * 2012-09-24 2019-06-05 Samsung Electronics Co., Ltd. Method and apparatus for executing applications in a touch device
CN105138302A (en) * 2015-08-24 2015-12-09 深信服网络科技(深圳)有限公司 Screen splitting display method and device
US20170140507A1 (en) * 2015-11-13 2017-05-18 International Business Machines Corporation Optimizing electronic display resolution
CN106775304A (en) * 2016-12-01 2017-05-31 广州三星通信技术研究有限公司 The adaptively method and apparatus at display input method interface
CN108920064A (en) * 2018-07-10 2018-11-30 Oppo广东移动通信有限公司 Split screen window adjusting method, device, storage medium and electronic equipment
CN109471570A (en) * 2018-10-01 2019-03-15 魏新成 The method and system of two dimensional code barcode scanning operation is directly carried out in mobile-phone payment child window
CN109917956A (en) * 2019-02-22 2019-06-21 华为技术有限公司 It is a kind of to control the method and electronic equipment that screen is shown
CN112130742A (en) * 2019-06-25 2020-12-25 华为技术有限公司 Full screen display method and device of mobile terminal
CN111176506A (en) * 2019-12-25 2020-05-19 华为技术有限公司 Screen display method and electronic equipment
CN112015323A (en) * 2020-07-26 2020-12-01 王亚鹏 Intelligent terminal application program screen capture control method and device based on AR
CN112486386A (en) * 2020-11-30 2021-03-12 维沃移动通信有限公司 Screen projection method, screen projection device, electronic equipment and readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
周锋: "浅析铁路客专调度所大屏幕显示系统的建设方案", 《铁道通信信号》 *
姚恒传等: "基于VC的船舶监控界面显示分辨率自适应方法", 《上海船舶运输科学研究所学报》 *

Also Published As

Publication number Publication date
CN113641326B (en) 2022-11-01
CN115826902A (en) 2023-03-21

Similar Documents

Publication Publication Date Title
WO2021013158A1 (en) Display method and related apparatus
WO2021129326A1 (en) Screen display method and electronic device
AU2013264497B2 (en) Multiple display method with multiple communication terminals, machine-readable storage medium and communication terminal
US9594496B2 (en) Method and apparatus for playing IM message
KR101770529B1 (en) Two-dimensional code recognition method and apparatus
WO2021063090A1 (en) Method for establishing application combination, and electronic device
CN110569094B (en) Display method and electronic equipment
CN108388671B (en) Information sharing method and device, mobile terminal and computer readable medium
CN111149103A (en) Electronic device
CN116360725B (en) Display interaction system, display method and device
CN112068762A (en) Interface display method, device, equipment and medium of application program
US20220343056A1 (en) Method for loading image and electronic device
CN112770059B (en) Photographing method and device and electronic equipment
CN111656347B (en) Project display method and terminal
CN113641326B (en) Display method, medium, chip device and electronic equipment
CN116708958B (en) Motor control method and electronic equipment
CN108124098B (en) Electronic device and method for auto-focusing
CN116028148A (en) Interface processing method and device and electronic equipment
CN116700477A (en) Display method and electronic equipment
CN112306314B (en) Interface display method and electronic equipment
KR20190018280A (en) Mobile terminal and method for obtaining high dynamic range image using the same
CN115686405A (en) Display method and electronic equipment
CN111290672A (en) Image display method and device, storage medium and terminal
CN116916093B (en) Method for identifying clamping, electronic equipment and storage medium
WO2024027504A1 (en) Application display method and electronic device

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230905

Address after: 201306 building C, No. 888, Huanhu West 2nd Road, Lingang New Area, Pudong New Area, Shanghai

Patentee after: Shanghai Glory Smart Technology Development Co.,Ltd.

Address before: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee before: Honor Device Co.,Ltd.