WO2018076753A1 - Display method and apparatus - Google Patents
Display method and apparatus Download PDFInfo
- Publication number
- WO2018076753A1 WO2018076753A1 PCT/CN2017/091070 CN2017091070W WO2018076753A1 WO 2018076753 A1 WO2018076753 A1 WO 2018076753A1 CN 2017091070 W CN2017091070 W CN 2017091070W WO 2018076753 A1 WO2018076753 A1 WO 2018076753A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- screen
- user account
- auxiliary
- displayed
- content corresponding
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
Definitions
- the present application relates to the field of communications, and in particular, to a method and apparatus for display.
- the mobile terminal supports multi-user functions. By configuring multiple users, managing the settings of the visitor and the user, on the mobile terminal, letting others use the mobile phone as a guest, so that other people cannot access all the information on the mobile terminal.
- the master can change the settings for guests and users, and also see how much storage each user or guest is using. Currently, up to 4 users can be created on the user's phone, and up to 8 users can be created on the tablet.
- the current technology does not support two or more users simultaneously using the mobile terminal to log in to different user accounts to use the terminal.
- the embodiment of the present invention provides a display method and device, which are used to solve the problem that two or more users cannot simultaneously use one terminal to log in to different account using terminals in the prior art.
- a method for displaying includes: receiving a multi-user account event triggering instruction; dividing a home screen and a secondary screen on a screen of the terminal according to the multi-user account event triggering instruction;
- the user account login interface corresponding to different user accounts is respectively displayed on the screen and the auxiliary screen; after the user account is successfully logged in, the content corresponding to the user account displayed on the home screen is displayed on the home screen, and displayed on the auxiliary screen on the auxiliary screen.
- the content corresponding to the displayed user account is performed by the user account.
- the method further includes: displaying content corresponding to the user account displayed on the home screen on the home screen, displaying the content corresponding to the user account displayed on the auxiliary screen on the auxiliary screen, and receiving a screen switching trigger instruction , exchange the user account displayed on the main screen and the secondary screen The content corresponding to the user.
- the method further includes: displaying content corresponding to the user account displayed on the home screen on the home screen, displaying the content corresponding to the user account displayed on the auxiliary screen on the auxiliary screen, and receiving the same screen sharing trigger after receiving the content corresponding to the user account displayed on the auxiliary screen
- the instruction copies the content currently displayed on the main screen, and displays the content currently displayed on the copied main screen on the secondary screen.
- the method further includes: displaying content corresponding to the user account displayed on the home screen on the home screen, and displaying the content corresponding to the user account displayed on the auxiliary screen on the secondary screen, if the primary and secondary screens are received
- the switch triggers the command
- the auxiliary screen is turned off, and the channel for receiving and receiving the signal of the auxiliary screen is turned off.
- the switch triggering command for receiving the main and auxiliary screens turns on the auxiliary screen, and the auxiliary screen is turned on. The channel that receives the signal.
- the multi-user account event triggering instruction carries user account information, and the user account information includes the number of user accounts, and the main screen and the auxiliary screen are divided on the screen of the terminal according to the multi-user account event triggering instruction, including: according to the user account The number divides the screen of the terminal into the same number of screens as the number of user accounts.
- a display apparatus comprising: a receiving module configured to receive a multi-user account event triggering instruction; a dividing module configured to trigger an instruction according to a multi-user account event on a screen of the terminal Divide the main screen and the secondary screen;
- the first display module is configured to respectively display a user account login interface corresponding to different user accounts on the divided main screen and the auxiliary screen; the second display module is configured to: after the user account is successfully logged in, after the user account is successfully logged in, The content corresponding to the user account displayed on the home screen is displayed on the home screen, and the content corresponding to the user account displayed on the auxiliary screen is displayed on the secondary screen.
- the device further includes: a switching module configured to display content corresponding to the user account displayed on the home screen on the main screen, and display content corresponding to the user account displayed on the auxiliary screen on the auxiliary screen, if the screen is received When the trigger command is switched, the content corresponding to the user account displayed on the home screen and the secondary screen is exchanged.
- a switching module configured to display content corresponding to the user account displayed on the home screen on the main screen, and display content corresponding to the user account displayed on the auxiliary screen on the auxiliary screen, if the screen is received
- the trigger command is switched, the content corresponding to the user account displayed on the home screen and the secondary screen is exchanged.
- the foregoing apparatus further includes: a sharing module, configured to be displayed on the main screen and on the home screen After the content corresponding to the displayed user account is displayed on the secondary screen and the content corresponding to the user account displayed on the auxiliary screen is displayed, if the same screen sharing trigger instruction is received, the content currently displayed on the home screen is copied, and the copy is displayed on the auxiliary screen. The content currently displayed on the home screen.
- a sharing module configured to be displayed on the main screen and on the home screen After the content corresponding to the displayed user account is displayed on the secondary screen and the content corresponding to the user account displayed on the auxiliary screen is displayed, if the same screen sharing trigger instruction is received, the content currently displayed on the home screen is copied, and the copy is displayed on the auxiliary screen. The content currently displayed on the home screen.
- the device further includes: a switch module configured to display content corresponding to the user account displayed on the home screen on the home screen, and display the content corresponding to the user account displayed on the auxiliary screen on the auxiliary screen, if receiving When the switch triggers the command to the main and auxiliary screens, the auxiliary screen is turned off, and the channel for receiving and receiving signals of the auxiliary screen is turned off, and the switch trigger command for receiving the main and auxiliary screens is turned on when the auxiliary screen is not turned on, and the auxiliary screen is turned on, and Open the channel for the auxiliary screen to receive and receive signals.
- a switch module configured to display content corresponding to the user account displayed on the home screen on the home screen, and display the content corresponding to the user account displayed on the auxiliary screen on the auxiliary screen, if receiving
- the switch triggers the command to the main and auxiliary screens the auxiliary screen is turned off, and the channel for receiving and receiving signals of the auxiliary screen is turned off, and the switch trigger command for receiving the main and auxiliary screens is turned on when the
- the multi-user account event triggering instruction carries user account information, and the user account information includes the number of user accounts, and the dividing module is configured to: divide the screen of the terminal into the same number as the number of user accounts according to the number of user accounts. Screen.
- a computer storage medium is further provided, and the computer storage medium may store an execution instruction for performing the implementation of the display method in the foregoing embodiment.
- the solution provided by the embodiment of the present application uses a plurality of divided screens to display content corresponding to different user accounts, so that multiple users can simultaneously log in to different user accounts on one mobile terminal to use the terminal, and simultaneously display different The content corresponding to the user account improves the utilization of the mobile terminal.
- FIG. 1 is a flowchart of a method for displaying provided by a first embodiment of the present application
- FIG. 2 is a flow chart of a method of display provided in a second embodiment of the present application.
- FIG. 3 is a data processing flow of screen display content in the display method according to the second embodiment of the present application.
- FIG. 4 is a flow chart of the apparatus for display provided by the fourth embodiment of the present application.
- the application mainly combines dual-screen display technology and multi-user mode technology to achieve the purpose of two or more users simultaneously using different terminals by logging in to different user accounts.
- FIG. 1 is a flowchart of the method. As shown in FIG. 1, the method includes:
- Step 101 Receive a multi-user account event triggering instruction
- the user can input a specified instruction to the terminal through the terminal screen or the hardware button, and trigger the instruction for the multi-user account event by setting the specified instruction in advance, so that after the terminal receives the instruction, the multi-user account can be triggered.
- the event, the multi-user account event is to display the contents of the plurality of user accounts respectively by the plurality of screens obtained after the division on the screen of the terminal.
- Step 102 Divide the main screen and the auxiliary screen on the screen of the terminal according to the multi-user account event triggering instruction;
- the multi-user account event triggering instruction carries user account information
- the user account information includes the number of user accounts
- the main screen is divided on the screen of the terminal.
- a secondary screen comprising: dividing the screen of the terminal into the same number of screens as the number of user accounts according to the number of user accounts.
- Step 103 Display user account login interfaces corresponding to different user accounts on the divided main screen and the auxiliary screen respectively;
- Step 104 After the user account is successfully logged in, the content corresponding to the user account is displayed on the main screen and the auxiliary screen.
- the method provided in this embodiment can also respond to the main and auxiliary screen switching events, the on-screen sharing event, and the main and auxiliary screen switching events, wherein the main and auxiliary screen switching events are aimed at implementing the main screen.
- the displayed content is exchanged with the content corresponding to the user account displayed on the auxiliary screen.
- the main screen displays the content corresponding to the user account displayed before the auxiliary screen
- the auxiliary screen displays the content corresponding to the user account displayed before the main screen
- Screen sharing is designed to display the same content using the home screen and the secondary screen, that is, the home screen shares its displayed content with the secondary screen
- the main and auxiliary screen switch events are intended to be used to enable the opening and closing of the secondary screen.
- the content corresponding to the user account is displayed on the home screen and the secondary screen, if the same screen sharing trigger instruction is received, the content currently displayed on the home screen is copied, and the content currently displayed on the copied home screen is displayed on the secondary screen.
- the auxiliary screen After displaying the content corresponding to the user account on the main screen and the auxiliary screen, if the switch triggering instruction of the main and auxiliary screens is received, the auxiliary screen is closed, and the channel for receiving and receiving the signal of the auxiliary screen is turned off, and the auxiliary screen is not turned on. In the case of receiving the switch trigger command of the main and auxiliary screens, the auxiliary screen is turned on, and the channel for connecting and receiving signals of the auxiliary screen is turned on.
- This embodiment further explains the method provided by the present application by disclosing more technical details on the basis of the above-described first embodiment.
- FIG. 2 is a flowchart of a method for displaying according to the embodiment. This embodiment temporarily uses two user accounts as an example. As shown in FIG. 2, the method includes the following steps:
- Step S101 The mobile phone main screen triggers a multi-user dual-screen display event
- Step S102 The home screen displays the landing page of the user 1, and the user 1 can log in through the login page, and can call any application through the divided screen;
- Step S103 The secondary screen displays the login page of the user 2 (visitor), the user 2 can perform the account login, and can call any application to operate the mobile phone screen.
- the main screen and the auxiliary screen of the terminal system can be logged into different system accounts.
- the user can use the applications in the respective accounts without affecting each other. , including user storage content, user behavior, etc. do not affect each other.
- main and auxiliary screen switches different content display of the main and auxiliary screens under multiple users (ie, the functions implemented in the above steps S101 to S103), main and auxiliary screen display content switching, and the same screen display (secondary screen) Synchronizing the display of the main screen content), the four events have been described in the above-mentioned first embodiment, so the four events will not be described here.
- the method for displaying the multi-user account through the split screen will be described below with reference to FIG. The data processing flow of the screen display content is explained:
- Event-driven The underlying window system puts the input of the external device and the communication information between the following underlying window system and the window manager in the event queue in the form of an event, and then the window manager extracts the event from the event queue and calls the corresponding processing. Modules, processing modules for different types of events.
- the event-driven interaction model is asynchronous, and the user can enter information through the input device while the application is running. In this way, the interaction between the user and the terminal can be accelerated.
- the window manager extracts an event, it first analyzes the event type.
- the processing module After the window manager analyzes the types of the above four events, the corresponding processing module is called, and the processing module processes the different types of events.
- the processing module Through the Surface request to the underlying system of the window to the screen output, wherein the Surface points to a user memory space, used to maintain the actual view content, each window corresponds to a Surface object.
- the processing module first passes the event processing request to the underlying window system by calling the corresponding processing interface of the Surface; the Surface executes the local method in the SurfaceComposerClient through the technology, SurfaceComposerClient
- the underlying window is accessed through Android-specific interprocess communication.
- the underlying window system holds two DisplayHardware objects representing the main and auxiliary screens, through the event type, the object completion is closed, the different object display, the object switching, and the object copying action; when the screen is completed according to the above-mentioned management module instruction type, since the screen has been Changes occur, and the resolution of the two screens may be different, so you need to re-cut the window you want to display.
- the window manager will first get the resolution of the current screen, then adjust the visual border of each window. Finally, the clipping domain of each window is recalculated.
- the underlying management system After the adjustment of the window manager is completed, the underlying management system outputs all the windows that need to be displayed on the current screen.
- the event type includes user account information: primary account information (1), secondary account information (2), and the hardware screen has two interfaces, the default home screen is interface type 1, and the secondary screen interface type is 2. Based on this, the window manager handles the following events:
- the main account information output corresponding channel is the screen interface type 1
- the auxiliary account information output corresponding channel is the screen interface type 2.
- the main account information output corresponding channel is the screen interface type 2
- the auxiliary account information output corresponding channel is the screen interface type 1.
- the corresponding channel of the primary account information output is the screen interface type 1, and the corresponding channel of the auxiliary account information output is reset to the screen interface type 2.
- the user account is logged in, and the main and auxiliary screens display different account contents
- auxiliary screen After opening, the auxiliary screen reaches the user login by one button.
- different accounts can be used for independent application space, and can open WeChat, open game class, shopping class and picture sharing;
- the main and auxiliary screens are turned on and off;
- a switch for the auxiliary screen is provided.
- the switch is in the form of a hardware switch or a software switch.
- the auxiliary screen is turned on in a suitable scene, and the auxiliary screen is turned off in a scene where it is unnecessary or energy-saving.
- the main and auxiliary screens switch providing the switching function of the main and auxiliary screens, which are in the form of hardware buttons or software buttons.
- the screen switch is used to achieve a convenient effect;
- Example 1 Dual-screen mobile phone displays the same application on both sides, and different application accounts are logged in;
- the Andriod system multi-user account such as the main account, guest account.
- the main account and the guest account each open the same game app, and operate at the same time to satisfy the competition of the two game players at the same time with the space, which can be used for parent-child , game interaction between friends and lovers, for example, an APP "Moov" (personal coach) game currently with a sports bracelet.
- APP "Moov" personal coach
- Example 2 Dual screen phone off auxiliary screen
- the user can flexibly switch the display of the auxiliary screen through the operable page.
- the main screen and the secondary screen are logged in by Andriod multi-user, and open different applications, WeChat and video.
- the content displayed on the main and auxiliary screens is switched through software or hardware buttons.
- FIG. 4 is a structural block diagram of the device 40. As shown in FIG. 4, the device includes the following components:
- the receiving module 41 is configured to receive a multi-user account event triggering instruction
- the dividing module 42 is configured to divide the main screen and the auxiliary screen on the screen of the terminal according to the multi-user account event triggering instruction;
- the first display module 43 is configured to respectively display user account login interfaces corresponding to different user accounts on the divided main screen and the auxiliary screen;
- the second display module 44 is configured to display the content corresponding to the user account on the home screen and the secondary screen after the user account is successfully logged in.
- the foregoing apparatus 40 further includes:
- the switching module is configured to, after displaying the content corresponding to the user account on the home screen and the secondary screen, exchange the content corresponding to the user account displayed on the secondary screen if the screen switching trigger instruction is received.
- the device 40 further includes: a sharing module, configured to: after displaying the content corresponding to the user account on the main screen and the auxiliary screen, if the sharing trigger command of the same screen is received, copying the currently displayed content of the main screen, The content currently displayed on the copied home screen is displayed on the secondary screen.
- a sharing module configured to: after displaying the content corresponding to the user account on the main screen and the auxiliary screen, if the sharing trigger command of the same screen is received, copying the currently displayed content of the main screen, The content currently displayed on the copied home screen is displayed on the secondary screen.
- the device 40 further includes: a switch module, configured to: after displaying the content corresponding to the user account on the main screen and the auxiliary screen, if receiving the switch triggering instruction of the primary and secondary screens, turning off the auxiliary screen, and closing The channel for receiving and receiving signals on the auxiliary screen, when the auxiliary screen is not turned on, receives the switch trigger command of the main and auxiliary screens to turn on the auxiliary screen, and opens the channel for receiving and receiving signals of the auxiliary screen.
- a switch module configured to: after displaying the content corresponding to the user account on the main screen and the auxiliary screen, if receiving the switch triggering instruction of the primary and secondary screens, turning off the auxiliary screen, and closing The channel for receiving and receiving signals on the auxiliary screen, when the auxiliary screen is not turned on, receives the switch trigger command of the main and auxiliary screens to turn on the auxiliary screen, and opens the channel for receiving and receiving signals of the auxiliary screen.
- the multi-user account event triggering instruction carries user account information, and the user account information includes the number of user accounts, and the dividing module is configured to: according to the number of user accounts, divide the screen of the terminal into the same number as the number of user accounts. screen.
- each of the above modules can be implemented by software or hardware.
- the latter can be implemented in the following manner, but is not limited thereto: the above modules are all located in the same processor; or, the above modules are respectively located in different processors in any combination.
- Embodiments of the present invention also provide a storage medium including a stored program, wherein the program described above executes the method of any of the above.
- the foregoing storage medium may be configured to store program code for performing the following steps:
- the main screen and the auxiliary screen are divided on the screen of the terminal according to the multi-user account event triggering instruction;
- the storage medium is further arranged to store program code for performing the following steps:
- the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
- ROM Read-Only Memory
- RAM Random Access Memory
- Embodiments of the present invention also provide a processor for running a program, wherein the program is executed to perform the steps of any of the above methods.
- the foregoing program is used to perform the following steps:
- the main screen and the auxiliary screen are divided on the screen of the terminal according to the multi-user account event triggering instruction;
- modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
- the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
- the invention is not limited to any specific combination of hardware and software.
- the foregoing technical solution provided by the embodiment of the present application can be applied to display a plurality of screens to display content corresponding to different user accounts, so that multiple users can simultaneously log in different user accounts on one mobile terminal. To use the terminal and simultaneously display the content corresponding to different user accounts, the utilization rate of the mobile terminal is improved.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
本申请涉及通讯领域,特别是涉及一种显示的方法及装置。The present application relates to the field of communications, and in particular, to a method and apparatus for display.
目前,移动终端支持多用户功能,通过配置多用户,管理访客和用户的设置,在移动终端上,让其他人以访客身份使用手机,这样,其他人就无法访问移动终端上的所有信息,机主可以更改访客和用户的设置,还可以查看每位用户或访客使用了多少存储空间。目前,用户手机上最多可以创建4位用户,而在平板电脑上最多可以创建8位用户。At present, the mobile terminal supports multi-user functions. By configuring multiple users, managing the settings of the visitor and the user, on the mobile terminal, letting others use the mobile phone as a guest, so that other people cannot access all the information on the mobile terminal. The master can change the settings for guests and users, and also see how much storage each user or guest is using. Currently, up to 4 users can be created on the user's phone, and up to 8 users can be created on the tablet.
然而,即使移动终端可以创建多个用户,但是目前的技术并不支持两个或两个以上用户同时使用移动终端登陆不同用户账户对终端进行使用。However, even if the mobile terminal can create multiple users, the current technology does not support two or more users simultaneously using the mobile terminal to log in to different user accounts to use the terminal.
发明内容Summary of the invention
本申请实施例提供一种显示的方法及装置,用以解决现有技术中无法实现两个或两个以上用户同时使用一个终端登陆不同账户使用终端的问题。The embodiment of the present invention provides a display method and device, which are used to solve the problem that two or more users cannot simultaneously use one terminal to log in to different account using terminals in the prior art.
根据本申请的一个实施例,提供了一种显示的方法,包括:接收多用户账户事件触发指令;根据多用户账户事件触发指令在终端的屏幕上划分主屏幕以及辅屏幕;在划分后的主屏幕以及辅屏幕上分别显示不同的用户账户对应的用户账户登陆界面;在用户账户登陆成功后,在主屏幕显示与主屏幕上显示的用户账户对应的内容,在辅屏幕上显示与辅助屏幕上显示的用户账户对应的内容。According to an embodiment of the present application, a method for displaying includes: receiving a multi-user account event triggering instruction; dividing a home screen and a secondary screen on a screen of the terminal according to the multi-user account event triggering instruction; The user account login interface corresponding to different user accounts is respectively displayed on the screen and the auxiliary screen; after the user account is successfully logged in, the content corresponding to the user account displayed on the home screen is displayed on the home screen, and displayed on the auxiliary screen on the auxiliary screen. The content corresponding to the displayed user account.
可选地,上述方法还包括:在主屏幕显示与主屏幕上显示的用户账户对应的内容,在辅屏幕上显示与辅助屏幕上显示的用户账户对应的内容之后,如果接收到屏幕切换触发指令,则交换主屏幕与辅屏幕显示的用户账 户对应的内容。Optionally, the method further includes: displaying content corresponding to the user account displayed on the home screen on the home screen, displaying the content corresponding to the user account displayed on the auxiliary screen on the auxiliary screen, and receiving a screen switching trigger instruction , exchange the user account displayed on the main screen and the secondary screen The content corresponding to the user.
可选地,上述方法还包括:在主屏幕显示与主屏幕上显示的用户账户对应的内容,在辅屏幕上显示与辅助屏幕上显示的用户账户对应的内容之后,如果接收到同屏分享触发指令,则复制主屏幕当前显示的内容,在辅屏幕上显示复制的主屏幕当前显示的内容。Optionally, the method further includes: displaying content corresponding to the user account displayed on the home screen on the home screen, displaying the content corresponding to the user account displayed on the auxiliary screen on the auxiliary screen, and receiving the same screen sharing trigger after receiving the content corresponding to the user account displayed on the auxiliary screen The instruction copies the content currently displayed on the main screen, and displays the content currently displayed on the copied main screen on the secondary screen.
可选地,上述方法还包括:在主屏幕显示与主屏幕上显示的用户账户对应的内容,在辅屏幕上显示与辅助屏幕上显示的用户账户对应的内容之后,如果接收到主、辅屏幕的开关触发指令,则关闭辅助屏幕,并关闭辅屏幕接、收信号的通道,在辅助屏幕未开启的情况下接收到主、辅屏幕的开关触发指令则开启辅助屏幕,以及开启辅屏幕接、收信号的通道。Optionally, the method further includes: displaying content corresponding to the user account displayed on the home screen on the home screen, and displaying the content corresponding to the user account displayed on the auxiliary screen on the secondary screen, if the primary and secondary screens are received When the switch triggers the command, the auxiliary screen is turned off, and the channel for receiving and receiving the signal of the auxiliary screen is turned off. When the auxiliary screen is not turned on, the switch triggering command for receiving the main and auxiliary screens turns on the auxiliary screen, and the auxiliary screen is turned on. The channel that receives the signal.
其中,多用户账户事件触发指令中携带有用户账户信息,用户账户信息中包括用户账户的数目,根据多用户账户事件触发指令在终端的屏幕上划分主屏幕以及辅屏幕,包括:根据用户账户的数目,将终端的屏幕划分至与用户账户数目相同个数的屏幕。The multi-user account event triggering instruction carries user account information, and the user account information includes the number of user accounts, and the main screen and the auxiliary screen are divided on the screen of the terminal according to the multi-user account event triggering instruction, including: according to the user account The number divides the screen of the terminal into the same number of screens as the number of user accounts.
根据本申请的第二个实施例,提供了一种显示的装置,包括:接收模块,设置为接收多用户账户事件触发指令;划分模块,设置为根据多用户账户事件触发指令在终端的屏幕上划分主屏幕以及辅屏幕;According to a second embodiment of the present application, there is provided a display apparatus, comprising: a receiving module configured to receive a multi-user account event triggering instruction; a dividing module configured to trigger an instruction according to a multi-user account event on a screen of the terminal Divide the main screen and the secondary screen;
第一显示模块,设置为在划分后的主屏幕以及辅屏幕上分别显示不同的用户账户对应的用户账户登陆界面;第二显示模块,设置为在用户账户登陆成功后,在用户账户登陆成功后,在主屏幕显示与主屏幕上显示的用户账户对应的内容,在辅屏幕上显示与辅助屏幕上显示的用户账户对应的内容。The first display module is configured to respectively display a user account login interface corresponding to different user accounts on the divided main screen and the auxiliary screen; the second display module is configured to: after the user account is successfully logged in, after the user account is successfully logged in, The content corresponding to the user account displayed on the home screen is displayed on the home screen, and the content corresponding to the user account displayed on the auxiliary screen is displayed on the secondary screen.
可选地,上述装置还包括:切换模块,设置为主屏幕显示与主屏幕上显示的用户账户对应的内容,在辅屏幕上显示与辅助屏幕上显示的用户账户对应的内容,如果接收到屏幕切换触发指令,则交换主屏幕与辅屏幕显示的用户账户对应的内容。Optionally, the device further includes: a switching module configured to display content corresponding to the user account displayed on the home screen on the main screen, and display content corresponding to the user account displayed on the auxiliary screen on the auxiliary screen, if the screen is received When the trigger command is switched, the content corresponding to the user account displayed on the home screen and the secondary screen is exchanged.
可选地,上述装置还包括:分享模块,设置为主屏幕显示与主屏幕上 显示的用户账户对应的内容,在辅屏幕上显示与辅助屏幕上显示的用户账户对应的内容之后,如果接收到同屏分享触发指令,则复制主屏幕当前显示的内容,在辅屏幕上显示复制的主屏幕当前显示的内容。Optionally, the foregoing apparatus further includes: a sharing module, configured to be displayed on the main screen and on the home screen After the content corresponding to the displayed user account is displayed on the secondary screen and the content corresponding to the user account displayed on the auxiliary screen is displayed, if the same screen sharing trigger instruction is received, the content currently displayed on the home screen is copied, and the copy is displayed on the auxiliary screen. The content currently displayed on the home screen.
可选地,上述装置还包括:开关模块,设置为在主屏幕显示与主屏幕上显示的用户账户对应的内容,在辅屏幕上显示与辅助屏幕上显示的用户账户对应的内容之后,如果接收到主、辅屏幕的开关触发指令,则关闭辅助屏幕,并关闭辅屏幕接、收信号的通道,在辅助屏幕未开启的情况下接收到主、辅屏幕的开关触发指令则开启辅助屏幕,以及开启辅屏幕接、收信号的通道。Optionally, the device further includes: a switch module configured to display content corresponding to the user account displayed on the home screen on the home screen, and display the content corresponding to the user account displayed on the auxiliary screen on the auxiliary screen, if receiving When the switch triggers the command to the main and auxiliary screens, the auxiliary screen is turned off, and the channel for receiving and receiving signals of the auxiliary screen is turned off, and the switch trigger command for receiving the main and auxiliary screens is turned on when the auxiliary screen is not turned on, and the auxiliary screen is turned on, and Open the channel for the auxiliary screen to receive and receive signals.
其中,多用户账户事件触发指令中携带有用户账户信息,用户账户信息中包括用户账户的数目,划分模块上述设置为:根据用户账户的数目,将终端的屏幕划分至与用户账户数目相同个数的屏幕。The multi-user account event triggering instruction carries user account information, and the user account information includes the number of user accounts, and the dividing module is configured to: divide the screen of the terminal into the same number as the number of user accounts according to the number of user accounts. Screen.
在本申请实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的显示方法的实现。In the embodiment of the present application, a computer storage medium is further provided, and the computer storage medium may store an execution instruction for performing the implementation of the display method in the foregoing embodiment.
本申请实施例有益效果如下:The beneficial effects of the embodiments of the present application are as follows:
本申请实施例提供的方案,使用划分后的多个屏幕来显示不同的用户账户对应的内容,使得多个用户可以在一个移动终端上同时登陆不同的用户账户来使用终端,并同时显示不同的用户账户对应的内容,提高了移动终端的利用率。The solution provided by the embodiment of the present application uses a plurality of divided screens to display content corresponding to different user accounts, so that multiple users can simultaneously log in to different user accounts on one mobile terminal to use the terminal, and simultaneously display different The content corresponding to the user account improves the utilization of the mobile terminal.
图1是本申请第一实施例提供的显示的方法的流程图;1 is a flowchart of a method for displaying provided by a first embodiment of the present application;
图2是本申请第二实施例中提供的显示的方法的流程图;2 is a flow chart of a method of display provided in a second embodiment of the present application;
图3是本申请第二实施例中涉及的显示的方法中屏幕显示内容的数据处理流程; 3 is a data processing flow of screen display content in the display method according to the second embodiment of the present application;
图4是本申请第四实施例提供的显示的装置的流程图。4 is a flow chart of the apparatus for display provided by the fourth embodiment of the present application.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the drawings in the embodiments of the present application. 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 obtained by those skilled in the art based on the embodiments of the present application without creative efforts are within the scope of the present application.
第一实施例First embodiment
本申请主要融合双屏显示技术和多用户模式技术,来实现两个或两个以上用户通过登陆不同用户账户同时使用终端的目的。The application mainly combines dual-screen display technology and multi-user mode technology to achieve the purpose of two or more users simultaneously using different terminals by logging in to different user accounts.
本实施例提供了一种显示的方法,图1是该方法的流程图,如图1所示,该方法包括:This embodiment provides a display method, and FIG. 1 is a flowchart of the method. As shown in FIG. 1, the method includes:
步骤101:接收多用户账户事件触发指令;Step 101: Receive a multi-user account event triggering instruction;
在该步骤中用户可以通过终端屏幕或硬件按钮向终端输入指定的指令,通过预先设置该指定的指令为多用户账户事件触发指令,这样,在终端接收到该指令后,即可以触发多用户账户事件,多用户账户事件即为在终端的屏幕上通过划分后得到的多个屏幕来分别显示多个用户账户的内容。In this step, the user can input a specified instruction to the terminal through the terminal screen or the hardware button, and trigger the instruction for the multi-user account event by setting the specified instruction in advance, so that after the terminal receives the instruction, the multi-user account can be triggered. The event, the multi-user account event is to display the contents of the plurality of user accounts respectively by the plurality of screens obtained after the division on the screen of the terminal.
步骤102:根据多用户账户事件触发指令在终端的屏幕上划分主屏幕以及辅屏幕;Step 102: Divide the main screen and the auxiliary screen on the screen of the terminal according to the multi-user account event triggering instruction;
在本实施例中,优选的,多用户账户事件触发指令中携带有用户账户信息,用户账户信息中包括用户账户的数目,基于此,根据多用户账户事件触发指令在终端的屏幕上划分主屏幕以及辅屏幕,包括:根据用户账户的数目,将终端的屏幕划分至与用户账户数目相同个数的屏幕。 In this embodiment, preferably, the multi-user account event triggering instruction carries user account information, and the user account information includes the number of user accounts, and based on the multi-user account event triggering instruction, the main screen is divided on the screen of the terminal. And a secondary screen, comprising: dividing the screen of the terminal into the same number of screens as the number of user accounts according to the number of user accounts.
步骤103:在划分后的主屏幕以及辅屏幕上分别显示不同的用户账户对应的用户账户登陆界面;Step 103: Display user account login interfaces corresponding to different user accounts on the divided main screen and the auxiliary screen respectively;
步骤104:在用户账户登陆成功后,在主屏幕以及辅屏幕上显示与其用户账户对应的内容。Step 104: After the user account is successfully logged in, the content corresponding to the user account is displayed on the main screen and the auxiliary screen.
本实施例提供的方法除了可以响应多用户账户触发事件之外,还可以响应主辅屏幕切换事件、同屏分享事件以及主、辅屏幕开关事件,其中,主辅屏幕切换事件旨在实现主屏幕显示的内容与辅屏幕显示的用户账户对应的内容进行互换,互换后,主屏幕显示辅屏幕之前显示的用户账户对应的内容,辅屏幕显示主屏幕之前显示的用户账户对应的内容;同屏分享旨在实现使用主屏幕以及辅屏幕显示同样的内容,即,主屏幕向辅屏幕分享其显示的内容;主、辅屏幕开关事件旨在用于实现辅屏幕的开启以及关闭。In addition to the multi-user account triggering event, the method provided in this embodiment can also respond to the main and auxiliary screen switching events, the on-screen sharing event, and the main and auxiliary screen switching events, wherein the main and auxiliary screen switching events are aimed at implementing the main screen. The displayed content is exchanged with the content corresponding to the user account displayed on the auxiliary screen. After the exchange, the main screen displays the content corresponding to the user account displayed before the auxiliary screen, and the auxiliary screen displays the content corresponding to the user account displayed before the main screen; Screen sharing is designed to display the same content using the home screen and the secondary screen, that is, the home screen shares its displayed content with the secondary screen; the main and auxiliary screen switch events are intended to be used to enable the opening and closing of the secondary screen.
其中,上述各事件的触发方法如下:The triggering method for each of the above events is as follows:
在主屏幕以及辅屏幕上显示与其用户账户对应的内容之后,如果接收到屏幕切换触发指令,则交换主屏幕与辅屏幕显示的用户账户对应的内容。After displaying the content corresponding to the user account on the home screen and the secondary screen, if a screen switching trigger instruction is received, the content corresponding to the user account displayed on the secondary screen is exchanged.
在主屏幕以及辅屏幕上显示与其用户账户对应的内容之后,如果接收到同屏分享触发指令,则复制主屏幕当前显示的内容,在辅屏幕上显示复制的主屏幕当前显示的内容。After the content corresponding to the user account is displayed on the home screen and the secondary screen, if the same screen sharing trigger instruction is received, the content currently displayed on the home screen is copied, and the content currently displayed on the copied home screen is displayed on the secondary screen.
在主屏幕以及辅屏幕上显示与其用户账户对应的内容之后,如果接收到主、辅屏幕的开关触发指令,则关闭辅助屏幕,并关闭辅屏幕接、收信号的通道,在辅助屏幕未开启的情况下接收到主、辅屏幕的开关触发指令则开启辅助屏幕,以及开启辅屏幕接、收信号的通道。After displaying the content corresponding to the user account on the main screen and the auxiliary screen, if the switch triggering instruction of the main and auxiliary screens is received, the auxiliary screen is closed, and the channel for receiving and receiving the signal of the auxiliary screen is turned off, and the auxiliary screen is not turned on. In the case of receiving the switch trigger command of the main and auxiliary screens, the auxiliary screen is turned on, and the channel for connecting and receiving signals of the auxiliary screen is turned on.
第二实施例Second embodiment
本实施例在上述第一实施例的基础上,通过公开更多的技术细节来对本申请提供的方法进行进一步的说明。This embodiment further explains the method provided by the present application by disclosing more technical details on the basis of the above-described first embodiment.
图2为本实施例提供的显示的方法的流程图,本实施例暂且以两个用户账户为例进行说明,如图2所示,该方法包括如下步骤: FIG. 2 is a flowchart of a method for displaying according to the embodiment. This embodiment temporarily uses two user accounts as an example. As shown in FIG. 2, the method includes the following steps:
步骤S101:手机主屏幕触发多用户双屏幕显示事件;Step S101: The mobile phone main screen triggers a multi-user dual-screen display event;
步骤S102:主屏幕显示用户1的登陆页,用户1可以通过该登录页进行账户登陆,并可以通过划分后的屏幕调用任一应用;Step S102: The home screen displays the landing page of the user 1, and the user 1 can log in through the login page, and can call any application through the divided screen;
步骤S103:辅屏幕显示用户2(访客)的登陆页面,用户2可以进行账户登陆,并可以调用任意应用操作手机屏幕。Step S103: The secondary screen displays the login page of the user 2 (visitor), the
针对多用户账户事件触发,终端系统的主屏幕和辅屏幕可以登陆到不同系统账户中,在执行上述步骤S101至步骤S103的基础上,可以实现在用户使用各自账户中的应用时,不相互影响,包括用户存储内容,用户行为等均不互相影响。For the multi-user account event triggering, the main screen and the auxiliary screen of the terminal system can be logged into different system accounts. On the basis of performing the above steps S101 to S103, the user can use the applications in the respective accounts without affecting each other. , including user storage content, user behavior, etc. do not affect each other.
本实施例新定义4个事件类型:主、辅屏幕开关,多用户下主辅屏不同内容显示(即上述步骤S101至S103实现的功能),主辅屏幕显示内容切换,同屏显示(辅屏幕同步显示主屏幕内容),该4个事件已经在上述第一实施例中进行了相应说明,故此处对该4个事件不再赘述,以下结合附图3对通过分屏显示多用户账户的方法中屏幕显示内容的数据处理流程进行说明:In this embodiment, four event types are newly defined: main and auxiliary screen switches, different content display of the main and auxiliary screens under multiple users (ie, the functions implemented in the above steps S101 to S103), main and auxiliary screen display content switching, and the same screen display (secondary screen) Synchronizing the display of the main screen content), the four events have been described in the above-mentioned first embodiment, so the four events will not be described here. The method for displaying the multi-user account through the split screen will be described below with reference to FIG. The data processing flow of the screen display content is explained:
事件驱动:底层窗口系统将外部设备的输入和以下底层窗口系统与窗口管理器之间的通信信息以事件的形式放在事件队列中,然后窗口管理器从事件队列中提取事件,调用相应的处理模块,处理模块针对不同类型的事件进行处理。事件驱动的交互模型是异步的,在应用程序运行的同时,用户可以通过输入设备输入信息。利用这种方式可以加快用户与终端之间的交互。当窗口管理器提取事件时,首先分析事件类型,Event-driven: The underlying window system puts the input of the external device and the communication information between the following underlying window system and the window manager in the event queue in the form of an event, and then the window manager extracts the event from the event queue and calls the corresponding processing. Modules, processing modules for different types of events. The event-driven interaction model is asynchronous, and the user can enter information through the input device while the application is running. In this way, the interaction between the user and the terminal can be accelerated. When the window manager extracts an event, it first analyzes the event type.
窗口管理器分析以上4个事件的类型之后,调用相应的处理模块,处理模块针对不同类型的事件进行处理。经由Surface请求到窗口底层系统到屏幕分别输出,其中,Surface指向一块用户内存空间,用于保持实际的视图内容,每个窗口对应一个Surface对象。此时处理模块首先通过调用Surface的对应处理接口,将事件请求交由底层窗口系统;Surface通过技术执行SurfaceComposerClient中的本地方法,SurfaceComposerClient此 时通过安卓特有的进程间的通信访问底层窗口。After the window manager analyzes the types of the above four events, the corresponding processing module is called, and the processing module processes the different types of events. Through the Surface request to the underlying system of the window to the screen output, wherein the Surface points to a user memory space, used to maintain the actual view content, each window corresponds to a Surface object. At this point, the processing module first passes the event processing request to the underlying window system by calling the corresponding processing interface of the Surface; the Surface executes the local method in the SurfaceComposerClient through the technology, SurfaceComposerClient The underlying window is accessed through Android-specific interprocess communication.
底层窗口系统持有代表主辅屏两个DisplayHardware对象,通过事件类型,对对象完成关闭开启,不同对象显示,对象切换,对象复制的动作;当屏幕按照上述管理模块指令类型完成之后,由于屏幕已发生改变,并且两个屏幕分辨率可能不尽相同,因此还需要对所要显示的窗口进行重新剪切,窗口管理器会首先获取当前屏幕的分辨率,然后对每个窗口的可视边框进行调整,最后对各窗口的剪切域进行重新计算。The underlying window system holds two DisplayHardware objects representing the main and auxiliary screens, through the event type, the object completion is closed, the different object display, the object switching, and the object copying action; when the screen is completed according to the above-mentioned management module instruction type, since the screen has been Changes occur, and the resolution of the two screens may be different, so you need to re-cut the window you want to display. The window manager will first get the resolution of the current screen, then adjust the visual border of each window. Finally, the clipping domain of each window is recalculated.
待窗口管理器的调整工作完毕之后,底层管理系统将所有需要显示的窗口在当前屏幕上进行输出。After the adjustment of the window manager is completed, the underlying management system outputs all the windows that need to be displayed on the current screen.
其中,事件类型里面包含用户账户信息:主账户信息(1),辅账户信息(2),硬件屏幕有两个接口,默认主屏幕为接口类型1,辅屏幕接口类型为2。基于此,窗口管理器处理以下几种事件:The event type includes user account information: primary account information (1), secondary account information (2), and the hardware screen has two interfaces, the default home screen is interface type 1, and the secondary screen interface type is 2. Based on this, the window manager handles the following events:
默认当主辅屏幕开启,主账号信息输出对应通道为屏幕接口类型1,辅助账号信息输出对应通道为屏幕接口类型2。By default, when the main and auxiliary screens are enabled, the main account information output corresponding channel is the screen interface type 1, and the auxiliary account information output corresponding channel is the
当主辅屏幕开关事件“关”触发,则关闭相对于的账号输入信息,并关闭屏幕接收通道,显示黑屏。When the main and auxiliary screen switch events are "off", the relative account input information is turned off, and the screen receiving channel is closed to display a black screen.
当主辅屏幕显示内容切换事件触发,主账号信息输出对应通道为屏幕接口类型2,辅助账号信息输出对应通道为屏幕接口类型1。反之,再切换,再次交换屏幕通道。When the main and auxiliary screen display content switching event is triggered, the main account information output corresponding channel is the
当同屏显示事件触发,主账号信息输出对应通道为屏幕接口类型1,辅助账号信息输出对应通道重置为屏幕接口类型2。When the event trigger is displayed on the same screen, the corresponding channel of the primary account information output is the screen interface type 1, and the corresponding channel of the auxiliary account information output is reset to the
可选地,对于各个功能的控制,上述方法如下:Optionally, for the control of each function, the above method is as follows:
用户账户登陆,主辅屏展现不同账户内容;The user account is logged in, and the main and auxiliary screens display different account contents;
提供用户账户开关,开启之后,辅屏幕一键到达用户登陆,登陆后,不同账户可以进行独立应用空间,可以开启微信,开启游戏类,购物类以及图片分享; Provide user account switch, after opening, the auxiliary screen reaches the user login by one button. After login, different accounts can be used for independent application space, and can open WeChat, open game class, shopping class and picture sharing;
主辅屏幕开启以及关闭;The main and auxiliary screens are turned on and off;
提供辅屏幕的开关,开关的形式为硬件开关或者软件开关,在适合的场景开启辅助屏幕,在不需要或者节能省电的场景下关闭辅屏幕。A switch for the auxiliary screen is provided. The switch is in the form of a hardware switch or a software switch. The auxiliary screen is turned on in a suitable scene, and the auxiliary screen is turned off in a scene where it is unnecessary or energy-saving.
主辅屏幕切换,提供主辅屏幕的切换功能,切换的形式为硬件按钮或者软件按钮。在用户需要翻转屏幕,或者两方用户需要交换看手机或者平板的位置的时候,通过屏幕切换达到便利的效果;The main and auxiliary screens switch, providing the switching function of the main and auxiliary screens, which are in the form of hardware buttons or software buttons. When the user needs to flip the screen, or when the two parties need to exchange the position of the mobile phone or the tablet, the screen switch is used to achieve a convenient effect;
同屏分享:提供同屏分享按键,复制主屏与显示的内容完全一样的内容到辅屏幕上,目的是快捷的一键分享内容给看辅屏幕的用户。Share on the same screen: Provide the same screen sharing button, copy the main screen and the displayed content to the auxiliary screen, the purpose is to quickly share the content to the user who sees the auxiliary screen.
第三实施例:应用场景实施例Third Embodiment: Application Scenario Embodiment
针对以上提出的显示的方法,应用场景举例如下:For the display method proposed above, an application scenario is as follows:
例1:双屏手机双面显示同一个应用,不同应用账户登陆;Example 1: Dual-screen mobile phone displays the same application on both sides, and different application accounts are logged in;
通过Andriod系统多用户账户登陆(如主账户,访客账户),登陆后,主账户以及访客账户各自打开同一个游戏APP,同时操作,满足两个游戏玩家同时同空间的游戏的比拼,可用于亲子,朋友以及恋人之间游戏互动,例如,目前配合运动手环的一款APP“Moov”(私人教练)游戏。Log in through the Andriod system multi-user account (such as the main account, guest account). After logging in, the main account and the guest account each open the same game app, and operate at the same time to satisfy the competition of the two game players at the same time with the space, which can be used for parent-child , game interaction between friends and lovers, for example, an APP "Moov" (personal coach) game currently with a sports bracelet.
例2:双屏手机关闭辅助屏幕Example 2: Dual screen phone off auxiliary screen
为了实现设备省电,用户通过可操作页面灵活开关辅助屏幕的显示。In order to save power of the device, the user can flexibly switch the display of the auxiliary screen through the operable page.
例3:同屏分享Example 3: Sharing on the same screen
小型会议时,由于条件限制,有需要手机或平板达到即时分享,讲解者只需要开启同屏分享按钮,对面的辅屏幕完全复制主屏幕的内容,让他对面的人同时分享屏幕内容,达到即时快速免投影实现分享。In small meetings, due to the limited conditions, there is a need for mobile phones or tablets to achieve instant sharing. The interpreter only needs to open the sharing button on the same screen. The auxiliary screen on the opposite side completely copies the content of the main screen, allowing the person opposite him to share the screen content at the same time. Quick and projection free sharing.
例4:屏幕切换Example 4: Screen switching
主屏幕和辅屏幕通过Andriod多用户登陆,并打开不同的应用,微信和视频,为了避免手动前后翻转,通过软件或硬件按钮切换主辅屏幕显示的内容。The main screen and the secondary screen are logged in by Andriod multi-user, and open different applications, WeChat and video. In order to avoid manual flipping, the content displayed on the main and auxiliary screens is switched through software or hardware buttons.
第四实施例 Fourth embodiment
本实施例提供了一种显示的装置,图4是该装置40的结构框图,如图4所示,该装置包括如下组成部分:This embodiment provides a display device, and FIG. 4 is a structural block diagram of the
接收模块41,设置为接收多用户账户事件触发指令;The receiving
划分模块42,设置为根据多用户账户事件触发指令在终端的屏幕上划分主屏幕以及辅屏幕;The dividing
第一显示模块43,设置为在划分后的主屏幕以及辅屏幕上分别显示不同的用户账户对应的用户账户登陆界面;The
第二显示模块44,设置为在用户账户登陆成功后,在主屏幕以及辅屏幕上显示与其用户账户对应的内容。The
可选地,上述装置40还包括:Optionally, the foregoing
切换模块,设置为在主屏幕以及辅屏幕上显示与其用户账户对应的内容之后,如果接收到屏幕切换触发指令,则交换主屏幕与辅屏幕显示的用户账户对应的内容。The switching module is configured to, after displaying the content corresponding to the user account on the home screen and the secondary screen, exchange the content corresponding to the user account displayed on the secondary screen if the screen switching trigger instruction is received.
可选地,上述装置40还包括:分享模块,设置为在主屏幕以及辅屏幕上显示与其用户账户对应的内容之后,如果接收到同屏分享触发指令,则复制主屏幕当前显示的内容,在辅屏幕上显示复制的主屏幕当前显示的内容。Optionally, the
可选地,上述装置40还包括:开关模块,设置为在主屏幕以及辅屏幕上显示与其用户账户对应的内容之后,如果接收到主、辅屏幕的开关触发指令,则关闭辅助屏幕,并关闭辅屏幕接、收信号的通道,在辅助屏幕未开启的情况下接收到主、辅屏幕的开关触发指令则开启辅助屏幕,以及开启辅屏幕接、收信号的通道。Optionally, the
其中,多用户账户事件触发指令中携带有用户账户信息,用户账户信息中包括用户账户的数目,划分模块设置为:根据用户账户的数目,将终端的屏幕划分至与用户账户数目相同个数的屏幕。The multi-user account event triggering instruction carries user account information, and the user account information includes the number of user accounts, and the dividing module is configured to: according to the number of user accounts, divide the screen of the terminal into the same number as the number of user accounts. screen.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于 后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules can be implemented by software or hardware. The latter can be implemented in the following manner, but is not limited thereto: the above modules are all located in the same processor; or, the above modules are respectively located in different processors in any combination.
第五实施例Fifth embodiment
本发明的实施例还提供了一种存储介质,该存储介质包括存储的程序,其中,上述程序运行时执行上述任一项所述的方法。Embodiments of the present invention also provide a storage medium including a stored program, wherein the program described above executes the method of any of the above.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,接收多用户账户事件触发指令;S1, receiving a multi-user account event trigger instruction;
S2,根据所述多用户账户事件触发指令在终端的屏幕上划分主屏幕以及辅屏幕;S2. The main screen and the auxiliary screen are divided on the screen of the terminal according to the multi-user account event triggering instruction;
S3,在划分后的主屏幕以及辅屏幕上分别显示不同的用户账户对应的用户账户登陆界面;S3, respectively displaying user account login interfaces corresponding to different user accounts on the divided main screen and the auxiliary screen;
S4,在用户账户登陆成功后,在所述主屏幕显示与所述主屏幕上显示的用户账户对应的内容,在所述辅屏幕上显示与所述辅助屏幕上显示的用户账户对应的内容。S4. After the user account is successfully logged in, the content corresponding to the user account displayed on the home screen is displayed on the home screen, and the content corresponding to the user account displayed on the auxiliary screen is displayed on the auxiliary screen.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
S5,在所述主屏幕显示与所述主屏幕上显示的用户账户对应的内容,在所述辅屏幕上显示与所述辅助屏幕上显示的用户账户对应的内容之后,如果接收到屏幕切换触发指令,则交换所述主屏幕与所述辅屏幕显示的用户账户对应的内容。S5, displaying content corresponding to the user account displayed on the home screen on the home screen, displaying content corresponding to the user account displayed on the auxiliary screen on the auxiliary screen, and receiving a screen switching trigger And instructing, by the instruction, the content corresponding to the user account displayed on the home screen and the auxiliary screen.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in the embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM). A variety of media that can store program code, such as a hard disk, a disk, or an optical disk.
本发明的实施例还提供了一种处理器,该处理器用于运行程序,其中,该程序运行时执行上述任一项方法中的步骤。 Embodiments of the present invention also provide a processor for running a program, wherein the program is executed to perform the steps of any of the above methods.
可选地,在本实施例中,上述程序用于执行以下步骤:Optionally, in this embodiment, the foregoing program is used to perform the following steps:
S1,接收多用户账户事件触发指令;S1, receiving a multi-user account event trigger instruction;
S2,根据所述多用户账户事件触发指令在终端的屏幕上划分主屏幕以及辅屏幕;S2. The main screen and the auxiliary screen are divided on the screen of the terminal according to the multi-user account event triggering instruction;
S3,在划分后的主屏幕以及辅屏幕上分别显示不同的用户账户对应的用户账户登陆界面;S3, respectively displaying user account login interfaces corresponding to different user accounts on the divided main screen and the auxiliary screen;
S4,在用户账户登陆成功后,在所述主屏幕显示与所述主屏幕上显示的用户账户对应的内容,在所述辅屏幕上显示与所述辅助屏幕上显示的用户账户对应的内容。S4. After the user account is successfully logged in, the content corresponding to the user account displayed on the home screen is displayed on the home screen, and the content corresponding to the user account displayed on the auxiliary screen is displayed on the auxiliary screen.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
本申请实施例提供的上述技术方案,可以应用于显示过程中,使用划分后的多个屏幕来显示不同的用户账户对应的内容,使得多个用户可以在一个移动终端上同时登陆不同的用户账户来使用终端,并同时显示不同的用户账户对应的内容,提高了移动终端的利用率。 The foregoing technical solution provided by the embodiment of the present application can be applied to display a plurality of screens to display content corresponding to different user accounts, so that multiple users can simultaneously log in different user accounts on one mobile terminal. To use the terminal and simultaneously display the content corresponding to different user accounts, the utilization rate of the mobile terminal is improved.
Claims (10)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610938731.X | 2016-10-25 | ||
| CN201610938731.XA CN108469969A (en) | 2016-10-25 | 2016-10-25 | A kind of method and device by split screen display available multi-user's account |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018076753A1 true WO2018076753A1 (en) | 2018-05-03 |
Family
ID=62023036
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/091070 Ceased WO2018076753A1 (en) | 2016-10-25 | 2017-06-30 | Display method and apparatus |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN108469969A (en) |
| WO (1) | WO2018076753A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111198668A (en) * | 2019-12-26 | 2020-05-26 | 成都中科合迅科技有限公司 | Multi-screen system based on browser and multi-screen interaction method |
| CN112667742A (en) * | 2020-09-24 | 2021-04-16 | 紫光云技术有限公司 | Master-slave copy account synchronization optimization method |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110661919B (en) * | 2019-09-18 | 2021-04-13 | Oppo(重庆)智能科技有限公司 | Multi-user display method, device, electronic equipment and storage medium |
| CN112399216B (en) * | 2020-10-27 | 2023-05-09 | 维沃移动通信(杭州)有限公司 | Resource sharing method and device and electronic equipment |
| CN118259857A (en) * | 2022-12-30 | 2024-06-28 | 华为技术有限公司 | A control method and device |
| CN120196295A (en) * | 2023-12-22 | 2025-06-24 | 华为技术有限公司 | Multi-screen electronic device and method of using the multi-screen electronic device |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1959613A (en) * | 2005-10-31 | 2007-05-09 | 三星电子株式会社 | Method of using a touch screen and user interface apparatus employing the same |
| CN103092325A (en) * | 2013-01-24 | 2013-05-08 | 东莞宇龙通信科技有限公司 | Method and terminal of terminal interface display |
| US20150074825A1 (en) * | 2012-04-20 | 2015-03-12 | Jonathan Blake | System and method for controlling privacy settings of user interface with internet applications |
| CN105867815A (en) * | 2016-03-28 | 2016-08-17 | 乐视控股(北京)有限公司 | Split screen display method and device |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009026247A (en) * | 2007-07-23 | 2009-02-05 | Sony Corp | Securities trading system, securities server, bank server, processing method and program thereof |
| CN105610870B (en) * | 2012-02-10 | 2019-08-20 | 北京奇虎科技有限公司 | Multi-account login method and device |
| CN104035704B (en) * | 2013-03-07 | 2017-10-10 | 北京三星通信技术研究有限公司 | Method and device for split-screen operation |
| CN105224322B (en) * | 2015-09-25 | 2018-10-16 | 维沃移动通信有限公司 | A kind of attend to anything else method and the terminal of application program |
-
2016
- 2016-10-25 CN CN201610938731.XA patent/CN108469969A/en active Pending
-
2017
- 2017-06-30 WO PCT/CN2017/091070 patent/WO2018076753A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1959613A (en) * | 2005-10-31 | 2007-05-09 | 三星电子株式会社 | Method of using a touch screen and user interface apparatus employing the same |
| US20150074825A1 (en) * | 2012-04-20 | 2015-03-12 | Jonathan Blake | System and method for controlling privacy settings of user interface with internet applications |
| CN103092325A (en) * | 2013-01-24 | 2013-05-08 | 东莞宇龙通信科技有限公司 | Method and terminal of terminal interface display |
| CN105867815A (en) * | 2016-03-28 | 2016-08-17 | 乐视控股(北京)有限公司 | Split screen display method and device |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111198668A (en) * | 2019-12-26 | 2020-05-26 | 成都中科合迅科技有限公司 | Multi-screen system based on browser and multi-screen interaction method |
| CN112667742A (en) * | 2020-09-24 | 2021-04-16 | 紫光云技术有限公司 | Master-slave copy account synchronization optimization method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108469969A (en) | 2018-08-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2018076753A1 (en) | Display method and apparatus | |
| US10389974B2 (en) | Switch view functions for teleconference sessions | |
| CN111596985B (en) | Interface display method, device, terminal and medium in multimedia conference scene | |
| US20150012831A1 (en) | Systems and methods for sharing graphical user interfaces between multiple computers | |
| WO2019174477A1 (en) | User interface display method and device, and terminal | |
| WO2020038169A1 (en) | Icon display method and apparatus, terminal and storage medium | |
| US9612730B2 (en) | Viewing different window content with different attendees in desktop sharing | |
| WO2019174469A1 (en) | Message notification method, apparatus, device and storage medium | |
| WO2017173793A1 (en) | Method and apparatus for screen projection of video | |
| US20170371501A1 (en) | Information sharing method, terminal, and storage medium | |
| WO2013178087A1 (en) | Application program interface display method, device, terminal and readable storage medium | |
| CN107589900A (en) | Split-screen display method, device, terminal and storage medium | |
| CN106325657B (en) | Control method, device and mobile terminal for screen projection display | |
| WO2018028465A1 (en) | Method and apparatus for displaying video windows | |
| WO2019047183A1 (en) | Key display method, apparatus, and terminal | |
| WO2025011414A1 (en) | Display method, graphical interface, and related apparatus | |
| US20170308397A1 (en) | Method and apparatus for managing task of instant messaging application | |
| WO2021259266A1 (en) | Switch display method and apparatus in setting interface, electronic device, and storage medium | |
| US10437548B2 (en) | File shared browsing method and system | |
| US12470775B2 (en) | Method and apparatus for video processing | |
| US12014019B2 (en) | Display method, apparatus and computer readable storage medium | |
| CN107765943B (en) | Method for realizing simultaneous operation of double APPs on double-screen intelligent terminal | |
| WO2018010319A1 (en) | Method and apparatus for displaying application function | |
| CN116366798A (en) | Method, device, equipment and medium for displaying video pictures in video conference | |
| CN106325666A (en) | Screen sharing method and apparatus, and server |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17863529 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17863529 Country of ref document: EP Kind code of ref document: A1 |