CN110661919A - Multi-user display method, device, electronic equipment and storage medium - Google Patents

Multi-user display method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110661919A
CN110661919A CN201910882511.3A CN201910882511A CN110661919A CN 110661919 A CN110661919 A CN 110661919A CN 201910882511 A CN201910882511 A CN 201910882511A CN 110661919 A CN110661919 A CN 110661919A
Authority
CN
China
Prior art keywords
user
display
user data
buffer
data
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
CN201910882511.3A
Other languages
Chinese (zh)
Other versions
CN110661919B (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201910882511.3A priority Critical patent/CN110661919B/en
Publication of CN110661919A publication Critical patent/CN110661919A/en
Application granted granted Critical
Publication of CN110661919B publication Critical patent/CN110661919B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a multi-user display method and device, electronic equipment and a storage medium. Wherein the method comprises: when a plurality of users log in the system, first user data are stored in a foreground buffer area, second user data are stored in a background buffer area, when a first setting instruction is received, the second user data are transferred to the foreground buffer area according to the first setting instruction, a display screen is divided into two display areas according to the first user data and the second user data, and a display interface of the first user and a display interface of the second user are respectively displayed in the two display areas. The first user data and the second user data are simultaneously stored in the foreground buffer area, so that the display screen can simultaneously display the interfaces of the first user and the second user, and the display efficiency is improved.

Description

Multi-user display method, device, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a multi-user display method and apparatus, an electronic device, and a storage medium.
Background
In the prior art, a plurality of user spaces can be created on an electronic device, and a sub-user space and a main user space can be freely switched.
However, only one user space can be displayed by one mobile phone electronic device at the same time, that is, when the main user space is in the foreground, only the main user space is visible to the user, and the sub-user space is invisible. When a user needs to use the sub-user space and the main user space at the same time, the display efficiency is low when the user uses the space by multiple users due to inconvenience.
Disclosure of Invention
The embodiment of the application provides a multi-user display method and device, electronic equipment and a storage medium. The multi-user display method provided by the embodiment of the application can be used for displaying the interface of multiple users on the display screen when multiple users log in the system of the electronic equipment, and different users can process tasks simultaneously, so that the display efficiency is improved.
In a first aspect, an embodiment of the present application provides a multi-user display method, where the multi-user display method includes:
when a plurality of users log in the system, storing first user data in a foreground buffer area and storing second user data in a background buffer area;
receiving a first setting instruction, and transferring the second user data to a foreground buffer area according to the first setting instruction;
dividing a display screen into two display areas according to the first user data and the second user data;
and respectively displaying the display interface of the first user and the display interface of the second user in the two display areas.
In a second aspect, an embodiment of the present application provides a multi-user display apparatus, where the multi-user display apparatus includes:
the storage module is used for storing the first user data in a foreground buffer area and storing the second user data in a background buffer area when a plurality of users log in the system;
the transfer module is used for receiving a first setting instruction and transferring the second user data to a foreground buffer area according to the setting instruction;
the dividing module is used for dividing a display screen into two display areas according to the first user data and the second user data;
and the display module is used for respectively displaying the display interface of the first user and the display interface of the second user in the two display areas.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps in the multi-user display method when executing the program.
In a fourth aspect, the present application provides a storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the steps in the multi-user display method.
In the embodiment of the application, when a plurality of users log in the system, first user data are stored in a foreground buffer area, second user data are stored in a background buffer area, when a first setting instruction is received, the second user data are transferred to the foreground buffer area according to the first setting instruction, a display screen is divided into two display areas according to the first user data and the second user data, and a display interface of the first user and a display interface of the second user are respectively displayed in the two display areas. Thereby improving display efficiency.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a first flowchart of a multi-user display method according to an embodiment of the present disclosure.
Fig. 2 is a second flowchart of the multi-user display method according to the embodiment of the present application.
Fig. 3 is a display interface diagram of a multi-user display provided in an embodiment of the present application.
Fig. 4 is a display interface diagram of another multi-user display provided in an embodiment of the present application.
FIG. 5 is a schematic diagram of a first structure of a multi-user display apparatus according to an embodiment of the present application
Fig. 6 is a second structural schematic diagram of a multi-user display apparatus according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and 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 application.
In the description that follows, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing unit of the computer in electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the application have been described in language specific to above, it is not intended to be limited to the specific form set forth herein, and it will be recognized by those of ordinary skill in the art that various of the steps and operations described below may be implemented in hardware.
The terms "first", "second", and "third", etc. in this application are used to distinguish between different objects and not to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to only those steps or modules listed, but rather, some embodiments may include other steps or modules not listed or inherent to such process, method, article, or apparatus.
The embodiment of the application provides a multi-user display method and device, electronic equipment and a storage medium. The following are detailed below.
The multi-user display method provided by the embodiment of the application can be applied to electronic equipment such as smart phones, computers, tablet computers and televisions. When multiple users log in the system, display interfaces of different users can be displayed simultaneously, and display efficiency is improved.
Referring to fig. 1, fig. 1 is a first flowchart of a multi-user display method according to an embodiment of the present disclosure.
In step 110, when multiple users are logged in the system, first user data is stored in a foreground buffer and second user data is stored in a background buffer.
A plurality of users can be logged on a system on the electronic equipment, such as a Windows system of Microsoft, an Adroid system of Google, and the like, but the interfaces of the users logged on the system cannot be displayed simultaneously on the current electronic equipment, for example, the A user and the B user are logged on the system of the electronic equipment, and the B user interface cannot be displayed when the A user interface is displayed.
In this embodiment of the application, when there is multi-user login in the electronic device system, the buffer area of the electronic device may be set as a foreground buffer area and a background buffer area, the first user data may be stored in the foreground buffer area, and the second user data may be stored in the background buffer area, where the first user data may be regarded as user data being used by a current user, and the second user data is user data that is not used by the current user.
It can be understood that when a plurality of users log in the system, the user data of the main user may be stored in the foreground buffer, and all the user data of other sub-users may be stored in the background buffer.
For example, there are A, B, C, D four users logged in the system, which may store the A user data in the foreground buffer and B, C, D user data in the background buffer, and may also store A, B user data in the foreground buffer and C, D user data in the background storage area. That is, the present embodiment may include a plurality of users, and is not limited to only two users, i.e., the first user and the second user.
In step 120, a first setting instruction is received, and the second user data is transferred to the foreground buffer according to the first setting instruction.
When a second user needs to use second user data, the electronic device can be manually triggered to generate a first setting instruction, and then the electronic device transfers the second user data of the background buffer area to the foreground buffer area according to the first setting instruction.
For example, a switch button may be set on a display screen of the electronic device, and when the second user clicks the switch button, the electronic device automatically generates a first setting instruction, and then transfers data of the second user from the back buffer to the front buffer according to the first setting instruction. The first setting instruction may also be generated by pressing a preset entity key on the electronic device by the user, and generating the first setting instruction by pressing once or multiple times.
It will be appreciated that after the transfer of the second user data, the foreground buffer has both the first user data and the second user data, which may be stored in different buffer areas of the foreground buffer.
In step 130, the display screen is divided into two display areas based on the first user data and the second user data.
The different buffer areas have user data corresponding to the buffer areas, at this time, the display screen can be divided according to the first user data and the second user data, two areas are divided on the display screen, one area displays a display interface capable of displaying the first user data, and the other area displays a display interface capable of displaying the second user data.
The display screen division regions may be divided according to display contents of user data, for example, a type of a display interface of a first user may be acquired from first user data, and a type of a display interface of a second user may be acquired from second user data, where the display interface types may include a video type, a text type, and a picture type, and then the display regions of the display screen are divided according to the display types, and if the display interface of the first user is the picture type or the video type, and the display interface of the second user is the text type, an area set in the display region of the first user may be larger, and an area set in the display region of the second user may be smaller.
In an embodiment, the creation time of the first user and the creation time of the second user may be obtained, and the division of the display area may be determined according to the creation time of the users, for example, when the display interface of the first user and the display interface of the second user are both of a video type, the creation time of the first user and the creation time of the second user may be obtained at this time, and if the creation time of the first user is earlier, the first user may be preferentially divided into the display area with a larger area according to a preset ratio.
In an embodiment, after the display interface is divided according to the first setting instruction, a preview effect may be generated on the display screen, and if the user is not satisfied with the dividing effect of the display area, the boundary line between the first user display interface and the second user display interface may be dragged to adjust the dividing effect of the display area.
In step 140, the display interface of the first user and the display interface of the second user are respectively displayed in two display areas.
After the division of the display area of the display screen is completed, the display interface of the user corresponding to the display area can be displayed in each display area.
In an embodiment, when the display type of the display interface is changed, the display interface of the first user or the display interface of the second user may be re-divided according to the dividing method in the display page in step 103, and then the divided display interfaces are displayed.
In the embodiment of the application, when a plurality of users log in the system, first user data is stored in a foreground buffer area, second user data is stored in a background buffer area, when a first setting instruction is received, the second user data is transferred to the foreground buffer area according to the first setting instruction, a display screen is divided into two display areas according to the first user data and the second user data, and a display interface of the first user and a display interface of the second user are respectively displayed in the two display areas. The first user data and the second user data are simultaneously stored in the foreground buffer area, so that the display screen can simultaneously display the interfaces of the first user and the second user, and the display efficiency is improved.
Referring to fig. 2, fig. 2 is a second flowchart of a multi-user display method according to an embodiment of the present application.
In step 201, when multiple users log in the system, first user data is stored in a foreground buffer, and second user data is stored in a background buffer.
For example, a plurality of users log on a smartphone system of a user, at this time, user data (first user data) currently used by the user may be stored in a foreground buffer, and user data (second user data) not used by the user may be stored in a background buffer. So that the content displayed on the screen is the display interface of the first user.
In step 202, a first setting instruction is received, and a foreground buffer is divided into a first sub-buffer and a second sub-buffer.
The manner of generating the first setting instruction may be manually triggered by the current user, for example, a switch button is arranged on the current display interface of the first user, and when the current user turns on the switch button, the foreground buffer is divided into a first sub-buffer and a second sub-buffer, where the first sub-buffer may be used to store the first user data, and a storage space of the first sub-buffer may be larger than a capacity of the first user data, so as to avoid system crash caused by insufficient first user data. The storage space of the second sub-buffer may be determined according to the subsequent step, and temporarily set as the remaining capacity of the front buffer except the first sub-buffer.
In one embodiment, in order to ensure data security of the user, the identity information of the user attempting to open the switch button may be verified before opening the switch button, and the specific verification manner may be to verify the biological information and password information of the user, such as biological characteristics of facial features, iris, fingerprint, voiceprint, and password information of character password, combination password, and the like.
In step 203, the data capacity of the second user is obtained.
The data of the second user is stored in the background buffer, and the capacity of the data of the second user may be obtained first, and then the process proceeds to step 204.
In step 204, the storage space of the second sub-buffer is determined according to the data capacity of the second user.
After the storage capacity of the second user data is obtained, the storage space of the second sub-buffer area is set to be larger than the second user capacity, so that system crash caused by insufficient second user data is avoided, a part of idle storage space can be reserved in the previous-day buffer area, and the idle storage space can be dynamically allocated when the storage space of the first sub-buffer area or the second sub-buffer area is insufficient.
In step 205, the second user data is transferred from the back buffer to the second sub-buffer.
After the storage space of the second sub-buffer is set, the second user data of the back buffer may be transferred to the second sub-buffer of the front buffer for subsequent content display of the second user interface.
In step 206, the display type of the first user and the display type of the second user are obtained.
The content displayed on the screen of the smart phone comprises three types of characters, pictures and videos, so that the display types of the user can be divided into the character type, the picture type and the video type.
In an embodiment, the display areas occupied by different display types are different in size, for example, the display area of a video type needs to be larger to see more abundant picture details, the text type can be clearly observed without a too large display area, and the size of the occupied display area can be adjusted according to the detail abundance of the picture by the picture type. At this time, the display type of the first user and the display type of the second user may be obtained first, so as to subsequently determine the division of the display area.
In step 207, priorities of the plurality of sub-buffers are determined according to the display type of the first user and the display type of the second user.
In one embodiment, the priority of the display type may be set, for example, the video type is highest, the next picture type is slightly lower than the video type, and the next lowest priority is the text type. The user can also set the priority according to the self requirement, for example, the user who likes to watch novels can set the priority of the character type as the highest priority. After the priority setting for the display type is completed, the same priority may be set for the sub-buffers of the user data according to the priority of the display type of the user.
In an embodiment, if the priorities of the sub-buffers corresponding to the first user data and the second user data are the same, the priorities of the sub-buffers of the users may be determined according to the creation time of the first user and the second user, for example, the earlier the creation time of the user is, the highest priority of the sub-buffer of the user is.
In step 208, the proportion of the display area occupied by the display interface of the first user and the display interface of the second user is controlled according to the priority.
In one embodiment, the display interface of the first user and the display interface of the second user may be set according to priority, and different display area occupation ratios are set for the display interface of the first user and the display interface of the second user, for example, the first user occupies 60% of the display area, and the second user occupies 40% of the display area.
In step 209, the display screen is divided into two display areas according to the scale.
In the embodiment of the application, the display screen can be divided into two display areas, and the two display areas respectively display the display interfaces of the first user or the second user. For example, referring to fig. 3, fig. 3 is a display interface diagram of a multi-user display provided in an embodiment of the present application, where a dividing line X divides a display area of a display screen into an upper half and a lower half, and the display areas of the two halves are both rectangles, so that a user can view a first user display interface and a second user display interface simultaneously when using the display interface diagram.
In an embodiment, the boundary line X may further divide the display screen into any two display regions, where two display regions are shown in fig. 4, fig. 4 is a display interface diagram displayed by another multiple users provided in this embodiment, if the display area of the second user display interface is smaller, the corresponding display region occupied on the display screen is smaller, and the remaining region may be used to display the first user display interface, and the second user display interface may be in a shape of a circle, a square, an ellipse, or the like, and may occupy a smaller display region of the display screen, and is used to display a notification message of the second user, and if the display interface of the second user does not change the display content within a preset time period, and there is no notification message, the second user display interface may be automatically closed, so that the second user data is shifted out of the foreground buffer region, and power consumption is reduced.
In step 210, a second setting instruction is received, and the display interface of the first user or the display interface of the second user is closed according to the second setting instruction.
When the user does not need to simultaneously display the first user display interface or the second user display interface, the user can click the closing button, at the moment, the electronic equipment can generate a second setting instruction, and the display picture which is not needed is closed according to the second setting instruction.
For example, the user does not need the first user display interface, the first user display interface may be directly turned off, and then only the second user display interface remains on the entire display screen. Or when the user does not need the display interface of the second user, the display interface of the second user is directly closed, and only the display interface of the first user is reserved.
In step 211, the first user data or the second user data is transferred from the foreground buffer to the background buffer.
After the first user display interface or the second user display interface is closed, the data of the first user or the second user also needs to be transferred from the foreground buffer area to the background buffer area, and at this time, the buffer area division of the foreground buffer area can be cancelled.
In an embodiment, after the first user data or the second user data is transferred from the foreground buffer area to the background buffer area, it may be determined whether the user data staying time in the background buffer area exceeds a preset threshold, and if the user data staying time exceeds the preset threshold, it indicates that the user does not need to use the user data, and at this time, the user may be logged off, so as to reduce the power consumption of the electronic device.
In summary, in the embodiment of the present application, when a plurality of users log in the system, the first user data is stored in the foreground buffer, the second user data is stored in the background buffer, when receiving a first setting instruction, dividing a foreground buffer area into a first sub-buffer area and a second sub-buffer area, acquiring the data capacity of second user data, determining the storage space of the second sub-buffer area according to the data capacity of the second user data, then transferring the second user data from the background buffer area to a second sub-buffer area, acquiring the display types of the first user and the second user, determining the priority of the plurality of sub-buffer areas according to the display types of the first user and the second user, respectively occupying the proportion of display areas for the display interfaces of the first user and the second user according to the priority, and finally dividing the display screen into two display areas according to the proportion to respectively display the first user display interface and the second user display interface. Therefore, the display efficiency of the multi-user login system is improved.
Referring to fig. 5, fig. 5 is a first structural schematic diagram of a multi-user display apparatus according to an embodiment of the present application, wherein the multi-user display apparatus 500 includes: a storage module 510, a transfer module 520, a dividing module 530, and a display module 540.
The storage module 510 is configured to store the first user data in the foreground buffer and store the second user data in the background buffer when multiple users log in the system.
When there is multi-user login in the electronic device system, the storage module 510 may set a foreground buffer area and a background buffer area in a buffer area of the electronic device, store first user data in the foreground buffer area, and store second user data in the background buffer area, where the first user data may be regarded as user data being used by a current user, and the second user data is user data that is not used by the current user.
The transferring module 520 is configured to receive a first setting instruction, and transfer the second user data to a foreground buffer according to the first setting instruction.
When a second user needs to use second user data, the electronic device may be manually triggered to generate a first setting instruction, and then the transfer module 520 transfers the second user data in the background buffer to the foreground buffer according to the first setting instruction.
For example, a switch button may be set on a display screen of the electronic device, and when the second user clicks the switch button, the electronic device automatically generates a first setting instruction, and then transfers data of the second user from the back buffer to the front buffer according to the first setting instruction.
The transfer module 520 includes a setting sub-module 521, configured to divide the front buffer into a first sub-buffer and a second sub-buffer, where the first sub-buffer is used to store the first user data.
The setting submodule 521 is specifically configured to: and acquiring the data capacity of the second user data, determining the storage space of the second sub-buffer area according to the data capacity of the second user data, and transferring the second user data to the second sub-buffer area.
The data of the second user is stored in the background buffer area, the capacity of the data of the second user can be firstly obtained, after the storage capacity of the data of the second user is obtained, the storage space of the second sub-buffer area is set to be larger than the capacity of the second user, system crash caused by insufficient data of the second user is avoided, a part of idle storage space can be reserved in the previous buffer area, and when the storage space of the first sub-buffer area or the second sub-buffer area is insufficient, the idle storage space can be dynamically distributed. The submodule 521 is then arranged to transfer the second user data to the second sub-buffer.
A dividing module 530, configured to divide the display screen into two display areas according to the first user data and the second user data.
The different buffer areas have user data corresponding to the buffer area, and the dividing module 530 may divide the display screen according to the first user data and the second user data, and divide the two areas on the display screen, where one area displays a display interface capable of displaying the first user data, and the other area displays a display interface capable of displaying the second user data.
Referring to fig. 6, fig. 6 is a second structural schematic diagram of a multi-user display apparatus according to an embodiment of the present application, in which the dividing module 530 includes an obtaining sub-module 531 and a priority sub-module 532.
The obtaining sub-module 531 is configured to obtain a data capacity of the second user data, determine a storage space of the second sub-buffer according to the data capacity of the second user data, and transfer the second user data to the second sub-buffer.
The data of the second user is stored in the background buffer area, the obtaining sub-module 531 may first obtain the capacity of the data of the second user, and after obtaining the storage capacity of the data of the second user, set the storage space of the second sub-buffer area to be larger than the capacity of the second user, so as to avoid system crash caused by insufficient data of the second user, and may also reserve a part of idle storage space in the previous buffer area, and when the storage space of the first sub-buffer area or the second sub-buffer area is insufficient, the idle storage space may be dynamically allocated.
The priority sub-module 532 is configured to obtain the display type of the first user and the display type of the second user, and determine the priorities of the sub-buffers according to the display type of the first user and the display type of the second user.
The priority sub-module 532 may set the priority of the display type, for example, the video type is the highest priority, the next picture type is a little lower priority than the video type, and the lowest priority is the text type. The user can also set the priority according to the self requirement, for example, the user who likes to watch novels can set the priority of the character type as the highest priority. After the priority setting for the display type is completed, the same priority may be set for the sub-buffers of the user data according to the priority of the display type of the user.
The display module 540 is configured to display the display interface of the first user and the display interface of the second user in the two display areas, respectively.
The display module 540 may divide the display screen into two display areas, and the two display areas respectively display the display interfaces of the first user or the second user. For example, referring to fig. 3, fig. 3 is a display interface diagram of a multi-user display provided in an embodiment of the present application, where a dividing line X divides a display area of a display screen into an upper half and a lower half, and the display areas of the two halves are both rectangles, so that a user can view a first user display interface and a second user display interface simultaneously when using the display interface diagram.
As shown in fig. 6, the multi-user display apparatus 500 further includes a closing module 550, configured to receive a second setting instruction, close the display interface of the first user or the display interface of the second user according to the second setting instruction, and transfer the first user data or the second user data from the foreground buffer to the background buffer.
When the user does not need to simultaneously display the first user display interface or the second user display interface, the user can click the close button, at this time, a second setting instruction is generated, and the close module 550 closes the display picture which is not needed according to the second setting instruction. Meanwhile, the closing module 550 transfers the data of the first user or the second user from the foreground buffer to the background buffer, and at this time, the buffer division of the foreground buffer may be cancelled.
In summary, in the embodiment of the present application, when a plurality of users log in the system, the first user data is stored in the foreground buffer, the second user data is stored in the background buffer, when receiving a first setting instruction, dividing a foreground buffer area into a first sub-buffer area and a second sub-buffer area, acquiring the data capacity of second user data, determining the storage space of the second sub-buffer area according to the data capacity of the second user data, then transferring the second user data from the background buffer area to a second sub-buffer area, acquiring the display types of the first user and the second user, determining the priority of the plurality of sub-buffer areas according to the display types of the first user and the second user, respectively occupying the proportion of display areas for the display interfaces of the first user and the second user according to the priority, and finally dividing the display screen into two display areas according to the proportion to respectively display the first user display interface and the second user display interface. Therefore, the display efficiency of the multi-user login system is improved.
Accordingly, an electronic device is also provided in the embodiments of the present application, and as shown in fig. 7, the terminal may include a display unit 601, an input unit 602, a memory 603 including one or more computer-readable storage media, a processor 604 including one or more processing cores, a power supply 605, and a sensor 606. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. Wherein:
the display unit 601 may be used to display information input by or provided to a user and various graphic user interfaces of a terminal, which may be configured by graphics, text, icons, video, and any combination thereof. The Display unit 601 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 604 to determine the type of touch event, and then the processor 604 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 7 the touch-sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The input unit 602 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in a particular embodiment, the input unit 602 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means 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, sends the touch point coordinates to the processor 604, and can receive and execute commands sent by the processor 604. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 602 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices 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 memory 603 may be used to store software programs and modules, and the processor 608 executes various functional applications and data processing by operating the software programs and modules stored in the memory 603. The memory 603 may mainly include a storage program area and a storage data area, wherein the storage program 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 terminal, etc. Further, the memory 603 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. Accordingly, the memory 603 may further include a memory controller to provide the processor 603 and the input unit 602 access to the memory 603.
The processor 604 is a control center of the terminal, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 603 and calling data stored in the memory 603, thereby integrally monitoring the mobile phone. Optionally, processor 604 may include one or more processing cores; preferably, the processor 604 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 604.
The terminal also includes a power supply 605 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 604 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 605 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The terminal can also include at least one sensor 606, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration 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, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 604 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 603 according to the following instructions, and the processor 604 runs the application programs stored in the memory 603, thereby implementing various functions:
when a plurality of users log in the system, storing first user data in a foreground buffer area and storing second user data in a background buffer area;
receiving a first setting instruction, and transferring the second user data to a foreground buffer area according to the first setting instruction;
dividing a display screen into two display areas according to the first user data and the second user data;
and respectively displaying the display interface of the first user and the display interface of the second user in the two display areas.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present application provides a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the multi-user display methods provided in the embodiments of the present application. For example, the instructions may perform the steps of:
when a plurality of users log in the system, storing first user data in a foreground buffer area and storing second user data in a background buffer area;
receiving a first setting instruction, and transferring the second user data to a foreground buffer area according to the first setting instruction;
dividing a display screen into two display areas according to the first user data and the second user data;
and respectively displaying the display interface of the first user and the display interface of the second user in the two display areas.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any one of the multi-user display methods provided in the embodiments of the present application, beneficial effects that can be achieved by any one of the multi-user display methods provided in the embodiments of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described again here.
The foregoing describes in detail a multi-user display method, apparatus, electronic device, and storage medium provided in the embodiments of the present application, and specific examples are applied herein to explain the principles and implementations of the present application, and the descriptions of the foregoing embodiments are only used to help understand the method and core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A multi-user display method, the method comprising:
when a plurality of users log in the system, storing first user data in a foreground buffer area and storing second user data in a background buffer area;
receiving a first setting instruction, and transferring the second user data to a foreground buffer area according to the first setting instruction;
dividing a display screen into two display areas according to the first user data and the second user data;
and respectively displaying the display interface of the first user and the display interface of the second user in the two display areas.
2. The multi-user display method of claim 1, wherein prior to the transferring the second user data to a foreground buffer according to the first setup instruction, the method further comprises:
dividing the foreground buffer into a first sub-buffer and a second sub-buffer, wherein the first sub-buffer is used for storing the first user data.
3. The method according to claim 2, wherein the receiving a setting instruction, and transferring the second user data to a foreground buffer according to the setting instruction comprises:
acquiring the data capacity of the second user data;
determining the storage space of the second sub-buffer according to the data capacity of the second user data;
transferring the second user data to the second sub-buffer.
4. The multi-user display method of claim 1, wherein the dividing the display screen into two display regions according to the first user data and the second user data comprises:
acquiring the priority of the first user data and the second user data;
controlling the proportion of the display area occupied by the display interface of the first user and the display interface of the second user respectively according to the priority;
and dividing the display screen into two display areas according to the proportion.
5. The multi-user display method of claim 4, wherein the obtaining the priority of the first user data and the second user data comprises:
acquiring the display type of the first user and the display type of the second user;
and determining the priorities of the plurality of sub-buffers according to the display type of the first user and the display type of the second user.
6. The multi-user display method according to claim 1, wherein after the display interface of the first user and the display interface of the second user are respectively displayed in the two display areas, the method further comprises:
receiving a second setting instruction, and closing the display interface of the first user or the display interface of the second user according to the second setting instruction;
transferring the first user data or the second user data from the foreground buffer to the background buffer.
7. A multi-user display apparatus, the apparatus comprising:
the storage module is used for storing the first user data in a foreground buffer area and storing the second user data in a background buffer area when a plurality of users log in the system;
the transfer module is used for receiving a first setting instruction and transferring the second user data to a foreground buffer area according to the setting instruction;
the dividing module is used for dividing a display screen into two display areas according to the first user data and the second user data;
and the display module is used for respectively displaying the display interface of the first user and the display interface of the second user in the two display areas.
8. The multi-user display apparatus of claim 7, wherein the transfer module comprises:
a setting sub-module, configured to divide the foreground buffer into a first sub-buffer and a second sub-buffer, where the first sub-buffer is used to store the first user data;
the setting submodule is specifically configured to:
acquiring the data capacity of the second user data;
determining the storage space of the second sub-buffer according to the data capacity of the second user data;
transferring the second user data to the second sub-buffer.
9. An electronic device, comprising:
a memory storing executable program code, a processor coupled with the memory;
the processor calls the executable program code stored in the memory to perform the steps in the multi-user display method according to any one of claims 1 to 6.
10. A storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the multi-user display method of any one of claims 1 to 6.
CN201910882511.3A 2019-09-18 2019-09-18 Multi-user display method, device, electronic equipment and storage medium Active CN110661919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910882511.3A CN110661919B (en) 2019-09-18 2019-09-18 Multi-user display method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910882511.3A CN110661919B (en) 2019-09-18 2019-09-18 Multi-user display method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110661919A true CN110661919A (en) 2020-01-07
CN110661919B CN110661919B (en) 2021-04-13

Family

ID=69038194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910882511.3A Active CN110661919B (en) 2019-09-18 2019-09-18 Multi-user display method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110661919B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1924779A (en) * 2005-07-21 2007-03-07 三星电子株式会社 Integrated digital device and displaying method using the same
CN1960244A (en) * 2005-09-05 2007-05-09 佳能株式会社 Information processing apparatus allowing plurality of users to concurrently log in, and method of controlling the same
US20090174728A1 (en) * 2008-01-04 2009-07-09 Vuzix Corporation Methods of and systems for displaying selected portions of split screen displays
CN104503700A (en) * 2015-01-16 2015-04-08 深圳市中兴移动通信有限公司 Free screen splitting method and mobile terminal
CN105723312A (en) * 2013-10-14 2016-06-29 微软技术许可有限责任公司 Shared digital workspace
CN106027790A (en) * 2016-06-28 2016-10-12 努比亚技术有限公司 Display method and device
CN106657567A (en) * 2016-09-09 2017-05-10 宇龙计算机通信科技(深圳)有限公司 Multi-user access method, multi-user access device and terminal
CN108469969A (en) * 2016-10-25 2018-08-31 中兴通讯股份有限公司 A kind of method and device by split screen display available multi-user's account
CN108984258A (en) * 2018-07-09 2018-12-11 Oppo广东移动通信有限公司 Using multi-screen display method, device, storage medium and electronic equipment
CN109033773A (en) * 2018-08-16 2018-12-18 努比亚技术有限公司 Double screen terminal operation right management method, terminal and computer readable storage medium
CN109684013A (en) * 2018-12-24 2019-04-26 杭州达现科技有限公司 A kind of display methods and device based on multi-user's display interface
US20190155586A1 (en) * 2017-11-20 2019-05-23 Coupa Software Incorporated Customizable project and help building interfaces for deployable software

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1924779A (en) * 2005-07-21 2007-03-07 三星电子株式会社 Integrated digital device and displaying method using the same
CN1960244A (en) * 2005-09-05 2007-05-09 佳能株式会社 Information processing apparatus allowing plurality of users to concurrently log in, and method of controlling the same
US20090174728A1 (en) * 2008-01-04 2009-07-09 Vuzix Corporation Methods of and systems for displaying selected portions of split screen displays
CN105723312A (en) * 2013-10-14 2016-06-29 微软技术许可有限责任公司 Shared digital workspace
CN104503700A (en) * 2015-01-16 2015-04-08 深圳市中兴移动通信有限公司 Free screen splitting method and mobile terminal
CN106027790A (en) * 2016-06-28 2016-10-12 努比亚技术有限公司 Display method and device
CN106657567A (en) * 2016-09-09 2017-05-10 宇龙计算机通信科技(深圳)有限公司 Multi-user access method, multi-user access device and terminal
CN108469969A (en) * 2016-10-25 2018-08-31 中兴通讯股份有限公司 A kind of method and device by split screen display available multi-user's account
US20190155586A1 (en) * 2017-11-20 2019-05-23 Coupa Software Incorporated Customizable project and help building interfaces for deployable software
CN108984258A (en) * 2018-07-09 2018-12-11 Oppo广东移动通信有限公司 Using multi-screen display method, device, storage medium and electronic equipment
CN109033773A (en) * 2018-08-16 2018-12-18 努比亚技术有限公司 Double screen terminal operation right management method, terminal and computer readable storage medium
CN109684013A (en) * 2018-12-24 2019-04-26 杭州达现科技有限公司 A kind of display methods and device based on multi-user's display interface

Also Published As

Publication number Publication date
CN110661919B (en) 2021-04-13

Similar Documents

Publication Publication Date Title
US11431784B2 (en) File transfer display control method and apparatus, and corresponding terminal
US11809693B2 (en) Operating method for multiple windows and electronic device supporting the same
US11354034B2 (en) Devices, methods, and graphical user interfaces for selecting and interacting with different device modes
CN113093982B (en) Device and method for accessing common device functions
CN108958633B (en) Split screen display method and device, storage medium and electronic equipment
US11294560B2 (en) Method and apparatus for changing the ratio between interfaces
US20230021260A1 (en) Gesture instruction execution method and apparatus, system, and storage medium
US9934066B2 (en) Priority-based managing and suspension of window processes in a browser application
WO2019105227A1 (en) Application icon display method, terminal, and computer readable storage medium
US20140078091A1 (en) Terminal Device and Method for Quickly Starting Program
US11733862B2 (en) Information display method and terminal
EP2804126A1 (en) Detection of loss and automatically locking of a mobile device
EP4057137A1 (en) Display control method and terminal device
CN109284041A (en) A kind of application interface switching method and mobile terminal
US20230152956A1 (en) Wallpaper display control method and apparatus and electronic device
EP2871572A1 (en) Contents display method and electronic device implementing the same
US12028476B2 (en) Conversation creating method and terminal device
CN106886351B (en) Display method and device of terminal time information and computer equipment
CN106933576B (en) Terminal unlocking method and device and computer equipment
EP3528103A1 (en) Screen locking method, terminal and screen locking device
CN110661919B (en) Multi-user display method, device, electronic equipment and storage medium
CN111399626B (en) Screen control method and device, storage medium and mobile terminal
CN117032540A (en) Interactive operation response method, device, computer equipment and storage medium
CN114416234A (en) Page switching method and device, computer equipment and storage medium

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