CN117331455A - Multi-user management method, graphic interface and related device - Google Patents

Multi-user management method, graphic interface and related device Download PDF

Info

Publication number
CN117331455A
CN117331455A CN202210738186.5A CN202210738186A CN117331455A CN 117331455 A CN117331455 A CN 117331455A CN 202210738186 A CN202210738186 A CN 202210738186A CN 117331455 A CN117331455 A CN 117331455A
Authority
CN
China
Prior art keywords
user
display screen
application
electronic device
display
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.)
Pending
Application number
CN202210738186.5A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202210738186.5A priority Critical patent/CN117331455A/en
Publication of CN117331455A publication Critical patent/CN117331455A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/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
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

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

Abstract

The application discloses a multi-user management method, a graphical interface and a related device. The electronic device can log in a certain user on a display screen, access the storage space corresponding to the user, and display the content from the storage space on the display screen. In this way, the electronic device can display the content corresponding to each user by logging in different users on different display screens, the display content on each display screen is independent, and each display screen is the same as an independent device, so that the utilization rate of the device comprising a plurality of display screens is developed to a greater extent.

Description

Multi-user management method, graphic interface and related device
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a multi-user management method, a graphical interface, and a related device.
Background
With the continuous development of computer technology, more and more electronic products, such as mobile phones, tablets, computers, etc., gradually enter the life of the public. Today a device may be equipped with multiple display screens that may be displayed simultaneously, enhancing the utilization of the device. For example, when a meeting is being conducted, meeting content can be displayed on multiple display screens, so that participants at different locations can view the meeting content through different display screens; for another example, in a home scene, the content required by different family members can be displayed on different display screens, and meanwhile, the entertainment requirements of the different family members are met; for another example, in an in-vehicle scenario, a display screen may be installed at different locations within the vehicle to provide entertainment services for in-vehicle members located at different seats.
Disclosure of Invention
The application provides a multi-user management method, a graphical interface and a related device, which can enable electronic equipment comprising a plurality of display screens to display contents corresponding to respective users on the display screens after logging in account numbers of the users on the display screens, wherein the display contents on the display screens are mutually independent, so that a flexible multi-screen display effect is achieved.
In a first aspect, an embodiment of the present application provides a multi-user management method, where the method is applied to an electronic device including a plurality of display screens, and the method includes: the electronic equipment respectively allocates different storage spaces for a plurality of users, and the storage spaces corresponding to the different users are isolated from each other; the electronic equipment logs in an account number of a first user in a plurality of users on a first display screen in a plurality of display screens; the electronic device displays content from a storage space corresponding to the first user on the first display screen.
By implementing the method provided by the first aspect, the electronic device can display the content corresponding to the user on the display screen by logging in the account number of the user on the display screen. In this way, the display content on the display screen is bound with the user, the content corresponding to different users is independent, the display screen with the account number is equivalent to an independent device, and the utilization rate of the device comprising a plurality of display screens is developed to a greater extent.
With reference to the first aspect, in some embodiments, the method further comprises: the electronic equipment logs in an account number of a second user in the plurality of users on a second display screen in the plurality of display screens; and the electronic equipment displays the content in the storage space corresponding to the second user on the second display screen.
The first display screen and the second display screen can be any two different display screens of the electronic device, and the electronic device can display the content corresponding to different users on different display screens by logging in account numbers of different users on different display screens. The contents on each display screen cannot be mutually influenced, the operation of a user on each display screen is mutually independent, and a plurality of users can respectively operate different display screens, so that the use and entertainment requirements of a plurality of users are met simultaneously.
With reference to the first aspect, in some embodiments, the method further comprises: the electronic equipment logs in an account number of a first user on a second display screen in the plurality of display screens; and the electronic equipment displays the content in the storage space corresponding to the first user on the second display screen.
That is, for the account number of the same user, the electronic device can log in on different display screens, so that display contents corresponding to the same user can be displayed on a plurality of display screens, and therefore, under the situation that the seat of the user is adjusted, the user can continuously browse the contents displayed on the previous display screen before the seat is adjusted by logging in the account number used before the seat adjustment on the other display screen, the operation of the user is facilitated, and the experience of the user is improved.
With reference to the first aspect, in some embodiments, the electronic device displays, on the first display screen, more content from the storage space corresponding to the first user than the electronic device displays, on the second display screen, content from the storage space corresponding to the first user.
When the electronic device logs in the account number of the same user on different display screens, the content displayed on the different display screens may not be identical, and the partial content corresponding to the user may be displayed only on the designated display screen. In this way, the user's usage rights can be adjusted based on the display screen. For example. Under the vehicle-mounted scene, an application market is assumed to be installed in the user 1, but when the account of the user 1 is logged in on the central control screen and the backseat screen, only the icon of the application market is displayed on the central control screen, and the icon of the application market is not displayed on the backseat screen, so that a user who only controls the central control screen can execute the installation and the unloading of the application. Therefore, the content displayed on the display screen can be bound with the user, and meanwhile, the content which can be displayed on different display screens is distinguished based on the display screen, so that different use and entertainment services are provided for the user who controls different display screens.
With reference to the first aspect, in some embodiments, after the electronic device logs in the account of the first user on the second display screen, the method further includes: the electronic equipment displays initial content on a first display screen, wherein the initial content is preset content displayed when an account number is not logged in on the display screen, or the initial content is from a storage space corresponding to a third user preset by the electronic equipment.
When the account number of the same user logs in on different display screens in sequence, and the account number of the user logs in on the next display screen, the former display screen can automatically log out of the account number and display initial content. That is, the electronic device can only log in the account of the same user on one display screen at the same time, but cannot log in the account of the same user on a plurality of display screens.
With reference to the first aspect, in some embodiments, after the electronic device displays the content from the storage space corresponding to the first user on the first display screen, the method further includes: the electronic equipment logs in an account number of a second user in the plurality of users on a first display screen; the electronic device displays content from the storage space corresponding to the second user on the first display screen.
That is, the electronic device may log in account numbers of different users on one display screen, and display corresponding content from different users on the display screen. Therefore, the user can flexibly switch the account numbers of different users on one display screen to flexibly adjust the display content on the display screen.
With reference to the first aspect, in some embodiments, one user includes a plurality of accounts, and after the electronic device allocates different storage spaces for the plurality of users respectively, the method further includes: the electronic equipment allocates storage spaces corresponding to a user in the plurality of accounts of the user, different sub-storage spaces and sub-storage spaces corresponding to different accounts in the user are isolated from each other; the electronic equipment displays the content in the storage space corresponding to the first user on the first display screen, and specifically comprises the following steps: and the electronic equipment displays the content in the sub-storage space corresponding to the account number of the logged-in first user on the first display screen.
Therefore, a user can switch different accounts of the same user or different accounts of different users on the display screen to flexibly change the content displayed on the display screen, and the utilization rate and convenience of the display screen are improved.
With reference to the first aspect, in some embodiments, before the electronic device logs in the account of the first user of the plurality of users on the first display screen of the plurality of display screens, the method further includes: the electronic equipment displays a user interface of the login account on a first display screen; the electronic device detects a first operation on the user interface, the first operation being used to trigger logging in an account of a first user on the first display screen.
The electronic device may trigger to log in the account number of the user on the display screen by displaying a login interface of the account number on the display screen, receiving an account number password input by the user on the login interface, selecting the login account number, or acting on a login control.
With reference to the first aspect, in some embodiments, the content displayed on the first display screen includes: the method comprises the steps that a first application provides a user interface, a desktop or a multi-task interface, wherein the first application is an application installed in a storage space corresponding to a first user; the desktop is displayed with application icons of one or more applications installed in a storage space corresponding to the first user; the multi-task interface is used for displaying the browsed content on a display screen of the account of the first user in the last period of time.
That is, for a display screen on which a user's account is logged, a user interface provided by an application installed in the user's storage space may be displayed on the display screen, or an icon of the application installed in the user's storage space may be displayed on a desktop, and a browsing record of the user for the last period of time may be displayed in a multi-tasking interface. Because different users are independent of each other, the user interface, desktop and multi-task interface provided by the application displayed on the multiple display screens are independent of each other for the multiple display screens on which the accounts of the different users are logged.
With reference to the first aspect, in some embodiments, data generated during the running process of the first application is stored in a storage space corresponding to the first user.
With reference to the first aspect, in some embodiments, after the electronic device displays the first display content corresponding to the first user on the first display screen, the method further includes: the method comprises the steps that the electronic equipment detects an operation of an exit account acting on a first display screen; and responding to the operation, the electronic equipment displays initial content on a first display screen, wherein the initial content is preset content displayed when the account number is not logged in on the display screen, or the initial content is from a storage space corresponding to a third user preset by the electronic equipment.
That is, the electronic device may exit the account number on the display screen by detecting an operation of the user actively exiting the account number on the display screen, and display the initial content on the display screen.
With reference to the first aspect, in some embodiments, the electronic device includes a system-on-chip, and the operations of the storage spaces corresponding to the plurality of users are supported by the system-on-chip.
The electronic device may be a "one-chip multi-screen" device in which the display of all the display screens is driven by one system-on-chip, and all the arithmetic processing procedures in the electronic device are supported by the one system-on-chip.
In a second aspect, embodiments of the present application provide an electronic device comprising a memory, one or more processors, and one or more programs; the one or more processors, when executing the one or more programs, cause the electronic device to perform the method as described in the first aspect or any implementation of the first aspect.
In a third aspect, embodiments of the present application provide a computer-readable storage medium comprising instructions that, when run on an electronic device, cause the computer to perform a method as described in the first aspect or any implementation of the first aspect.
Drawings
Fig. 1 is a schematic layout diagram of a plurality of display screens of a vehicle-mounted device in a vehicle according to an embodiment of the present application;
fig. 2 is a schematic indoor layout diagram of a plurality of display screens in a home scene according to an embodiment of the present application;
fig. 3A is a schematic hardware structure of the electronic device 100 according to the embodiment of the present application;
fig. 3B is a schematic software structure of the electronic device 100 according to the embodiment of the present application;
fig. 4 is a flowchart of internal interaction involved when the electronic device 100 provided in the embodiment of the present application logs in to an account for the first time;
fig. 5 is a flow chart of internal interaction involved when the electronic device 100 provided in the embodiment of the present application switches accounts;
fig. 6 is a flow chart of internal interaction involved when the electronic device 100 provided in the embodiment of the present application exits the account;
fig. 7 is an internal flowchart related to when the electronic device 100 provided in the embodiment of the present application installs an independent application;
fig. 8 is an internal flowchart related to when the electronic device 100 provided in the embodiment of the present application starts an independent application;
fig. 9 is a schematic diagram of an internal flow involved in displaying a sharing application by the electronic device 100 according to the embodiment of the present application;
fig. 10 is an internal flowchart related to when the electronic device 100 provided in the embodiment of the present application displays a latest task interface;
Fig. 11 is a flow chart of a multi-user management method according to an embodiment of the present application;
fig. 12A-12D are some example user interfaces provided by embodiments of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and thoroughly described below with reference to the accompanying drawings. Wherein, in the description of the embodiments of the present application, "/" means or is meant unless otherwise indicated, for example, a/B may represent a or B; the text "and/or" is merely an association relation describing the associated object, and indicates that three relations may exist, for example, a and/or B may indicate: the three cases where a exists alone, a and B exist together, and B exists alone, and in addition, in the description of the embodiments of the present application, "plural" means two or more than two.
The terms "first," "second," and the like, are used below for descriptive purposes only and are not to be construed as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature, and in the description of embodiments of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
The term "User Interface (UI)" in the following embodiments of the present application is a media interface for interaction and information exchange between an application program or an operating system and a user, which enables conversion between an internal form of information and an acceptable form of the user. The user interface is a source code written in a specific computer language such as java, extensible markup language (extensible markup language, XML) and the like, and the interface source code is analyzed and rendered on the electronic equipment to finally be presented as content which can be identified by a user. A commonly used presentation form of the user interface is a graphical user interface (graphic user interface, GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It may be a visual interface element of text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc., displayed in a display of the electronic device.
With the rapid development of the chip industry, the computing power of the chip is greatly improved, one system-level chip runs a plurality of operating systems and drives a plurality of display screens to be fused and interacted at the same time, and the concept of one-chip multi-screen gradually goes to the field of vision of the masses.
The device can comprise a user, after logging in the user through a plurality of display screens, the display screens can access the storage space corresponding to the user and display the content from the storage space, and when the data in the storage space is changed through one display screen, the changed data can be viewed through the other display screen. That is, multiple displays share a single memory space, and modification of the display content on one display affects the display content on another display.
Therefore, how to realize more flexible multi-screen display on the basis of one-core multi-screen is a problem to be solved at present.
In the multi-user management method provided by the embodiment of the application, the electronic device can create a plurality of users, and different storage spaces in the electronic device are respectively allocated to the plurality of users, wherein the storage spaces are mutually isolated. The plurality of memory spaces operate on one chip, i.e., one chip is used for supporting the operation of the plurality of memory spaces. After logging in an account of a certain user on a display screen, the electronic equipment can access a storage space corresponding to the user and display contents from the storage space on the display screen.
The storage space is an area in the electronic device and can be used for storing data of the application itself when the application is installed, storing data generated in the running process of the application, and the like. After logging in an account of a user on a display screen, the electronic device may perform a series of operations using a storage space corresponding to the user, for example, running an application installed in the storage space, downloading the application to the storage space, uninstalling the application installed in the storage space, deleting or changing a part of content in the storage space, and displaying a user interface corresponding to the operation on the display screen, for example, displaying a desktop, an interface provided by an application program, and the like.
By implementing the method, a user can switch accounts of different users on the same display screen to flexibly change the content displayed on the display screen, so that richer application and operation on one display screen are realized, and the utilization rate and convenience of the display screen are improved.
By implementing the method, a user can log in different account numbers of the user on different display screens, trigger the electronic equipment to display the contents from different storage spaces on different display screens, the contents displayed on the display screens are mutually independent, and the change of the display contents on the display screens cannot be mutually influenced. Since the storage spaces are independent of each other, the user operates the display screens independently of each other, and the display screens correspond to the independent devices, the utilization rate of the devices including the display screens is developed to a greater extent. In addition, different users can respectively operate different display screens, so that the use and entertainment requirements of a plurality of users are met simultaneously.
In the embodiment of the application, the electronic device creates a user to record the use behavior of the user who controls the display screen of the electronic device. The electronic equipment can distinguish the identities of different users through the created users, and records the using behaviors of the users through the different identities. For example, the user created by the electronic device includes: when a user logs in an account of a machine owner on one display screen of the electronic equipment, the display screen can be controlled by the identity of the machine owner, and in the process of logging in the account of the machine owner on the display screen, the behavior of the user for controlling the display screen is recorded as the use behavior of the machine owner, and when the user logs in the account of the machine owner on other display screens, the content changed or generated by the use behavior of the machine owner before can be displayed on the display screen; similarly, when a user logs in the account of the visitor on one display screen of the electronic device, the display screen can be controlled according to the identity of the visitor, and in the process of logging in the account of the visitor on the display screen, the behavior of the user for controlling the display screen is recorded as the use behavior of the visitor, and when the user logs in the account of the visitor on other display screens, the content changed or generated by the use behavior of the visitor before can be displayed on the display screen.
In some implementations, one or more accounts may be created under one user.
In some embodiments, multiple accounts under a user are respectively different sub-storage spaces in the storage space corresponding to the user, the sub-storage spaces are isolated from each other, and after the electronic device logs in a certain account of the user on a display screen, the electronic device can access the sub-storage space corresponding to the account and display the content from the sub-storage space on the display screen. Therefore, a user can switch different accounts of the same user on the same display screen to flexibly change the content displayed on the display screen, and the utilization rate and convenience of the display screen are improved.
In other embodiments, multiple accounts under a user may all correspond to the user's storage space, which may be accessed and content from the storage space displayed on a display screen regardless of which account the electronic device is logged into the user on the display screen. Thus, even if the user switches different accounts of the same user, the user can check the changed content when logging in one account and also check the changed content when logging in another account.
Several application scenarios provided in the embodiments of the present application are described below.
Scene 1: vehicle-mounted scene
In an in-vehicle scenario, the electronic device including a plurality of display screens may refer to an in-vehicle device in a vehicle, where the in-vehicle device may include: a plurality of display screens such as a central control screen, a secondary driving screen, a rear seat screen and the like. The secondary driver screen may be positioned in front of the secondary driver seat for providing entertainment services for the secondary driver, and the rear seat screen may be positioned in front of the rear seat, for example, mounted at the rear of the headrest of the front seat of the vehicle for providing entertainment services for the rear seat passengers.
Fig. 1 is a schematic layout diagram of a plurality of display screens of a vehicle-mounted device in a vehicle according to an embodiment of the present application.
As shown in fig. 1, the in-vehicle apparatus may include a plurality of display screens of a center console, a secondary driving screen, a rear seat screen 1, and a rear seat screen 2, and may further include an intelligent cockpit processor for controlling the display of the plurality of display screens. The intelligent cockpit processor may be located inside the central control screen, for example.
In combination with the vehicle-mounted device shown in fig. 1, in a vehicle-mounted scene, a driver and a passenger located in a co-driver can directly control the central control screen, the content displayed by the central control screen can be displayed for all members in the vehicle to watch, the passenger located in the co-driver can directly control and watch the content displayed by the co-driver screen, and the passenger located in a rear seat can directly control and watch the content displayed by the rear seat screen 1 or the rear seat screen 2. When the display screen is controlled, the member in the vehicle can log in the account number on the display screen, so that the display screen displays the display content corresponding to the account number, and different members can independently control the display screen to meet respective entertainment demands.
For example, assuming that an in-vehicle member logs in the account number 1 of the user 1 in advance and installs a navigation application based on the account number 1, when the driver logs in the account number 1 on the central control screen, an application icon of the navigation application may be displayed on the central control screen, and the driver may use the navigation function through the central control screen. For another example, a passenger located in the co-driver may log in the account number 2 of the user 2 on the co-driver screen and view a video based on the account number 2, and if the passenger sits in the rear seat facing the rear seat screen 1 when the passenger takes the vehicle next time, the passenger may log in the account number 2 on the rear seat screen 1, a history of the last time the passenger viewed the video may be displayed on the rear seat screen 1, and the passenger may continue to view the video.
The content displayed on the display screen can be bound with the user corresponding to the account number logged on the display screen, the content displayed on the display screen can be changed along with the account numbers of different users logged on the display screen, and in-vehicle members can flexibly adjust the content displayed on each display screen in the vehicle by logging on and switching the account numbers of different users on different display screens.
Scene 2: family scene
In a home scenario, the electronic device including a plurality of display screens may refer to an indoor smart home device, where the smart home device may include: a plurality of display screens such as a living room screen, a bedroom screen, a learning screen and the like. The living room screen can be located in a living room and used for providing entertainment services for family members in the living room, the bedroom screen can be located in a bedroom and used for providing entertainment services for family members in the bedroom, and the learning screen can be located in a study room and used for providing learning services such as class listening, review and the like for family members in the study room.
Fig. 2 is a schematic layout diagram of a plurality of display screens in a home under a home scenario provided in an embodiment of the present application.
As shown in fig. 2, the smart home device may include a plurality of display screens of a living room screen, a bedroom screen, and a learning screen, and further, the smart home device may include a processor for controlling the display of the plurality of display screens.
In combination with the smart home device shown in fig. 2, in a home scene, different family members can control and watch contents displayed by different display screens in different rooms, and each family member can log in a user account on the display screen when controlling the display screen, so that the display screen displays the display contents corresponding to the user, and the different family members can independently control the display screen to meet respective requirements.
It should be understood that the application scenario of the multi-user management method provided in the application embodiment is not limited, and for example, the application scenario may further include a conference scenario, an exhibition scenario, a monitoring scenario, and so on. In the conference scene, the electronic device may include a plurality of display screens, which may independently display conference contents based on a user, and change contents displayed in the display screens according to operations of conference members, and the changed contents do not affect contents displayed on other display screens, in the exhibition scene, the electronic device may include a plurality of display screens, which may independently display information of exhibits based on a user, change display contents according to operations of tourists, and so on.
Fig. 3A shows a hardware configuration diagram of the electronic device 100.
The electronic device 100 may be a cell phone, tablet, desktop, laptop, handheld, notebook, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook, as well as a cellular telephone, personal digital assistant (personal digital assistant, PDA), augmented reality (augmented reality, AR) device, virtual Reality (VR) device, artificial intelligence (artificial intelligence, AI) device, wearable device, vehicle-mounted device, smart home device, and/or smart city device, with the specific types of such electronic devices not being particularly limited in the embodiments of the present application.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
By way of example, the electronic device 100 may be a device that contains only one system-on-chip, and one operating system, and is equipped with multiple display screens. The system-on-chip may integrate a number of critical components of the electronic device 100, such as the processor 110, the external memory interface 120, the internal memory 121, and so forth. The electronic device 100 may implement driving of multiple display screens through the one system-on-a-chip, and support operation of storage spaces of multiple users.
It should be understood that the illustrated structure of the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
In some embodiments, when the display 194 includes a plurality, the processor 110 may be configured to manage the display of the plurality of displays, manage the account numbers of different users logged on different displays, determine the display content based on the logged-on account numbers, manage the storage space corresponding to each user, and so forth. For example, when the electronic device 100 is an in-vehicle device, the processor 110 may also be referred to as a smart cockpit processor.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data.
The charge management module 140 is configured to receive a charge input from a charger.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, demodulates and filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. In some embodiments, the electronic device may include N display screens 194, N being a positive integer greater than 1. For example, when the electronic device 100 is an in-vehicle device, the display screen 194 may include a center control screen, a secondary drive screen, a rear seat screen, a head up screen, and the like. The display 194 may be used to display account login interfaces, application icons, desktop content, and the like.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning.
The internal memory 121 may include one or more random access memories (random access memory, RAM) and one or more non-volatile memories (NVM).
In some embodiments, the internal memory 121 may provide a plurality of storage spaces based on the user, where the different storage spaces are used to store data of the application itself when different users install the application, and data generated during the running of the application under different users, respectively.
The external memory interface 120 may be used to connect external non-volatile memory to enable expansion of the memory capabilities of the electronic device 100. The external nonvolatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and video are stored in an external nonvolatile memory.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The electronic device 100 may listen to music, or to hands-free conversations, through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When electronic device 100 is answering a telephone call or voice message, voice may be received by placing receiver 170B in close proximity to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C.
The earphone interface 170D is used to connect a wired earphone.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal.
The gyro sensor 180B may be used to determine a motion gesture of the electronic device 100.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude from barometric pressure values measured by barometric pressure sensor 180C, aiding in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip cover using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip machine, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip, the characteristics of automatic unlocking of the flip and the like are set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the electronic device 100 is stationary. The electronic equipment gesture recognition method can also be used for recognizing the gesture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, the electronic device 100 may range using the distance sensor 180F to achieve quick focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it may be determined that there is an object in the vicinity of the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there is no object in the vicinity of the electronic device 100.
The ambient light sensor 180L is used to sense ambient light level. The electronic device 100 may adaptively adjust the brightness of the display 194 based on the perceived ambient light level.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 may utilize the collected fingerprint feature to unlock the fingerprint, access the application lock, photograph the fingerprint, answer the incoming call, etc.
The temperature sensor 180J is for detecting temperature. In some embodiments, the electronic device 100 performs a temperature processing strategy using the temperature detected by the temperature sensor 180J.
The touch sensor 180K, also referred to as a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type.
The bone conduction sensor 180M may acquire a vibration signal.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card.
The electronic device may be a portable terminal device such as a car-mounted device, a mobile phone, a tablet computer, a wearable device, or the like, which mounts iOS, android, microsoft or other operating systems, or may be a non-portable terminal device such as a Laptop computer (Laptop) having a touch-sensitive surface or touch panel, a desktop computer having a touch-sensitive surface or touch panel, or the like. The software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the invention, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated.
Fig. 3B is a schematic software structure of the electronic device 100 according to the embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the mobile operating system is divided into four layers, from top to bottom, an application layer, a program framework layer/core services layer, a bottom library, and a kernel layer, respectively.
The application layer may include a series of application packages. Among applications installed in the electronic device 100, some are applications installed independently for each user, and some are applications shared by each user. The applications independently installed by the users are respectively installed in the storage space of the users, and the applications shared by the users are installed in the storage space shared by the users. The applications that are independently installed by each user may be referred to as independent applications, and the applications that are shared by each user may be referred to as shared applications. The independent application is independently displayed on each display screen, for example, the change of the independent application on the display screen with the account number of the user 1 is not influenced, and the data of the independent application displayed on the display screen with the account number of the user 2 is not influenced. The sharing application shares data on each display screen, and even if accounts of different users are logged in on different display screens, the sharing application on the display screen 1 is changed, so that the sharing application displayed on the display screen 2 is affected, and the changed content is the same.
As shown in FIG. 3B, the application package may include application programs such as desktop, settings, systemUI, application 1, application 2, application 3, and so on. The desktop, the setting and the SystemUI are applications shared by all display screens, namely sharing applications, the SystemUI is an APK application at a system level, and can provide display contents such as a status bar, a notification bar, a latest task interface, a navigation bar and the like. The application 1, the application 2 and the application 3 are third party applications downloaded by the electronic equipment based on users, such as applications downloaded from an application market, and are independent applications for each user, namely independent applications. As an example, as can be seen from fig. 3B, the electronic device 100 installs the application 1, the application 2 in the user 1, and installs the application 1, the application 2, and the application 3 in the user 2. When the electronic device 100 logs in the account of the user 1 on a display screen, the application icons of the application 1 and the application 2 can be displayed on the display screen, and the data of the application 1 and the application 2 are the data stored in the storage space where the user 1 is located, and similarly, when the electronic device 100 logs in the account of the user 2 on a display screen, the application icons of the application 1, the application 2 and the application 3 can be displayed on the display screen, and the data of the application 1, the application 2 and the application 3 are the data stored in the storage space where the user 2 is located.
In some embodiments, the application layer may also include system applications that are designated to be displayable on the display screen, such as Bluetooth applications, application markets, setup applications, telephony applications, gallery applications, short message applications, and the like. The designated display screen may be a display screen preset by the electronic device 100, a display screen set by a user, a display screen with the best performance of the electronic device 100, or the like. The definition of the designated display screen is not limited in the embodiment of the application. For example, when the electronic apparatus 100 is an in-vehicle apparatus, the specified display screen may be a center control screen.
It should be understood that the applications shared by the display screens are not limited to the desktop, the setting and the systemul shown in fig. 3B, for example, the applications shared by the display screens may include only the desktop and the systemul, or the applications shared by the display screens may also include a sms, a gallery, a calendar, a navigation, a clock, a map, and the like. In addition, the application layer may further include more or fewer users, the number of users is not limited, applications included in each user are not limited, for example, applications including application 1, application 2, application 3, etc. may be included in user 1, applications including application 4, application 5, application 6, etc. may be included in user 2, these applications may be applications installed by the electronic device 100 from an application market, applications installed by the electronic device 100 through a web page may be applications downloaded by the web page, installation packages sent by the electronic device 100 through other devices, and installation applications, and the method for installing third party applications by the electronic device 100 in the embodiment of the present application is not limited.
The program framework layer provides an application programming interface (application programming interface, API) and programming framework for the application programs of the application layer. The program framework layer includes a number of predefined functions.
As shown in fig. 3B, the program framework layer may include window management, graphic display, BMS, AMS, multi-user management, cloud service account management, and the like.
Window management is used to manage window programs. The window management can acquire the size of the display screen, judge whether a status bar exists, lock the display screen, intercept the display screen and the like. In addition, window management may be used to manage the content output by the different display screens.
The graphical display is used to draw and display a view from the display data.
The BMS, i.e., the package management subsystem, may be used to manage the installation, uninstallation, upgrades, and permissions, etc. of applications.
AMS, an activity management service, is a bootstrap service of a system, and may be used to manage the starting, switching, and scheduling of various applications in an application layer.
The multi-user management may be used to manage multiple users on the electronic device 100, and determine the user corresponding to the display screen according to the account number logged on the display screen.
The cloud service account management can be used for managing the login of the account, sending the login account information to a server, judging the legitimacy of the login account, and the like.
It will be appreciated that the program framework layer may include more or fewer functional modules, which embodiments of the present application are not limited in this regard.
The runtime may refer to all code libraries, frameworks, etc. that are needed by the program to run. For example, for the C language, the runtime includes a series of libraries of functions that are required for the C program to run. For the Java language, the runtime includes virtual machines and the like required for running Java programs, in addition to core libraries. The core library may include function functions that the Java language needs to call.
The underlying library may comprise a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The workflow of the electronic device software and hardware is illustrated below in connection with capturing a photo scene.
When touch sensor 180K receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into the original input event (including information such as touch coordinates, time stamp of touch operation, etc.). The original input event is stored at the kernel layer. The application framework layer acquires an original input event from the kernel layer, and identifies a control corresponding to the input event. Taking the touch operation as a touch click operation, taking a control corresponding to the click operation as an example of a control of a camera application icon, the camera application calls an interface of an application framework layer, starts the camera application, further starts a camera driver by calling a kernel layer, and captures a still image or video by the camera 193.
The following describes specific implementation processes of registering, logging in, switching out of account numbers by the electronic device 100.
The registering account number of the electronic device 100 mainly includes the following steps:
1) Acquiring registration information of account number
The electronic device 100 may display a registration interface of the account through a display screen, and obtain registration information of the account input by a user through the registration interface, where the registration information may include: account numbers, passwords, nicknames, user IDs, and the like. Wherein the user ID is used to uniquely identify the user to which the account corresponds.
It should be understood that the embodiment of the present application does not limit the registration information.
2) Transmitting registration information to server
The server is configured to obtain registration information of an account, determine whether the account exists according to the registration information, if not, store the registration information of the account locally, so that when the electronic device 100 logs in the account, the registration information is used to determine whether the account logged in by the electronic device 100 is legal, and if so, the account fails to be registered.
3) Obtaining indication information returned by server
If the server determines that the account registration is successful, the indication information returned by the server is used for indicating that the account registration is successful, otherwise, the indication information is used for indicating that the account registration is failed.
In addition, since a user may include one or more accounts, when the electronic device 100 registers the first account of the user, the electronic device 100 needs to open up a storage space for storing data of each application installed under the user, for example, an installation file of the application or data generated during the running of the application, when the registration of the accounts is completed.
It should be noted that, when the electronic device 100 registers the account, the registration information may be directly stored locally in addition to the registration information being sent to the server. Or the registration process of the electronic device 100 does not involve a server, the electronic device 100 judges whether the account number exists according to the stored registration information, if not, the registration information is stored locally, otherwise, the account number fails to be registered at the time.
Fig. 4 is a flowchart of internal interactions involved when the electronic device 100 provided in the embodiment of the present application logs in to an account for the first time.
The first login account refers to that the currently logged-in account is not logged in on other display screens of the electronic device 100. As shown in fig. 4, when the electronic device 100 logs in to an account for the first time, the display screen 1, the display screen 2, multi-user management, window management, and cloud service account management in the electronic device 100 are involved. The display screen 1 and the display screen 2 may be any two display screens included in the electronic device 100, and the descriptions of multi-user management, window management, and cloud service account management may be referred to the related descriptions in fig. 3B, which are not repeated herein.
The internal interaction flow involved when the electronic device 100 logs in the account for the first time includes:
S101, detecting operation of logging in the account number 1 on the display screen 1.
The operation may be expressed as a touch operation acting on the display screen 1, or may be expressed as a mouse operation acting on the display screen 1, or the like, for example, and the expression form of the operation is not limited in the embodiment of the present application. The operation may include an operation of inputting an account number and a password, among others.
Alternatively, the electronic device 100 may display the login interface of the account number on the display screen 1 before the electronic device 100 detects an operation acting on the login account number 1 on the display screen 1.
It should be noted that, step S101 is an optional operation, the electronic device 100 may automatically log in the account number 1 on the display screen 1, and the account number 1 may be an account number that is historically logged in on the display screen 1. For example, the electronic device 100 may automatically initiate the login of the account after power-on.
S102, the display screen 1 sends account information of the account 1 to multi-user management.
The account information of the account 1 may include account information, password, etc. of the account 1.
S103, the multi-user management sends the account information of the account 1 to the cloud service account management.
S104, cloud service account management authenticates the account 1 according to the account information.
The authentication account refers to determining whether the account is a registered account.
The authentication account number 1 may include the following two cases:
1) Authentication of account number 1 by server
In this case, the server may store registration information when each electronic device registers an account, and may monitor and manage the login of the electronic device to the account. The cloud service account management can send account information of the account 1 to a server, and the server can perform authentication of the account 1 according to the account information of the account 1 and all stored registration information. If the account number 1 is a registered account number, the account number 1 is authenticated, the server records login information of the account number 1, including account number information, login time, login equipment and the like, otherwise, the account number 1 is not authenticated, and then the server may return indication information about whether the account number 1 is authenticated to the electronic device 100.
In addition, in the case that the account 1 passes the authentication, the server may further send user data of the account 1 to the electronic device 100, where the user data may include: data stored in the cloud by each application under the account 1, verification information required by account login and the like.
2) Authentication of account number 1 is performed locally
In this case, the electronic device 100 may locally store registration information when the electronic device 100 registers an account, further, the electronic device 100 may locally store registration information when other electronic devices register an account, and the cloud service account management may perform authentication of the account 1 according to the account information of the account 1 and all locally stored registration information. If the account number 1 is a registered account number, the account number 1 is authenticated, otherwise, the account number 1 is not authenticated.
S105, under the condition that the authentication of the account 1 is passed, the cloud service account management sends indication information of successful login of the account 1 to multi-user management.
Under the condition that the account 1 passes authentication, cloud service account management can locally record the account 1 to finish the login of the account 1. In addition, the cloud server account management may further associate the display screen 1 with the account 1, so that the electronic device 100 marks the running behavior of the application as the account 1 based on the display screen 1, and the running data of the application is stored in the storage space of the user where the account 1 is located.
S106, acquiring a user ID1 corresponding to the account 1 by multi-user management.
Since a user may include one or more accounts, the electronic device 100 may include a plurality of users, and the multi-user management may manage a mapping table between accounts and users in the electronic device 100, where the mapping table indicates a correspondence between each account and a user. Table 1 illustrates a mapping table for multi-user management of locally managed accounts and users.
TABLE 1
User (user ID) Account number
User 1 (user ID 1) Account number 1, account number 2, account number 3
User 2 (user ID 2) Account number 4
User 3 (user ID 3) Account number 5, account number 6
As can be seen from table 1, the electronic device 100 registers three accounts in user 1: account number 1, account number 2, account number 3, one account number is registered in user 2: account number 4, two accounts are registered in user 3: account number 5 and account number 6. For example, the multiuser management may determine that the account 1 is the account of the user 1 through table 1, and the user ID of the user 1 is the user ID1.
It will be appreciated that table 1 is merely illustrative of possible correspondence between accounts and users, and is not limiting to embodiments of the present application, and in other embodiments of the present application, the electronic device 100 may include more or fewer users, and one user may include more or fewer accounts.
S107, the multi-user management sends the user ID1 to window management.
S108, window management obtains display data corresponding to the user ID1.
The window management may invoke the graphic display to obtain the display data corresponding to the user ID1. The display data may include an application list, system setup information, a recent task list, application data, and the like.
Wherein the application list indicates applications installed by the electronic device 100 under the user identified by the user ID 1.
The system setting information includes adjustment parameters of the electronic device 100 to system functions under the user identified by the user ID1, for example, setting parameters of functions such as bluetooth, WLAN, mobile network, flight mode, etc., setting parameters on desktop display of desktop layout, icons, wallpaper, theme, fonts, etc.
The recent task list indicates applications that electronic device 100 has run for a recent period of time under the user identified by the user ID.
The application data includes data generated during the running of the application by the electronic device 100 under the user identified by the user ID1, such as downloaded data of pictures, videos, files, texts, icons, etc., browsed records, play records, contact lists, etc.
S109, window management sends display data corresponding to the user ID1 to the display screen 1.
Wherein, the window management may send the display data corresponding to the user ID1 to the display screen 1 according to the displayID, where the displayID is used to uniquely identify one display screen of the electronic device 100.
In a specific implementation, in step S102, the display screen 1 may send the displayID of the display screen 1 to the multiuser management in addition to the account information of the account 1 to the multiuser management. In addition to the user ID1 being transmitted to the window management, the multi-user management may also transmit the displayID together to the window management at step S107. In this way, when the window management needs to send the display data corresponding to the user ID1 to the display screen for display, the display screen of the electronic device 100 for display can be determined according to the displayID of the display screen 1.
S110, displaying display data corresponding to the user ID1 on the display screen 1.
After receiving the display data, the display screen 1 can display content under the user identified by the user ID1 according to the display data, wherein the display content can include an application interface, desktop content, an application icon and a latest task interface. The application interface is display content determined according to the application data, the desktop content is display content determined according to the system setting information and the application list, and the latest task interface is display content determined according to the latest task list. For example, when the electronic device 100 installs the application 1 and the application 2 under the user 1, the display screen 1 may display application icons of the application 1 and the application 2 on a desktop, and for example, when the electronic device 100 opens the application 3 and the application 4 under the user 1 for a last period of time, the display screen 1 may display a history browsing interface of the application 3 and the application 4 when displaying a latest task interface.
As can be seen from steps S101 to S110, according to the content displayed on the display screen 1 by the electronic device 100, the electronic device 100 may obtain display data from the storage space where the user corresponding to the logged-in account is located according to the account logged in by the electronic device 100 on the display screen 1, and display the display data on the display screen 1 according to the display data, so as to achieve the effect of binding the display content and the user. The specific implementation process of the desktop and the latest task interface, particularly regarding the content provided by the display application of the electronic device 100, may be referred to in the following relevant content of fig. 9, 10 and 11, which are not developed here.
It can be understood that, when the electronic device 100 includes a plurality of display screens, the electronic device 100 can log in account numbers of different users on different display screens, so as to display contents under different users on the different display screens, and improve the usage rate of the device including the plurality of display screens.
Fig. 5 is a flow chart of internal interaction involved when the electronic device 100 provided in the embodiment of the present application switches accounts.
The account number switching refers to a display screen on which the currently logged-in account number is logged in on other display screens, that is, the account number 1 is logged in on the display screen 1, and the account number 1 is logged in again on the display screen 2, which is taken as an example, to describe an internal interaction process involved when the electronic device 100 switches accounts. In particular, for the internal interaction process involved in logging in the account number 1 on the display screen 1, reference may be made to the foregoing related content of fig. 4, which is not described herein again.
When the electronic device 100 switches accounts, the related internal interaction flow includes:
s201. detects an operation of logging in the account number 1 on the display screen 2.
S202, the display screen 2 sends account information of the account 1 to multi-user management.
S203, the multi-user management sends the account information of the account 1 to the cloud service account management.
S204, cloud service account management authenticates the account 1 according to the account information.
S205, under the condition that the authentication of the account 1 is passed, the cloud service account management sends indication information of successful login of the account 1 to multi-user management.
S206, acquiring a user ID1 corresponding to the account 1 by multi-user management.
S207, the multi-user management sends the user ID1 to window management.
S208, window management obtains display data corresponding to the user ID1.
S209, window management sends display data corresponding to the user ID1 to the display screen 2.
S210, displaying display data corresponding to the user ID1 on a display screen 2.
It should be appreciated that steps S201-S210 are similar to steps S101-S110, except that steps S201-S210 describe the process of logging account number 1 on display screen 2 and steps S101-S110 describe the process of logging account number 1 on display screen 1.
In addition, since the account 1 is logged in on the display screen 2 when the account 1 is logged in on the display screen 1, in step S202-S205, the multi-user management may not only send the account information of the account 1 to the cloud service account management, and the cloud service account management authenticates the account 1, but also may manage the authentication account 1 by the multi-user, and the multi-user management may directly determine that the authentication of the account 1 passes according to the indication information of the successful login of the account 1 received before, so that the account information of the account 1 does not need to be sent to the cloud service account management to perform the authentication of the account 1, thereby accelerating the login speed of the account 1 on the display screen 2.
S211, the window management sends an instruction for indicating the display screen 1 to exit the display to the display screen 1.
S212, the display screen 1 cancels display of display data corresponding to the user ID1, and displays default data of the system.
Because the account number 1 is logged in on the display screen 1 before, the display screen 1 needs to log out of the account number 1, cancel displaying the display data corresponding to the user ID1, and resume displaying the default data of the system before logging in the account number. The system default data may be display data of an initial account preset by the electronic device 100 or initial data preset by the electronic device 100, for example. The initial account number may be pre-configured with some applications, such as chat applications, video applications, music applications, and the like. For example, the electronic device 100 may display the default data of the system, such as an initial interface for account login, on the display screen before detecting no operation of the user to log in the account on the display screen, or after the display screen exits the account. That is, after the account number is exited on the electronic display screen, the initial content may be displayed on the display screen, where the initial content may be a preset content displayed when the account number is not logged on the display screen, or the initial content may be from a storage space of an initial user preset by the electronic device 100. The default data of the system is not limited in the embodiment of the application.
It can be seen that the account number of the same user can be logged in on different display screens of the electronic device 100, and the content displayed on the display screens changes along with the switching of the user, so that the electronic device 100 can flexibly adjust the content displayed on the different display screens through the switching of the account number. Therefore, after a user logs in an account of the user on one display screen, the user can realize that the user can continuously browse the content displayed on the previous display screen before the seat is adjusted by logging in the account on the other display screen under the situation of seat adjustment of the user, so that the operation of the user is convenient, and the experience of the user is improved.
Fig. 6 is a flow chart of internal interaction involved when the electronic device 100 provided in the embodiment of the present application exits the account.
As shown in fig. 6, when the electronic device 100 exits the account, the internal interaction flow involved may include:
s301, detecting an operation of exiting the account on the display screen.
The display may be the aforementioned display 2, and the account may be the aforementioned account 1, for example. The operation may be represented as a touch operation acting on the display screen, or may be represented as a mouse operation acting on the display screen, or the like, and the embodiment of the present application does not limit the expression form of the operation. The operation may be a click operation of an account exit control that acts on a display screen.
Optionally, before the electronic device 100 detects an operation of exiting the account on the display screen, the electronic device 100 may display an exit interface of the account on the display screen, where the exit interface includes an account exit control, and the account exit control may be used to trigger exiting the account logged on the display screen.
S302, the display screen sends account information of the account to multi-user management.
The account information may include account number, password, etc. The account information may refer to account information of account 1, for example.
S303, the multi-user management sends account information of the account to cloud service account management.
S304, the cloud service account manages login of the exit account.
When the authentication of the account is completed by the server when the account is logged in, the cloud service account management logging-out of the account refers to that the cloud service account management sends the indication information of logging-out of the account to the server so that the server records the logging-out information of the account 1, including the account information, the logging-out time, the logging-out equipment and the like.
S305, the cloud service account management sends indication information of the account log-out to the multi-user management.
It should be appreciated that when the account is logged in, when authentication of the account is completed locally, the multi-user management does not need to send the acquired account information to the cloud service management when the electronic device 100 logs out of the account. In other words, when authentication of the account number is completed locally, steps S303 to S305 are optional steps.
S306, the multi-user management obtains the user ID corresponding to the account.
The specific description of step S306 may be referred to the previous description of step S106, and will not be repeated here.
S307, the multi-user management sends the user ID to window management.
S308, the window management sends an instruction for indicating the display screen to exit displaying the display data corresponding to the user ID to the display screen.
Specifically, the window management may send the instruction to exit the display to the display screen according to a displayID, where the displayID is used to identify the display screen.
S309, the display screen cancels display of display data corresponding to the user ID and displays default data of the system.
The specific description of step S309 may refer to the relevant content of step S309, and will not be repeated here.
Fig. 7 is an internal flowchart related to when the electronic device 100 according to the embodiment of the present application installs an independent application.
The independent application refers to an application which is independently installed and operated on each display screen, and the application installed on different display screens respectively has independent storage space. After the electronic device 100 logs in account numbers of different users on a plurality of display screens respectively, the display screens are bound with the users, that is, the display screens are in one-to-one correspondence with the users, when the electronic device 100 detects that an operation of triggering the installation of the independent application on the display screens, the electronic device 100 can install the independent application in a storage space of one or more users according to the users corresponding to the display screens.
As shown in fig. 7, when the electronic device 100 installs the independent application, the internal flow involved may include:
s401, detecting an operation of downloading the application A in the application market.
The application market, which may also be referred to as an application store, is a commonly used tool for managing application software download on mobile devices such as mobile phones and tablets, through which the electronic device 100 may download and update applications.
Specifically, the electronic device 100 may display, through a display screen, a user interface provided by the application market, where a download control of the application a may be displayed, and the operation may refer to a clicking operation applied to the download control.
In addition, the display screen displaying the application market may be any one of the display screens of the electronic device 100. Preferably, the display screen displaying the application marketplace may be a designated display screen in the electronic device 100. For example, when the electronic device 100 is a vehicle-mounted device, the display screen may be a central control screen of the vehicle-mounted device.
It can be appreciated that, in addition to downloading the application through the application market, the electronic device 100 may also download the application through other manners, such as downloading the application from a web page, downloading the application through obtaining an application installation package sent by other devices, and the like, and the manner of downloading the application in the embodiment of the present application is not limited. In addition, the application a is any application that the electronic device 100 obtains from a third party, and the application may be a video application, a music application, a game application, or the like, and the embodiment of the application a is not limited to this application.
S402, the application market obtains an installation package of the application A.
The electronic device 100 may obtain the installation package of the application a through the application market and keep it local.
For example, the installation catalog of application A may be "/data/app/el1/bundle/ohos. Xx. Yy". The installation directory is used to store the installation packages of application a.
S403, the application market sends the installation package to the BMS.
Alternatively, the application marketplace may also send a download parameter to the BMS, the download parameter indicating the display screen designated to install the application a. The electronic device 100 may determine the display screen designated to install the application a according to the user's selection.
For example, when the electronic device 100 detects an operation of downloading the application a in the application market, the electronic device 100 may trigger to display one or more options of the display screen in response to the operation, or one or more options of the user, and the electronic device 100 may detect a selection operation of the option by the user, to determine that the user designates to install the display screen of the application a.
For example, when the electronic device 100 detects an operation of downloading the application a in the application market, options indicating the display screen 1 and the display screen 2 are displayed, when the electronic device 100 detects a selection operation of the options of the display screen 1 by a user, installation of the application a into a storage space of a user who logs in the display screen 1 is triggered, or when the electronic device 100 detects an operation of downloading the application a in the application market, the options of the user 1 and the user 2 are displayed, the user 1 is a user who logs in on the display screen 1, the user 2 is a user who logs in on the display screen 2, and when the electronic device 100 detects a selection operation of the options of the user by the user, installation of the application a into the storage space of the user 1 is triggered.
S404. The bms acquires the rights of the user from the multi-user management.
The multi-user management may store user permissions of a plurality of users of the electronic device 100 for determining whether a display screen logged into the user qualifies for installing the application a. For example, assuming that the application a is a game application, the user authority specifies that the user 1 cannot install the game application, and the display screen of the user 1 is logged in to be unable to install the application a.
And S405, the BMS determines a display screen list according to the user authority.
Wherein the list of display screens includes one or more display screens that qualify for installing the application A.
Alternatively, when the application marketplace transmits the installation package and the download parameter to the BMS in step S403, the BMS may determine a display list according to the user authority and the download parameter, and at this time, the display included in the display list is a designated display qualified for installing the application a.
And S406, the BMS installs the application A according to the display screen list.
The BMS may install the application a on each display included in the display list according to the display list. For example, when N displays are included in the display list, the BMS needs to install the application a N times, N being a positive integer greater than or equal to.
Wherein, installing the application A can include the steps of copying and decompressing the installation package of the application A to the specified file directory and creating the data directory. The file directories and data directories of the application a installed on different display screens are different, for example, the file directory and data directory of the application a installed on the display screen 1 points to the storage space of the user corresponding to the display screen 1, and the file directory and data directory of the application a installed on the display screen 2 points to the storage space of the user corresponding to the display screen 2.
That is, the file directory and the data directory of the application a are different for the application a installed on different display screens. Thus, the same application on different display screens is independent, and the data operated by the same application on different display screens is stored in the storage space of different users.
Specifically, the electronic device 100 may realize data isolation of the same application installed by different users through a sandbox, so as to avoid that data of the same application can be mutually accessed, and influence privacy security of the users.
In addition, when installing an application, the BMS may set an application identification, e.g., index, for the application installed on different display screens, the application identification being used to distinguish the same application installed on different display screens.
Wherein, during installation of the application, the electronic device 100 may create a file directory and a data directory of the application according to the application identification.
Illustratively, the file directory and the data directory created by the electronic device 100 for the application a may be: "/data/app/el2/base/ohos. Xx.yy@index/" and "/data/app/el2/database/ohos. Xx yy@index/". The file directory and the data directory are used for storing installation data of the application A and data generated in the running process of the application A. The electronic device 100 may select a particular inventory based on the format of the data. When index of the application a is different, the specified file directory and the data directory of the application a are different.
For example, when index of the application a installed on the display screen 1 is 1 and index of the application a installed on the display screen 2 is 2, then the file directory of the application a installed on the display screen 1 is "/data/app/el2/base/ohos.xx.yy@1/", the data directory is "/data/app/el2/database/ohos.xx.yy@1/", the file directory of the application a installed on the display screen 2 is "/data/app/el2/base/ohos.xx.yy@2/", and the data directory is "/data/app/el2/database/ohos.xx.yy@2/".
It can be seen that in the process of installing the same application on a plurality of display screens, the file directory and the data directory of the application installed on different display screens can be distinguished by application identifiers. Thus, the same application installed under different users can be independently installed and operated, and the same application displayed on each display screen is independent.
Or further, in the process of installing the application, the electronic device 100 may also create a file directory and a data directory of the application according to the user ID. The user ID is used to uniquely identify the user.
Illustratively, the file directory and the data directory created by the electronic device 100 for the application a may be: "/data/app/el 2/user ID/base/ohos. Xx.yy@index/" and "/data/app/el 2/user ID/database/ohos. Xx.yy@index/". When the index and the user ID of the application a are different, the specified file directory and the data directory of the application a are different.
For example, when the user ID of the user logged on the display 1 is 10, the index of the application a installed on the display 1 is 1, the user ID of the user logged on the display 2 is 100, the index of the application a installed on the display 2 is 2, then the file directory of the application a installed on the display 1 is "/data/app/el2/10/base/ohos.xx.yy@1/", the data directory is "/data/app/el2/10/database/ohos.xx.yy@1/", the file directory of the application a installed on the display 2 is "/data/app/el2/100/base/ohos.xx.yy@2/", and the data directory is "/data/app/el2/100/database/ohos.xx.yy@2/".
It can be seen that in the process of installing the same application on a plurality of display screens, the file directory and the data directory of the application installed on different display screens can be distinguished by application identification and user ID. Thus, the same application installed under different users can be independently installed and operated, and the same application displayed on each display screen is independent.
It will be appreciated that the file directories and data directories mentioned above are merely exemplary and do not constitute limitations of the embodiments of the present application.
S407. the bms transmits indication information of the completion of the installation of the application a to the application market.
The indication information may be used for the application marketplace to update the download or installation situation of the application a. For example, when the electronic device 100 displays a user interface provided by the application marketplace, the user interface may include prompt information that the application a has downloaded.
And S408, the BMS sends indication information of the completion of the installation of the application A to the desktop.
S409, displaying the application icon of the application A by the desktop.
The electronic device 100 may display an application icon of the application a on a desktop on which the display screen of the application a is installed. The application icon of the application a may be used to trigger the launching of the application a.
As can be seen from fig. 7, when the electronic device 100 acquires the installation package of the application, it may be determined to install the application in one or more users, and during the installation process, install the application in the independent storage space of the users.
Fig. 8 is an internal flowchart related to when the electronic device 100 provided in the embodiment of the present application starts an independent application.
As shown in fig. 8, when the electronic device 100 starts a stand-alone application, the internal flow involved may include:
S501. an operation of an application icon of an application a acting on a desktop is detected.
Wherein the electronic device 100 may display a desktop containing application icons of application a on one display screen (e.g., display screen 1). The operation of the application icon acting on the application a may be used to trigger the launching of the application a and display the user interface provided by the application a on the display (e.g., display 1).
Since a plurality of applications a can be installed on the electronic device 100, the application a of the user operation action mentioned in step S501 is an application a installed in a user logged in on the display screen of the user operation action. The application a on which the user operation mentioned in step S501 acts is referred to as an application a_1 for the purpose of description below.
It may be understood that, in addition to the application may be started by the application icon displayed on the desktop, the electronic device 100 may trigger to start the application a by other applications displayed on the desktop, where the electronic device 100 may trigger to execute the subsequent steps S502 to S509 when detecting an operation acting on other applications, and the method for starting the application a is not limited in this embodiment of the present application.
S502, the desktop determines the user ID according to the operation.
Wherein, the desktop can generate an input event according to the operation, the input event can include a displayID, and the displayID can be used for uniquely identifying a display screen acted by the operation.
Because different users log in on different display screens, the electronic device 100 may further determine the user logged in on the display screen according to the displayID, and obtain the user ID of the user.
S503, the desktop acquires the Bundle information of the application A under the user ID through the BMS.
The Bundle information may include: the package name of the application A_1 and the application identifier of the application A_1, wherein the package name is used for identifying the application, the system can distinguish and identify different applications according to the package name, and the application identifier is used for distinguishing the same application installed in different users. For example, the package name of the application a is com.a.app, the package name of the application B is com.b.app, the application of the application a installed in the user 1 is identified as 1, and the application of the application a installed under the user 2 is identified as 2.
That is, the electronic device 100 may uniquely determine the application a_1 according to the Bundle information.
S504, the desktop sends the Bundle information to the AMS.
S505.ams starts application a according to the Bundle information.
Specifically, the AMS may find the application a installed in all users by the electronic device 100 according to the package name of the application a_1 in the Bundle information, and find the application a_1 from all applications a according to the application identifier of the application a_1 in the Bundle information.
The AMS starts the application a according to the Bundle information, specifically, the AMS starts the application a_1 according to the Bundle information, in other words, the AMS sends, to the application a_1, indication information for starting the application according to the Bundle information.
S506, the application A acquires display data of the application A.
The application a_1 may obtain display data from the data storage path of the application a_1, where the display data is stored in the storage space of the user where the application a_1 is located, and isolated from data of applications under other users. Wherein the data storage path may point to the file directory and the data directory created when the application a is installed as mentioned above. The details of the file directory and the data directory may be referred to in the foregoing description of step S406, and will not be described herein.
S507, the application A sends the display data to window management.
S508, window management sends the display data to the graphic display.
S509, the graphic display starts the display of the display data of the application A.
The graphic display may draw a view according to the display data of the application a_1 and display the view on the display screen of the operation in the step S501, so as to realize the effect of starting and displaying the content provided by the application on one display screen, wherein the content provided by the application is associated with the user logged on the display screen, and the content of the application displayed on the display screen is different under different users.
Specifically, the graphic display may start display of the display data of the application a_1 on the display screen identified by the displayID according to the displayID carried in the input event mentioned in step S502.
Fig. 9 is a schematic diagram of an internal flow involved in displaying a sharing application by the electronic device 100 according to the embodiment of the present application.
The shared application is an application shared by users in the electronic device 100, and the application running under each user shares a storage space. Taking a shared application as a desktop, the detailed internal implementation process involved in the electronic device 100 after logging in accounts of different users on multiple display screens and displaying the desktop on the multiple display screens will be described in detail.
As shown in fig. 9, when the electronic device 100 displays the sharing application, the internal flow involved may include:
s601.ams receives a power-on command.
For example, the electronic device 100 may detect a long-press operation on the power key, generate a power-on command, and trigger power-on.
It should be appreciated that after the electronic device 100 is powered on, the electronic device 100 may log in account of different users on multiple display screens according to user operations or automatically. The description of account login is referred to above, and is not repeated here.
Alternatively, the AMS may also receive a screen-on command, and trigger to execute step S602 according to the screen-on command, which is not limited in this embodiment of the present application.
S602. The AMS pulls up the desktop's process.
In response to the startup instruction, the AMS starts a desktop, i.e., a process of pulling up the desktop.
The desktop may refer to a shared application in the electronic device 100, where the shared application is installed in the electronic device 100 only once, and the shared application may be installed in a storage space shared by each user, and data generated during the running process of the shared application is also stored in the storage space shared by each user. For a description of sharing applications, see the foregoing.
Illustratively, the installation catalog of the shared application may be "/data/app/el1/bundle/ohos. The installation directory is used to store installation packages for the shared application.
Illustratively, the file directory and the data directory of the sharing application may be respectively: "/data/app/el2/base/ohos. Xx. Yy/" and "/data/app/el2/database/ohos. Xx. Yy". Wherein the file directory and the data directory are used for storing installation data of the sharing application and data generated in the running process of the sharing application.
It should be noted that, the shared application may be an application preset in the electronic device 100, or may be an application downloaded from a third party such as an application market or a web page, and the embodiment of the present application does not limit the installation manner of the shared application. In addition, the implementation procedure of installing the independent application mentioned in fig. 7 may be used in a specific manner of downloading the shared application from the third party, except that the shared application is installed only once, and the independent application may be installed multiple times, which is not described herein.
S603, the desktop acquires all user information through multi-user management.
The user information is used for indicating all the display screens and the corresponding users on the display screens. Wherein, the user information may include: user ID and displayID. Wherein, the user ID is used for uniquely identifying a user, and the displayID is used for uniquely identifying a display screen.
The multi-user management may manage a mapping table of users and display screens in the electronic device 100, where the mapping table indicates each display screen and a user corresponding to the display screen, and a correspondence between a display screen and a user is determined by the display screen and an account number of the user logged on the display screen. Table 2 illustrates a mapping table of users managed locally with a display screen for multi-user management.
TABLE 2
Display screen (displayID) User (user ID)
Display screen 1 (displayID 1) User 1 (user ID 1)
Display screen 2 (displayID 2) User 2 (user ID 2)
Display screen 3 (displayID 3) User 3 (user ID 3)
As can be seen from table 2, one display screen may correspond to one user, display screen 1 corresponds to user 1, i.e. electronic device 100 logs in the account number of user 1 on display screen 1, displayID1 corresponds to user ID1, display screen 2 corresponds to user 2, i.e. electronic device 100 logs in the account number of user 2 on display screen 2, displayID2 corresponds to user ID2, display screen 3 corresponds to user 3, i.e. electronic device 100 logs in user 3 on display screen 3, displayID3 corresponds to user ID 3.
It should be appreciated that when the electronic device 100 logs in, switches or logs out of the account of a different user on the display screen, the mapping table between the user and the display screen may also be changed, for example, when the electronic device 100 logs in the account of the user 2 on the display screen 1, the displayID1 corresponds to the user ID 2. It should be understood that table 2 is merely an exemplary example and is not to be construed as limiting the embodiments of the present application.
In addition, the multi-user management may store a mapping table of the account number, the user and the display screen, and the electronic device 100 may implement logging in the user corresponding to the account number on the display screen by inputting the account number on the display screen, where the mapping table may refer to the contents of the foregoing table 1 and table 2 in combination, and will not be described herein again.
That is, the desktop may obtain all user information, that is, obtain the correspondence between all users on the electronic device 100 and the display screen through the mapping table locally managed by multi-user management.
It should be appreciated that after all of the user information is obtained, the electronic device 100 may need to initiate a display of the desktop on each display screen. Accordingly, the electronic device 100 may complete the display of the desktop on each display screen by repeatedly performing the following steps S604 to S612.
S604, selecting one user by the desktop according to all user information.
The desktop may select a user from among a plurality of users logged in to the electronic device 100 to display the desktop on a display screen on which the user is located.
S605, the desktop transmits a request for displaying the desktop corresponding to the user to the AMS.
S606.ams controls window management to provide a corresponding window according to the displayID of the user.
The window refers to a basic unit set in the user interface by the application program for using data, and is the basis of all display contents. The application and the data are integrated in the window, and the electronic device 100 may receive the behavior of operating the application in the window, and perform management, generation, and editing of the data.
The electronic device 100 displays a desktop on a display screen, and needs to provide a window for displaying the desktop first, then acquire content provided by the desktop, and display the content through the window.
S607.ams pulls up the desktop corresponding to the user.
And S608, the desktop acquires the application installed under the user through the BMS.
The desktop may obtain an application list from the storage space where the user is located through the BMS, where the application list records all applications installed in the user.
It should be appreciated that since the applications installed in the user need to be displayed on the desktop, the required desktop needs to obtain the application list from the storage space in which the user is located. If the electronic device 100 is displaying the shared application, the data in the user is not involved, but only the content in the shared application, step S608 is an optional step.
S609, the desktop determines display data of the desktop corresponding to the user.
The desktop can determine display data of the desktop corresponding to the user according to the application installed under the user. The display data may include application icons of all applications installed in the user, placement locations of the application icons, and the like.
S610, the desktop sends the display data to window management.
S611, the window management provides for sending the display data to the graphic display.
S612, displaying the display data of the desktop in the window provided by the window management in a graphic mode.
The graphic display may display a window provided by the window management on a display screen identified by the displayID according to the displayID of the user, and display data of the desktop in the window, so as to achieve an effect that the electronic device 100 displays the desktop on one of the display screens.
It should be understood that the electronic device 100 may repeatedly perform steps S604-S612, implementing displaying the desktop on all display screens on which the user is logged in, and displaying application icons of all applications installed under the user on the desktop.
In addition, it should be noted that steps S601-S612 above only show the procedure of displaying the desktop by the electronic device 100 by providing a plurality of windows, and the steps are also applicable to the procedure of displaying other shared applications by the electronic device 100 by providing a plurality of windows, where the desktop may be replaced with other shared applications and step S608 does not exist, or the shared applications in step S608 no longer acquire the applications installed under the user, but other data required by the shared applications, such as browsing records of the applications under the user, application cache data, application notification content, and so on.
Fig. 10 is an internal flowchart related to when the electronic device 100 provided in the embodiment of the present application displays a latest task interface.
After the electronic device 100 logs in an account of a user on the display screen, a recent task interface may be displayed on the display screen, where the recent task interface may be used to display an application browsing record on the display screen that logs in the account in a recent period of time.
As shown in fig. 10, when the electronic device 100 displays the latest task interface, the internal flow involved may include:
s701, detecting the operation of opening the latest task interface on the desktop.
The recent task interface, which may also be referred to as a multitasking interface, is used to display a user interface of the electronic device 100 that was displayed during the recent period of time, the recent task interface indicating a browsing record of the application during the recent period of time.
S702, determining a user by the desktop according to the operation.
Wherein, the desktop may generate an input event according to the operation, the input event may include display information, the display information may include a displayID, the displayID may be used to uniquely identify one display of the electronic device 100, and the electronic device 100 may determine the display on which the operation acts according to the displayID.
Because different display screens are logged in with account numbers of different users, the electronic device 100 may further determine the user corresponding to the display screen according to the displayID, and obtain the user ID of the user.
S703, the desktop acquires the latest task list under the user through the AMS.
The recent task list indicates applications that electronic device 100 has browsed under the user for a recent period of time. Wherein the electronic device 100 may obtain the recent task list from the user's storage space.
S704, the desktop sends the latest task list to window management.
S705. window management sends the latest task list to the graphic display.
S706, drawing and displaying a latest task interface according to the latest task list by the graphic display.
The graphic display may draw the latest task interface according to the latest task list and display the latest task interface on the display screen with the operation in step S706, so as to realize that the operation of opening the latest task interface on the display screen is detected, the effect of the latest task interface is displayed on the display screen, and the application displayed on the latest task interface is the application browsed by the account logged on the display screen in a latest period of time.
Fig. 11 is a flow chart of a multi-user management method according to an embodiment of the present application.
As shown in fig. 11, the multi-user management method may include:
s801, the electronic device 100 creates a plurality of users, and allocates a block of independent storage space for each user.
The electronic device 100 may enable creation of a user by registering an account, where a user may include one or more accounts.
When the user includes multiple accounts, the electronic device 100 may further subdivide the storage space of the user, allocate independent sub-storage spaces for different accounts, and isolate the sub-storage spaces corresponding to different accounts in one user from each other. At this time, when the electronic device 100 logs in to different accounts under the same user, the display contents of the electronic device 100 are independent from each other, and the display contents originate from the storage space corresponding to the account. The details of the registration of the account number by the electronic device 100 may be referred to in the foregoing related content, and will not be described herein.
In addition, after the electronic device 100 creates a plurality of users, the electronic device 100 may create or update a mapping table of accounts and users, which indicates correspondence between each account and user. Thus, when the electronic device 100 logs in the account, the electronic device 100 may determine the user logged in by the electronic device 100 according to the correspondence. Illustratively, table 1 above shows a possible mapping table of account numbers and users, and the description of the mapping table may refer to the relevant content of table 1 above.
Alternatively, the rights of different users may be different. The rights may relate to aspects of application installation and uninstallation, use of functions and applications, access to resources, and the like. For example, user 1 may install or use all types of applications, such as chat applications, video applications, music applications, game applications, learning applications, etc., and user 2 may prohibit the installation or use of game applications. For another example, user 1 may use a mobile network function and user 2 may disable the mobile network function.
The electronic device 100 may set the permissions of different users in two ways:
1) The electronic device 100 distinguishes the rights of the user according to the display screen on which the user is located
For example, the electronic device 100 may differentiate rights of a user logged on a display screen according to location, size, performance, attributes, etc. parameters of the display screen.
For example, in a vehicle-mounted scenario, the electronic device 100 is a vehicle-mounted device, and the vehicle-mounted device may include a plurality of display screens, such as a central control screen, a secondary driving screen, and a back seat screen, where a user logged on the central control screen has a large authority, for example, the user has an authority to use a mobile network function, a bluetooth function, and a WiFi function, and a user logged on the back seat screen has a small authority, for example, the user prohibits use of the mobile network function, the bluetooth function, and the WiFi function.
For another example, in a home scenario, the electronic device 100 may include multiple display screens, such as a living room screen, a bedroom screen, and a learning screen, where the user logged on to the living room screen has a large authority, e.g., the user may use all types of applications, and the user logged on to the learning screen has a small authority, e.g., the user prohibits use of the game application.
Table 3 exemplarily shows an example of dividing user rights of the in-vehicle apparatus based on the display screen.
TABLE 3 Table 3
As can be seen from table 3, when the electronic device 100 is a vehicle-mounted device, the application uninstallation, the permission frame, the WiFi setting, and the notification setting are only operable on the central control screen, the settings of the display screen brightness, the display screen font, and the display screen volume are all operable on all the display screens, the status bar, the notification bar, the latest task interface, and the navigation bar are all displayable on all the display screens, and in the desktop icon display, all the display screens are displayable with icons of applications such as vehicle control, navigation, music, video, game, K song, and WPS, but the application icons of the settings, bluetooth phone, and application market are displayed only on the central control screen, that is, the settings, bluetooth phone, and the content provided by the application market are only displayed on the central control screen, and the user can only use the settings, bluetooth phone, and application market through the central control screen, at this time, the electronic device 100 can only perform installation update and uninstallation of the application through the application market displayed on the central control screen. The icon display setting and the theme setting can be operated on all display screens, and the account login, the exit and the application account binding login can be operated on all display screens.
It should be understood that table 3 is merely exemplary and is not limiting of the application examples.
2) The electronic device 100 distinguishes rights of a user according to the type of the user
When creating a user, the electronic device 100 may provide multiple types of users, where different types of users have different rights, and the created user type may be determined according to the sequence of creating the user by the owner or the selection of the user.
Illustratively, the types of different users are divided in the roles of the owner, e.g., the types of users can be divided into: parent users, child users, etc., and for example, the types of users may be categorized as: owner user, owner authorized user, guest user, etc.
It should be understood that the manner of setting the user rights is not limited to the two types described above, and the embodiments of the present application are not limited thereto.
S802, the electronic equipment 100 logs in an account number of a user on a display screen.
The electronic device 100 may enable display of content in a storage space from a user on a display by logging in to the user's account on the display. Specifically, the electronic device 100 may display a login interface of the account in the display screen, and the electronic device 100 may detect an account login operation on the login interface, so as to login the account on the display screen.
In addition, one display screen corresponds to one user, and accounts of different users can be logged in on different display screens. That is, the electronic device 100 may enable display of content in storage space from different users on different display screens by logging in account of different users on different display screens.
After the electronic device 100 logs in account numbers of different users on a plurality of display screens, the electronic device 100 may create or update a mapping table of users and display screens, where the mapping table indicates each display screen and the user corresponding to the display screen. When the electronic device 100 detects an operation acting on one of the display screens of the electronic device 100, the electronic device 100 may search for display content in a user corresponding to the display screen according to the mapping table, and display the display content on the display screen, so as to achieve an effect of binding the content displayed by the display screen with the user. Illustratively, the foregoing table 2 shows a possible mapping table of users and display screens, and the description of the mapping table may refer to the relevant content of the foregoing table 2.
Illustratively, FIG. 12A shows an exemplary user interface 10 for a login account displayed on one display screen of the electronic device 100. As shown in fig. 12A, the electronic device 100 may display the user interface 10 in a display screen, the user interface 10 displaying two users created by the electronic device 100: user 1, user 2. The electronic device 100 may bind the display with the user 1 through the login account "180", or the electronic device 100 may bind the display with the user 2 through the login account "172" or the account "191". The electronic device 100 can detect an operation (e.g., a first operation) on the user interface 10 that acts on the account number "180" to trigger registration of the account number on the display screen. In addition, the electronic device 100 may also create users through the user interface 10, increasing the number of users created by the electronic device 100.
The process of logging in the account with the electronic device 100 may be referred to in the foregoing description of fig. 4, and will not be described herein.
S803, the electronic device 100 displays the content in the storage space of the user corresponding to the display screen on the display screen, and the data generated and used in the running process of the application are stored in the storage space of the user.
The user corresponding to the display screen is the user where the account number logged in on the display screen is located.
The content displayed by the electronic device 100 on one display screen is derived from content in the memory space of the user to which the display screen corresponds. Further, the contents displayed on the different display screens by the electronic device 100 are respectively sourced from the contents in the storage space of the corresponding user on the different display screens.
Since the storage spaces included in the electronic device 100 are isolated from each other, the contents displayed on the respective display screens are independent from each other, and the modification of the display contents on the respective display screens does not affect each other. That is, the data of the applications under different users are independent of each other, for example, the electronic device 100 displays the application a on the display screen 1 of the account of the login user 1, the data of the application a running is stored in the storage space of the user 1, at the same time, the display content of the application a displayed on the display screen 1 is acquired from the storage space of the user 1, the electronic device 100 displays the application a on the display screen 2 of the account of the login user 2, the data of the application a running is stored in the storage space of the user 2, and at the same time, the display content of the application a displayed on the display screen 2 is acquired from the storage space of the user 2.
It can be seen that, since the storage spaces are independent of each other, the user operates the display screens independently of each other, and the display screens correspond to the independent devices, so that the utilization rate of the device comprising a plurality of display screens is developed to a greater extent. In addition, different users can respectively operate different display screens, so that the use and entertainment requirements of a plurality of users are met simultaneously.
The electronic device 100 may log in an account of a user (e.g., a first user) on a display (e.g., a first display) on which content from a storage space corresponding to the user is displayed; or further, the electronic device 100 may log in an account of another user (for example, the second user) on the display screen, and display content from a storage space corresponding to the other user on the display screen; alternatively, the electronic device 100 may log in the account of the user (e.g., the first user) on another display (e.g., the second display) on which content from the storage space of the user is displayed, or the electronic device 100 may log in the account of the other user on the other display on which content from the storage space of the other user is displayed.
In addition, the electronic device 100 may switch accounts of different users on one display screen to realize that the one display screen displays contents under multiple users, so as to enrich the contents that the display screen can display. Therefore, a user can look up more rich contents in a short time by replacing the logged-in account number on one display screen.
In addition, the electronic device 100 may log in the account numbers of the same user on different display screens, so as to display the content of the same user on different display screens. In this way, after the user switches the display screen to be controlled, the user can be ensured to continuously browse the content browsed on the previous display screen by the user who uses the display screen before logging in on the display screen after the switching.
The content displayed on the display screen of the electronic device may include user interfaces, desktops, multi-tasking interfaces, and the like provided by the application. The user interface provided by different applications can be displayed on the display screen of different users, and the different user interfaces provided by the same application can be displayed, wherein the application is installed in the storage space of the user corresponding to the display screen; logging into desktops displayed on display screens of different users, wherein the desktops can comprise different application icons, different desktop layouts, different desktop backgrounds and the like, and application icons of one or more applications installed in a storage space of the user corresponding to the display screen are displayed in the desktops; the user can log in to the multi-task interface displayed on the display screen of different users, and browsing records of different applications can be displayed, for example, the multi-user interface is used for displaying browsed contents on the display screen of the account of the user 1 in the last period of time.
Illustratively, fig. 12B (a) and (B) each show the electronic device 100 displaying a user interface 20 provided by a music application installed under a different user. As can be seen by comparing (a) and (B) in fig. 12B, 21 songs are shown in (a) in fig. 12B, and 3 songs are shown in (B) in fig. 12B. This is because 21 songs are stored locally in the music application installed under user 1 during the operation, and 3 songs are stored locally in the music application installed under user 2 during the operation, so that 21 local songs are displayed in the user interface 20 when the user interface 20 provided by the music application under user 1 is displayed, and 3 songs are displayed in the user interface 20 when the user interface 20 provided by the music application under user 2 is displayed.
In addition, the application displayed by the electronic device 100 may be an application downloaded by the electronic device 100 from an application market. The electronic device 100 may display a user interface provided by an application marketplace on a display screen, and detect an operation to download an application on the user interface, install the application in a storage space of a user logged in on the display screen.
It can be seen that the applications installed under different users are independent of each other, for example, the electronic device 100 installs application a on the display screen of the account of the login user 1 and installs application B on the display screen of the account of the login user 2, and then the application a is only displayed on the display screen corresponding to the user 1 and the application B is only displayed on the display screen corresponding to the user 2. That is, the application icon displayed on the display screen by the electronic device 100 is an application icon of an application installed in a user logged in on the display screen, and when the electronic device 100 switches users on the display screen, the application icon displayed on the display screen follows the change of the logged-in user.
Illustratively, fig. 12C (a) and (b) show desktop main interfaces, i.e., user interfaces 30, respectively, under different users of the electronic device 100. The user interface 30 may include a time and weather indicator 301, an application icon presentation area 302. Wherein the time and weather indicator 301 is used to indicate time and weather, and one or more application icons are displayed in the application icon display area 302. As can be seen from comparing fig. 12C (a) and (b), the style of the time and weather indicator 301 may be different in the desktop main interface under different users, and the application icon displayed in the application icon display area 302 may be different.
In addition, since the display contents on the display screens of the electronic device 100 are independent of each other, the latest task interfaces displayed on the different display screens are also independent of each other, and the latest task interfaces can be used to display the application interfaces displayed on the display screens for a period of time.
Illustratively, fig. 12D (a) and (b) show the latest task interfaces, i.e., the user interface 40, respectively, under different users of the electronic device 100. As can be seen from comparing fig. 12D (a) and (b), fig. 12D (a) shows one application recently opened by the user as a setup application, and fig. 12D (b) shows another application recently opened as a music application.
In some embodiments, the electronic device 100 may also detect an operation of exiting the account number acting on one display (e.g., the first display), and in response to the operation, trigger display of initial content on the display, where the initial content is preset content displayed when the account number is not logged in on the display, or where the initial content is from a storage space of an initial user (e.g., a third user) of the electronic device 100 threshold.
In general, the multi-user management method provided by the embodiment of the application can control the independent display of a plurality of display screens of one electronic device, and the content displayed on the display screens can be changed along with the corresponding user when the display screens log in the account. The electronic equipment can flexibly adjust the content displayed on the display screen by switching account numbers of different users logged in on different display screens, so as to achieve the effect of displaying the content along with the screen.
It should be understood that the steps in the above-described method embodiments may be accomplished by integrated logic circuitry in hardware in a processor or instructions in the form of software. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor or in a combination of hardware and software modules in a processor.
The application also provides an electronic device, which may include: memory and a processor. Wherein the memory is operable to store a computer program; the processor may be configured to invoke a computer program in the memory to cause the electronic device to perform the method performed by the electronic device 100 in any of the embodiments described above.
The present application also provides a chip system comprising at least one processor for implementing the functions involved in the method performed by the electronic device 100 in any of the above embodiments.
In one possible design, the system on a chip further includes a memory to hold program instructions and data, the memory being located either within the processor or external to the processor.
The chip system may be formed of a chip or may include a chip and other discrete devices.
Alternatively, the processor in the system-on-chip may be one or more. The processor may be implemented in hardware or in software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented in software, the processor may be a general purpose processor, implemented by reading software code stored in a memory.
Alternatively, the memory in the system-on-chip may be one or more. The memory may be integrated with the processor or may be separate from the processor, and embodiments of the present application are not limited. For example, the memory may be a non-transitory processor, such as a ROM, which may be integrated on the same chip as the processor, or may be separately disposed on different chips, and the type of memory and the manner of disposing the memory and the processor in the embodiments of the present application are not specifically limited.
Illustratively, the system-on-chip may be a field programmable gate array (field programmable gate array, FPGA), an application specific integrated chip (application specific integrated circuit, ASIC), a system on chip (SoC), a central processing unit (central processor unit, CPU), a network processor (network processor, NP), a digital signal processing circuit (digital signal processor, DSP), a microcontroller (micro controller unit, MCU), a programmable controller (programmable logic device, PLD) or other integrated chip.
The present application also provides a computer program product comprising: a computer program (which may also be referred to as code, or instructions), which when executed, causes a computer to perform the method performed by any of the electronic devices 100 in any of the embodiments described above.
The present application also provides a computer-readable storage medium storing a computer program (which may also be referred to as code, or instructions). The computer program, when executed, causes a computer to perform the method performed by any of the electronic devices 100 in any of the embodiments described above.
It should be appreciated that the processor in the embodiments of the present application may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method embodiments may be implemented by integrated logic circuits of hardware in a processor or instructions in software form. The processor may be a general purpose processor, a digital signal processor (digital signal processor, DSP), an application specific integrated circuit (AP 800plication specific integrated circuit,ASIC), a field programmable gate array (field programmable gate array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software modules in a decoded processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor reads the information in the memory and, in combination with its hardware, performs the steps of the above method.
In addition, the embodiment of the application also provides a device. The apparatus may be a component or module in particular, and may comprise one or more processors and memory coupled. Wherein the memory is for storing a computer program. The computer program, when executed by one or more processors, causes an apparatus to perform the methods of the method embodiments described above.
Wherein an apparatus, a computer-readable storage medium, a computer program product, or a chip provided by embodiments of the present application are each configured to perform the corresponding method provided above. Therefore, the advantages achieved by the method can be referred to as the advantages in the corresponding method provided above, and will not be described herein.
The embodiments of the present application may be arbitrarily combined to achieve different technical effects.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
Those of ordinary skill in the art will appreciate that implementing all or part of the above-described method embodiments may be accomplished by a computer program to instruct related hardware, the program may be stored in a computer readable storage medium, and the program may include the above-described method embodiments when executed. And the aforementioned storage medium includes: ROM or random access memory RAM, magnetic or optical disk, etc.
In summary, the foregoing description is only exemplary embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present invention should be included in the protection scope of the present invention.

Claims (14)

1. A method of multi-user management, the method being applied to an electronic device comprising a plurality of display screens, the method comprising:
the electronic equipment respectively allocates different storage spaces for a plurality of users, and the storage spaces corresponding to the different users are isolated from each other;
the electronic equipment logs in an account number of a first user in the plurality of users on a first display screen in the plurality of display screens;
And the electronic equipment displays the content from the storage space corresponding to the first user on the first display screen.
2. The method according to claim 1, wherein the method further comprises:
the electronic equipment logs in an account number of a second user in the plurality of users on a second display screen in the plurality of display screens;
and the electronic equipment displays the content from the storage space corresponding to the second user on the second display screen.
3. The method according to claim 1, wherein the method further comprises:
the electronic equipment logs in the account number of the first user on a second display screen in the plurality of display screens;
and the electronic equipment displays the content from the storage space corresponding to the first user on the second display screen.
4. The method of claim 3, wherein the electronic device displays more content on the first display screen from the first user's corresponding storage space than the electronic device displays on the second display screen from the first user's corresponding storage space.
5. The method of claim 3 or 4, wherein after the electronic device logs in the account of the first user on the second display screen, the method further comprises:
The electronic equipment displays initial content on the first display screen, wherein the initial content is preset content displayed when an account number is not logged in on the display screen, or the initial content is from a storage space corresponding to a third user preset by the electronic equipment.
6. The method of any of claims 1-5, wherein after the electronic device displays content from the first user's corresponding storage space on the first display screen, the method further comprises:
the electronic equipment logs in an account number of a second user in the plurality of users on the first display screen;
and the electronic equipment displays the content from the storage space corresponding to the second user on the first display screen.
7. The method of any of claims 1-6, wherein one user comprises a plurality of account numbers, and wherein the electronic device, after allocating different storage space for the plurality of users, respectively, the method further comprises:
the electronic equipment allocates different sub-storage spaces in the storage space corresponding to one user for a plurality of accounts of the one user, and the sub-storage spaces corresponding to the different accounts in the one user are isolated from each other;
The electronic device displays content from a storage space corresponding to the first user on the first display screen, and specifically includes:
and the electronic equipment displays the content in the sub-storage space corresponding to the account number of the first user from the login on the first display screen.
8. The method of any of claims 1-7, wherein the electronic device, prior to logging in the account of the first user of the plurality of users on the first display of the plurality of displays, further comprises:
the electronic equipment displays a user interface of a login account on the first display screen;
the electronic device detects a first operation on the user interface, wherein the first operation is used for triggering the first user account to be logged in on the first display screen.
9. The method of any of claims 1-8, wherein the content displayed on the first display screen comprises: the method comprises the steps that a first application provides a user interface, a desktop or a multi-task interface, wherein the first application is an application installed in a storage space corresponding to a first user; the desktop is provided with application icons of one or more applications installed in a storage space corresponding to the first user; the multi-task interface is used for displaying the browsed content on a display screen of the account number of the first user in the last period of time.
10. The method of claim 9, wherein data generated during the running of the first application is stored in a storage space corresponding to the first user.
11. The method of any of claims 1-10, wherein the electronic device, after displaying the first display content corresponding to the first user on the first display screen, further comprises:
the electronic equipment detects the operation of the exit account number acting on the first display screen;
and responding to the operation, the electronic equipment displays initial content on the first display screen, wherein the initial content is preset content displayed when the account number is not logged in on the display screen, or the initial content is from a storage space corresponding to a third preset by the electronic equipment.
12. The method of any of claims 1-11, wherein the electronic device comprises a system-on-chip, and wherein operation of the plurality of user-corresponding storage spaces is supported by the system-on-chip.
13. An electronic device comprising a memory, one or more processors, and one or more programs; the one or more processors, when executing the one or more programs, cause the electronic device to implement the method of any of claims 1-12.
14. A computer readable storage medium comprising instructions which, when run on an electronic device, cause the electronic device to perform the method of any one of claims 1 to 12.
CN202210738186.5A 2022-06-27 2022-06-27 Multi-user management method, graphic interface and related device Pending CN117331455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210738186.5A CN117331455A (en) 2022-06-27 2022-06-27 Multi-user management method, graphic interface and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210738186.5A CN117331455A (en) 2022-06-27 2022-06-27 Multi-user management method, graphic interface and related device

Publications (1)

Publication Number Publication Date
CN117331455A true CN117331455A (en) 2024-01-02

Family

ID=89274232

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210738186.5A Pending CN117331455A (en) 2022-06-27 2022-06-27 Multi-user management method, graphic interface and related device

Country Status (1)

Country Link
CN (1) CN117331455A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230249588A1 (en) * 2022-02-10 2023-08-10 Matthew BAYES Vehicle seat adjustment system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230249588A1 (en) * 2022-02-10 2023-08-10 Matthew BAYES Vehicle seat adjustment system and method

Similar Documents

Publication Publication Date Title
US11947974B2 (en) Application start method and electronic device
CN113272745B (en) Smart home equipment sharing system and method and electronic equipment
KR102484738B1 (en) Method and electronic device for managing application rights
CN110276177B (en) Login method of intelligent terminal and electronic equipment
CN113496426A (en) Service recommendation method, electronic device and system
WO2021253975A1 (en) Permission management method and apparatus for application, and electronic device
US20230054451A1 (en) Communication Connection Method and Electronic Device
CN111615820B (en) Method and equipment for performing domain name resolution by sending key value to GRS server
CN112783384A (en) Control method for cloud application operation and electronic equipment
CN112738143A (en) Account number binding method, device and system
CN114817939A (en) Authority control method and electronic equipment
CN113986092A (en) Message display method and device
CN117331455A (en) Multi-user management method, graphic interface and related device
CN115438354A (en) User privacy protection method and device
CN112966297A (en) Data protection method, system, medium and electronic device
CN114530148A (en) Control method and device and electronic equipment
CN112988177B (en) Application installation package release method, application program operation method, server and terminal
CN117348767A (en) Application management method, graphical interface and related device
CN113642010B (en) Method for acquiring data of extended storage device and mobile terminal
CN116982042A (en) Flexible authorized access control method, related device and system
CN116156044A (en) Equipment cooperation method and related device
WO2024078412A1 (en) Cross-screen sharing method, graphical interface, and related apparatus
CN114546969A (en) File sharing method and device and electronic equipment
CN116702163B (en) Authority management method and terminal equipment
CN115017473B (en) Authorization method and electronic equipment

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