CN104571979A - Method and device for realizing split-screen views - Google Patents

Method and device for realizing split-screen views Download PDF

Info

Publication number
CN104571979A
CN104571979A CN201310468851.4A CN201310468851A CN104571979A CN 104571979 A CN104571979 A CN 104571979A CN 201310468851 A CN201310468851 A CN 201310468851A CN 104571979 A CN104571979 A CN 104571979A
Authority
CN
China
Prior art keywords
screen
application program
display
current
state
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
CN201310468851.4A
Other languages
Chinese (zh)
Other versions
CN104571979B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310468851.4A priority Critical patent/CN104571979B/en
Publication of CN104571979A publication Critical patent/CN104571979A/en
Application granted granted Critical
Publication of CN104571979B publication Critical patent/CN104571979B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1431Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display using a single graphics controller
    • 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)
  • Computer Graphics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a method and device for realizing split-screen views. The method comprises the following steps: obtaining the split-screen state of the current screen of an operating system; loading the display data of an application program matched with the split-screen state of the current screen; carrying out page display of the application program by using the display data. As the display data of the application program used by the page display of the application program is the display data of the application program matched with the split-screen state of the current screen, the page display can support the split-screen features, and consumer application is facilitated.

Description

Method and device for realizing split screen view
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for realizing split screen view.
Background
The Windows8 operating system has many new features, one of which is split screen. In Windows8, Metro (type-based design language) App (Application) can be displayed in various forms. The default is full screen display, and the user can drag the App to freely convert split screens.
Currently, Metro Apps do not specifically support split screens, and the Apps are displayed under the split screens, and only the interfaces of the APPs are zoomed. And then show App by scroll bar. The method adopting the zooming interface has the following problems: the elements are displayed disorderly, and the operation of a user is inconvenient. Although the entire interface can be browsed and operated through the scroll bar. These apps are not able to adapt to split screens, but rather leave the resolution of the screen to change to enable App display.
In addition, some apps, such as applications in application stores, etc., process split screens, but simply use pictures to adapt the split screens. When a user cuts the App to split screens, the App replaces the original App display with the full split screen of a specific picture, and the problem of App display caused by resolution change is solved. From the implementation steps, such App solves the problem of disordered element arrangement caused by split screen. However, in this way, the original App interface is replaced by pictures, and the characteristic of split screen on Windows is actually changed by castration. Under split screen, the user cannot complete any function through such App. It can only be switched back to full screen if it needs to be operated. This does not reflect the applicability of apps to multiple scenarios.
Therefore, in the face of the split screen feature of Windows8, the current App cannot support the split screen feature, and the user is also very inconvenient to use.
Disclosure of Invention
The embodiment of the invention provides a method and a device for realizing split screen view, which are used for supporting the split screen characteristic.
A method of implementing a split screen view, comprising:
acquiring the split screen state of the current screen of an operating system;
loading display data of an application program adaptive to the split screen state of the current screen;
and displaying the page of the application program by using the display data.
An apparatus for implementing a split screen view, comprising:
the state acquisition unit is used for acquiring the split screen state of the current screen of the operating system;
the data loading unit is used for loading display data of the application program adaptive to the split screen state of the current screen acquired by the state acquisition unit;
and the display unit is used for displaying the page of the application program by using the display data loaded by the data loading unit.
According to the technical scheme, the embodiment of the invention has the following advantages: the method comprises the steps of obtaining the split screen state of the current screen, loading display data of an application program matched with the split screen state of the current screen, and displaying the page of the application program by using the display data. Since the display data used for displaying the page of the application is the display data of the application adapted to the split state of the current screen, the split characteristic can be supported by the display of the page. Thereby facilitating the use of the user.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic flow chart of a method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a method according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a terminal structure according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a method for realizing split screen view, which comprises the following steps as shown in figure 1:
101: acquiring the split screen state of the current screen of an operating system;
optionally, the embodiment of the present invention further provides an optional implementation manner for obtaining the split screen state of the current screen of the operating system, and it should be noted that there may be many ways for obtaining the split screen state of the current screen of the operating system, for example, it is feasible that the APP actively obtains the split screen state or the operating system actively reports the split screen state to the APP, and the following embodiment of the present invention provides an optional implementation manner as follows: the acquiring of the split screen state of the current screen of the operating system includes: receiving and executing an instruction for changing the screen splitting state of the current screen of the operating system, and acquiring the screen splitting state of the current screen of the operating system after the screen splitting state of the current screen of the operating system is fixed; or receiving and executing an instruction for changing the size of the current window of the application program, and acquiring the split screen state of the current screen of the operating system after the size of the window of the application program is fixed.
In the above embodiment, two trigger conditions for acquiring the split screen state of the current screen of the operating system are provided: the former is an instruction to change the split screen state of the current screen of the system, and the latter is an instruction to change the current window size of the application program.
Optionally, the split screen state of the current screen includes: 1/4 screen, 1/2 screen, 3/4 screen, or full screen, i.e., the current application occupies 1/4 area, 1/2 area, 3/4 area, or the full area of the operating system screen. The Windows8 system mainly supports four modes of 1/4 screen, 1/2 screen, 3/4 screen and full screen. In addition, the split screen state may be changed in practice, for example, one or more of 1/8 screen, 3/8 screen, 4/8 screen, 5/8 screen and 7/8 screen are added, so that the split screen state is not limited in the embodiment of the present invention.
102: loading display data of an application program adaptive to the split screen state of the current screen;
optionally, the embodiment of the present invention further provides options for displaying data of three applications, as follows:
if the split screen state of the current screen is 1/4 screens and the display items in the page are more than the first predetermined number, the loading the display data of the application program adapted to the split screen state of the current screen comprises: and loading display data of the application program with the display item of the tree structure.
In this embodiment, the display items may also be referred to as display elements or sub-elements of a page, and all represent items that need to be displayed in the page, and their specific names do not affect the expression of their technical meaning. The first predetermined number is generally a larger number that is set as a non-limiting number of embodiments of the present invention, such as: the number of friends in the instant messaging software, and the corresponding display element may be an icon or name of the head portrait of the friend or may further include an Identity (Identity). The tree-like structure is adopted to control the display, so that more display items can be accommodated, and the tree-like structure can be better adapted to a narrow display interface of 1/4 screens.
If the split screen state of the current screen is 1/4 screens and the display items in the page are less than a second predetermined number, the loading the display data of the application program adapted to the split screen state of the current screen comprises: and loading display data of the application program with the display items vertically arranged.
In this embodiment, the second predetermined number is generally a smaller number, and the second predetermined number is smaller than the first predetermined number, which is not limited as to how many embodiments of the present invention are set, for example: the number of groups, the number of dynamic states, the number of sessions and the like in the instant messaging software. Then the corresponding display element may be: the group's avatar icon, name, or may also contain a registration ID (Identity); can be as follows: dynamic publisher, dynamic content, etc.; the method can also be as follows: participants of the session, content of the session, etc. Because the number of the display screens is relatively small, the display can be controlled directly in a vertical arrangement mode, and the display screens can be well adapted to a narrow display interface of 1/4 screens.
If the split screen state of the current screen is 3/4 screens, loading display data of the application program adapted to the split screen state of the current screen comprises: and loading display data of the application program for displaying the new width and height set value of the display element with the width and height proportion larger than the preset value in the item.
In this embodiment, if the 3/4 screen is displayed by using the display data of the original application program, the predetermined value may be defined according to actual conditions, in order to distinguish whether a display abnormality occurs when the screen 3/4 is displayed by using the display data of the original application program, and the specific value is not limited in the embodiment of the present invention. In the embodiment, the display data of the application program which is possibly abnormal is displayed by using the display data of the original application program in the 3/4 screen, so that the display data can be adapted to the 3/4 screen.
The above three optional adaptation schemes can be applied to display pages of various APPs, and the APP types are not limited in the embodiments of the present invention. In the following embodiments, the APP is taken as an example of the instant messaging software for illustration, it should be noted that the APP has a variety, and the application scenario of the instant messaging should not be understood as the only limitation to the embodiments of the present invention.
103: and displaying the page of the application program by using the display data.
In this step, the display data of the application is information for page display so that the currently displayed page is adapted to the split screen state of the current screen. Therefore, the display data of the application program may be page data, or indicative information or control information of the control page, and the display data of the application program may have any function as long as the function of adapting the currently displayed page to the split-screen state of the current screen is provided, and the specific representation form of the display data of the application program is not limited in the embodiment of the present invention.
In the above embodiment, the page of the application program is displayed by acquiring the split screen state of the current screen and loading the display data of the application program adapted to the split screen state of the current screen. Since the display data of the application program used for displaying the page of the application program is the display data of the application program adapted to the split screen state of the current screen, the split screen characteristic can be supported by the display of the page. Thereby facilitating the use of the user.
The embodiment of the invention provides a split-screen display scheme which is based on the analysis of the characteristics of each page and is corresponding to the page. The scheme can enable a user to naturally switch from one scene to another scene. Rather than feeling that the App has simply been a harsh fit. The following takes the interface display of the instant messaging software as an example, and specifically includes the following steps:
the interface of the instant messaging software of Win8 is mainly divided into four large pages, contact, conversation, group and dynamic. Therefore, the example of the present embodiment mainly performs split screen adaptation on the four large page characteristics.
The contact page is mainly used for showing a large number of friends, and the showing mode can be a grid-shaped showing mode in a full screen. However, at 1/4, the screen is instead presented in a tree-like format in the present embodiment, due to the limited screen size. More specifically: only one grouping of buddies is presented at a time.
Because the number of the sub-elements in the page is generally far less than the number of friends in the contact page, the sub-elements of the group, the session and the dynamic page can be displayed in a vertical arrangement mode according to the characteristic of the narrow and long screen 1/4.
In addition to adapting the 1/4 screen, the interface of Win8 instant messaging software was modified from 3/4. Since the 3/4 screen has a small display scale and full screen, but to prevent certain elements from layout problems (e.g., certain elements are particularly long), it is adapted in the embodiment of the present invention to shorten the width of certain elements, and so on.
Referring to fig. 2, the specific logic flow includes the following steps:
201: the interface screen size of the Win8 instant messaging software is firstly displayed according to a default interface, and is generally displayed in a full screen by default.
202: the user changes the size of the screen by dragging. When the size is fixed, an event is thrown, and the Win8 is informed that the size of the interface screen of the instant messaging software has been changed.
203: judging which state the current screen is in (1/4 screen, 3/4 screen and full screen), if 1/4 screen, entering 204, if 3/4 screen, entering 206, and if full screen, entering 208.
204: an adapted 1/4 screen;
205: 1/4, and enters 202;
206: an adapted 3/4 screen;
207: 3/4, and enters 202;
208: fit full screen and proceed to 201.
The technical goals of 204, 206 and 208 above are: and loading different display schemes for each page according to different states to achieve the adaptive effect. The following 205, 207 and 201 are the pages after the adaptation.
Through the technical scheme in the embodiment of the invention, the user can experience App in various split screen sizes very smoothly. The multiple apps can be conveniently operated under one screen, and the new characteristics brought to the user by the Windows8 can be enjoyed.
An embodiment of the present invention further provides a device for implementing a split screen view, as shown in fig. 3, including:
a state obtaining unit 301, configured to obtain a split screen state of a current screen of an operating system;
a data loading unit 302, configured to load display data of an application program adapted to the screen splitting state of the current screen acquired by the state acquiring unit 301;
a display unit 303, configured to display a page of an application program by using the display data loaded by the data loading unit 302.
Among the data used by the display unit 303, the display data of the application is information for page display to adapt a currently displayed page to the split screen state of the current screen. Therefore, the display data of the application program may be page data, or indicative information or control information of the control page, and the display data of the application program may have any function as long as the function of adapting the currently displayed page to the split-screen state of the current screen is provided, and the specific representation form of the display data of the application program is not limited in the embodiment of the present invention.
In the above embodiment, the page of the application program is displayed by acquiring the split screen state of the current screen and loading the display data of the application program adapted to the split screen state of the current screen. Since the display data of the application program used for displaying the page of the application program is the display data of the application program adapted to the split screen state of the current screen, the split screen characteristic can be supported by the display of the page. Thereby facilitating the use of the user.
Optionally, the embodiment of the present invention further provides an optional implementation manner for obtaining the split screen state of the current screen of the operating system, and it should be noted that there may be many ways for obtaining the split screen state of the current screen of the operating system, for example, it is feasible that the APP actively obtains the split screen state or the operating system actively reports the split screen state to the APP, and the following embodiment of the present invention provides an optional implementation manner as follows: as shown in fig. 4, the state acquiring unit 301 includes:
a screen control unit 401, configured to receive and execute an instruction to change a split screen state of a current screen of an operating system; or receiving and executing an instruction for changing the size of the current window of the application program;
an obtaining subunit 402, configured to obtain a split screen state of a current screen of the operating system after the screen control unit 401 executes an instruction for changing the current split screen state of the operating system and the split screen state is fixed; alternatively, after the screen control unit 401 executes an instruction to change the size of the current window of the application program and the size of the window of the application program is fixed, the split screen state of the current screen of the operating system is acquired.
Optionally, the state obtaining unit 301 is specifically configured to obtain the split screen state of the current screen of the operating system as follows: 1/4 screen, 1/2 screen, 3/4 screen, or full screen.
At present, the Windows8 mainly pays out three modes of 1/4 screen, 3/4 screen and full screen, and the split screen state can be actually changed, for example, one or more of 1/8 screen, 3/8 screen, 4/8 screen, 5/8 screen and 7/8 screen are added, and the like, which is theoretically possible, so that the split screen state is not limited by the embodiment of the invention.
Optionally, the embodiment of the present invention further provides options for displaying data of three applications, as follows:
optionally, the data loading unit 302 is configured to load display data of an application program whose display item is in a tree structure if the split screen state of the current screen is 1/4 screens and the display item in the page is more than a first predetermined number.
In this embodiment, the display items may also be referred to as display elements or sub-elements of a page, and all represent items that need to be displayed in the page, and their specific names do not affect the expression of their technical meaning. The first predetermined number is generally a larger number that is set as a non-limiting number of embodiments of the present invention, such as: the number of friends in the instant messaging software, and the corresponding display element may be an icon or name of the head portrait of the friend or may further include an Identity (Identity). The tree-like structure is adopted to control the display, so that more display items can be accommodated, and the tree-like structure can be better adapted to a narrow display interface of 1/4 screens.
Optionally, the data loading unit 302 is configured to load the display data of the application program with the display item vertically arranged if the split screen state of the current screen is 1/4 screens and the display item in the page is less than a second predetermined number.
In this embodiment, the second predetermined number is generally a smaller number, and the second predetermined number is smaller than the first predetermined number, which is not limited as to how many embodiments of the present invention are set, for example: the number of groups, the number of dynamic states, the number of sessions and the like in the instant messaging software. Then the corresponding display element may be: the group's avatar icon, name, or may also contain a registration ID (Identity); can be as follows: dynamic publisher, dynamic content, etc.; the method can also be as follows: participants of the session, content of the session, etc. Because the number of the display screens is relatively small, the display can be controlled directly in a vertical arrangement mode, and the display screens can be well adapted to a narrow display interface of 1/4 screens.
Optionally, the data loading unit 302 is configured to load display data of an application program for displaying a new aspect setting value of a display element with an aspect ratio larger than a predetermined value in an item if the split state of the current screen is 3/4 screens.
In this embodiment, if the 3/4 screen is displayed by using the display data of the original application program, the predetermined value may be defined according to actual conditions, in order to distinguish whether a display abnormality occurs when the screen 3/4 is displayed by using the display data of the original application program, and the specific value is not limited in the embodiment of the present invention. In the embodiment, the display data of the application program which is possibly abnormal is displayed by using the display data of the original application program in the 3/4 screen, so that the display data can be adapted to the 3/4 screen.
The above three optional adaptation schemes can be applied to display pages of various APPs, and the APP types are not limited in the embodiments of the present invention. In the following embodiments, the APP is taken as an example of the instant messaging software for illustration, it should be noted that the APP has a variety, and the application scenario of the instant messaging should not be understood as the only limitation to the embodiments of the present invention.
An embodiment of the present invention further provides a device for implementing a split screen view, as shown in fig. 5, for convenience of description, only a portion related to the embodiment of the present invention is shown, and details of the specific technology are not disclosed, please refer to a method portion of the embodiment of the present invention. The device takes a terminal as an example, the terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, and the like, and takes the terminal as the mobile phone:
fig. 5 is a block diagram illustrating a partial structure of a mobile phone related to a terminal provided in an embodiment of the present invention. Referring to fig. 5, the handset includes: radio Frequency (RF) circuit 510, memory 520, input unit 530, display unit 540, sensor 550, audio circuit 560, wireless fidelity (WiFi) module 570, processor 580, and power supply 590. Those skilled in the art will appreciate that the handset configuration shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 5:
RF circuit 510 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for processing downlink information of a base station after receiving the downlink information to processor 580; in addition, the data for designing uplink is transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 50 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 520 may be used to store software programs and modules, and the processor 580 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 520. The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 500. Specifically, the input unit 530 may include a touch panel 531 and other input devices 532. The touch panel 531, also called a touch screen, can collect touch operations of a user on or near the touch panel 531 (for example, operations of the user on or near the touch panel 531 by using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 531 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 580, and can receive and execute commands sent by the processor 580. In addition, the touch panel 531 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 530 may include other input devices 532 in addition to the touch panel 531. In particular, other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 540 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The Display unit 540 may include a Display panel 541, and optionally, the Display panel 541 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-emitting diode (OLED), or the like. Further, the touch panel 531 may cover the display panel 541, and when the touch panel 531 detects a touch operation on or near the touch panel 531, the touch panel is transmitted to the processor 580 to determine the type of the touch event, and then the processor 580 provides a corresponding visual output on the display panel 541 according to the type of the touch event. Although the touch panel 531 and the display panel 541 are shown as two separate components in fig. 5 to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 531 and the display panel 541 may be integrated to implement the input and output functions of the mobile phone.
Cell phone 500 can also include at least one sensor 550, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 541 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 541 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and tapping) and the like, and can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor and the like, which are not described herein again.
Audio circuitry 560, speaker 561, and microphone 562 may provide an audio interface between a user and a cell phone. The audio circuit 560 may transmit the electrical signal converted from the received audio data to the speaker 561, and convert the electrical signal into a sound signal by the speaker 561 for output; on the other hand, the microphone 562 converts the collected sound signals into electrical signals, which are received by the audio circuit 560 and converted into audio data, which are then processed by the audio data output processor 580, and then passed through the RF circuit 510 to be sent to, for example, another cellular phone, or output to the memory 520 for further processing.
WiFi belongs to short distance wireless transmission technology, and the mobile phone can help the user to send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 570, which provides wireless broadband internet access for the user. Although fig. 5 shows the WiFi module 570, it is understood that it does not belong to the essential constitution of the handset 500, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 580 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 520 and calling data stored in the memory 520, thereby performing overall monitoring of the mobile phone. Alternatively, processor 580 may include one or more processing units; preferably, the processor 580 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 580.
Handset 500 also includes a power supply 590 (e.g., a battery) for powering the various components, which may preferably be logically coupled to processor 580 via a power management system that may be used to manage charging, discharging, and power consumption.
Although not shown, the mobile phone 500 may further include a camera, a bluetooth module, etc., which are not described herein.
In the embodiment of the present invention, the processor 580 included in the terminal further has the following functions:
acquiring the split screen state of the current screen of an operating system; loading display data of an application program adaptive to the split screen state of the current screen; the control display unit 540 performs page display of the application program using the above display data.
In the data used by the display unit 540 of the present embodiment, the display data of the application is information for page display to adapt the currently displayed page to the split screen state of the current screen. Therefore, the display data of the application program may be page data, or indicative information or control information of the control page, and the display data of the application program may have any function as long as the function of adapting the currently displayed page to the split-screen state of the current screen is provided, and the specific representation form of the display data of the application program is not limited in the embodiment of the present invention.
In the above embodiment, the page of the application program is displayed by acquiring the split screen state of the current screen and loading the display data of the application program adapted to the split screen state of the current screen. Since the display data of the application program used for displaying the page of the application program is the display data of the application program adapted to the split screen state of the current screen, the split screen characteristic can be supported by the display of the page. Thereby facilitating the use of the user.
Optionally, the embodiment of the present invention further provides an optional implementation manner for obtaining the split screen state of the current screen of the operating system, and it should be noted that there may be many ways for obtaining the split screen state of the current screen of the operating system, for example, it is feasible that the APP actively obtains the split screen state or the operating system actively reports the split screen state to the APP, and the following embodiment of the present invention provides an optional implementation manner as follows: the processor 580, configured to obtain the split screen state of the current screen of the operating system, includes: the screen splitting state control device is used for receiving and executing an instruction for changing the screen splitting state of the current screen of the operating system, and acquiring the screen splitting state of the current screen of the operating system after the screen splitting state of the current screen of the operating system is fixed; or receiving and executing an instruction for changing the size of the current window of the application program, and acquiring the split screen state of the current screen of the operating system after the size of the window of the application program is fixed.
Optionally, the processor 580 is configured to obtain the split screen state of the current screen, and includes: 1/4 screen, 1/2 screen, 3/4 screen, or full screen. At present, the Windows8 mainly pays out three modes of 1/4 screen, 3/4 screen and full screen, and the split screen state can be actually changed, for example, one or more of 1/8 screen, 3/8 screen, 4/8 screen, 5/8 screen and 7/8 screen are added, and the like, which is theoretically possible, so that the split screen state is not limited by the embodiment of the invention.
Optionally, the embodiment of the present invention further provides options for displaying data of three applications, as follows:
the processor 580 is configured to, if the split screen state of the current screen is 1/4 screens and the display items in the page are more than the first predetermined number, load the display data of the application program adapted to the split screen state of the current screen, where the loading includes: and loading display data of the application program with the display item of the tree structure.
In this embodiment, the display items may also be referred to as display elements or sub-elements of a page, and all represent items that need to be displayed in the page, and their specific names do not affect the expression of their technical meaning. The first predetermined number is generally a larger number that is set as a non-limiting number of embodiments of the present invention, such as: the number of friends in the instant messaging software, and the corresponding display element may be an icon or name of the head portrait of the friend or may further include an Identity (Identity). The tree-like structure is adopted to control the display, so that more display items can be accommodated, and the tree-like structure can be better adapted to a narrow display interface of 1/4 screens.
The processor 580 is configured to, if the split screen state of the current screen is 1/4 screens and the display items in the page are less than a second predetermined number, load the display data of the application program adapted to the split screen state of the current screen, where the loading includes: and loading display data of the application program with the display items vertically arranged.
In this embodiment, the second predetermined number is generally a smaller number, and the second predetermined number is smaller than the first predetermined number, which is not limited as to how many embodiments of the present invention are set, for example: the number of groups, the number of dynamic states, the number of sessions and the like in the instant messaging software. Then the corresponding display element may be: the group's avatar icon, name, or may also contain a registration ID (Identity); can be as follows: dynamic publisher, dynamic content, etc.; the method can also be as follows: participants of the session, content of the session, etc. Because the number of the display screens is relatively small, the display can be controlled directly in a vertical arrangement mode, and the display screens can be well adapted to a narrow display interface of 1/4 screens.
The processor 580 is configured to, if the split screen state of the current screen is 3/4 screens, load display data of the application program adapted to the split screen state of the current screen, where the display data includes: and loading display data of the application program for displaying the new width and height set value of the display element with the width and height proportion larger than the preset value in the item.
In this embodiment, if the 3/4 screen is displayed by using the display data of the original application program, the predetermined value may be defined according to actual conditions, in order to distinguish whether a display abnormality occurs when the screen 3/4 is displayed by using the display data of the original application program, and the specific value is not limited in the embodiment of the present invention. In the embodiment, the display data of the application program which is possibly abnormal is displayed by using the display data of the original application program in the 3/4 screen, so that the display data can be adapted to the 3/4 screen.
The above three optional adaptation schemes can be applied to display pages of various APPs, and the APP types are not limited in the embodiments of the present invention. In the following embodiments, the APP is taken as an example of the instant messaging software for illustration, it should be noted that the APP has a variety, and the application scenario of the instant messaging should not be understood as the only limitation to the embodiments of the present invention.
An embodiment of the present invention further provides a terminal, as shown in fig. 6, including: a receiver 601, a transmitter 602, a memory 603, and a processor 604;
the processor 604 is configured to obtain a split screen state of a current screen of the operating system; loading display data of an application program adaptive to the split screen state of the current screen; and controlling the page display of the application program by using the display data.
In the data used for display in the present embodiment, the display data of the application is information for page display so that the currently displayed page is adapted to the split screen state of the current screen. Therefore, the display data of the application program may be page data, or indicative information or control information of the control page, and the display data of the application program may have any function as long as the function of adapting the currently displayed page to the split-screen state of the current screen is provided, and the specific representation form of the display data of the application program is not limited in the embodiment of the present invention.
In the above embodiment, the page of the application program is displayed by acquiring the split screen state of the current screen and loading the display data of the application program adapted to the split screen state of the current screen. Since the display data of the application program used for displaying the page of the application program is the display data of the application program adapted to the split screen state of the current screen, the split screen characteristic can be supported by the display of the page. Thereby facilitating the use of the user.
Optionally, the embodiment of the present invention further provides an optional implementation manner for obtaining the split screen state of the current screen of the operating system, and it should be noted that there may be many ways for obtaining the split screen state of the current screen of the operating system, for example, it is feasible that the APP actively obtains the split screen state or the operating system actively reports the split screen state to the APP, and the following embodiment of the present invention provides an optional implementation manner as follows: the processor 604 is configured to obtain the split screen state of the current screen of the operating system, and includes: the screen splitting state control device is used for receiving and executing an instruction for changing the screen splitting state of the current screen of the operating system, and acquiring the screen splitting state of the current screen of the operating system after the screen splitting state of the current screen of the operating system is fixed; or receiving and executing an instruction for changing the size of the current window of the application program, and acquiring the split screen state of the current screen of the operating system after the size of the window of the application program is fixed.
Optionally, the processor 604 is configured to obtain the split screen state of the current screen, and includes: 1/4 screen, 1/2 screen, 3/4 screen, or full screen. At present, the Windows8 mainly pays out three modes of 1/4 screen, 3/4 screen and full screen, and the split screen state can be actually changed, for example, one or more of 1/8 screen, 3/8 screen, 4/8 screen, 5/8 screen and 7/8 screen are added, and the like, which is theoretically possible, so that the split screen state is not limited by the embodiment of the invention.
Optionally, the embodiment of the present invention further provides options for displaying data of three applications, as follows:
the processor 604 is configured to, if the split screen state of the current screen is 1/4 screens and the display items in the page are more than the first predetermined number, load the display data of the application program adapted to the split screen state of the current screen, where the loading includes: and loading display data of the application program with the display item of the tree structure.
In this embodiment, the display items may also be referred to as display elements or sub-elements of a page, and all represent items that need to be displayed in the page, and their specific names do not affect the expression of their technical meaning. The first predetermined number is generally a larger number that is set as a non-limiting number of embodiments of the present invention, such as: the number of friends in the instant messaging software, and the corresponding display element may be an icon or name of the head portrait of the friend or may further include an Identity (Identity). The tree-like structure is adopted to control the display, so that more display items can be accommodated, and the tree-like structure can be better adapted to a narrow display interface of 1/4 screens.
The processor 604 is configured to, if the split screen state of the current screen is 1/4 screens and the display items in the page are less than a second predetermined number, load display data of the application program adapted to the split screen state of the current screen, where the display data includes: and loading display data of the application program with the display items vertically arranged.
In this embodiment, the second predetermined number is generally a smaller number, and the second predetermined number is smaller than the first predetermined number, which is not limited as to how many embodiments of the present invention are set, for example: the number of groups, the number of dynamic states, the number of sessions and the like in the instant messaging software. Then the corresponding display element may be: the group's avatar icon, name, or may also contain a registration ID (Identity); can be as follows: dynamic publisher, dynamic content, etc.; the method can also be as follows: participants of the session, content of the session, etc. Because the number of the display screens is relatively small, the display can be controlled directly in a vertical arrangement mode, and the display screens can be well adapted to a narrow display interface of 1/4 screens.
The processor 604 is configured to, if the split screen state of the current screen is 3/4 screens, load display data of an application program adapted to the split screen state of the current screen, where the display data includes: and loading display data of the application program for displaying the new width and height set value of the display element with the width and height proportion larger than the preset value in the item.
In this embodiment, if the 3/4 screen is displayed by using the display data of the original application program, the predetermined value may be defined according to actual conditions, in order to distinguish whether a display abnormality occurs when the screen 3/4 is displayed by using the display data of the original application program, and the specific value is not limited in the embodiment of the present invention. In the embodiment, the display data of the application program which is possibly abnormal is displayed by using the display data of the original application program in the 3/4 screen, so that the display data can be adapted to the 3/4 screen.
The above three optional adaptation schemes can be applied to display pages of various APPs, and the APP types are not limited in the embodiments of the present invention. In the following embodiments, the APP is taken as an example of the instant messaging software for illustration, it should be noted that the APP has a variety, and the application scenario of the instant messaging should not be understood as the only limitation to the embodiments of the present invention.
It should be noted that, in the above device embodiment, each included unit is only divided according to functional logic, but is not limited to the above division as long as the corresponding function can be achieved; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
In addition, it is understood by those skilled in the art that all or part of the steps in the above method embodiments may be implemented by related hardware, and the corresponding program may be stored in a computer readable storage medium, where the above mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the embodiment of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (12)

1. A method for implementing split screen views, comprising:
acquiring the split screen state of the current screen of an operating system;
loading display data of an application program adaptive to the split screen state of the current screen;
and displaying the page of the application program by using the display data.
2. The method of claim 1, wherein obtaining the split screen status of the current screen of the operating system comprises:
receiving and executing an instruction for changing the screen splitting state of the current screen of the operating system, and acquiring the screen splitting state of the current screen of the operating system after the screen splitting state of the current screen of the operating system is fixed; or,
and receiving and executing an instruction for changing the size of the current window of the application program, and acquiring the split screen state of the current screen of the operating system after the size of the window of the application program is fixed.
3. The method of claim 1 or 2, wherein the split screen status of the current screen comprises: 1/4 screen, 1/2 screen, 3/4 screen, or full screen.
4. The method of claim 3, wherein if the split screen status of the current screen is 1/4 screens and the displayed items in the page are more than a first predetermined number, loading the display data of the application program adapted to the split screen status of the current screen comprises:
and loading display data of the application program with the display item of the tree structure.
5. The method of claim 3, wherein if the split screen status of the current screen is 1/4 screens and the displayed items in the page are less than a second predetermined number, loading the display data of the application program adapted to the split screen status of the current screen comprises:
and loading display data of the application program with the display items vertically arranged.
6. The method of claim 3, wherein if the split screen status of the current screen is 3/4 screens, the loading the display data of the application program adapted to the split screen status of the current screen comprises:
and loading display data of the application program for displaying the new width and height set value of the display element with the width and height proportion larger than the preset value in the item.
7. An apparatus for implementing a split screen view, comprising:
the state acquisition unit is used for acquiring the split screen state of the current screen of the operating system;
the data loading unit is used for loading display data of the application program adaptive to the split screen state of the current screen acquired by the state acquisition unit;
and the display unit is used for displaying the page of the application program by using the display data of the application program loaded by the data loading unit.
8. The apparatus of claim 7, wherein the status obtaining unit comprises:
the screen control unit is used for receiving and executing an instruction for changing the split screen state of the current screen of the operating system; or receiving and executing an instruction for changing the size of the current window of the application program;
the acquisition subunit is used for acquiring the split screen state of the current screen of the operating system after the screen control unit executes an instruction for changing the current split screen state of the operating system and the split screen state is fixed; or after the screen control unit executes an instruction for changing the size of the current window of the application program and the size of the window of the application program is fixed, acquiring the split screen state of the current screen of the operating system.
9. The apparatus of claim 7 or 8,
the state obtaining unit is specifically configured to obtain a split screen state of a current screen of the operating system as follows: 1/4 screen, 1/2 screen, 3/4 screen, or full screen.
10. The apparatus of claim 9,
and the data loading unit is used for loading the display data of the application program with the display item of the tree structure if the split screen state of the current screen is 1/4 screens and the display item in the page is more than a first preset number.
11. The apparatus of claim 9,
and the data loading unit is used for loading the display data of the application program with the display item vertically arranged if the split screen state of the current screen is 1/4 screens and the display item in the page is less than a second preset number.
12. The apparatus of claim 9,
and the data loading unit is used for loading the display data of the application program of the new width and height set value of the display element with the width and height ratio larger than the preset value in the display item if the split screen state of the current screen is 3/4 screens.
CN201310468851.4A 2013-10-09 2013-10-09 A kind of method and apparatus for realizing split view Active CN104571979B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310468851.4A CN104571979B (en) 2013-10-09 2013-10-09 A kind of method and apparatus for realizing split view

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310468851.4A CN104571979B (en) 2013-10-09 2013-10-09 A kind of method and apparatus for realizing split view

Publications (2)

Publication Number Publication Date
CN104571979A true CN104571979A (en) 2015-04-29
CN104571979B CN104571979B (en) 2018-12-11

Family

ID=53088161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310468851.4A Active CN104571979B (en) 2013-10-09 2013-10-09 A kind of method and apparatus for realizing split view

Country Status (1)

Country Link
CN (1) CN104571979B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468327A (en) * 2016-01-12 2016-04-06 福建星网锐捷安防科技有限公司 Large screen splicing display method, device and system
CN105786424A (en) * 2015-12-23 2016-07-20 南京富士通南大软件技术有限公司 Method for solving rapid split screen display of single screen of embedded system
CN106598529A (en) * 2017-01-25 2017-04-26 北京奇虎科技有限公司 Method and device for sub-screen display of mobile terminal, and mobile terminal
CN106873897A (en) * 2017-03-07 2017-06-20 维沃移动通信有限公司 A kind of mobile terminal desktop suspension member display methods and mobile terminal
WO2018018685A1 (en) * 2016-07-26 2018-02-01 深圳市金立通信设备有限公司 Screen control method, and terminal
WO2019001270A1 (en) * 2017-06-30 2019-01-03 Oppo广东移动通信有限公司 Mobile terminal and split screen control method thereof, and computer readable storage medium
CN110072012A (en) * 2019-04-28 2019-07-30 维沃移动通信有限公司 A kind of based reminding method and mobile terminal for screen state switching
CN111142997A (en) * 2019-12-17 2020-05-12 上海博泰悦臻电子设备制造有限公司 Application display method, vehicle machine and computer storage medium
CN111240546A (en) * 2019-12-20 2020-06-05 青岛海信移动通信技术股份有限公司 Split screen processing method and communication terminal
US12032410B2 (en) 2018-06-29 2024-07-09 Huawei Technologies Co., Ltd. Display method for flexible display, and terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279723A (en) * 2011-08-24 2011-12-14 百度在线网络技术(北京)有限公司 System and method for realizing split-screen display
CN102880391A (en) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 Display control equipment and method for changing displayed content in browser window
CN102890632A (en) * 2012-09-18 2013-01-23 深圳市融创天下科技股份有限公司 Screen adaptation method, system and terminal device
CN103164197A (en) * 2011-12-14 2013-06-19 中兴通讯股份有限公司 User interface (UI) distribution self-adaption method, mobile device and distribution generating device
CN103218195A (en) * 2013-04-10 2013-07-24 广东欧珀移动通信有限公司 Method and device for display adjustment of application program
CN103309697A (en) * 2012-03-15 2013-09-18 宇龙计算机通信科技(深圳)有限公司 Interface display method, system and display terminal for application

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279723A (en) * 2011-08-24 2011-12-14 百度在线网络技术(北京)有限公司 System and method for realizing split-screen display
CN103164197A (en) * 2011-12-14 2013-06-19 中兴通讯股份有限公司 User interface (UI) distribution self-adaption method, mobile device and distribution generating device
CN103309697A (en) * 2012-03-15 2013-09-18 宇龙计算机通信科技(深圳)有限公司 Interface display method, system and display terminal for application
CN102890632A (en) * 2012-09-18 2013-01-23 深圳市融创天下科技股份有限公司 Screen adaptation method, system and terminal device
CN102880391A (en) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 Display control equipment and method for changing displayed content in browser window
CN103218195A (en) * 2013-04-10 2013-07-24 广东欧珀移动通信有限公司 Method and device for display adjustment of application program

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786424A (en) * 2015-12-23 2016-07-20 南京富士通南大软件技术有限公司 Method for solving rapid split screen display of single screen of embedded system
CN105786424B (en) * 2015-12-23 2018-11-16 南京富士通南大软件技术有限公司 The method that the quick split screen display available of the single-screen of embedded system solves
CN105468327A (en) * 2016-01-12 2016-04-06 福建星网锐捷安防科技有限公司 Large screen splicing display method, device and system
WO2018018685A1 (en) * 2016-07-26 2018-02-01 深圳市金立通信设备有限公司 Screen control method, and terminal
CN106598529A (en) * 2017-01-25 2017-04-26 北京奇虎科技有限公司 Method and device for sub-screen display of mobile terminal, and mobile terminal
CN106873897A (en) * 2017-03-07 2017-06-20 维沃移动通信有限公司 A kind of mobile terminal desktop suspension member display methods and mobile terminal
WO2019001270A1 (en) * 2017-06-30 2019-01-03 Oppo广东移动通信有限公司 Mobile terminal and split screen control method thereof, and computer readable storage medium
US11237724B2 (en) 2017-06-30 2022-02-01 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Mobile terminal and method for split screen control thereof, and computer readable storage medium
US12032410B2 (en) 2018-06-29 2024-07-09 Huawei Technologies Co., Ltd. Display method for flexible display, and terminal
CN110072012A (en) * 2019-04-28 2019-07-30 维沃移动通信有限公司 A kind of based reminding method and mobile terminal for screen state switching
CN111142997A (en) * 2019-12-17 2020-05-12 上海博泰悦臻电子设备制造有限公司 Application display method, vehicle machine and computer storage medium
CN111240546A (en) * 2019-12-20 2020-06-05 青岛海信移动通信技术股份有限公司 Split screen processing method and communication terminal
CN111240546B (en) * 2019-12-20 2021-04-13 青岛海信移动通信技术股份有限公司 Split screen processing method and communication terminal

Also Published As

Publication number Publication date
CN104571979B (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN104571979B (en) A kind of method and apparatus for realizing split view
CN106406712B (en) Information display method and device
CN111984165B (en) Method and device for displaying message and terminal equipment
CN105786878B (en) Display method and device of browsing object
CN108205398B (en) Method and device for adapting webpage animation to screen
CN107193664B (en) Message display method and device and mobile terminal
CN105022552B (en) A kind of method and apparatus for showing messaging list
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN105975190B (en) Graphical interface processing method, device and system
CN108834132B (en) Data transmission method and equipment and related medium product
WO2014086218A1 (en) Interface adjustment method, device and terminal
CN104598476A (en) Message aggregation display method and information display method and relevant device
CN105653220B (en) Screen data display method and device in remote control
CN107193435B (en) Processing method and device for task window and mobile terminal
CN107103074B (en) Processing method of shared information and mobile terminal
CN103581762A (en) Method, device and terminal equipment for playing network videos
CN110673770A (en) Message display method and terminal equipment
TW201541337A (en) Method, device and system for displaying messages in mobile terminal
CN105930077A (en) Method and device for adjusting size of objects displayed by screens
US20140372930A1 (en) Method and device for displaying a list view through a sliding operation
CN104238931B (en) Information input method and device and electronic equipment
CN107797723B (en) Display style switching method and terminal
CN109660445B (en) Message processing method, device and storage medium
CN104951178A (en) Processing method, device and system for desktop data
CN105631059B (en) Data processing method, data processing device and data processing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant