CN116700556A - Card generation method and related device - Google Patents

Card generation method and related device Download PDF

Info

Publication number
CN116700556A
CN116700556A CN202211425213.XA CN202211425213A CN116700556A CN 116700556 A CN116700556 A CN 116700556A CN 202211425213 A CN202211425213 A CN 202211425213A CN 116700556 A CN116700556 A CN 116700556A
Authority
CN
China
Prior art keywords
card
control center
super
terminal control
super terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211425213.XA
Other languages
Chinese (zh)
Other versions
CN116700556B (en
Inventor
江涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211425213.XA priority Critical patent/CN116700556B/en
Priority claimed from CN202211425213.XA external-priority patent/CN116700556B/en
Publication of CN116700556A publication Critical patent/CN116700556A/en
Application granted granted Critical
Publication of CN116700556B publication Critical patent/CN116700556B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/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
    • G06F3/04817Interaction 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 using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a card generation method and a related device, wherein the method comprises the following steps: under the condition that the terminal equipment supports the function of the super terminal control center, if the terminal equipment is in a non-simple mode when the fact that the notification bar layout object is mounted on the window is monitored, the card display requirement is that a card needs to be displayed, and a super terminal plug-in for filling the card content is established, a super terminal card container is established; filling card content into the super terminal card container through the super terminal plug-in to obtain a super terminal control center card, wherein the super terminal control center card is used for entering a super terminal control center; and displaying the super terminal control center card at the top position of the notification bar layout object. Based on the method described by the application, the user can quickly and conveniently enter the super terminal control center.

Description

Card generation method and related device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a card generating method and a related device.
Background
Currently, only when an application program is running/in a running state, the application program can generate a notification message, and then a card of the notification message can be displayed on a user interface, wherein a user can quickly enter the application program corresponding to the notification message by clicking the card of the notification message. If the application is in the off state, it will not generate a notification message, and the card of the notification message will not be displayed on the user interface. The super terminal control center is used as an application program for multi-device cooperative control, and can present near-field same-account equipment with current equipment as the center and integrate cooperative service among the equipment. However, at present, when the super terminal control center is in a closed state, a user cannot quickly and conveniently enter the super terminal control center.
Disclosure of Invention
The embodiment of the application provides a card generation method and a related device, which can realize that a user can quickly and conveniently enter a super terminal control center.
In a first aspect, the present application provides a card generating method, applied to a terminal device, where the method includes:
under the condition that the terminal equipment supports the function of the super terminal control center, monitoring whether a notification bar layout object is mounted on a window, monitoring whether the terminal equipment is in a non-simple mode, monitoring whether a card display requirement is that a card needs to be displayed, and monitoring whether a super terminal plug-in for filling the card content is established;
when the fact that the notification bar layout object is mounted on a window is monitored, the terminal equipment is in a non-simple mode, the card display requirement is that a card needs to be displayed, and the super terminal plug-in for filling the card content is established, a super terminal card container is established;
filling card content into the super terminal card container through the super terminal plug-in unit to obtain a super terminal control center card, wherein the super terminal control center card is used for entering a super terminal control center;
And displaying the super terminal control center card at the top position of the notification bar layout object.
In the application, when the fact that the notification bar layout object is mounted on the window is monitored, the terminal equipment is in a non-simple mode, the card display requirement is that the card needs to be displayed, and the super terminal plug-in for filling the card content is created, the super terminal card container is created, so that the super terminal card container is filled with the card content through the super terminal plug-in to generate the super terminal control center card, and the generation of the card when the super terminal control center is in a closed state can be realized, so that a user can quickly and conveniently enter the super terminal control center through the card.
In one possible implementation, the method further comprises:
detecting whether the super terminal plug-in is defined in a system or not;
and when the super terminal plug-in is detected to be defined in the system, creating the super terminal plug-in.
In the implementation mode, the super terminal plug-in used for filling the card content is created, so that decoupling between card filling and card display can be realized, and the flexibility is higher.
In one possible implementation, after the displaying the super terminal control center card at the top position of the notification bar layout object, the method further includes:
When the mode in which the terminal equipment is located is monitored to be switched from a simple mode to a non-simple mode, displaying the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the mode in which the terminal equipment is located is monitored to be switched from a non-simple mode to a simple mode, hiding the display of the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the screen locking state of the terminal equipment is monitored to be switched from the screen locking state to the screen unlocking state, displaying the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the screen locking state of the terminal equipment is monitored to be switched from the screen unlocking state to the screen locking state, hiding the display of the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the user switching from the sub-user to the main user is monitored, displaying the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the user is monitored to be switched from the main user to the sub-user, hiding the display of the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
When the card display requirement is monitored to be switched from the card which is not required to be displayed to the card which is required to be displayed, displaying the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the card display requirement is monitored to be switched from the card to be displayed to the card not to be displayed, hiding the display of the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
refreshing the display of the super terminal control center card at the top position of the notification bar layout object when the theme change is monitored; or alternatively, the process may be performed,
and refreshing the display of the super terminal control center card at the top position of the notification bar layout object when the transition of the depth mode is monitored.
Under the implementation mode, when the configuration change is monitored, the display of the card is refreshed, so that the card meets the actual requirements better, and the applicability is strong.
In one possible implementation, the method further comprises:
when the notification message is detected, hiding the display of the card of the super terminal control center at the top position of the notification bar layout object, and displaying the card of the notification message at the top position of the notification bar layout object.
In the implementation mode, when the notification message is detected, the card of the notification message is displayed at the top position of the notification bar layout object, so that the use habit of a user is met, and the satisfaction degree of the user is improved.
In one possible implementation, the method further comprises:
and when the display duration of the card of the notification message is detected to exceed the preset duration, or when the deleting operation or clicking operation of the card of the notification message by a user is detected, the super terminal control center card is added to the top position of the notification bar layout object again to be displayed.
Under the implementation mode, when the preset duration is exceeded or the deleting operation of the user on the notification message is detected, the super terminal control center card is displayed at the top position of the notification bar layout object again, and the user can quickly enter the super terminal control center later.
In one possible implementation, the method further comprises:
and when the sliding operation of the user from the preset position is detected, the card of the notification message is moved downwards to the position behind the zero number position, and the super terminal control center card is added to the top position of the notification bar layout object for display.
Under the implementation mode, when the sliding operation of the user from the preset position is detected, the super terminal control center card is displayed at the top position of the notification bar layout object again, so that the user can quickly enter the super terminal control center later.
In a second aspect, the present application provides a card generating apparatus, which is a terminal device, including:
the processing unit is used for monitoring whether a notification bar layout object is mounted on a window, monitoring whether the terminal equipment is in a non-simple mode, monitoring whether a card display requirement is that a card needs to be displayed and monitoring whether a super terminal plug-in for filling card content is established under the condition that the terminal equipment supports the function of a super terminal control center;
the processing unit is used for creating a super terminal card container when the fact that the notification bar layout object is mounted on a window is monitored, the terminal equipment is in a non-simple mode, the card display requirement is that a card needs to be displayed, and the super terminal plug-in for filling the card content is created;
the processing unit is used for filling card contents into the super terminal card container through the super terminal plug-in unit to obtain a super terminal control center card, and the super terminal control center card is used for entering a super terminal control center;
And the processing unit is used for displaying the super terminal control center card at the top position of the notification bar layout object.
In one possible implementation, the processing unit is configured to:
detecting whether the super terminal plug-in is defined in a system or not;
and when the super terminal plug-in is detected to be defined in the system, creating the super terminal plug-in.
In one possible implementation, after the displaying the super terminal control center card at the top position of the notification bar layout object, the processing unit is configured to:
when the mode in which the terminal equipment is located is monitored to be switched from a simple mode to a non-simple mode, displaying the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the mode in which the terminal equipment is located is monitored to be switched from a non-simple mode to a simple mode, hiding the display of the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the screen locking state of the terminal equipment is monitored to be switched from the screen locking state to the screen unlocking state, displaying the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
When the screen locking state of the terminal equipment is monitored to be switched from the screen unlocking state to the screen locking state, hiding the display of the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the user switching from the sub-user to the main user is monitored, displaying the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the user is monitored to be switched from the main user to the sub-user, hiding the display of the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the card display requirement is monitored to be switched from the card which is not required to be displayed to the card which is required to be displayed, displaying the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the card display requirement is monitored to be switched from the card to be displayed to the card not to be displayed, hiding the display of the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
refreshing the display of the super terminal control center card at the top position of the notification bar layout object when the theme change is monitored; or alternatively, the process may be performed,
And refreshing the display of the super terminal control center card at the top position of the notification bar layout object when the transition of the depth mode is monitored.
In one possible implementation, the processing unit is configured to:
when the notification message is detected, hiding the display of the card of the super terminal control center at the top position of the notification bar layout object, and displaying the card of the notification message at the top position of the notification bar layout object.
In one possible implementation, the processing unit is configured to:
and when the display duration of the card of the notification message is detected to exceed the preset duration, or when the deleting operation or clicking operation of the card of the notification message by a user is detected, the super terminal control center card is added to the top position of the notification bar layout object again to be displayed.
In one possible implementation, the processing unit is configured to:
and when the sliding operation of the user from the preset position is detected, the card of the notification message is moved downwards to the position behind the zero number position, and the super terminal control center card is added to the top position of the notification bar layout object for display.
In a third aspect, the present application provides an electronic device comprising one or more processors, one or more transceivers, and one or more memories. The one or more memories, the one or more transceivers being coupled to the one or more processors, the one or more memories being for storing computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the communication method in any of the possible implementations of the first aspect described above.
In a fourth aspect, embodiments of the present application provide a computer storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the communication method in any of the possible implementations of the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product which, when run on a computer, causes the computer to perform the communication method in any of the possible implementations of the first aspect.
Drawings
Fig. 1 is a schematic diagram of a wireless communication system provided by the present application;
fig. 2 is a schematic structural diagram of an electronic device provided by the present application;
FIG. 3 is a block diagram of the software architecture of the electronic device provided by the present application;
FIG. 4 is a schematic view of a card display scenario provided by an embodiment of the present application;
fig. 5 is a schematic view of a scenario of entering a super terminal control center according to an embodiment of the present application;
FIG. 6 is a schematic flow chart of a card generating method according to an embodiment of the present application;
FIG. 7 is a schematic view of a scenario in which smart cards are not displayed;
FIG. 8 is a schematic diagram of another scenario in which smart cards are not displayed according to an embodiment of the present application;
FIG. 9 is a schematic diagram of a card generating device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of another card generating device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
Wherein, in the description of the embodiments of the present application, unless otherwise indicated, "/" means or, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, in the description of the embodiments of the present application, "plurality" means two or more than two.
The terms "first" and "second" are used below for descriptive purposes only and are not to be construed as indicating 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. In the description of the embodiments of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
The embodiment of the application provides a card generation method and a related device based on the card generation method, when a notification bar layout object is monitored to be mounted on a window, terminal equipment is in a non-simple mode, a card display requirement is that a card needs to be displayed, and a super terminal card container is created when a super terminal plug-in for filling card content is created, so that the super terminal card container is filled with the card content through the super terminal plug-in to generate a super terminal control center card, and card generation when the super terminal control center is in a closed state can be realized, so that a user can quickly and conveniently enter the super terminal control center through the card.
The following first describes a wireless communication system provided in an embodiment of the present application.
Referring to fig. 1, fig. 1 is a schematic diagram of a wireless communication system provided by the present application. As shown in fig. 1, the wireless communication system may include a plurality of electronic devices. Wherein each electronic device may communicate with other electronic devices in the wireless communication system. The type of the electronic device is not particularly limited in the embodiments of the present application, for example, the electronic device may be a portable electronic device such as a mobile phone, a tablet pc, a personal digital assistant (personal digital assistant, PDA), a wearable device (such as a bluetooth headset), a laptop (laptop), or a non-portable electronic device such as a desktop computer. Examples of electronic devices include, but are not limited to, electronic devices that carry iOS, android, microsoft or other operating systems. Wherein, each electronic device can be a device supporting the function of a control center of the super terminal.
It will be appreciated that the terminal device may typically be connected to one or more input devices, such as input peripherals, to perform corresponding functions. For example, a personal computer (personal computer, PC) may be connected to a mouse, through which the movement of a cursor on the PC display screen and further functions such as opening/deleting files are implemented. The PC can also be connected with a keyboard, and the functions of cursor, character input, file opening/deleting and the like on the display screen of the mobile PC are realized through the keyboard. For another example, the tablet computer can also be connected with a mouse, and the cursor on the display screen of the tablet computer can be moved through the mouse, and functions such as application/video/audio in the tablet computer can be opened.
The electronic device described in the embodiments of the present application may also be referred to as a terminal device, which may be a device having a wireless transceiver function, and specifically may refer to a User Equipment (UE), an access terminal, a subscriber unit (subscriber unit), a subscriber station, a mobile station, a customer-terminal device (CPE), a remote station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent, or a user equipment. The terminal device may also be a satellite phone, a cellular phone, a smart phone, a wireless data card, a wireless modem, a machine type communication device, a terminal which may be a cordless phone, a session initiation protocol (session initiation protocol, SIP) phone, a wireless local loop (wireless local loop, WLL) station, a personal digital assistant (personal digital assistant, PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a communication device mounted on a high-altitude aircraft, a wearable device, an unmanned aerial vehicle, a robot, a point of sale (POS) machine, a device-to-device (D2D) terminal, a terminal in a car-to-all (vehicle to everything, V2X) terminal, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in an unmanned (self-driving) device, a wireless terminal in a remote medical device (smart) device, a smart terminal in a smart network (smart carrier) device, a smart terminal in a smart network (smart in a future communication device, a smart terminal in a smart network of the future, a smart communication device, or the like.
In the embodiment of the present application, the device for implementing the function of the terminal device may be the terminal device; or a device, such as a chip system, capable of supporting the terminal device to implement the function. The device can be installed in or matched with the terminal equipment. In the embodiment of the application, the chip system can be composed of chips, and can also comprise chips and other discrete devices.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an electronic device provided by the present application. As shown in fig. 2, the electronic device 100 may be an electronic device in the wireless communication system shown in fig. 1. It should be understood that electronic device 100 may have more or fewer components than shown in fig. 2, may combine two or more components, or may have a different configuration of components. The various components shown in fig. 2 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
As shown in fig. 2, 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, a user identification module (subscriber identification module, SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, an acceleration sensor 180E, a distance sensor 180F, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, and the like.
It should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the application, electronic device 100 may include more or fewer components than shown in FIG. 2, or certain components may be combined, certain components may be separated, or a different arrangement of components may be provided. The components shown in fig. 2 may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing modules, 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 memory, 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 modules may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. 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. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system. In the embodiment of the present application, the memory stores instructions that cause the electronic device to execute the card generating method provided in the embodiment of the present application, and the card generating method provided in the present application may refer to the related description of the subsequent embodiment.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, such that the processor 110 communicates with the touch sensor 180K through an I2C bus interface to implement a touch function of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface, to implement a function of answering a call through the bluetooth headset.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface to implement a function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through a UART interface, to implement a function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (camera serial interface, CSI), display serial interfaces (display serial interface, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the photographing functions of electronic device 100. The processor 110 and the display 194 communicate via a DSI interface to implement the display functionality of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transfer data between the electronic device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices, such as AR devices, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and is not meant to limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also employ different interfacing manners in the above embodiments, or a combination of multiple interfacing manners.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
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 and provides power to the processor 110, the internal memory 121, the external memory, 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. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
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. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
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. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
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, modulates the electromagnetic wave signals, 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 embodiments of the present application, electronic device 100 supports BLE, and may communicate with other devices based on BLE. The electronic device 100 may transmit or scan BLE broadcasts provided by embodiments of the present application on a BLE broadcast channel.
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). In some embodiments of the present application, the electronic device 100 may obtain its own location information through a wireless communication technology.
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. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
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. In some embodiments, the ISP may be provided in the camera 193.
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. Applications such as intelligent awareness of the electronic device 100 may be implemented through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the electronic device 100 and card generation by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
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. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
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. In some embodiments of the present application, a receiver may be used to receive voice input by a user for transmitting a distress broadcast packet.
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. In other embodiments, the electronic device 100 may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four, or more microphones 170C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc. In some embodiments of the present application, a microphone may be used to receive voice input by a user for transmitting a distress broadcast packet.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be a USB interface 130 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 may also calculate the location of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon. In some embodiments of the present application, pressure sensors may be used to detect user-entered gestures for sending distress broadcast packages.
The gyro sensor 180B may be used to determine a motion gesture of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., x, y, and z axes) may be determined by gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance to be compensated by the lens module according to the angle, and makes the lens counteract the shake of the electronic device 100 through the reverse motion, so as to realize anti-shake. The gyro sensor 180B may also be used for navigating, somatosensory game scenes.
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 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 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 ambient light sensor 180L may also be used to automatically adjust white balance when taking a photograph. The ambient light sensor 180L may also cooperate with a proximity light sensor (not shown in fig. 2) to detect whether the electronic device 100 is in a pocket to prevent false touches.
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. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 100 performs a reduction in the performance of a processor located in the vicinity of temperature sensor 180J in order to reduce power consumption to implement thermal protection. In other embodiments, when the temperature is below another threshold, the electronic device 100 heats the battery 142 to avoid the low temperature causing the electronic device 100 to be abnormally shut down. In other embodiments, when the temperature is below a further threshold, the electronic device 100 performs boosting of the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperatures.
The touch sensor 180K, also referred to as a "touch panel". 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. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a different location than the display 194.
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. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
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 SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, i.e.: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
Referring to fig. 3, fig. 3 is a block diagram of a software structure of an electronic device according to the present application. As shown in fig. 3, 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 Android system is divided into four layers, from top to bottom, an application layer (application layer for short), an application framework layer, an Zhuoyun row (Android run) and system library, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 3, the application package may include application programs (also referred to as applications) such as a system interface (i.e., systemUI), a superterminal control center, a camera, a gallery, a calendar, a call, a map, navigation, WLAN, bluetooth, music, video, short messages, etc. The system interface (i.e. SystemUI) includes a status bar module (i.e. status bar), a notification bar layout object (i.e. notifiackscriollaout), a superterminal control center module (i.e. superdevicepancontrol), a superterminal card container (i.e. superdevicepanview), and a plug-in manager (i.e. plugin manager). The super terminal control center comprises super terminal plug-ins (i.e. superdevicePlugin).
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 3, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification presented in the form of a chart or scroll bar text in the system top status bar, such as a notification of a background running application, or a notification presented on a screen in the form of a dialog interface. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
Android runtimes include core libraries and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), two-dimensional 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.
A two-dimensional graphics engine is a drawing engine that draws two-dimensional drawings.
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 following explains the related technical features related to the embodiments of the present application. It should be noted that these explanations are for easier understanding of the embodiments of the present application, and should not be construed as limiting the scope of protection claimed by the present application.
1. Super terminal control center
The super terminal control center (simply called control center) is an application program for cooperative control of multiple devices, presents near-field same account number devices centered on the current device, and integrates cooperative services among the devices. That is, the UI interface of the super terminal control center may provide an interface display of the super terminal function, for example, a device with the same account logged in a nearby bluetooth or wireless range may be displayed on the interface, so as to facilitate the user to experience various super terminal functions.
2. System interface (i.e. SystemUI)
The system interface can be understood as a visual interface provided by a system in a mobile phone, including a series of interfaces such as a window, a desktop, a screen locking interface, a notification bar, a status bar, and the like.
3. Status bar module (i.e., status bar), notification bar layout object (i.e., notifiationstack script), superterminal control center module (i.e., superdevicepanel controller), superterminal card container (i.e., superdevicepanel view), plug-in manager (i.e., plugin manager), superterminal plug-in (i.e., superDevicePlugin)
The status bar module (i.e. status bar) can be understood as controlling the display of status bar notification information at the top of the mobile phone, the display of some system icons, the display of application notification icons, the display of system time, and the usual function shortcut switch.
The notification bar layout object (i.e., notifiationstack scroll out) can be understood as a specific implementation and page presentation of a system pull-down notification bar, where all notifications (or notification messages) are presented in the notification bar layout.
The superterminal control center module (i.e., superdevicepanel controller) can be understood as a logic implementation part of the function of the superterminal control center, and various functions on the service are implemented and completed through the module.
The plug-in manager (i.e. plugin manager) can be understood as a system ui plug-in unified management tool, and can realize functions of scanning, creating, monitoring plug-ins and the like.
The superterminal card container (i.e., superdevicepanview) can be understood as a specialized slot for placing a superterminal card, displaying the content on the superterminal control center card.
The super terminal plug-in (i.e. superdeviceplug in) can be understood as a specific implementation person filling the card of the super terminal control center, and the super terminal plug-in fills the specific content of the card of the super terminal control center according to the service function.
4. Super terminal control center function
The functions of the super terminal control center comprise super connection, super call, super notice, super mouse, display control center and the like, that is, the functions of the super terminal control center are collectively called super connection, super call, super notice, super mouse, display control center and the like. In general, a terminal device having functions of super connection, super call, super notice, super mouse, etc. may be referred to as a super terminal. The super connection can be understood as a function that the A equipment is not finished, the B equipment can be finished continuously, the super call can be understood as that the telephone on the A equipment can be answered on the B equipment, the super notification can be understood as that the notification on the B equipment is checked on the A equipment, the super mouse can be understood as that the B equipment can be controlled through the super mouse after the A equipment is connected with the mouse, the display control center can be understood as an interface of the super terminal control center, and the connection condition of the equipment is displayed to a user.
5. Simple mode and non-simple mode of terminal device
The simple mode of the terminal equipment can be understood as an old man machine mode, the mobile phone icons and fonts become large in the simple mode, the functions are single, only basic functions such as conversation, short messages and surfing are reserved, the non-simple mode of the terminal equipment can be understood as all complete function modes of the terminal equipment, and all characteristics of the equipment can be embodied in the non-simple mode.
6. Main user and sub-user of terminal equipment
The main user of the terminal equipment can be understood as an administrator account of the mobile phone, the administrator account has all functions of the current mobile phone, the sub-user of the terminal equipment can be understood as a common account of the mobile phone, and the sub-user of the terminal equipment has part of functions of the current mobile phone, such as functions of no face recognition, no deletion user authority and the like under the sub-user.
7. Theme of terminal equipment
The theme of the terminal device can be understood as the interface style of the mobile phone, and in general, interfaces, application icons and the like of different themes are different.
8. Deep and shallow mode of terminal equipment
The dark and light modes of the terminal device include a dark color mode and a light color mode, wherein the dark color mode can be understood as a system interface is black, and the terminal device is suitable for being used at night. The light-colored mode can be understood as a normal display, i.e. a white background commonly used on cell phones.
9. Card and card
A card is understood to be a collection of functions and is presented to a user in a carded form.
The application scenario of the present application will be briefly described below.
Currently, only when an application program is running/in a running state, the application program can generate a notification message, and then a card of the notification message can be displayed on a user interface, wherein a user can quickly enter the application program corresponding to the notification message by clicking the card of the notification message. If the application is in the off state, it will not generate a notification message, and the card of the notification message will not be displayed on the user interface. The super terminal control center is used as an application program for multi-device cooperative control, and can present near-field same-account equipment with current equipment as the center and integrate cooperative service among the equipment. However, at present, when the super terminal control center is in a closed state, a user cannot quickly and conveniently enter/start the super terminal control center.
Based on the above, the application provides a card generation method, which can realize that a user can quickly and conveniently enter the super terminal control center when the super terminal control center is in a closed state.
Specifically, in the application, when the user glides out the notification bar layout object (or called notification bar layout interface, notification bar layout and the like) on any interface, the card (or called super terminal control center card, intelligent interconnection card) of the super terminal control center displayed at the top position (or called 0 number position of notification bar layout) of the notification bar layout object can help the user to quickly enter the super terminal control center from any interface.
For example, please refer to fig. 4, fig. 4 is a schematic view of a card display provided in an embodiment of the present application. As shown in fig. 4, when the user pulls down, the first line in the notification bar layout interface (i.e., the notification bar layout object) is displayed as a smart card (i.e., the card of the super terminal control center), which is fixed above all the cards of the notification message, i.e., the smart card is displayed at the number 0 position of the notification bar layout. As shown in fig. 4, the smart card includes 2 states, one state is a default display state (as shown in fig. 4 (a), in which the number of accessory-cooperable devices is shown in the card, for example, 3 cooperable devices are nearby), and another state is a cooperating state (as shown in fig. 4 (b), in which the card is shown in cooperation. Among the cards of the plurality of notification messages, the card of the notification message with the latest time is closest to the 0 number position of the notification bar layout, and the card of the notification message with the longer time is farther from the 0 number position of the notification bar layout. For example, as shown in FIG. 4, the card of the information just ejected is shown in the nearest position to the smart card, i.e., in the second row of the notification bar layout interface, and the card of the weather ejected 20 minutes ago is shown below the card of the information, i.e., in the third row of the notification bar layout interface.
The user can enter the super terminal control center by clicking the intelligent interconnected card. As shown in fig. 5, when the user clicks on the smart card in the default display state, the super terminal control center may be entered, where the UI interface of the super terminal control center may display the local and the searched nearby 3 devices (such as device 1, device 2 and device 3 in fig. 5). The user can also enter the super terminal control center when clicking the smart interconnection card in the collaboration state, wherein the device which is collaboration with the user can be displayed on the UI interface of the super terminal control center, such as the device 2 in FIG. 5.
The card generation method provided by the embodiment of the application is explained below in connection with a specific application scenario.
Referring to fig. 6, fig. 6 is a flowchart illustrating a card generating method according to an embodiment of the application. As shown in fig. 6, the card generation method includes the following steps S601 to S604. The method execution body shown in fig. 6 may be a terminal device. Alternatively, the method execution body shown in fig. 6 may be a chip in a terminal device, and the embodiment of the present application is schematically illustrated by taking the terminal device as an example. Wherein:
S601, under the condition that the terminal equipment supports the function of the super terminal control center, the terminal equipment monitors whether a notification bar layout object is mounted on a window, monitors whether the terminal equipment is in a non-simple mode, monitors whether a card display requirement is that a card needs to be displayed, and monitors whether a super terminal plug-in for filling the card content is established.
In some possible embodiments, when the terminal device is started up, the status bar module (i.e., status bar) of the terminal device is initialized. Specifically, during initialization of the status bar, a notification bar layout object (i.e., notifiationstack controllayout) is created, and whether the terminal device supports the super terminal control center function is determined, and if it is determined that the terminal device supports the super terminal control center function, a super terminal control center module (i.e., superdevicepanel controller) is created. Illustratively, the superterminal control center function includes one or more of the following functions: super connection, super call, super notice, super mouse, presentation control center, etc. Further, the superdevicepanel controller may set interception, for example, whether an interception notification bar layout object has been mounted to a window, whether an interception terminal device is in a non-easy mode, whether an interception card display requirement is that a card needs to be displayed, and whether an interception superterminal plug-in for filling in card content has been created.
S602, when the fact that the notification bar layout object is mounted on the window is monitored, the terminal equipment is in a non-simple mode, the card display requirement is that a card needs to be displayed, and a super terminal plug-in for filling the card content is established, the terminal equipment establishes a super terminal card container.
In some possible embodiments, the terminal device may set up a snoop through the superterminal control center module (i.e. superdevicepanel controller), where setting up a snoop includes setting up the following snoop: (1) monitoring whether a notification bar layout object is mounted on a window; (2) monitoring whether the terminal equipment is in a non-simple mode, namely monitoring the mode of the terminal equipment, wherein the mode of the terminal equipment comprises a simple mode or a non-simple mode; (3) monitoring whether the card display requirement is a card to be displayed or not, namely monitoring the card display requirement, wherein the card display requirement comprises a card to be displayed or a card not to be displayed; (4) monitoring whether a super terminal plug-in for filling the card content is already created, i.e. setting monitoring of the plug-in. Optionally, the superdevicepanel controller may also set one or more of the following listens: (1) monitoring a screen locking state of the terminal equipment, wherein the screen locking state comprises a screen locking state or an screen unlocking state; (2) setting user switching monitoring; (3) setting monitoring whether the theme is changed; (4) and setting whether the depth mode of the terminal equipment is switched or not.
In some possible embodiments, when it is monitored that the notification bar layout object has been mounted to the window, the terminal device is in a non-easy mode, the card presentation requirements are that the card needs be presented, and the superterminal plug-in has been created, a superterminal card container (i.e., superdevicepanview) is created, for example by superdevicepancontrol. Wherein, the fact that the notification bar layout object is mounted on the window can be understood that the interface of the notification bar layout object is drawn, and the notification bar layout object is ready to be displayed on the window.
That is, after monitoring that the notification bar layout object is mounted on the window, further judging whether the terminal device is currently in a non-simple mode, and judging whether the card display requirement is that the card needs to be displayed, if it is determined that the terminal device is currently in the non-simple mode, and the card display requirement is that the card needs to be displayed, determining whether a super terminal plug-in (i.e. superdevicePlugin) is created, wherein after determining that the super terminal plug-in is created, a super terminal card container (i.e. superdevicePanel view) is created. In general, the terminal device may detect whether a super terminal plug-in (i.e., superdeviceplug in) is defined in the system, and when detecting that a super terminal plug-in is defined in the system, then create the super terminal plug-in again. Specifically, the terminal device may scan/detect the plugin through a plugin manager (i.e., plugin manager) in a loop, and when a SuperDevicePlugin is defined in the system, then create a SuperDevicePlugin again, where the SuperDevicePlugin is defined, i.e., the SuperDevicePlugin is declared in the system file, which indicates that such a SuperDevicePlugin object exists in the system. And because the SuperDevicePanel controller sets monitoring on the plug-in, when the SuperDevicePlugin is monitored to be established, the super terminal card container is started to be established, and the super terminal card container is transferred to the SuperDevicePlugin for filling card contents.
And S603, the terminal equipment fills the card content into the super terminal card container through the super terminal plug-in to obtain the super terminal control center card.
In some possible embodiments, the super terminal card container may be filled with card content through the super terminal plug-in, to obtain the super terminal control center card. The super terminal control center card is used for entering the super terminal control center. For example, the super terminal plug-in may populate the card content according to the connection of the current device.
S604, the terminal equipment displays the super terminal control center card at the top position of the notification bar layout object.
In some possible embodiments, after the super terminal control center card is generated, the super terminal control center card may be displayed at the top position of the notification bar layout object, that is, after the card content is filled, the display condition of the super terminal control center card in the notification bar layout object may be refreshed, and the card is added to the number 0 position in the notification bar layout object. The top position of the notification bar layout object may also be understood herein as position number 0 of the notification bar layout object.
Optionally, in some possible embodiments, after the super terminal control center card is displayed at the top position of the notification bar layout object, whether the terminal device has a state change needs to be continuously monitored, and the display of the super terminal control center card is adjusted according to the state change of the terminal device, that is, by monitoring events such as layout change, state change, screen locking change, user switching, display state, etc., when it is determined that the events occur, the super terminal control center module refreshes the card display.
For example, when the mode in which the terminal equipment is located is monitored to be switched from the simple mode to the non-simple mode, the super terminal control center card is displayed at the top position of the notification bar layout object. For another example, when the mode in which the terminal device is located is monitored to switch from the non-simple mode to the simple mode, the display of the super terminal control center card at the top position of the notification bar layout object is hidden. For another example, when the screen locking state of the terminal equipment is monitored to be switched from the screen locking state to the screen unlocking state, the super terminal control center card is displayed at the top position of the notification bar layout object. For another example, when the screen locking state of the terminal equipment is monitored to be switched from the screen unlocking state to the screen locking state, the display of the super terminal control center card at the top position of the notification bar layout object is hidden. For another example, when it is monitored that the user switches from the child user to the master user, the super terminal control center card is displayed at the top position of the notification bar layout object. For another example, when it is monitored that the user switch is from the main user to the sub-user, the display of the super terminal control center card at the top position of the notification bar layout object is hidden. For another example, when it is monitored that the card display requirement is switched from not needing to display the card to needing to display the card, the super terminal control center card is displayed at the top position of the notification bar layout object. For another example, when the card display requirement is monitored to be switched from the card needing to be displayed to the card not needing to be displayed, the display of the super terminal control center card at the top position of the notification bar layout object is hidden. For another example, when a theme change is monitored, the display of the super terminal control center card at the top position of the notification bar layout object is refreshed. For another example, when the transition of the deep and shallow mode is monitored, the display of the super terminal control center card at the top position of the notification bar layout object is refreshed.
It should be noted that, the display of the hidden super terminal control center card at the top position of the notification bar layout object described in the present application may be understood as a display of the super terminal control center card not at the top position of the notification bar layout object, that is, not displaying the super terminal control center card.
Alternatively, in some possible embodiments, the superterminal control center card may not be displayed when the deletion operation of the superterminal control center card by the user is detected. For example, when the user clicks the delete control "x" on the super terminal control center card on the display screen of the terminal device, the terminal device no longer displays the super terminal control center card. Or, the user can select to delete the display of the super terminal control center card at the editable function control on the display screen of the terminal equipment, and the super terminal control center card can be not displayed.
For example, referring to fig. 7, fig. 7 is a schematic view of a scenario in which smart cards are not displayed according to an embodiment of the present application. As shown in fig. 7, after the user clicks the delete control "x" on the smart card, the terminal device does not display the super terminal control center card any more, and the card of the notification message with the latest time is displayed at the position No. 0, and the card of the notification message with the longer time is sequentially displayed after the position No. 0.
Referring to fig. 8, fig. 8 is a schematic diagram of another scenario in which smart cards are not displayed according to an embodiment of the present application. As shown in fig. 8, when the user clicks the editable function control and selects the option of "do not display smart interconnection", the terminal device does not display the super terminal control center card any more, and the card of the notification message with the latest time is displayed at the position No. 0, and the card of the notification message with the longer time is sequentially displayed after the position No. 0.
Alternatively, in some possible embodiments, when a notification message is detected, the display of the superterminal control center card at the top position of the notification bar layout object is hidden and the card of the notification message is displayed at the top position of the notification bar layout object. Here, the notification message is a notification message generated when other applications run, for example, weather, map, video, music, game, etc., without limitation.
Optionally, in some possible embodiments, when the display duration of the card of the notification message is detected to exceed the preset duration, or when the deleting operation or the clicking operation of the card of the notification message by the user is detected, the super terminal control center card may be added to the top position of the notification bar layout object again for display.
Alternatively, in some possible embodiments, when a sliding operation of the user from a preset position is detected, the card of the notification message may be moved down to a position behind the zero-number position, and the super terminal control center card may be added to the top position of the notification bar layout object for display. Here, the preset position may be an upper edge of a display screen of the terminal device or the like, and is not limited herein.
In the application, when the fact that the notification bar layout object is mounted on the window is monitored, the terminal equipment is in a non-simple mode, the card display requirement is that the card needs to be displayed, and the super terminal plug-in for filling the card content is created, the super terminal card container is created, so that the super terminal card container is filled with the card content through the super terminal plug-in to generate the super terminal control center card, and the generation of the card when the super terminal control center is in a closed state can be realized, so that a user can quickly and conveniently enter the super terminal control center through the card. That is, the user can conveniently and quickly find the control center entrance through the pull-down notification bar, namely the entrance of the unified multi-device collaboration service, intuitively inform the user of the device model in the near field area, help the user to realize unified control over various collaboration services, and establish the overall cognition of the user on the multi-device collaboration.
The card generating device according to the present application will be described in detail with reference to fig. 9 to 10.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a card generating device according to an embodiment of the application. The card generating device 900 shown in fig. 9 may be used to perform some or all of the functions of the terminal device in the method embodiment described above with respect to fig. 6. The device can be a terminal device, a device in the terminal device, or a device which can be matched with the terminal device for use. The card generating device 900 may also be a chip system. The card generating device shown in fig. 9 may include a transceiver unit 901, a processing unit 902, and a storage unit 903. The processing unit 902 is configured to perform data processing. The transceiver unit 901 is used for receiving or transmitting data. The storage unit 903 is used to store data. Wherein:
a processing unit 902, configured to, if it is determined that the terminal device supports the function of the super terminal control center, monitor whether a notification bar layout object is already mounted on a window, monitor whether the terminal device is in a non-simple mode, monitor whether a card display requirement is that a card needs to be displayed, and monitor whether a super terminal plug-in for filling the card content has been created;
The processing unit 902 is configured to create a super terminal card container when it is monitored that the notification bar layout object is mounted on a window, the terminal device is in a non-simple mode, the card display requirement is that a card needs to be displayed, and the super terminal plug-in for filling the card content is created;
the processing unit 902 is configured to fill, through the super terminal plug-in, card content into the super terminal card container to obtain a super terminal control center card, where the super terminal control center card is used to enter a super terminal control center;
the processing unit 902 is configured to display the super terminal control center card at a top position of the notification bar layout object.
In one possible implementation, the processing unit 902 is configured to:
detecting whether the super terminal plug-in is defined in a system or not;
and when the super terminal plug-in is detected to be defined in the system, creating the super terminal plug-in.
In one possible implementation, after the displaying the superterminal control center card at the top position of the notification bar layout object, the processing unit 902 is configured to:
when the mode in which the terminal equipment is located is monitored to be switched from a simple mode to a non-simple mode, displaying the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
When the mode in which the terminal equipment is located is monitored to be switched from a non-simple mode to a simple mode, hiding the display of the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the screen locking state of the terminal equipment is monitored to be switched from the screen locking state to the screen unlocking state, displaying the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the screen locking state of the terminal equipment is monitored to be switched from the screen unlocking state to the screen locking state, hiding the display of the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the user switching from the sub-user to the main user is monitored, displaying the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the user is monitored to be switched from the main user to the sub-user, hiding the display of the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the card display requirement is monitored to be switched from the card which is not required to be displayed to the card which is required to be displayed, displaying the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
When the card display requirement is monitored to be switched from the card to be displayed to the card not to be displayed, hiding the display of the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
refreshing the display of the super terminal control center card at the top position of the notification bar layout object when the theme change is monitored; or alternatively, the process may be performed,
and refreshing the display of the super terminal control center card at the top position of the notification bar layout object when the transition of the depth mode is monitored.
In one possible implementation, the processing unit 902 is configured to:
when the notification message is detected, hiding the display of the card of the super terminal control center at the top position of the notification bar layout object, and displaying the card of the notification message at the top position of the notification bar layout object.
In one possible implementation, the processing unit 902 is configured to:
and when the display duration of the card of the notification message is detected to exceed the preset duration, or when the deleting operation or clicking operation of the card of the notification message by a user is detected, the super terminal control center card is added to the top position of the notification bar layout object again to be displayed.
In one possible implementation, the processing unit 902 is configured to:
and when the sliding operation of the user from the preset position is detected, the card of the notification message is moved downwards to the position behind the zero number position, and the super terminal control center card is added to the top position of the notification bar layout object for display.
When the function of the super terminal control center is implemented, the transceiver unit 901 may be used for performing data transceiver with other terminal devices. The storage unit 903 may be used to store program codes executed by the processing unit 902.
Other possible implementations of the card generating device may refer to the description of the functions of the terminal device in the method embodiment corresponding to fig. 6, which is not repeated herein.
Referring to fig. 10, fig. 10 is a schematic structural diagram of another card generating device according to an embodiment of the application. As shown in fig. 10, the card generating device 1000 may be a terminal device described in an embodiment of the present application, and is configured to implement the functions of the terminal device in fig. 6. For convenience of explanation, fig. 10 shows only major components of the terminal device. As shown in fig. 10, the card generating device 1000 includes a processor 1001, a memory 1002, and a transceiver 1003. The processor 1001 is mainly configured to process a communication protocol and communication data, control the entire card generating device 1000, execute a software program, and process data of the software program. The memory 1002 is used mainly for storing software programs and data. The transceiver 1003 is mainly used to receive data or transmit data through a transceiver air interface.
Taking the card generating device 1000 as an example of a mobile phone, when the card generating device 1000 is turned on, the processor 1001 may read the software program in the memory 1002, interpret and execute the instructions of the software program, and process the data of the software program. When data needs to be transmitted through the transceiver 1003, the processor processes the data to be transmitted and then transmits the data through the transceiver. When there is data to be transmitted to the card generating device 1000, the processor 1001 receives a signal through the transceiver 1003 and converts the received signal into data to process the data.
Those skilled in the art will appreciate that for ease of illustration, fig. 10 shows only one memory and one processor. In some embodiments, card generating device 1000 may include multiple processors and memory. The memory may also be referred to as a storage medium or storage device, etc., and embodiments of the present application are not limited in this respect.
As an alternative implementation, the processor may include a baseband processor, which is mainly used to process the communication protocol and the communication data, and a central processor, which is mainly used to control the entire card generating device 1000, execute a software program, and process the data of the software program. The processor in fig. 10 integrates the functions of a baseband processor and a central processing unit, and those skilled in the art will appreciate that the baseband processor and the central processing unit may be separate processors, interconnected by bus technology, etc. Card generating device 1000 may include multiple baseband processors to accommodate different network formats, card generating device 1000 may include multiple central processors to enhance its processing capabilities, and various components of card generating device 1000 may be connected by various buses. The baseband processor may also be expressed as a baseband processing circuit or a baseband processing chip. The central processing unit may also be expressed as a central processing circuit or a central processing chip. The function of processing the communication protocol and the communication data may be built in the processor, or may be stored in the storage unit in the form of a software program, which is executed by the processor to realize the baseband processing function.
As an alternative implementation, the memory may include read only memory and random access memory, and provide instructions and data to the processor. A portion of memory may also include, without limitation, non-volatile random access memory, and the like.
The embodiment of the application also provides a computer readable storage medium, wherein instructions are stored in the computer readable storage medium, and when the computer readable storage medium runs on a processor, the method flow of the embodiment of the method is realized.
The present application also provides a computer program product, which when run on a processor, implements the method flows of the method embodiments described above.
Those of ordinary skill in the art will appreciate that the elements and steps of the examples described in connection with the embodiments disclosed herein can be implemented as electronic hardware, or as a combination of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the units is merely a logical functional division, and units illustrated as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. The foregoing computer-readable storage media can be any available media that can be accessed by a computer. Taking this as an example but not limited to: the computer readable medium may include random access memory (random access memory, RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (electrically erasable programmable read only memory, EEPROM), compact disc read-only memory (compact disc read-only memory, CD-ROM), universal serial bus flash disk (universal serial bus flash disk), a removable hard disk, or other optical disk storage, magnetic disk storage media, or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. In addition, by way of example and not limitation, many forms of RAM are available, such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous DRAM (SLDRAM), or direct memory bus RAM (DR RAM).
The foregoing is merely a specific implementation of the present application, but the scope of the embodiments of the present application is not limited thereto, and any person skilled in the art may easily think about changes or substitutions within the technical scope of the embodiments of the present application, and all changes and substitutions are included in the scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. A card generation method, characterized by being applied to a terminal device, the method comprising:
under the condition that the terminal equipment supports the function of the super terminal control center, monitoring whether a notification bar layout object is mounted on a window, monitoring whether the terminal equipment is in a non-simple mode, monitoring whether a card display requirement is that a card needs to be displayed, and monitoring whether a super terminal plug-in for filling the card content is established;
when the fact that the notification bar layout object is mounted on a window is monitored, the terminal equipment is in a non-simple mode, the card display requirement is that a card needs to be displayed, and the super terminal plug-in for filling the card content is established, a super terminal card container is established;
Filling card content into the super terminal card container through the super terminal plug-in unit to obtain a super terminal control center card, wherein the super terminal control center card is used for entering a super terminal control center;
and displaying the super terminal control center card at the top position of the notification bar layout object.
2. The method according to claim 1, wherein the method further comprises:
detecting whether the super terminal plug-in is defined in a system or not;
and when the super terminal plug-in is detected to be defined in the system, creating the super terminal plug-in.
3. The method of claim 1 or 2, wherein after displaying the superterminal control center card at a top position of the notification bar layout object, the method further comprises:
when the mode in which the terminal equipment is located is monitored to be switched from a simple mode to a non-simple mode, displaying the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the mode in which the terminal equipment is located is monitored to be switched from a non-simple mode to a simple mode, hiding the display of the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
When the screen locking state of the terminal equipment is monitored to be switched from the screen locking state to the screen unlocking state, displaying the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the screen locking state of the terminal equipment is monitored to be switched from the screen unlocking state to the screen locking state, hiding the display of the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the user switching from the sub-user to the main user is monitored, displaying the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the user is monitored to be switched from the main user to the sub-user, hiding the display of the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the card display requirement is monitored to be switched from the card which is not required to be displayed to the card which is required to be displayed, displaying the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
when the card display requirement is monitored to be switched from the card to be displayed to the card not to be displayed, hiding the display of the super terminal control center card at the top position of the notification bar layout object; or alternatively, the process may be performed,
Refreshing the display of the super terminal control center card at the top position of the notification bar layout object when the theme change is monitored; or alternatively, the process may be performed,
and refreshing the display of the super terminal control center card at the top position of the notification bar layout object when the transition of the depth mode is monitored.
4. A method according to any one of claims 1-3, wherein the method further comprises:
when the notification message is detected, hiding the display of the card of the super terminal control center at the top position of the notification bar layout object, and displaying the card of the notification message at the top position of the notification bar layout object.
5. The method according to claim 4, wherein the method further comprises:
and when the display duration of the card of the notification message is detected to exceed the preset duration, or when the deleting operation or clicking operation of the card of the notification message by a user is detected, the super terminal control center card is added to the top position of the notification bar layout object again to be displayed.
6. The method according to claim 4, wherein the method further comprises:
and when the sliding operation of the user from the preset position is detected, the card of the notification message is moved downwards to the position behind the zero number position, and the super terminal control center card is added to the top position of the notification bar layout object for display.
7. An electronic device comprising a transceiver, a processor and a memory, the memory for storing a computer program, the processor invoking the computer program for performing the method of any of claims 1-6.
8. A computer readable storage medium comprising computer instructions which, when run on a computer, cause the computer to perform the method of any of claims 1-6.
9. A computer program product, characterized in that the computer program product, when run on a computer, causes the computer to perform the method according to any of claims 1-6.
CN202211425213.XA 2022-11-15 Card generation method and related device Active CN116700556B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211425213.XA CN116700556B (en) 2022-11-15 Card generation method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211425213.XA CN116700556B (en) 2022-11-15 Card generation method and related device

Publications (2)

Publication Number Publication Date
CN116700556A true CN116700556A (en) 2023-09-05
CN116700556B CN116700556B (en) 2024-05-31

Family

ID=

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150063169A1 (en) * 2012-05-11 2015-03-05 Yong Lu Intelligent wireless router and wireless communication system
CN105760160A (en) * 2016-02-04 2016-07-13 百度在线网络技术(北京)有限公司 Method, device and system for adding cards from plugins
CN113986369A (en) * 2021-09-18 2022-01-28 荣耀终端有限公司 Internet of things equipment control method and system, electronic equipment and storage medium
CN115033319A (en) * 2021-06-08 2022-09-09 华为技术有限公司 Distributed display method and terminal of application interface
CN115202834A (en) * 2021-05-27 2022-10-18 华为技术有限公司 Task migration system and method
CN115243085A (en) * 2022-06-28 2022-10-25 海信视像科技股份有限公司 Display device and device interconnection method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150063169A1 (en) * 2012-05-11 2015-03-05 Yong Lu Intelligent wireless router and wireless communication system
CN105760160A (en) * 2016-02-04 2016-07-13 百度在线网络技术(北京)有限公司 Method, device and system for adding cards from plugins
CN115202834A (en) * 2021-05-27 2022-10-18 华为技术有限公司 Task migration system and method
CN115033319A (en) * 2021-06-08 2022-09-09 华为技术有限公司 Distributed display method and terminal of application interface
CN113986369A (en) * 2021-09-18 2022-01-28 荣耀终端有限公司 Internet of things equipment control method and system, electronic equipment and storage medium
CN115243085A (en) * 2022-06-28 2022-10-25 海信视像科技股份有限公司 Display device and device interconnection method

Similar Documents

Publication Publication Date Title
WO2020253719A1 (en) Screen recording method and electronic device
AU2018430381B2 (en) Flexible screen display method and terminal
CN111666119B (en) UI component display method and electronic device
CN113885759B (en) Notification message processing method, device, system and computer readable storage medium
CN115866121B (en) Application interface interaction method, electronic device and computer readable storage medium
CN114173204B (en) Message prompting method, electronic equipment and system
CN114556294A (en) Theme switching method and theme switching device
CN114125130B (en) Method for controlling communication service state, terminal device and readable storage medium
CN114115770A (en) Display control method and related device
CN113641271B (en) Application window management method, terminal device and computer readable storage medium
WO2022143180A1 (en) Collaborative display method, terminal device, and computer readable storage medium
CN114691248B (en) Method, device, equipment and readable storage medium for displaying virtual reality interface
CN113645595B (en) Equipment interaction method and device
CN117009005A (en) Display method, automobile and electronic equipment
CN116700556B (en) Card generation method and related device
CN116032942A (en) Method, device, equipment and storage medium for synchronizing cross-equipment navigation tasks
CN115706916A (en) Wi-Fi connection method and device based on position information
CN114489876A (en) Text input method, electronic equipment and system
CN110737916A (en) Communication terminal and processing method
CN116700556A (en) Card generation method and related device
CN116048236B (en) Communication method and related device
CN112840680A (en) Position information processing method and related device
WO2023197999A1 (en) Display method and electronic device
CN116095224B (en) Notification display method and terminal device
CN116048831B (en) Target signal processing 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
GR01 Patent grant