WO2021057452A1 - Method and device for presenting atomic service - Google Patents

Method and device for presenting atomic service Download PDF

Info

Publication number
WO2021057452A1
WO2021057452A1 PCT/CN2020/113603 CN2020113603W WO2021057452A1 WO 2021057452 A1 WO2021057452 A1 WO 2021057452A1 CN 2020113603 W CN2020113603 W CN 2020113603W WO 2021057452 A1 WO2021057452 A1 WO 2021057452A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
electronic device
time
user
control
Prior art date
Application number
PCT/CN2020/113603
Other languages
French (fr)
Chinese (zh)
Inventor
张宇博
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021057452A1 publication Critical patent/WO2021057452A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Definitions

  • This application relates to the field of electronic technology, and in particular to a method and device for presenting atomic services.
  • terminal devices can display corresponding services or service portals on the interactive interface according to the user's intention, so as to avoid the complicated operation process of the user to find the corresponding function in the application by himself, thereby presenting the matching user's intention interface.
  • the commonly used method is to use voice interaction technology, and users can quickly find corresponding services or service entrances by actively inputting voice commands to terminal devices through voice assistants, so that users can obtain services that meet their own intentions.
  • the final single service presented to the user is based on the terminal device recognizing the user’s voice command. Therefore, the user must first wake up the voice assistant of the terminal device, which will result in some non-voice interactions.
  • the usage rate among users with experience is not high.
  • scenes with higher requirements for environmental sound such as a quiet library
  • scenes with more complex sound conditions such as public communication
  • scenes that require privacy protection for the content of certain voice commands the above The method is not well implemented.
  • there is still a large room for improvement in the recognition accuracy of natural speech at present which may cause speech recognition errors and cause service presentations that do not conform to user intentions.
  • the present application provides a method and device for presenting atomic services, so that electronic devices can flexibly present services that match the user's intention.
  • this application provides a method for atomic services, which may include: the electronic device determines whether the current scene is a specific scene, or whether the current time is a specific time; the electronic device is a specific time in the current scene During the scene, at least one control of the atomic service corresponding to the specific scene is displayed on the display screen; the at least one atomic service corresponding to the specific scene is based on the statistics of each time that the atomic service arrives at the specific scene in the past period of time. It is determined by the user’s use of each service in the electronic device during the scene; or, when the current time is a specific time, the electronic device displays at least one atomic service corresponding to the specific time on the display screen.
  • the at least one atomic service corresponding to the specific time is determined based on statistics of the user's use of each service in the electronic device each time the specific time arrives in the past period of time; wherein, the atomic Service refers to the service that meets the user's intention.
  • the electronic device can flexibly present a service that matches the user's intention.
  • the at least one atomic service corresponding to the specific scene is determined based on statistics of the user's use of each service in the electronic device each time the specific scene is reached in the past period of time, It may include: the at least one atomic service corresponding to the specific scene is based on statistics of user information and event information obtained when the user uses each service in the electronic device every time the user arrives at the specific scene in the past period of time And the information collected by the sensor of the electronic device to determine the user's intention, and the user's intention is determined in the respective services; or, the at least one atomic service corresponding to the specific time is based on statistics of the past period
  • the determination of the user’s use of each service in the electronic device each time the specified time is reached within the specified time period may include: the at least one atomic service corresponding to the specified time is based on statistics for each time in the past period of time.
  • the electronic device can accurately determine the atomic service corresponding to the specific scene or the atomic service corresponding to the specific time, so that the electronic device can accurately display the atomic service that meets the user's intention.
  • the electronic device displays the control of at least one atomic service on the display screen.
  • the specific method may be: the electronic device displays the control corresponding to the dominant service and the control corresponding to the non-dominant service on the display screen.
  • the electronic device displays a plurality of controls corresponding to non-dominant services on the display screen; wherein the confidence of the dominant service is greater than that of the non-dominant service
  • the set multiple of the confidence; the confidence difference between any two non-dominant services is less than the set threshold; the confidence is determined according to the frequency with which the service is used, the higher the frequency with which the service is used, the higher the corresponding confidence Big.
  • users can independently select and browse atomic services, which can improve user experience.
  • the electronic device displays the control corresponding to the dominant service and the control corresponding to the non-dominant service on the display screen.
  • the specific method may be: the electronic device displays the control corresponding to the dominant service and the control corresponding to the non-dominant service on the display screen.
  • the display mode displays the control corresponding to the dominant service, and displays the control corresponding to the non-dominant service in a second display mode; wherein the display effect of the first display mode is higher than that of the second display mode Significantly.
  • the atomic service closest to the user's intention can be recommended to the user in a prominent way, which is beneficial for the user to directly access the service content quickly and efficiently.
  • the first display mode and the second display mode may include at least one of the following situations: the size of the control displayed in the first display mode is larger than the size of the control displayed in the second display mode.
  • the size of the control; or, the color of the control displayed in the first display mode is more prominent than the color of the control displayed in the second display mode; or, the control displayed in the first display mode is a blinking control, and the second display mode displays
  • the control is non-blinking control.
  • the effect of the first display mode can be achieved more prominently than the display effect of the second display mode.
  • the electronic device displays a plurality of controls corresponding to non-dominant services on the display screen.
  • the specific method may be: the electronic device controls the non-dominant services on the display screen. Multiple controls corresponding to dominant services are displayed side by side or side by side.
  • users can independently select and browse atomic services, which can improve user experience.
  • control of the atomic service is a capsule control or a card control.
  • the specific time is a specific time within a day, a specific time within a week, or a specific time within a set time period.
  • the embodiments of the present application also provide an electronic device, which has the function of realizing the behavior of the electronic device in the foregoing method example.
  • the electronic device may include a display screen, a processor, and a memory connected to each other.
  • the processor is used to read and execute the program instructions stored in the memory, and execute any one of the possible designs mentioned in the first aspect. And method.
  • the embodiments of the present application also provide a computer-readable storage medium.
  • the computer-readable storage medium stores computer-executable instructions.
  • the computer-executable instructions are used by the computer (or electronic device). When called, it is used to make the computer (or electronic device) execute the method mentioned in any possible design in the first aspect.
  • the embodiments of the present application also provide a machine program product containing instructions, which when run on a computer, causes the computer to execute the method mentioned in any possible design in the first aspect.
  • an embodiment of the present application also provides an electronic device, the electronic device may be a chip, and the chip is connected to a memory, and is used to read and execute the program instructions stored in the memory to implement the above-mentioned first One of the methods mentioned in any possible design.
  • Figure 1 is a structural diagram of an electronic device provided by this application.
  • FIG. 2 is a block diagram of the software structure of an electronic device provided by this application.
  • FIG. 3 is a schematic diagram of the presentation of an atomic service provided by this application.
  • Fig. 4 is a schematic diagram of a process for selecting an atomic service provided by this application.
  • Fig. 5 is a schematic diagram of another atomic service provided by this application.
  • Fig. 6 is a schematic diagram showing another atomic service provided by this application.
  • FIG. 7 is a schematic diagram of another atomic service provided by this application.
  • FIG. 8 is a schematic diagram of another process of selecting an atomic service provided by this application.
  • FIG. 9 is a schematic diagram of another atomic service provided by this application.
  • FIG. 10 is a schematic diagram of another process of selecting an atomic service provided by this application.
  • Figure 11 is a schematic presentation framework of an atomic service provided by this application.
  • Figure 12 is a schematic presentation framework of another atomic service provided by this application.
  • FIG. 13 is a schematic flowchart of an atomic service presentation method provided by this application.
  • FIG. 14 is a flowchart of an atomic service presentation method provided by this application.
  • FIG. 15 is a structural diagram of another electronic device provided by this application.
  • the embodiments of the present application provide a method and device for presenting atomic services, so that an electronic device can flexibly present services that match the user's intention on a display interface.
  • the method and device described in the present application are based on the same technical concept. Since the method and the device have similar principles for solving the problem, the implementation of the device and the method can be referred to each other, and the repetitive parts will not be repeated.
  • User intention refers to an intention of the user to achieve a certain purpose, which is an attempt or demand of the user but not acted upon.
  • Confidence refers to the accuracy of parameter estimation, that is, the probability that the estimated value and the overall parameter are within a certain allowable error.
  • Atomic service refers to the functional operation or information content extracted from the application program according to certain rules that can help users realize their intentions.
  • the electronic device can be a device with a display screen that can display atomic services.
  • the electronic device may be a terminal device, for example, the terminal device may be a mobile phone, a notebook computer, a tablet computer, a vehicle-mounted computer, a personal digital assistant (personal digital assistant, PDA), a smart watch, a personal computer (( personal computer, PC), television, etc.
  • PDA personal digital assistant
  • the electronic device is not limited to the terminal devices listed above, and this application does not limit it.
  • the electronic device can support a variety of applications, such as word processing applications, telephone applications, email applications, instant messaging applications, photo management applications, web browsing applications, digital music player applications, digital video Some or all of the applications in the player application, etc.
  • applications such as word processing applications, telephone applications, email applications, instant messaging applications, photo management applications, web browsing applications, digital music player applications, digital video Some or all of the applications in the player application, etc.
  • the application program (application, app) involved in the embodiments of the present application may be referred to as an application, which is a software program that can realize one or more specific functions.
  • an application which is a software program that can realize one or more specific functions.
  • multiple applications can be installed in an electronic device, for example, instant messaging applications, video applications, audio applications, image capturing applications, and so on.
  • instant messaging applications for example, may include short message applications, WeChat (WeChat), WhatsApp Messenger, Line, photo sharing (instagram), Kakao Talk, DingTalk, etc.
  • Image shooting applications for example, may include camera applications (system cameras or third-party camera applications).
  • Video applications such as Youtube, Twitter, Douyin, iQiyi, Tencent Video, etc.
  • Audio applications may include Kugou Music, Xiami, QQ Music, and so on.
  • the applications mentioned in the following embodiments may be applications that have been installed when the electronic device is shipped from the factory, or applications that the user downloads from the network or obtains from other electronic devices during the process of using the electronic device.
  • FIG. 1 shows an exemplary structure diagram of an electronic device.
  • the electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus, USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D , A sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a subscriber identification module (SIM) card interface 195, and so on.
  • SIM subscriber identification module
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait.
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller can be the nerve center and command center of the electronic device. The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that the processor 110 has just used or used cyclically. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the processor 110 may execute program instructions for implementing the atomic service presentation method of the embodiment of the present application, so as to control the flexible presentation of the atomic service on the display screen 194.
  • the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 130 can be used to connect a charger to charge the electronic device, and can also be used to transfer data between the electronic device and the peripheral device.
  • the charging management module 140 is used to receive charging input from the charger.
  • the power management module 141 is used to connect the battery 142, the charging 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 supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
  • the wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in an electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G and the like applied to electronic devices.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the wireless communication module 160 can provide applications on electronic devices including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellite systems. (global navigation satellite system, GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared technology
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 may also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna 2.
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the display screen 194 is used to display a display interface of applications, images, videos, and the like.
  • the display screen 194 includes a display panel.
  • the display panel can use liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the electronic device may include one or N display screens 194, and N is a positive integer greater than one.
  • the display screen 194 can display atomic services.
  • the camera 193 is used to capture still images or videos.
  • the camera 193 may include at least one camera, for example, a front camera and a rear camera.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by running 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 can store an operating system, and software codes of at least one application (for example, an iQiyi application, a WeChat application, etc.).
  • the storage data area can store data (such as images, videos, etc.) generated during the use of the electronic device 100.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
  • the internal memory 121 may store program instructions for implementing the atomic service presentation method of the embodiment of the present application, and the processor 110 may call the program instructions stored in the internal memory 121 to implement control on the display screen.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save pictures, videos and other files in an external memory card.
  • the external memory card may store user information, for example, store the user's frequently used application account information and so on.
  • the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and the environment Light sensor 180L, bone conduction sensor 180M, etc.
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A may be provided on the display screen 194.
  • the gyro sensor 180B may be used to determine the movement posture of the electronic device 100.
  • the angular velocity of the electronic device 100 around three axes ie, x, y, and z axes
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the electronic device 100 when the electronic device 100 is a flip machine, the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and be used in applications such as horizontal and vertical screen switching, pedometers and so on.
  • the electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F to measure the distance to achieve fast focusing.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the electronic device emits infrared light to the outside through the light-emitting diode.
  • the electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100.
  • the electronic device 100 can determine that there is no object near the electronic device 100.
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device close to the ear to talk, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device executes to reduce the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
  • the button 190 may include a power-on button, a volume button, and so on.
  • the button 190 may be a mechanical button. It can also be a touch button.
  • the electronic device 100 may receive key input, and generate key signal input related to user settings and function control of the electronic device 100.
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback. For example, touch operations that act on different applications (such as photographing, audio playback, etc.) can correspond to different vibration feedback effects.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100.
  • the structure illustrated in FIG. 1 of the embodiment of the present application does not constitute a specific limitation on the electronic device 100.
  • the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • FIG. 2 shows a software structure block diagram of an electronic device provided in an embodiment of the present application.
  • the software structure of an electronic device can be a layered architecture.
  • the layered architecture can divide the software into several layers, each with a clear role and division of labor. Communication between layers through software interface.
  • the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer (framework, FWK), the Android runtime (Android runtime) and system libraries, and the kernel layer.
  • the application layer can include a series of application packages. As shown in Figure 2, the application layer may include cameras, settings, skin modules, user interfaces (UI), third-party applications, and so on. Among them, three-party applications can include WeChat, QQ, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS, etc.
  • UI user interfaces
  • three-party applications can include WeChat, QQ, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS, etc.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer can include some predefined functions.
  • the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, and a notification manager.
  • the window manager is used to manage window programs.
  • the window manager can obtain the size of the display, determine whether there is a status bar, lock the screen, take a screenshot, etc.
  • the content provider is used to store and retrieve data and make these data accessible to applications.
  • the data may include videos, images, audios, phone calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls that display text, controls that display pictures, and so on.
  • the view system can be used to build applications.
  • the display interface can be composed of one or more views.
  • a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
  • the phone manager is used to provide the communication function of the electronic device 100. For example, the management of the call status (including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
  • the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, and so on.
  • the notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, text messages are prompted in the status bar, prompt sounds, electronic devices vibrate, and indicator lights flash.
  • the system library includes the Android runtime, and the Android runtime includes the core library and the virtual machine.
  • Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
  • the application layer and the application framework layer run in a virtual machine.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library can also include multiple functional modules. For example: surface manager (surface manager), media library (media libraries), 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
  • the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
  • the 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver. Exemplarily, after the display driver is called, the display driver displays the corresponding interface on the display screen.
  • the hardware layer may include various sensors, such as acceleration sensors, gyroscope sensors, touch sensors, and so on.
  • the following uses the electronic device 100 as an example to describe in detail the presenting method of the atomic service provided by the embodiment of the present application.
  • the electronic device 100 determines that only one atomic service is available, the electronic device 100 displays the atomic service on the display screen of the electronic device 100 Only a capsule control containing one operation is displayed on 194, which can appear on other pages in a floating state. For example, a capsule control for turning on the driving mode is displayed on the lock screen interface, as shown in Figure 3(a).
  • the electronic device 100 determines that the user usually needs to listen to music or use navigation services (such as navigating home) after the electronic device 100 is connected to the car’s Bluetooth based on the user’s historical habits and portrait data, then the electronic device 100 is connected to the car’s Bluetooth At this time, a capsule control including three operations can be displayed on the display screen 194. Specifically, in one case, when the electronic device 100 determines that the confidence of turning on the driving mode is significantly higher than the confidence of listening to music and navigating home, at this time, it can be considered that turning on the driving mode is the dominant service, then the The electronic device 100 presents three capsule controls with dominant services on the display screen 194, for example, as shown in FIG. 3(b).
  • the capsule controls of the three atomic services are displayed side by side in the same size to highlight that the three atomic services have basically the same level of demand for users.
  • the user can choose an atomic service according to his actual needs. It should be understood that, besides displaying a larger size as described above, highlighting a certain capsule control can also be highlighted in other ways, such as using a prominent color display or flashing display, which is not limited in this application.
  • FIG. 4 shows a schematic flow diagram of a user selecting an atomic service in a scenario where the electronic device 100 is connected to the car Bluetooth.
  • the smart assistant of the electronic device 100 actively pops up a reminder, that is, after the display interface shown in Figure 3(b) is presented on the display screen 194 of the electronic device 100, when the user chooses to turn on
  • the interface in the display 194 of the electronic device 100 is switched to the driving mode interface, such as the interface shown in (a) in FIG. 4; or, when the user chooses to listen to music, the electronic device 100 turns on the music player
  • the display screen 194 displays an interface for playing music, for example, as shown in FIG. 4(b).
  • the presentation form of the atomic service illustrated in FIG. 3 is only an example, and is not limited to the presentation form of this example.
  • the multiple capsule controls displayed side by side in Figure 3 (b) and Figure 3 (c) can be displayed in a vertical side by side manner.
  • (B) in Figure 3 can be replaced with (a) in Figure 5
  • (c) in Figure 3 can be replaced with (b) in Figure 5.
  • the three capsule controls in Figure 5 (a) can also be translated to the middle or right position of the display screen 194, etc.
  • the three capsule controls in Figure 5 (b) can also be translated to In the middle or right position of the display 194, etc.
  • there are other ways of presentation which will not be listed here.
  • the capsule control corresponding to the atomic service can also be displayed at any position on the display screen 194.
  • the capsule controls corresponding to multiple atomic services are displayed in a centralized area of the display screen 194, or all of them are displayed dispersedly, or some of them are collectively displayed and some of them are displayed separately.
  • the atomic services may be presented in a sliding form.
  • the display screen 194 first presents the interface shown in Figure 3 (b), and the user swipes to the left. After the two rows of capsule controls, the capsule controls for listening to music can be hidden, and the capsule controls for viewing the schedule are presented on the display screen 194, as shown in FIG. 6. It should be noted that you can also slide to the right to hide the capsule controls for navigating home, or in the case shown in Figure 5, you can also slide up and down to hide or newly display the capsule controls, which will not be shown here in this application. .
  • the shape of the capsule control in the above illustration is only an example, the shape of the capsule control is not limited to this, and can also be other shapes, for example, triangles, rectangles, diamonds, etc. conceivable to achieve atomic service presentation Any shape of, this application will not show them one by one.
  • the electronic device 100 in a scenario where a user conducts a text conversation based on the electronic device 100, such as a text message chat or WeChat chat, if the user activates the voice assistant, performs screenshot operations, or performs screen content recognition operations, the electronic device 100 will perform atomic service recommendation based on the recognition result of the text dialogue content of the current interface, and the display screen 194 will present the capsule control corresponding to the atomic service that the user may need. For example, when the electronic device 100 determines the atomic service that the user may need based on the text interaction content displayed on the interface in FIG. 7, if the electronic device 100 determines that only one atomic service is available, the electronic device 100 displays the atomic service when the electronic device 100 presents the atomic service.
  • the display 194 of the device 100 only displays the capsule control including one operation. For example, when the content of calling Li Hua appears on the current text interactive interface, the electronic device 100 may present a capsule control for Li Hua to call Li Hua in the current chat interface, as shown in (a) of FIG. 7. If the electronic device determines that the user may currently need to make a call, add a schedule or create a new reminder based on the content of the current chat interface, the display screen 194 of the electronic device 100 may display a capsule control containing three operations.
  • the electronic device 100 determines that the confidence of making a call is significantly higher than the confidence of adding a schedule and creating a new reminder, at this time, it can be considered that the call is the dominant service, and the electronic device 100
  • Three capsule controls with dominant services are presented on the display screen 194, for example, as shown in FIG. 7(b).
  • the capsule control for calling is obviously larger in size than the capsule control for adding schedules and new reminders, so that the atomic services that users may currently need most can be presented in a more prominent form. user.
  • the electronic device 100 determines that the confidence levels of the three atomic services of making a call, adding a schedule, and creating a new reminder are close, that is, the confidence levels are not much different, it can be considered that there is no dominant service at this time.
  • the electronic device 100 presents three capsule controls of non-dominant services on the display screen 194, for example, as shown in FIG. 7(c).
  • the capsule controls of the three atomic services are displayed side by side with the same size to highlight that the three atomic services have basically the same level of demand for users.
  • the user can choose an atomic service according to his actual needs.
  • highlighting a certain capsule control can also be highlighted in other ways, such as using a prominent color display or flashing display, which is not limited in this application.
  • FIG. 8 shows a schematic flow diagram of the user selecting an atomic service in a scenario where the user conducts a text conversation based on the electronic device 100.
  • the display interface shown in Figure 7(b) is presented on the display screen 194 of the electronic device 100
  • the user selects the capsule control to call Li Hua the electronic device 100 dials the phone
  • the interface on the display screen 194 of the electronic device 100 switches to the phone dialing interface, as shown in (a) in FIG. 8; or, when the user selects the capsule control to add the schedule, the display screen of the electronic device 100
  • the interface in 194 switches to the new schedule interface, for example, as shown in (b) in Figure 8.
  • a specific time scene for example, a morning scene (in a certain time period in the morning)
  • the electronic device 100 determines that only one atomic service for viewing road conditions is available according to the user's historical habits and other data
  • the display screen 194 of the electronic device 100 only displays a card-type control containing one item of content to present traffic content to the user.
  • a card-type control containing one item of content to present traffic content to the user.
  • FIG. 9(a) is displayed in a half-screen state for the user to view the road conditions of the route that the user frequently views.
  • the display 194 of the electronic device 100 may display three atomic services. Controls. Specifically, in a situation, when the electronic device 100 determines that the confidence level of checking road conditions is significantly higher than the confidence level of checking the weather and taking a taxi to the company, it can be considered that checking the road conditions is the dominant service at this time, then the electronic device 100 presents three controls of dominant services on the display screen 194, for example, as shown in (b) in FIG. 9.
  • Figure 9 (b) it can be seen that the content of viewing road conditions is displayed as a card-type control, while viewing the weather (today's weather) and taking a taxi to the company are displayed as a capsule control, and the card-type control is significantly larger than the capsule control.
  • Presenting the atomic services that users may need most at present to users in a more prominent form can enable users to view the content they most want to see.
  • the electronic device 100 determines that the confidence levels of the three atomic services of checking road conditions, checking the weather, and taking a taxi to the company are close, that is, the confidence levels are not much different, it can be considered that there is no dominant service at this time, then
  • the electronic device 100 presents three card-type controls of non-dominant services on the display screen 194, for example, as shown in (c) of FIG. 9.
  • the card-type controls of the three atomic services are displayed in the same size. Since the card-type controls are in a half-screen state, the multi-card-type controls can support up and down scrolling or sliding operations. After the atomic service is presented to the user through the above method, the user can choose an atomic service according to his actual needs.
  • FIG. 10 shows a schematic flowchart of a user selecting an atomic service in a morning scene.
  • the interface in the display screen 194 of the electronic device 100 switches to the map application The road condition interface in Figure 10 (a); or when the user selects to view the weather, the interface on the display 194 of the electronic device 100 switches to the weather display interface of the weather application, as shown in Figure 10 ( b) as shown.
  • the problem of only recommending a single service that does not match the user's actual intention can be effectively solved, and at the same time, when there are multiple atomic service recommendations, the dominant service recommendation interface will make higher-confidence atomic services more obvious, More prominent control forms are presented, which is conducive for users to directly access service content quickly and efficiently.
  • the non-dominant service recommendation interface arranges multiple atomic service controls side by side, which is conducive to users' independent selection and browsing .
  • a schematic presentation framework for presenting atomic services can be obtained.
  • the atomic service is an operation type
  • a single (unique) operation type control can be presented in the form of a capsule control at the bottom of the display screen 194 of the electronic device 100;
  • the dominant operation type can be Controls are presented in the form of large-sized capsule controls in a prominent form on top of small-sized capsule controls of other non-dominant operation controls; when all atomic services are non-dominant services, they can be arranged and displayed in the form of capsule controls of the same specification. Exemplarily, it may be as shown in FIG. 11.
  • a single (unique) content-based control can appear in the form of a card at the bottom of the display 194 of the electronic device 100 to facilitate content display; when there are multiple content-based controls for dominant services, you can change Dominant services are presented on top of capsule controls (non-dominant content-based controls) of other non-dominant services in the form of large card controls (dominant content-based controls) in a prominent form; when all atomic services are non-dominant services, all Atomic services are presented in the scrollable card list area in the order of generation. For example, as shown in Figure 12.
  • the electronic device 100 determines whether the current scene is a specific scene or a specific time. When the current scene is a specific scene or the current time is a specific time, the electronic device 100 can determine whether the current scene is a specific scene or the current time is a specific time. Information, information collected by one or more sensors in the sensor module 180, and other information determine the user's intention, and then combine the user's intention to use the electronic device 100 every time the user arrives at the specific scene or specific time in the past period of time. Each service in determines the atomic service required by the user, that is, determines the atomic service that meets the user's intention.
  • the information collected by the sensor may include information collected by the fingerprint sensor 180H, the ambient light sensor 180L, the touch sensor 180K, etc.; the user information may include user-related information saved by the electronic device 100, such as the user’s frequently used applications
  • the user portrait can be understood as the user’s characteristic description constructed by the electronic device through the saved user personal information;
  • the event information can include the user’s historical operation events saved by the electronic device 100, and the user’s current Operation events of the electronic device 100 and so on.
  • the specific scenario may be the scenario where the electronic device 100 is connected to the car Bluetooth, the scenario where the electronic device 100 conducts a text conversation, or other specific scenarios, which are not listed here in this application;
  • the specific time may be a certain time period in the morning involved in the above embodiment.
  • the specific time may be a specific time within a day, a specific time within a week, or a specific time within a set time period, etc. .
  • the electronic device 100 determines the user's intention and then determines the atomic service that meets the user's intention, the following three parameters can be determined: First, the number of atomic services.
  • the atomic service can include the system that comes with the electronic device 100 when it leaves the factory.
  • the service in the application and the third-party service where the third-party service is the service in the application that the user downloads from the network or obtains from other electronic devices while using the electronic device 100; the number of atomic services is denoted as N here, and N is greater than Or an integer equal to 0.
  • the threshold p 0 that is, p i ⁇ p 0 .
  • the confidence level is determined based on the frequency with which the service is used. The higher the frequency with which the service is used, the greater the corresponding confidence.
  • the electronic device 100 calculates the initial confidence p k of a certain atomic service based on user information, event information, and information collected by one or more sensors in the sensor module 180. With the actual use of the user, the user The behavior data will reversely correct the probability value determined by the electronic device 100 (ie, the confidence level). For example, after the system recommends a certain atomic service k, the user does not use the atomic service k.
  • ⁇ p 1 and ⁇ p 2 are preset probability change values, which can be set according to the size of p k , ⁇ p 1 and ⁇ p 2 can be a certain proportion of the probability value of p k, or based on other algorithms or The rule is based on the probability value obtained by p k , which is not limited in this application.
  • the electronic device 100 determines the availability of the atomic service according to the determined number of atomic services, the identifier of the atomic service, and the confidence of the atomic service, and then configures different forms of interactive controls (which may also be referred to as service controls in this application,
  • the display form of the service control can be the capsule control in the above embodiment or the card control, of course, it can also be other forms of control, etc.), so that the display screen 194 displays the configured interactive control to achieve the purpose of presenting the atomic service.
  • the electronic device 100 determines that there are multiple atomic services available, that is, N ⁇ 2, that is, multiple available atomic services are atomic service S 1 , atomic service S 2 , ..., atomic service S N , and multiple There is a dominant service in atomic services, that is, the confidence of an atomic service is significantly greater than that of any other atomic service.
  • the mathematical expression is Such that p i >M*p j , j ⁇ i, where M is a predefined constant.
  • the display screen 194 of the electronic device 100 presents multi-service controls with dominant services, that is, the electronic device 100 displays the controls corresponding to the dominant service and the controls corresponding to the non-dominant service on the display screen 194, specifically displaying
  • the manner can refer to the above-mentioned embodiment.
  • the meaning of the above-described mathematical expression are: the presence of a service S i atom confidence is greater than M times p i p j confidence atomic S j of service, i.e.
  • the confidence level of S j where the atomic service S i is any one of the N atomic services, and the atomic service S j is any one of the N atomic services except the atomic service S i .
  • the atomic service S is considered i is the dominant service, and other atomic services are non-dominant atomic services.
  • the electronic device 100 determines that there are multiple atomic services available, that is, N ⁇ 2, that is, multiple available atomic services are atomic service S 1 , atomic service S 2 , ..., atomic service S N , and multiple atomic services There is no dominant service in atomic services, that is, they are all non-dominant atomic services, that is, the difference between the confidence of any two atomic services is not greater than the specified threshold, and the mathematical expression is j ⁇ i, there
  • the display screen 194 of the electronic device 100 presents multi-service controls for non-dominant services, that is, the electronic device 100 displays multiple controls corresponding to non-dominant services on the display screen 194.
  • the specific display mode can be referred to the above Examples.
  • the meaning of the above mathematical expression is: the difference between the confidence levels p i and p j of the atomic service S i and the atomic service S j in the N atomic services is not greater than the set threshold, where the atomic service S i and the atomic service S j is any two different atomic services in the N-direction atomic service. At this time, it is considered that there is no dominant atomic service, and both are non-dominant atomic services.
  • the foregoing processing procedure of the electronic device 100 may be as shown in the flowchart shown in FIG. 13.
  • the presentation forms of atomic services may be different, that is, the forms of service controls are different.
  • the type of the atomic service is an operation type
  • the atomic service may be presented in the form of a capsule control
  • the atomic service may be presented in the form of a card control.
  • the above-mentioned capsule control and card-type control are used for description, but it should be understood that there may be other forms, which are not limited in this application.
  • the present application also provides a method for presenting atomic services, which can be applied to an electronic device with a display screen.
  • a method for presenting atomic services which can be applied to an electronic device with a display screen.
  • the electronic device 100 is taken as an example for description.
  • the specific process of the method may include the following steps:
  • Step 1401 The electronic device 100 determines whether the current scene is a specific scene, or determines whether the current time is a specific time.
  • Step 1402 When the current scene is a specific scene, the electronic device 100 displays at least one atomic service control corresponding to the specific scene on the display screen 194; or, when the current time is a specific time, the electronic device 100 , Displaying at least one control of the atomic service corresponding to the specific time on the display screen 194.
  • the at least one atomic service corresponding to the specific scene is determined based on statistics of the user's use of each service in the electronic device 100 each time the specific scene is reached in the past period of time; or, the At least one atomic service corresponding to the specific time is determined based on statistics of the user's use of each service in the electronic device 100 each time the specific time arrives in the past period of time.
  • the atomic service refers to a service that meets the user's intention.
  • the specific scenario may be the scenario in which the electronic device 100 is connected to the car Bluetooth in the foregoing embodiment, the scenario in which the user conducts a text conversation based on the electronic device 100, and other specific scenarios, which are not mentioned here in this application.
  • An example; the specific time may be a certain time period in the morning involved in the foregoing embodiment, etc., of course, the specific time may be a specific time within a day, a specific time within a week, or other set duration Specific time and so on.
  • the at least one atomic service corresponding to the specific scene is based on statistics of each service in the electronic device 100 when the user arrives at the specific scene in the past period of time. If the situation is determined, it may be: the at least one atomic service corresponding to the specific scene is based on statistics obtained when the user uses each service in the electronic device 100 every time the user arrives at the specific scene in the past period of time.
  • the user information, event information, and information collected by the sensor of the electronic device 100 determine the user's intention, and are determined in the respective services in combination with the user's intention.
  • the at least one atomic service corresponding to the specific time is based on statistics of the user's use of each service in the electronic device each time the specific time arrives in the past period of time It may be determined that: the at least one atomic service corresponding to the specific time is based on statistics of users obtained when the user uses each service in the electronic device 100 each time the user arrives at the specific time in the past period of time.
  • the information, event information, and information collected by the sensor of the electronic device 100 determine the user's intention, and determine the user's intention in the respective services in combination with the user's intention.
  • the electronic device 100 displays at least one atomic service control on the display screen 194.
  • the specific method may be: the electronic device 100 displays the dominant service on the display screen 194 Corresponding controls and controls corresponding to non-dominant services; or, the electronic device 100 displays a plurality of controls respectively corresponding to non-dominant services on the display screen 194;
  • the confidence of the dominant service is greater than a set multiple of the confidence of the non-dominant service; the confidence difference of any two non-dominant services is less than a set threshold; the confidence is based on the service being The frequency of use is determined. The higher the frequency of service being used, the greater the corresponding confidence.
  • the electronic device 100 displays the controls corresponding to the dominant service and the controls corresponding to the non-dominant service on the display screen 194.
  • the specific method may be as follows: The display mode displays the control corresponding to the dominant service, and displays the control corresponding to the non-dominant service in a second display mode; wherein the display effect of the first display mode is higher than that of the second display mode Significantly.
  • the display of controls corresponding to dominant services and controls corresponding to non-dominant services shown in Figure 3 (b), Figure 7 (b), and Figure 9 (b)
  • the size of the control displayed in the first display mode is larger than the size of the control displayed in the second display mode.
  • the size of the control corresponding to the dominant service shown in Figure 3 (b), Figure 7 (b), and Figure 9 (b) is significantly larger than the size of the control corresponding to the non-dominant service .
  • Case a3 The control displayed in the first display mode is a blinking control, and the control displayed in the second display mode is a non-blinking control.
  • first display mode and the second display mode may also have many other cases, which are not listed here in this application.
  • the electronic device 100 displays a plurality of controls corresponding to non-dominant services on the display screen 194.
  • the specific method may be: the electronic device 100 displays on the display screen 194.
  • the multiple controls corresponding to the non-dominant services are displayed side by side or side by side on the screen 194.
  • the multiple controls shown in Figure 3 (c) and Figure 7 (c) are displayed side by side; for another example, in the above embodiment, the controls shown in Figure 5 (b) and Figure 9 (c) are displayed side by side.
  • the multiple controls shown are displayed side by side.
  • control of the atomic service is a capsule-type control or a card-type control, which can be specifically described in the foregoing embodiment, and will not be described in detail here.
  • the electronic device can flexibly display the atomic service matching the user's intention on the display interface.
  • the electronic device 1500 may include: a display screen 1501, a processor 1502, and a memory 1503.
  • the processor 1502 may be a central processing unit (CPU), a network processor (network processor, NP) or a combination of CPU and NP, etc.
  • the processor 1502 may further include a hardware chip.
  • the aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof.
  • the above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
  • CPLD complex programmable logic device
  • FPGA field-programmable gate array
  • GAL generic array logic
  • the display screen 1501, the processor 1502, and the memory 1503 are connected to each other.
  • the display screen 1501, the processor 1502, and the memory 1503 are connected to each other through a bus 1504;
  • the bus 1504 may be a Peripheral Component Interconnect (PCI) bus or an extended industry standard Structure (Extended Industry Standard Architecture, EISA) bus, etc.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in FIG. 15 to represent it, but it does not mean that there is only one bus or one type of bus.
  • the memory 1503 is coupled with the processor 1502, and is used to store necessary programs of the electronic device 1500 and the like.
  • the program may include program code, and the program code includes computer operation instructions.
  • the memory 1503 may include RAM, or may also include non-volatile memory, such as at least one disk memory.
  • the processor 1502 executes the application program stored in the memory 1503 to implement the function of the electronic device 1500.
  • the electronic device 1500 shown in FIG. 15 described above may refer to the corresponding process in the foregoing method embodiment when implementing the atomic service presentation method provided by the embodiment of the present application. Go into details again. For a more detailed structure and function of the electronic device 1500, reference may be made to the detailed description of the electronic device in the embodiment shown in FIG. 1.
  • the present application also provides a computer-readable storage medium in which a computer program is stored.
  • the computer program When the computer program is executed by a computer, the computer executes the above method embodiments. .
  • the embodiments of the present application also provide a computer program product, including instructions, which when run on a computer, cause the computer to execute the above method embodiments.
  • this application can be provided as methods, systems, or computer program products. Therefore, this application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.

Landscapes

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

Abstract

A method and device for presenting an atomic service, which are used such that an electronic device can flexibly present a service that matches the intention of a user. The method comprises: an electronic device determines whether a current scenario is a specific scenario, or determines whether a current time is a specific time; when the current scenario is the specific scenario, the electronic device displays on a display screen a control of at least one atomic service corresponding to the specific scenario, the at least one atomic service corresponding to the specific scenario being determined on the basis of compiling the conditions of a user using each service in the electronic device each time the specific scenario is arrived at in a past period of time; or, when the current time is the specific time, the electronic device displays on the display screen a control of at least one atomic service corresponding to the specific time, the at least one atomic service corresponding to the specific time being determined on the basis of compiling the conditions of the user using each service in the electronic device each time the specific time is arrived at in a past period of time. An atomic service refers to a service that conforms to the intention of a user.

Description

一种原子服务的呈现方法及装置Method and device for presenting atomic service
相关申请的交叉引用Cross-references to related applications
本申请要求在2019年09月23日提交中国专利局、申请号为201910898549.X、申请名称为“一种原子服务的呈现方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on September 23, 2019, the application number is 201910898549.X, and the application name is "A method and device for presenting an atomic service", the entire content of which is incorporated by reference In this application.
技术领域Technical field
本申请涉及电子技术领域,尤其涉及一种原子服务的呈现方法及装置。This application relates to the field of electronic technology, and in particular to a method and device for presenting atomic services.
背景技术Background technique
随着人工智能技术的不断发展,终端设备可以实现根据用户意图在交互界面上呈现相应地服务或服务入口,以免去用户自行在应用程序中查找对应功能的复杂操作过程,从而呈现匹配用户意图的界面。With the continuous development of artificial intelligence technology, terminal devices can display corresponding services or service portals on the interactive interface according to the user's intention, so as to avoid the complicated operation process of the user to find the corresponding function in the application by himself, thereby presenting the matching user's intention interface.
目前通常使用的方法是,使用语音交互技术,用户通过语音助手向终端设备主动输入语音命令而快速查找到相应服务或者服务入口,从而使用户获取到符合自身意图的服务。Currently, the commonly used method is to use voice interaction technology, and users can quickly find corresponding services or service entrances by actively inputting voice commands to terminal devices through voice assistants, so that users can obtain services that meet their own intentions.
但是在上述方法中,最后呈现给用户的单一服务是基于终端设备识别到用户的语音命令后得出的,因此这就需要用户必须先唤醒终端设备的语音助手,这会导致在一些无语音交互使用经验的用户群体中使用率不高。另外,在某些对环境声音有较高要求的场景(如安静的图书馆)、声音条件较为复杂的场景(如公共交)或对某些语音命令的内容有隐私保护需求的场景中,上述方法并不能很好地实现。并且,目前自然语音的识别准确率仍然存在较大的提升空间,会导致语音识别错误造成服务的呈现并不符合用户意图。However, in the above method, the final single service presented to the user is based on the terminal device recognizing the user’s voice command. Therefore, the user must first wake up the voice assistant of the terminal device, which will result in some non-voice interactions. The usage rate among users with experience is not high. In addition, in certain scenes with higher requirements for environmental sound (such as a quiet library), scenes with more complex sound conditions (such as public communication), or scenes that require privacy protection for the content of certain voice commands, the above The method is not well implemented. Moreover, there is still a large room for improvement in the recognition accuracy of natural speech at present, which may cause speech recognition errors and cause service presentations that do not conform to user intentions.
发明内容Summary of the invention
本申请提供一种原子服务的呈现方法及装置,用以电子设备可以灵活呈现与用户意图匹配的服务。The present application provides a method and device for presenting atomic services, so that electronic devices can flexibly present services that match the user's intention.
第一方面,本申请提供了一种原子服务的方法,该方法可以包括:所述电子设备确定当前场景是否为特定场景,或确定当前时间是否为特定时间;所述电子设备在当前场景为特定场景时,在所述显示屏上显示至少一个与所述特定场景对应的原子服务的控件;所述至少一个与所述特定场景对应的原子服务是基于统计过去一段时间内每次到达所述特定场景时用户使用所述电子设备中的各个服务的情况确定的;或者,所述电子设备在当前时间为特定时间时,在所述显示屏上显示至少一个与所述特定时间对应的原子服务的控件;所述至少一个与所述特定时间对应的原子服务是基于统计过去一段时间内每次到达所述特定时间时用户使用所述电子设备中的各个服务的情况确定的;其中,所述原子服务指符合用户意图的服务。In the first aspect, this application provides a method for atomic services, which may include: the electronic device determines whether the current scene is a specific scene, or whether the current time is a specific time; the electronic device is a specific time in the current scene During the scene, at least one control of the atomic service corresponding to the specific scene is displayed on the display screen; the at least one atomic service corresponding to the specific scene is based on the statistics of each time that the atomic service arrives at the specific scene in the past period of time. It is determined by the user’s use of each service in the electronic device during the scene; or, when the current time is a specific time, the electronic device displays at least one atomic service corresponding to the specific time on the display screen. Control; the at least one atomic service corresponding to the specific time is determined based on statistics of the user's use of each service in the electronic device each time the specific time arrives in the past period of time; wherein, the atomic Service refers to the service that meets the user's intention.
通过上述方法,电子设备可以灵活呈现与用户意图匹配的服务。Through the above method, the electronic device can flexibly present a service that matches the user's intention.
在一个可能的设计中,所述至少一个与所述特定场景对应的原子服务是基于统计过去一段时间内每次到达所述特定场景时用户使用所述电子设备中的各个服务的情况确定的, 可以包括:所述至少一个与所述特定场景对应的原子服务是基于统计过去一段时间内每次到达所述特定场景时,用户使用所述电子设备中的各个服务时获取的用户信息、事件信息和电子设备的传感器采集的信息,确定出用户意图,以及结合所述用户意图在所述各个服务中确定出来的;或者,所述至少一个与所述特定时间对应的原子服务是基于统计过去一段时间内每次到达所述特定时间时用户使用所述电子设备中的各个服务的情况确定的,可以包括:所述至少一个与所述特定时间对应的原子服务是基于统计过去一段时间内每次到达所述特定时间时,用户使用所述电子设备中的各个服务时获取的用户信息、事件信息和电子设备的传感器采集的信息,确定出用户意图,以及结合所述用户意图在所述各个服务中确定出来的。In a possible design, the at least one atomic service corresponding to the specific scene is determined based on statistics of the user's use of each service in the electronic device each time the specific scene is reached in the past period of time, It may include: the at least one atomic service corresponding to the specific scene is based on statistics of user information and event information obtained when the user uses each service in the electronic device every time the user arrives at the specific scene in the past period of time And the information collected by the sensor of the electronic device to determine the user's intention, and the user's intention is determined in the respective services; or, the at least one atomic service corresponding to the specific time is based on statistics of the past period The determination of the user’s use of each service in the electronic device each time the specified time is reached within the specified time period may include: the at least one atomic service corresponding to the specified time is based on statistics for each time in the past period of time. When the specific time is reached, the user information, event information and information collected by the sensor of the electronic device obtained when the user uses the various services in the electronic device determine the user's intention, and combine the user's intention in the respective service Determined in.
通过上述方法,所述电子设备可以准确地确定出与所述特定场景对应的原子服务或者与所述特定时间对应的原子服务,以使电子设备准确地显示符合用户意图的原子服务。Through the above method, the electronic device can accurately determine the atomic service corresponding to the specific scene or the atomic service corresponding to the specific time, so that the electronic device can accurately display the atomic service that meets the user's intention.
在一个可能的设计中,所述电子设备在所述显示屏上显示至少一个原子服务的控件,具体方法可以为:所述电子设备在所述显示屏上显示主导性服务对应的控件以及非主导性服务对应的控件;或者,所述电子设备在所述显示屏上显示均为非主导性服务分别对应的多个控件;其中,所述主导性服务的置信度大于所述非主导性服务的置信度的设定倍数;任意两个非主导性服务的置信度差值均小于设定阈值;所述置信度根据服务被使用的频次确定,服务被使用的频次越高,对应的置信度越大。In a possible design, the electronic device displays the control of at least one atomic service on the display screen. The specific method may be: the electronic device displays the control corresponding to the dominant service and the control corresponding to the non-dominant service on the display screen. Or, the electronic device displays a plurality of controls corresponding to non-dominant services on the display screen; wherein the confidence of the dominant service is greater than that of the non-dominant service The set multiple of the confidence; the confidence difference between any two non-dominant services is less than the set threshold; the confidence is determined according to the frequency with which the service is used, the higher the frequency with which the service is used, the higher the corresponding confidence Big.
通过上述方法,可以使用户自主选择和浏览原子服务,可以提高用户体验。Through the above method, users can independently select and browse atomic services, which can improve user experience.
在一个可能的设计中,所述电子设备在所述显示屏上显示主导性服务对应的控件以及非主导性服务对应控件,具体方法可以为:所述电子设备在所述显示屏上以第一显示方式显示所述主导性服务对应的控件,以及以第二显示方式显示所述非主导性服务对应的控件;其中,所述第一显示方式的显示效果较所述第二显示方式的显示效果显著。In a possible design, the electronic device displays the control corresponding to the dominant service and the control corresponding to the non-dominant service on the display screen. The specific method may be: the electronic device displays the control corresponding to the dominant service and the control corresponding to the non-dominant service on the display screen. The display mode displays the control corresponding to the dominant service, and displays the control corresponding to the non-dominant service in a second display mode; wherein the display effect of the first display mode is higher than that of the second display mode Significantly.
通过上述方法,可以将与用户意图最接近的原子服务一突出的方式推荐给用户,有利于用户快捷高效地直达服务内容。Through the above method, the atomic service closest to the user's intention can be recommended to the user in a prominent way, which is beneficial for the user to directly access the service content quickly and efficiently.
在一个可能的设计中,所述第一显示方式和所述第二显示方式可以包括下述情况中至少一种情况:所述第一显示方式显示的控件尺寸大于所述第二显示方式显示的控件尺寸;或者,所述第一显示方式显示的控件颜色相对所述第二显示方式显示的控件颜色显著;或者,所述第一显示方式显示的控件为闪烁控件,所述第二显示方式显示的控件为非闪烁控件。In a possible design, the first display mode and the second display mode may include at least one of the following situations: the size of the control displayed in the first display mode is larger than the size of the control displayed in the second display mode. The size of the control; or, the color of the control displayed in the first display mode is more prominent than the color of the control displayed in the second display mode; or, the control displayed in the first display mode is a blinking control, and the second display mode displays The control is non-blinking control.
通过上述方法,可以实现第一显示方式的效果较所述第二显示方式的显示效果显著。Through the above method, the effect of the first display mode can be achieved more prominently than the display effect of the second display mode.
在一个可能的设计中,所述电子设备在所述显示屏上显示均为非主导性服务分别对应的多个控件,具体方法可以为:所述电子设备在所述显示屏上对所述非主导性服务分别对应的多个控件进行并列或并排显示。In a possible design, the electronic device displays a plurality of controls corresponding to non-dominant services on the display screen. The specific method may be: the electronic device controls the non-dominant services on the display screen. Multiple controls corresponding to dominant services are displayed side by side or side by side.
通过上述方法,可以使用户自主选择和浏览原子服务,可以提高用户体验。Through the above method, users can independently select and browse atomic services, which can improve user experience.
在一个可能的设计中,所述原子服务的控件为胶囊型控件或者卡片型控件等。In a possible design, the control of the atomic service is a capsule control or a card control.
在一个可能的设计中,所述特定时间为每天内的特定时间、每周内的特定时间、或者其他设定时长内的特定时间。In a possible design, the specific time is a specific time within a day, a specific time within a week, or a specific time within a set time period.
第二方面,本申请实施例还提供了一种电子设备,该电子设备具有实现上述方法实例中电子设备行为的功能。所述电子设备中可以包括相互连接的显示屏、处理器与存储器,所述处理器用于读取并执行所述存储器中存储的程序指令,执行上述第一方面中任一可能 的设计中所提及的方法。In the second aspect, the embodiments of the present application also provide an electronic device, which has the function of realizing the behavior of the electronic device in the foregoing method example. The electronic device may include a display screen, a processor, and a memory connected to each other. The processor is used to read and execute the program instructions stored in the memory, and execute any one of the possible designs mentioned in the first aspect. And method.
第三方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令在被所述计算机(或电子设备)调用时用于使所述计算机(或电子设备)执行上述第一方面中任一可能的设计中所提及的方法。In the third aspect, the embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions. The computer-executable instructions are used by the computer (or electronic device). When called, it is used to make the computer (or electronic device) execute the method mentioned in any possible design in the first aspect.
第四方面,本申请实施例还提供了一种包含指令的机程序产品,当其在计算机上运行时,使得所述计算机执行上述第一方面中任一可能的设计中所提及的方法。In the fourth aspect, the embodiments of the present application also provide a machine program product containing instructions, which when run on a computer, causes the computer to execute the method mentioned in any possible design in the first aspect.
第五方面,本申请实施例还提供了一种电子设备,所述电子设备可以为芯片,所述芯片与存储器相连,用于读取并执行所述存储器中存储的程序指令,以实现上述第一方面中任一可能的设计中所提及的方法。In a fifth aspect, an embodiment of the present application also provides an electronic device, the electronic device may be a chip, and the chip is connected to a memory, and is used to read and execute the program instructions stored in the memory to implement the above-mentioned first One of the methods mentioned in any possible design.
附图说明Description of the drawings
图1为本申请提供的一种电子设备的结构图;Figure 1 is a structural diagram of an electronic device provided by this application;
图2为本申请提供的一种电子设备的软件结构框图;Figure 2 is a block diagram of the software structure of an electronic device provided by this application;
图3为本申请提供的一种原子服务的呈现示意图;FIG. 3 is a schematic diagram of the presentation of an atomic service provided by this application;
图4为本申请提供的一种选择一种原子服务的流程示意图;Fig. 4 is a schematic diagram of a process for selecting an atomic service provided by this application;
图5为本申请提供的另一种原子服务的呈现示意图;Fig. 5 is a schematic diagram of another atomic service provided by this application;
图6为本申请提供的另一种原子服务的呈现示意图;Fig. 6 is a schematic diagram showing another atomic service provided by this application;
图7为本申请提供的另一种原子服务的呈现示意图;FIG. 7 is a schematic diagram of another atomic service provided by this application;
图8为本申请提供的另一种选择一种原子服务的流程示意图;FIG. 8 is a schematic diagram of another process of selecting an atomic service provided by this application;
图9为本申请提供的另一种原子服务的呈现示意图;FIG. 9 is a schematic diagram of another atomic service provided by this application;
图10为本申请提供的另一种选择一种原子服务的流程示意图;FIG. 10 is a schematic diagram of another process of selecting an atomic service provided by this application;
图11为本申请提供的一种原子服务的示意性的呈现框架;Figure 11 is a schematic presentation framework of an atomic service provided by this application;
图12为本申请提供的另一种原子服务的示意性的呈现框架;Figure 12 is a schematic presentation framework of another atomic service provided by this application;
图13为本申请提供的一种原子服务的呈现方法的流程示意图;FIG. 13 is a schematic flowchart of an atomic service presentation method provided by this application;
图14为本申请提供的一种原子服务的呈现方法的流程图;FIG. 14 is a flowchart of an atomic service presentation method provided by this application;
图15为本申请提供的另一种电子设备的结构图。FIG. 15 is a structural diagram of another electronic device provided by this application.
具体实施方式detailed description
本申请实施例提供一种原子服务的呈现方法及装置,用以电子设备可以灵活地在显示界面中呈现与用户意图匹配的服务。其中,本申请所述方法和装置基于同一技术构思,由于方法及装置解决问题的原理相似,因此装置与方法的实施可以相互参见,重复之处不再赘述。The embodiments of the present application provide a method and device for presenting atomic services, so that an electronic device can flexibly present services that match the user's intention on a display interface. Among them, the method and device described in the present application are based on the same technical concept. Since the method and the device have similar principles for solving the problem, the implementation of the device and the method can be referred to each other, and the repetitive parts will not be repeated.
以下,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。Hereinafter, some terms in this application will be explained to facilitate the understanding of those skilled in the art.
1)、用户意图,指用户为达到某种目的的一种打算,是用户设想而未付诸行动的企图或需求。1) User intention refers to an intention of the user to achieve a certain purpose, which is an attempt or demand of the user but not acted upon.
2)、置信度,指参数估计的准确程度,即估计值与总体参数在一定允许误差内的概率。2) Confidence refers to the accuracy of parameter estimation, that is, the probability that the estimated value and the overall parameter are within a certain allowable error.
3)、原子服务,指从应用程序中按一定规则提取出的可帮助用户实现其意图的功能操作或信息内容。3). Atomic service refers to the functional operation or information content extracted from the application program according to certain rules that can help users realize their intentions.
4)、电子设备,可以为具有显示屏,能够显示原子服务的设备。可选的,所述电子设备可以是终端设备,例如,所述终端设备可以是手机、笔记本电脑、平板电脑、车载电脑、个人数字助理(personal digital assistant,PDA)、智能手表、个人计算机((personal computer,PC)、电视机等等。当然所述电子设备不限于上述列举的终端设备,本申请对此不作限定。4) The electronic device can be a device with a display screen that can display atomic services. Optionally, the electronic device may be a terminal device, for example, the terminal device may be a mobile phone, a notebook computer, a tablet computer, a vehicle-mounted computer, a personal digital assistant (personal digital assistant, PDA), a smart watch, a personal computer (( personal computer, PC), television, etc. Of course, the electronic device is not limited to the terminal devices listed above, and this application does not limit it.
所述电子设备可以支持多种应用程序,如文字处理应用程序、电话应用程序、电子邮件应用程序、即时消息应用程序、照片管理应用程序、网络浏览应用程序、数字音乐播放器应用程序、数字视频播放器应用程序等等中的部分或全部应用程序。The electronic device can support a variety of applications, such as word processing applications, telephone applications, email applications, instant messaging applications, photo management applications, web browsing applications, digital music player applications, digital video Some or all of the applications in the player application, etc.
5)、本申请实施例涉及的应用程序(application,app),可以简称应用,为能够实现某项或多项特定功能的软件程序。通常,电子设备中可以安装多个应用,例如,即时通信类应用、视频类应用、音频类应用、图像拍摄类应用等等。其中,即时通信类应用,例如可以包括短信应用、微信(WeChat)、WhatsApp Messenger、连我(Line)、照片分享(instagram)、Kakao Talk、钉钉等。图像拍摄类应用,例如可以包括相机应用(系统相机或第三方相机应用)。视频类应用,例如可以包括Youtube、Twitter、抖音、爱奇艺,腾讯视频等等。音频类应用,例如可以包括酷狗音乐、虾米、QQ音乐等等。以下实施例中提到的应用,可以是电子设备出厂时已安装的应用,也可以是用户在使用电子设备的过程中从网络下载或其他电子设备获取的应用。5) The application program (application, app) involved in the embodiments of the present application may be referred to as an application, which is a software program that can realize one or more specific functions. Generally, multiple applications can be installed in an electronic device, for example, instant messaging applications, video applications, audio applications, image capturing applications, and so on. Among them, instant messaging applications, for example, may include short message applications, WeChat (WeChat), WhatsApp Messenger, Line, photo sharing (instagram), Kakao Talk, DingTalk, etc. Image shooting applications, for example, may include camera applications (system cameras or third-party camera applications). Video applications, such as Youtube, Twitter, Douyin, iQiyi, Tencent Video, etc. Audio applications, for example, may include Kugou Music, Xiami, QQ Music, and so on. The applications mentioned in the following embodiments may be applications that have been installed when the electronic device is shipped from the factory, or applications that the user downloads from the network or obtains from other electronic devices during the process of using the electronic device.
本申请实施例提供的一种原子服务的呈现方法及装置,可以适用于任何具有显示屏的能够现实原子服务的电子设备。图1示出了电子设备的一种示例性的结构图,如图1所示,电子设备100可以包括:处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。The presenting method and device for atomic services provided by the embodiments of the present application can be applied to any electronic device with a display screen capable of displaying atomic services. FIG. 1 shows an exemplary structure diagram of an electronic device. As shown in FIG. 1, the electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus, USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D , A sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a subscriber identification module (SIM) card interface 195, and so on.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,控制器可以是电子设备的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。在本申请中,处理器110可以执行用于实现本申请实施例的原子服务的呈现方法的程序指令,以控制在显示屏194灵活呈现原子服务。The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Among them, the different processing units may be independent devices or integrated in one or more processors. Among them, the controller can be the nerve center and command center of the electronic device. The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions. A memory may also be provided in the processor 110 to store instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can store instructions or data that the processor 110 has just used or used cyclically. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved. In the present application, the processor 110 may execute program instructions for implementing the atomic service presentation method of the embodiment of the present application, so as to control the flexible presentation of the atomic service on the display screen 194.
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备充电,也可以用于电子设备与外围设备之间传输数据。The USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on. The USB interface 130 can be used to connect a charger to charge the electronic device, and can also be used to transfer data between the electronic device and the peripheral device.
充电管理模块140用于从充电器接收充电输入。电源管理模块141用于连接电池142,充电管理模块140与处理器110。The charging management module 140 is used to receive charging input from the charger. The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。天线1和天线2用于发射和接收电磁波信号。电子设备中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor. The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in an electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
移动通信模块150可以提供应用在电子设备上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G and the like applied to electronic devices. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
无线通信模块160可以提供应用在电子设备上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on electronic devices including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellite systems. (global navigation satellite system, GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 may also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna 2.
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
显示屏194用于显示应用、图像、视频等的显示界面等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting  diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备可以包括1个或N个显示屏194,N为大于1的正整数。在本申请中,显示屏194可以显示原子服务。The display screen 194 is used to display a display interface of applications, images, videos, and the like. The display screen 194 includes a display panel. The display panel can use liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). AMOLED, flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device may include one or N display screens 194, and N is a positive integer greater than one. In this application, the display screen 194 can display atomic services.
摄像头193用于捕获静态图像或视频。在一些实施例中,摄像头193可以包括至少一个摄像头,例如一个前置摄像头和一个后置摄像头。The camera 193 is used to capture still images or videos. In some embodiments, the camera 193 may include at least one camera, for example, a front camera and a rear camera.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,以及至少一个应用程序(例如爱奇艺应用,微信应用等)的软件代码等。存储数据区可存储电子设备100使用过程中所产生的数据(例如图像、视频等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。例如,在本申请中,内部存储器121可以存储用于实现本申请实施例的原子服务的呈现方法的程序指令,处理器110可以调用存储在内部存储器121中的程序指令,以实现控制在显示屏194上灵活的呈现原子服务。The internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. Among them, the storage program area can store an operating system, and software codes of at least one application (for example, an iQiyi application, a WeChat application, etc.). The storage data area can store data (such as images, videos, etc.) generated during the use of the electronic device 100. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like. For example, in the present application, the internal memory 121 may store program instructions for implementing the atomic service presentation method of the embodiment of the present application, and the processor 110 may call the program instructions stored in the internal memory 121 to implement control on the display screen. Flexible presentation of atomic services on 194.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将图片,视频等文件保存在外部存储卡中。例如,在本申请中,外部存储卡中可以存储用户信息,例如存储用户的常用的应用的账户信息等等。The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save pictures, videos and other files in an external memory card. For example, in this application, the external memory card may store user information, for example, store the user's frequently used application account information and so on.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
其中,传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and the environment Light sensor 180L, bone conduction sensor 180M, etc.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be provided on the display screen 194. The gyro sensor 180B may be used to determine the movement posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (ie, x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for image stabilization. The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation. The magnetic sensor 180D includes a Hall sensor. The electronic device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip holster. In some embodiments, when the electronic device 100 is a flip machine, the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Furthermore, according to the detected opening and closing state of the holster or the opening and closing state of the flip cover, features such as automatic unlocking of the flip cover are set. The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and be used in applications such as horizontal and vertical screen switching, pedometers and so on.
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备通过发光二极管向外发射红外光。电子设备100使 用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。 Distance sensor 180F, used to measure distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F to measure the distance to achieve fast focusing. The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device emits infrared light to the outside through the light-emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The ambient light sensor 180L is used to sense the brightness of the ambient light. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touch. The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device executes to reduce the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。 Touch sensor 180K, also called "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”. The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. The visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
按键190可以包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The button 190 may include a power-on button, a volume button, and so on. The button 190 may be a mechanical button. It can also be a touch button. The electronic device 100 may receive key input, and generate key signal input related to user settings and function control of the electronic device 100. The motor 191 can generate vibration prompts. The motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback. For example, touch operations that act on different applications (such as photographing, audio playback, etc.) can correspond to different vibration feedback effects. The indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现与电子设备100的接触和分离。The SIM card interface 195 is used to connect to the SIM card. The SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100.
可以理解的是,本申请实施例图1示意的结构并不构成对电子设备100的具体限定。在一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in FIG. 1 of the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In some embodiments, the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
以安卓(Android)系统为例,图2示出了本申请实施例提供的电子设备的软件结构框图。基于Android系统,电子设备的软件结构可以是分层架构,分层架构可将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中, 将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层(framework,FWK),安卓运行时(Android runtime)和系统库,以及内核层。Taking the Android system as an example, FIG. 2 shows a software structure block diagram of an electronic device provided in an embodiment of the present application. Based on the Android system, the software structure of an electronic device can be a layered architecture. The layered architecture can divide the software into several layers, each with a clear role and division of labor. Communication between layers through software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer (framework, FWK), the Android runtime (Android runtime) and system libraries, and the kernel layer.
应用程序层可以包括一系列应用程序包。如图2所示,应用程序层可以包括相机、设置、皮肤模块、用户界面(user interface,UI)、三方应用程序等。其中,三方应用程序可以包括微信、QQ、图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等。The application layer can include a series of application packages. As shown in Figure 2, the application layer may include cameras, settings, skin modules, user interfaces (UI), third-party applications, and so on. Among them, three-party applications can include WeChat, QQ, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS, etc.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层可以包括一些预先定义的函数。如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer can include some predefined functions. As shown in Figure 2, the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, and a notification manager. The window manager is used to manage window programs. The window manager can obtain the size of the display, determine whether there is a status bar, lock the screen, take a screenshot, etc. The content provider is used to store and retrieve data and make these data accessible to applications. The data may include videos, images, audios, phone calls made and received, browsing history and bookmarks, phone book, etc. The view system includes visual controls, such as controls that display text, controls that display pictures, and so on. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures. The phone manager is used to provide the communication function of the electronic device 100. For example, the management of the call status (including connecting, hanging up, etc.). The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on. The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, and so on. The notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, text messages are prompted in the status bar, prompt sounds, electronic devices vibrate, and indicator lights flash.
系统库包括安卓运行时Android runtime,Android runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The system library includes the Android runtime, and the Android runtime includes the core library and the virtual machine. Android runtime is responsible for the scheduling and management of the Android system. The core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android. The application layer and the application framework layer run in a virtual machine. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
系统库还可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。2D图形引擎是2D绘图的绘图引擎。The system library can also include multiple functional modules. For example: surface manager (surface manager), media library (media libraries), 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc. The surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications. The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. The 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing. The 2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。示例性的,显示驱动被调用后,由显示驱动在显示屏上显示相应的界面。The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver. Exemplarily, after the display driver is called, the display driver displays the corresponding interface on the display screen.
硬件层可以包括各类传感器,例如加速度传感器、陀螺仪传感器、触摸传感器等。The hardware layer may include various sensors, such as acceleration sensors, gyroscope sensors, touch sensors, and so on.
下面以应用在电子设备100为例对本申请实施例提供的原子服务的呈现方法进行详细说明。The following uses the electronic device 100 as an example to describe in detail the presenting method of the atomic service provided by the embodiment of the present application.
在本申请的一个实施例中,在电子设备100连接车载蓝牙的场景中,若电子设备100 判断出只有一个原子服务可用时,电子设备100在呈现该原子服务时,在电子设备100的显示屏194上仅显示包含一个操作的胶囊控件,可以以悬浮态出现在其他页面之上。例如,在锁屏界面上显示开启驾驶模式的胶囊控件,例如图3中(a)所示。若电子设备100根据用户的历史习惯和画像数据,确定用户通常在电子设备100连接到车载蓝牙后有听音乐或者使用导航服务(例如导航回家)的需要,则电子设备100在连接到车载蓝牙时,可以在显示屏194上显示包含三个操作的胶囊控件。具体的,一种情况中,当所述电子设备100确定开启驾驶模式的置信度显著高于听音乐和导航回家的置信度时,此时可以认为开启驾驶模式为主导性服务,则所述电子设备100在显示屏194上呈现有主导性服务的三个胶囊控件,例如图3中(b)所示。在图3中的(b)可以看出,开启驾驶模式的胶囊控件要比听音乐和导航回家的胶囊控件明显尺寸要大,这样可以将用户当前可能最需要的原子服务以较为突出的形式呈现给用户。另一种情况中,当所述电子设备100确定开启驾驶模式、听音乐和导航回家三项原子服务的置信度接近,也即置信度相差不大,此时可以认为目前没有主导性服务,则所述电子设备100在显示屏194上呈现无主导性服务的三个胶囊控件,例如图3中(c)所示。在图3中的(c)中,三项原子服务的胶囊控件以同尺寸并列显示,来突出三项原子服务对用户来说需求程度是基本相同的。通过上述方法为用户呈现了原子服务之后,用户就可以根据自己的实际需求选择一种原子服务。应理解,突出显示某一个胶囊控件除了上述给出的以较大尺寸显示之外,还可以采用其他方式进行突出显示,比如使用显著颜色显示或者进行闪烁显示等,本申请这里不做限定。In an embodiment of the present application, in the scenario where the electronic device 100 is connected to the car Bluetooth, if the electronic device 100 determines that only one atomic service is available, the electronic device 100 displays the atomic service on the display screen of the electronic device 100 Only a capsule control containing one operation is displayed on 194, which can appear on other pages in a floating state. For example, a capsule control for turning on the driving mode is displayed on the lock screen interface, as shown in Figure 3(a). If the electronic device 100 determines that the user usually needs to listen to music or use navigation services (such as navigating home) after the electronic device 100 is connected to the car’s Bluetooth based on the user’s historical habits and portrait data, then the electronic device 100 is connected to the car’s Bluetooth At this time, a capsule control including three operations can be displayed on the display screen 194. Specifically, in one case, when the electronic device 100 determines that the confidence of turning on the driving mode is significantly higher than the confidence of listening to music and navigating home, at this time, it can be considered that turning on the driving mode is the dominant service, then the The electronic device 100 presents three capsule controls with dominant services on the display screen 194, for example, as shown in FIG. 3(b). In Figure 3 (b), it can be seen that the capsule control that turns on the driving mode is obviously larger in size than the capsule control that listens to music and navigates home, so that the atomic services that users may currently need most can be presented in a more prominent form. Present to the user. In another case, when the electronic device 100 determines that the three atomic services of turning on the driving mode, listening to music, and navigating home are close in confidence, that is, the confidence is not much different, it can be considered that there is no dominant service at this time, Then, the electronic device 100 presents three capsule controls with non-dominant services on the display screen 194, as shown in (c) in FIG. 3, for example. In (c) in Figure 3, the capsule controls of the three atomic services are displayed side by side in the same size to highlight that the three atomic services have basically the same level of demand for users. After the atomic service is presented to the user through the above method, the user can choose an atomic service according to his actual needs. It should be understood that, besides displaying a larger size as described above, highlighting a certain capsule control can also be highlighted in other ways, such as using a prominent color display or flashing display, which is not limited in this application.
示例性的,图4示出了在电子设备100连接车载蓝牙的场景中用户选择一种原子服务的流程示意图。例如,在电子设备100连接车载蓝牙后,电子设备100的智能助手主动弹出提醒,即电子设备100的显示屏194上呈现了如图3中(b)所示的显示界面后,当用户选择开启驾驶模式后,电子设备100的显示屏194中的界面切换到驾驶模式界面,例如图4中的(a)所示的界面;或者,当用户选择听音乐后,电子设备100打开音乐播放器,显示屏194显示播放音乐的界面,例如图4中(b)所示。Exemplarily, FIG. 4 shows a schematic flow diagram of a user selecting an atomic service in a scenario where the electronic device 100 is connected to the car Bluetooth. For example, after the electronic device 100 is connected to the car Bluetooth, the smart assistant of the electronic device 100 actively pops up a reminder, that is, after the display interface shown in Figure 3(b) is presented on the display screen 194 of the electronic device 100, when the user chooses to turn on After the driving mode, the interface in the display 194 of the electronic device 100 is switched to the driving mode interface, such as the interface shown in (a) in FIG. 4; or, when the user chooses to listen to music, the electronic device 100 turns on the music player, The display screen 194 displays an interface for playing music, for example, as shown in FIG. 4(b).
需要说明的是,上述图3中示例的原子服务的呈现形式,仅仅是一种示例,不限于此示例的呈现形式。例如,当呈现多个原子服务分别对应的胶囊控件时,可以将图3中(b)和图3中(c)的横向并列显示的多个胶囊控件,变为竖向并列显示的方式进行显示,如图3中的(b)可以替换为图5中的(a),图3中的(c)可以替换为图5中的(b)。其中,图5中的(a)中的三个胶囊控件还可以平移至显示屏194的中间位置或靠右位置显示等等,图5中的(b)中的三个胶囊控件还可以平移至在显示屏194的中间位置或靠右位置等等。当然,还有其他呈现方式,此处不再一一列举。It should be noted that the presentation form of the atomic service illustrated in FIG. 3 is only an example, and is not limited to the presentation form of this example. For example, when the capsule controls corresponding to multiple atomic services are presented, the multiple capsule controls displayed side by side in Figure 3 (b) and Figure 3 (c) can be displayed in a vertical side by side manner. , (B) in Figure 3 can be replaced with (a) in Figure 5, and (c) in Figure 3 can be replaced with (b) in Figure 5. Among them, the three capsule controls in Figure 5 (a) can also be translated to the middle or right position of the display screen 194, etc., and the three capsule controls in Figure 5 (b) can also be translated to In the middle or right position of the display 194, etc. Of course, there are other ways of presentation, which will not be listed here.
应理解,上述呈现在显示屏194靠底部的显示形式也仅仅是一种示例,应理解原子服务对应的胶囊控件也可以显示在显示屏194上的任意位置,当为多原子服务呈现时,可以将多个原子服务分别对应的胶囊控件集中在显示屏194的一块区域中显示,也可以全部分散显示,或者部分集中部分分散显示,本申请此处不再一一列举。It should be understood that the above-mentioned display form presented at the bottom of the display screen 194 is only an example, and it should be understood that the capsule control corresponding to the atomic service can also be displayed at any position on the display screen 194. When presented for a polyatomic service, The capsule controls corresponding to multiple atomic services are displayed in a centralized area of the display screen 194, or all of them are displayed dispersedly, or some of them are collectively displayed and some of them are displayed separately.
示例性的,在上述实施例中,当电子设备100确定出了更多的原子服务时,在图3中的(b)和(c)中,可以通过滑动的形式来呈现原子服务。例如,当电子设备100还确定了查看日程作为原子服务,且同样开启驾驶模式为主导性服务时,显示屏194上先呈现了图3中的(b)所示的界面,用户向左滑动第二行的胶囊控件后,听音乐的胶囊控件可以隐藏,在显示屏194上呈现查看日程的胶囊控件,可以如图6所示。需要说明的是,还可 以向右滑动隐藏导航回家的胶囊控件,或者如图5所示的情况中,还可以上下滑动隐藏或新增显示胶囊控件,本申请此处不再一一示出。Exemplarily, in the above embodiment, when the electronic device 100 determines more atomic services, in (b) and (c) in FIG. 3, the atomic services may be presented in a sliding form. For example, when the electronic device 100 also determines that the viewing schedule is an atomic service, and the driving mode is also turned on as the dominant service, the display screen 194 first presents the interface shown in Figure 3 (b), and the user swipes to the left. After the two rows of capsule controls, the capsule controls for listening to music can be hidden, and the capsule controls for viewing the schedule are presented on the display screen 194, as shown in FIG. 6. It should be noted that you can also slide to the right to hide the capsule controls for navigating home, or in the case shown in Figure 5, you can also slide up and down to hide or newly display the capsule controls, which will not be shown here in this application. .
应理解,上述图示中的胶囊控件的形状也仅仅是一种示例,胶囊控件的形状不限于此,还可以为其他形状,例如,三角形、矩形、菱形等等可以想到的能实现原子服务呈现的任何形状,本申请对此不再一一示出。It should be understood that the shape of the capsule control in the above illustration is only an example, the shape of the capsule control is not limited to this, and can also be other shapes, for example, triangles, rectangles, diamonds, etc. conceivable to achieve atomic service presentation Any shape of, this application will not show them one by one.
在另一个实施例中,在用户基于电子设备100进行文本对话的场景中,例如短信聊天或微信聊天等场景,如果用户启动语音助手、进行截图操作或者进行屏幕内容识别的操作等后,电子设备100会基于当前界面的文本对话内容识别结果进行原子服务推荐,显示屏194即呈现用户可能需要的原子服务对应的胶囊控件。例如,电子设备100基于图7中界面显示文本交互内容判断用户可能需要的原子服务的情况下,若电子设备100判断出只有一个原子服务可用时,电子设备100在呈现该原子服务时,在电子设备100的显示屏194上仅显示包含一个操作的胶囊控件。例如,在当前文本交互界面上出现给李华打电话的内容时,电子设备100可在当前的聊天界面中呈现给李华拨打电话的胶囊控件,例如图7中的(a)所示。若电子设备根据当前聊天界面内容判断出用户当前可能需要打电话,或者添加日程或者新建提醒时,则电子设备100的显示屏194可以显示包含三个操作的胶囊控件。具体的,一种情况中,当所述电子设备100确定打电话的置信度显著高于添加日程和新建提醒的置信度时,此时可以认为打电话为主导性服务,则所述电子设备100在显示屏194上呈现有主导性服务的三个胶囊控件,例如图7中(b)所示。在图7中的(b)可以看出,打电话的胶囊控件要比添加日程和新建提醒的胶囊控件明显尺寸要大,这样可以将用户当前可能最需要的原子服务以较为突出的形式呈现给用户。另一种情况中,当所述电子设备100确定打电话、添加日程和新建提醒三项原子服务的置信度接近,也即置信度相差不大,此时可以认为目前没有主导性服务,则所述电子设备100在显示屏194上呈现无主导性服务的三个胶囊控件,例如图7中(c)所示。在图7中的(c)中,三项原子服务的胶囊控件以同尺寸并列显示,来突出三项原子服务对用户来说需求程度是基本相同的。通过上述方法为用户呈现了原子服务之后,用户可以根据自己的实际需求选择一种原子服务。同样的,突出显示某一个胶囊控件除了上述给出的以较大尺寸显示之外,还可以采用其他方式进行突出显示,比如使用显著颜色显示或者进行闪烁显示等,本申请这里不做限定。In another embodiment, in a scenario where a user conducts a text conversation based on the electronic device 100, such as a text message chat or WeChat chat, if the user activates the voice assistant, performs screenshot operations, or performs screen content recognition operations, the electronic device 100 will perform atomic service recommendation based on the recognition result of the text dialogue content of the current interface, and the display screen 194 will present the capsule control corresponding to the atomic service that the user may need. For example, when the electronic device 100 determines the atomic service that the user may need based on the text interaction content displayed on the interface in FIG. 7, if the electronic device 100 determines that only one atomic service is available, the electronic device 100 displays the atomic service when the electronic device 100 presents the atomic service. The display 194 of the device 100 only displays the capsule control including one operation. For example, when the content of calling Li Hua appears on the current text interactive interface, the electronic device 100 may present a capsule control for Li Hua to call Li Hua in the current chat interface, as shown in (a) of FIG. 7. If the electronic device determines that the user may currently need to make a call, add a schedule or create a new reminder based on the content of the current chat interface, the display screen 194 of the electronic device 100 may display a capsule control containing three operations. Specifically, in a situation, when the electronic device 100 determines that the confidence of making a call is significantly higher than the confidence of adding a schedule and creating a new reminder, at this time, it can be considered that the call is the dominant service, and the electronic device 100 Three capsule controls with dominant services are presented on the display screen 194, for example, as shown in FIG. 7(b). As can be seen in Figure 7(b), the capsule control for calling is obviously larger in size than the capsule control for adding schedules and new reminders, so that the atomic services that users may currently need most can be presented in a more prominent form. user. In another case, when the electronic device 100 determines that the confidence levels of the three atomic services of making a call, adding a schedule, and creating a new reminder are close, that is, the confidence levels are not much different, it can be considered that there is no dominant service at this time. The electronic device 100 presents three capsule controls of non-dominant services on the display screen 194, for example, as shown in FIG. 7(c). In (c) in Figure 7, the capsule controls of the three atomic services are displayed side by side with the same size to highlight that the three atomic services have basically the same level of demand for users. After the atomic service is presented to the user through the above method, the user can choose an atomic service according to his actual needs. Similarly, in addition to displaying a larger size as described above, highlighting a certain capsule control can also be highlighted in other ways, such as using a prominent color display or flashing display, which is not limited in this application.
示例性的,图8示出了在用户基于电子设备100进行文本对话的场景中,用户选择一种原子服务的流程示意图。例如,在用户进行了截屏操作后,电子设备100的显示屏194中呈现了如图7中(b)所示的显示界面后,当用户选择了给李华打电话的胶囊控件之后,电子设备100拨通电话,电子设备100的显示屏194中的界面切换到电话拨打界面,例如图8中的(a)所示;或者,当用户选择添加日程的胶囊控件之后,电子设备100的显示屏194中的界面切换到新建日程界面,例如图8中的(b)所示。Exemplarily, FIG. 8 shows a schematic flow diagram of the user selecting an atomic service in a scenario where the user conducts a text conversation based on the electronic device 100. For example, after the user performs a screenshot operation, after the display interface shown in Figure 7(b) is presented on the display screen 194 of the electronic device 100, when the user selects the capsule control to call Li Hua, the electronic device 100 dials the phone, and the interface on the display screen 194 of the electronic device 100 switches to the phone dialing interface, as shown in (a) in FIG. 8; or, when the user selects the capsule control to add the schedule, the display screen of the electronic device 100 The interface in 194 switches to the new schedule interface, for example, as shown in (b) in Figure 8.
需要说明的是,图7中显示的胶囊控件与图3显示的胶囊控件的形式原理相同,形式变换可以参照对图3所示的胶囊控件的形式变换的描述,此处不再重复说明。It should be noted that the form principle of the capsule control shown in FIG. 7 is the same as that of the capsule control shown in FIG. 3, and the form conversion can refer to the description of the form conversion of the capsule control shown in FIG. 3, and the description will not be repeated here.
在又一个实施例中,在特定时间场景,例如,晨间场景(早晨某一时间段内)中,若电子设备100根据用户的历史习惯等数据判断出只有一个查看路况的原子服务可用时,电子设备100的显示屏194上仅显示包含一项内容的卡片型控件为用户呈现路况内容。例如,图9中的(a)所示。可以看出图9的(a)中卡片型控件以半屏态显示,以供用户查看用户经常查看的路线的路况。若电子设备100根据用户的历史习惯等数据确定用户通常在晨 间有查看路况、查看天气和打车(例如打车去公司)的需要时,则电子设备100的显示屏194可以显示包含三项原子服务的控件。具体的,一种情况中,当所述电子设备100确定查看路况的置信度显著高于查看天气和打车去公司的置信度时,此时可以认为查看路况为主导性服务,则所述电子设备100在显示屏194上呈现有主导性服务的三个控件,例如图9中(b)所示。在图9中的(b)可以看出,查看路况的路况内容以卡片型控件显示,而查看天气(今日天气)和打车去公司以胶囊控件显示,并且卡片型控件明显大于胶囊控件,这样可以将用户当前可能最需要的原子服务以较为突出的形式呈现给用户,可以使用户查看最想要看到的内容。另一种情况中,当所述电子设备100确定查看路况、查看天气和打车去公司三项原子服务的置信度接近,也即置信度相差不大,此时可以认为目前没有主导性服务,则所述电子设备100在显示屏194上呈现无主导性服务的三个卡片型控件,例如图9中(c)所示。在图9中的(c)中,三项原子服务的卡片型控件以同尺寸显示,由于卡片型控件为半屏态,多卡片型控件可以支持上下滚动或滑动的操作。通过上述方法为用户呈现了原子服务之后,用户可以根据自己的实际需求选择一种原子服务。In another embodiment, in a specific time scene, for example, a morning scene (in a certain time period in the morning), if the electronic device 100 determines that only one atomic service for viewing road conditions is available according to the user's historical habits and other data, The display screen 194 of the electronic device 100 only displays a card-type control containing one item of content to present traffic content to the user. For example, as shown in (a) in Figure 9. It can be seen that the card-shaped control in Figure 9(a) is displayed in a half-screen state for the user to view the road conditions of the route that the user frequently views. If the electronic device 100 determines from the user’s historical habits and other data that the user usually needs to check road conditions, check the weather, and take a taxi (for example, take a taxi to the company) in the morning, the display 194 of the electronic device 100 may display three atomic services. Controls. Specifically, in a situation, when the electronic device 100 determines that the confidence level of checking road conditions is significantly higher than the confidence level of checking the weather and taking a taxi to the company, it can be considered that checking the road conditions is the dominant service at this time, then the electronic device 100 presents three controls of dominant services on the display screen 194, for example, as shown in (b) in FIG. 9. In Figure 9 (b), it can be seen that the content of viewing road conditions is displayed as a card-type control, while viewing the weather (today's weather) and taking a taxi to the company are displayed as a capsule control, and the card-type control is significantly larger than the capsule control. Presenting the atomic services that users may need most at present to users in a more prominent form can enable users to view the content they most want to see. In another case, when the electronic device 100 determines that the confidence levels of the three atomic services of checking road conditions, checking the weather, and taking a taxi to the company are close, that is, the confidence levels are not much different, it can be considered that there is no dominant service at this time, then The electronic device 100 presents three card-type controls of non-dominant services on the display screen 194, for example, as shown in (c) of FIG. 9. In (c) of Figure 9, the card-type controls of the three atomic services are displayed in the same size. Since the card-type controls are in a half-screen state, the multi-card-type controls can support up and down scrolling or sliding operations. After the atomic service is presented to the user through the above method, the user can choose an atomic service according to his actual needs.
示例性的,图10示出了在晨间场景中,用户选择一种原子服务的流程示意图。例如,电子设备100的显示屏194呈现了如图9中(b)所示的显示界面后,当用户选择了查看路况对应的控件之后,电子设备100的显示屏194中的界面切换到地图应用中的路况界面,例如图10中的(a)所示;或者当用户选择了查看天气后,电子设备100的显示屏194上的界面切换到天气应用的天气显示界面,如图10中的(b)所示。Exemplarily, FIG. 10 shows a schematic flowchart of a user selecting an atomic service in a morning scene. For example, after the display screen 194 of the electronic device 100 presents the display interface as shown in FIG. 9(b), when the user selects the control corresponding to the traffic condition, the interface in the display screen 194 of the electronic device 100 switches to the map application The road condition interface in Figure 10 (a); or when the user selects to view the weather, the interface on the display 194 of the electronic device 100 switches to the weather display interface of the weather application, as shown in Figure 10 ( b) as shown.
通过上述实施例,可以有效地解决只推荐单一服务与用户实际意图不匹配的问题,并且同时在存在多项原子服务推荐时,主导性服务推荐界面将较高置信度的原子服务以更明显、更突出的控件形态呈现,有利于用户快捷高效地直达服务内容,当多项服务置信度水平相当时,非主导性服务推荐界面将多个原子服务控件并列排布,有利于用户自主选择和浏览。Through the above-mentioned embodiments, the problem of only recommending a single service that does not match the user's actual intention can be effectively solved, and at the same time, when there are multiple atomic service recommendations, the dominant service recommendation interface will make higher-confidence atomic services more obvious, More prominent control forms are presented, which is conducive for users to directly access service content quickly and efficiently. When the confidence levels of multiple services are equivalent, the non-dominant service recommendation interface arranges multiple atomic service controls side by side, which is conducive to users' independent selection and browsing .
基于以上实施例,可以得到呈现原子服务的一种示意性的呈现框架。例如,当原子服务为操作型时,单一(唯一)操作型控件可以在电子设备100的显示屏194中底部以胶囊控件形式呈现;有主导性服务的多操作型控件时,可以将主导操作型控件以显著形态的大尺寸胶囊控件形式,呈现在其它非主导操作型控件的小尺寸的胶囊控件上方;当所有原子服务均为非主导性服务时,可以以相同规格的胶囊控件形式排列显示。示例性的,可以如图11所示。又例如,当原子服务为内容型时,单一(唯一)内容型控件可以在电子设备100的显示屏194底部以卡片形态出现,方便内容展示;有主导性服务的多内容型控件时,可以将主导性服务以显著形态的大卡片控件(主导内容型控件)形式,呈现于其他非主导性服务的胶囊控件(非主导内容型控件)上方;当所有原子服务均为非主导性服务时,所有原子服务按生成的先后次序呈现于可滚动卡片列表区域。例如,图12所示。Based on the above embodiments, a schematic presentation framework for presenting atomic services can be obtained. For example, when the atomic service is an operation type, a single (unique) operation type control can be presented in the form of a capsule control at the bottom of the display screen 194 of the electronic device 100; when there is a multi-operation type control with a dominant service, the dominant operation type can be Controls are presented in the form of large-sized capsule controls in a prominent form on top of small-sized capsule controls of other non-dominant operation controls; when all atomic services are non-dominant services, they can be arranged and displayed in the form of capsule controls of the same specification. Exemplarily, it may be as shown in FIG. 11. For another example, when the atomic service is content-based, a single (unique) content-based control can appear in the form of a card at the bottom of the display 194 of the electronic device 100 to facilitate content display; when there are multiple content-based controls for dominant services, you can change Dominant services are presented on top of capsule controls (non-dominant content-based controls) of other non-dominant services in the form of large card controls (dominant content-based controls) in a prominent form; when all atomic services are non-dominant services, all Atomic services are presented in the scrollable card list area in the order of generation. For example, as shown in Figure 12.
需要说明的是,在本申请中,仅以最多三项原子服务示出,应理解,多余三项原子服务呈现时原理相同,此处不再一一说明。It should be noted that in this application, only a maximum of three atomic services are shown. It should be understood that the principles of the presentation of the redundant three atomic services are the same, and they will not be described here.
综上实施例列举,在本申请实施例中,电子设备100确定当前场景是否为特定场景或者特定时间,在当前场景为特定场景或者当前时间为特定时间时,电子设备100可以根据用户信息、事件信息、传感器模块180中的一个或者多个传感器采集到的信息等信息判断出用户意图,进而结合用户意图在过去一段时间内每次到达所述特定场景或特定时间时用户使用所述电子设备100中的各个服务确定出用户所需的原子服务,也即确定符合用户意 图的原子服务。例如,传感器采集到的信息可以包括指纹传感器180H、环境光传感器180L、触摸传感器180K等等采集到的信息等;所述用户信息可以包括电子设备100保存的用户的相关信息,如用户常用的应用的账户信息、用户画像等,这里的用户画像可以理解为电子设备通过保存的用户个人信息构建的用户的特征描述;所述事件信息可以包括电子设备100保存的用户的历史操作事件、用户当前基于电子设备100的操作事件等等。其中,所述特定场景可以为上述实施例中涉及的电子设备100连接车载蓝牙的场景、电子设备100进行文本对话的场景,还可以为其他特定场景,本申请此处不再一一列举;所述特定时间可以为上述实施例中涉及的晨间某一时间段,当然,所述特定时间可以为每天内的特定时间、每周内的特定时间、或者其他设定时长内的特定时间等等。In summary, in the embodiments of the present application, the electronic device 100 determines whether the current scene is a specific scene or a specific time. When the current scene is a specific scene or the current time is a specific time, the electronic device 100 can determine whether the current scene is a specific scene or the current time is a specific time. Information, information collected by one or more sensors in the sensor module 180, and other information determine the user's intention, and then combine the user's intention to use the electronic device 100 every time the user arrives at the specific scene or specific time in the past period of time. Each service in determines the atomic service required by the user, that is, determines the atomic service that meets the user's intention. For example, the information collected by the sensor may include information collected by the fingerprint sensor 180H, the ambient light sensor 180L, the touch sensor 180K, etc.; the user information may include user-related information saved by the electronic device 100, such as the user’s frequently used applications The user portrait can be understood as the user’s characteristic description constructed by the electronic device through the saved user personal information; the event information can include the user’s historical operation events saved by the electronic device 100, and the user’s current Operation events of the electronic device 100 and so on. Wherein, the specific scenario may be the scenario where the electronic device 100 is connected to the car Bluetooth, the scenario where the electronic device 100 conducts a text conversation, or other specific scenarios, which are not listed here in this application; The specific time may be a certain time period in the morning involved in the above embodiment. Of course, the specific time may be a specific time within a day, a specific time within a week, or a specific time within a set time period, etc. .
电子设备100在判断出用户意图,进而确定出符合用户意图的原子服务后,即可以确定出以下三种参数:第一,原子服务的数量,这里原子服务可以包括电子设备100出厂时系统自带的应用中的服务以及第三方服务,其中第三方服务为用户在使用电子设备100的过程中从网络下载或其他电子设备获取的应用中的服务;原子服务的数量这里记为N,N为大于或者等于0的整数。第二,原子服务的标识,即为当前场景或时间下用户可能需要的原子服务的标识,可以记为S i,i=1,2,……N。第三,原子服务的置信度,即原子服务与用户意图的匹配概率,记为p i,i=1,2,……N,每一项原子服务的置信度需大于或等于预先定义的概率阈值p 0,即p i≥p 0After the electronic device 100 determines the user's intention and then determines the atomic service that meets the user's intention, the following three parameters can be determined: First, the number of atomic services. Here, the atomic service can include the system that comes with the electronic device 100 when it leaves the factory. The service in the application and the third-party service, where the third-party service is the service in the application that the user downloads from the network or obtains from other electronic devices while using the electronic device 100; the number of atomic services is denoted as N here, and N is greater than Or an integer equal to 0. Second, the service identifier atoms, namely atoms and services identified in the current scene or the time of the user may be required, it can be referred to as S i, i = 1,2, ...... N. Third, the confidence level of the atomic service, that is, the matching probability between the atomic service and the user’s intention, is denoted as p i , i=1, 2,...N, and the confidence level of each atomic service must be greater than or equal to the predefined probability The threshold p 0 , that is, p i ≥ p 0 .
通常情况下,置信度根据服务被使用的频次确定,服务被使用的频次越高,对应的置信度越大。具体的,电子设备100会根据用户信息、事件信息、传感器模块180中的一个或者多个传感器采集到的信息等计算出某个原子服务的初始置信度p k,随着用户的实际使用,用户行为数据会反向校正电子设备100确定的概率值(即置信度)。例如,当系统推荐某个原子服务k之后,用户并没有使用所述原子服务k,当以上情况发生C次之后(C为预先定义的频度阈值),电子设备100即启动修正该概率值为p k’=p k-Δp 1,即降低该条件下推荐该原子服务k的可能性。而当用户使用原子服务k后,电子设备100会增大该条件下推荐该原子服务k的可能性,修正过程为p k’=p k+Δp 2。其中,Δp 1和Δp 2是预设的概率变化值,其中,可以是根据p k的大小设置的,Δp 1和Δp 2可以是p k的一定比例的概率值,也可以是基于其他算法或规则基于p k得到的概率值,本申请不作限定。 Generally, the confidence level is determined based on the frequency with which the service is used. The higher the frequency with which the service is used, the greater the corresponding confidence. Specifically, the electronic device 100 calculates the initial confidence p k of a certain atomic service based on user information, event information, and information collected by one or more sensors in the sensor module 180. With the actual use of the user, the user The behavior data will reversely correct the probability value determined by the electronic device 100 (ie, the confidence level). For example, after the system recommends a certain atomic service k, the user does not use the atomic service k. When the above situation occurs C times (C is a predefined frequency threshold), the electronic device 100 starts to modify the probability value p k '=p k -Δp 1 , that is, the possibility of recommending the atomic service k under this condition is reduced. When the user uses the atomic service k, the electronic device 100 will increase the possibility of recommending the atomic service k under this condition, and the correction process is p k ′=p k +Δp 2 . Among them, Δp 1 and Δp 2 are preset probability change values, which can be set according to the size of p k , Δp 1 and Δp 2 can be a certain proportion of the probability value of p k, or based on other algorithms or The rule is based on the probability value obtained by p k , which is not limited in this application.
进一步地,电子设备100根据确定的原子服务的数量、原子服务的标识和原子服务的置信度,确定原子服务的可用情况,然后配置不同形态的交互控件(本申请中也可以称为服务控件,服务控件的展示形式可以为上述实施例中的胶囊控件或为卡片控件,当然还可以为其他形式的控件等),以使显示屏194显示配置的交互控件,达到呈现原子服务的目的。具体的,可以存在如下四种情况:Further, the electronic device 100 determines the availability of the atomic service according to the determined number of atomic services, the identifier of the atomic service, and the confidence of the atomic service, and then configures different forms of interactive controls (which may also be referred to as service controls in this application, The display form of the service control can be the capsule control in the above embodiment or the card control, of course, it can also be other forms of control, etc.), so that the display screen 194 displays the configured interactive control to achieve the purpose of presenting the atomic service. Specifically, there can be the following four situations:
情况1、电子设备100确定无可用的原子服务,即N=0,那么电子设备100的显示屏194上仍然维持当前的显示界面。 Case 1. The electronic device 100 determines that there is no atomic service available, that is, N=0, then the display screen 194 of the electronic device 100 still maintains the current display interface.
情况2、电子设备100确定有单一的原子服务可用,即N=1,也即只有一项可用的原子服务S 1,那么电子设备100的显示屏194上以单服务控件形式出现。 Case 2. The electronic device 100 determines that a single atomic service is available, that is, N=1, that is, there is only one available atomic service S 1 , then the display 194 of the electronic device 100 appears in the form of a single service control.
情况3、电子设备100确定有多项原子服务可用,即N≥2,也即有多项可用的原子服务为原子服务S 1,原子服务S 2,……,原子服务S N,且多项原子服务中存在主导性服务,即存在一项原子服务的置信度显著大于其他任意原子服务的置信度,数学表达式即为
Figure PCTCN2020113603-appb-000001
使得p i>M*p j
Figure PCTCN2020113603-appb-000002
j≠i,其中M为预定义的常数。那么电子设备100的显示屏194呈现有主导性服务的多服务控件,也即所述电子设备100在所述显示屏194上显示主导性服务对应的控件以及非主导性服务对应的控件,具体显示方式可以参见上述实施例。其中,上述数学表达式的含义是:存在一项原子服务S i的置信度p i大于原子服务S j的置信度p j的M倍,也即满足原子服务S i的置信度显著大于原子服务S j的置信度,其中,原子服务S i为N项原子服务中的任一项,原子服务S j是N项原子服务中除原子服务S i以外的任一项,此时认为原子服务S i为主导性服务,其他原子服务为非主导性原子服务。
Case 3. The electronic device 100 determines that there are multiple atomic services available, that is, N≥2, that is, multiple available atomic services are atomic service S 1 , atomic service S 2 , ..., atomic service S N , and multiple There is a dominant service in atomic services, that is, the confidence of an atomic service is significantly greater than that of any other atomic service. The mathematical expression is
Figure PCTCN2020113603-appb-000001
Such that p i >M*p j ,
Figure PCTCN2020113603-appb-000002
j≠i, where M is a predefined constant. Then the display screen 194 of the electronic device 100 presents multi-service controls with dominant services, that is, the electronic device 100 displays the controls corresponding to the dominant service and the controls corresponding to the non-dominant service on the display screen 194, specifically displaying The manner can refer to the above-mentioned embodiment. Wherein the meaning of the above-described mathematical expression are: the presence of a service S i atom confidence is greater than M times p i p j confidence atomic S j of service, i.e. to meet the service S i atom confidence level significantly greater than the atomic services The confidence level of S j , where the atomic service S i is any one of the N atomic services, and the atomic service S j is any one of the N atomic services except the atomic service S i . At this time, the atomic service S is considered i is the dominant service, and other atomic services are non-dominant atomic services.
情况4、电子设备100确定有多项原子服务可用,即N≥2,也即有多项可用的原子服务为原子服务S 1,原子服务S 2,……,原子服务S N,且多项原子服务中不存在主导性服务,也即均为非主导性原子服务,即任意两项原子服务的置信度之差都不大于指定的阈值,数学表达式即为
Figure PCTCN2020113603-appb-000003
j≠i,都有|p i-p j|≤K,其中K为预定义的常数。那么电子设备100的显示屏194呈现无主导性服务的多服务控件,也即电子设备100在所述显示屏194上显示均为非主导性服务分别对应的多个控件,具体显示方式可以参见上述实施例。其中,上述数学表达式的含义是:N项原子服务中的原子服务S i和原子服务S j的置信度p i和p j的差不大于设定阈值,其中原子服务S i和原子服务S j是N向原子服务中任意两项不同的原子服务,此时,认为不存在主导性原子服务,均为非主导性原子服务。
Case 4. The electronic device 100 determines that there are multiple atomic services available, that is, N≥2, that is, multiple available atomic services are atomic service S 1 , atomic service S 2 , ..., atomic service S N , and multiple atomic services There is no dominant service in atomic services, that is, they are all non-dominant atomic services, that is, the difference between the confidence of any two atomic services is not greater than the specified threshold, and the mathematical expression is
Figure PCTCN2020113603-appb-000003
j ≠ i, there | p i -p j | ≤K, where K is a predefined constant. Then the display screen 194 of the electronic device 100 presents multi-service controls for non-dominant services, that is, the electronic device 100 displays multiple controls corresponding to non-dominant services on the display screen 194. The specific display mode can be referred to the above Examples. Among them, the meaning of the above mathematical expression is: the difference between the confidence levels p i and p j of the atomic service S i and the atomic service S j in the N atomic services is not greater than the set threshold, where the atomic service S i and the atomic service S j is any two different atomic services in the N-direction atomic service. At this time, it is considered that there is no dominant atomic service, and both are non-dominant atomic services.
示例性的,电子设备100的上述处理过程可以如图13所示的流程图所示。Exemplarily, the foregoing processing procedure of the electronic device 100 may be as shown in the flowchart shown in FIG. 13.
在具体实现时,在不同的场景下,由于原子服务的类型不相同,原子服务的呈现形态可以不相同,也即服务控件形态不同。例如,原子服务的类型为操作型时,所述原子服务可以以胶囊控件的形式呈现;又例如,原子服务的类型为内容型时,所述原子服务可以以卡片型控件的形式呈现。在申请实施例中,以上述胶囊控件和卡片型控件进行说明,但是应理解,还可以有其他形式,本申请对此不作限定。In specific implementation, in different scenarios, because the types of atomic services are different, the presentation forms of atomic services may be different, that is, the forms of service controls are different. For example, when the type of the atomic service is an operation type, the atomic service may be presented in the form of a capsule control; for another example, when the type of the atomic service is a content type, the atomic service may be presented in the form of a card control. In the application embodiment, the above-mentioned capsule control and card-type control are used for description, but it should be understood that there may be other forms, which are not limited in this application.
基于上述实施例,本申请还提供了一种原子服务的呈现方法,该方法可以应用于具有显示屏的电子设备,所述电子设备的结构可以参考图1所示的电子设备100结构图,此处以电子设备100为例进行说明。参阅图14所示,该方法的具体流程可以包括以下步骤:Based on the above-mentioned embodiments, the present application also provides a method for presenting atomic services, which can be applied to an electronic device with a display screen. For the structure of the electronic device, refer to the structure diagram of the electronic device 100 shown in FIG. 1. The electronic device 100 is taken as an example for description. Referring to Figure 14, the specific process of the method may include the following steps:
步骤1401:所述电子设备100确定当前场景是否为特定场景,或确定当前时间是否为特定时间。Step 1401: The electronic device 100 determines whether the current scene is a specific scene, or determines whether the current time is a specific time.
步骤1402:所述电子设备100在当前场景为特定场景时,在显示屏194上显示至少一个与所述特定场景对应的原子服务的控件;或者,所述电子设备100在当前时间为特定时间时,在所述显示屏194上显示至少一个与所述特定时间对应的原子服务的控件。Step 1402: When the current scene is a specific scene, the electronic device 100 displays at least one atomic service control corresponding to the specific scene on the display screen 194; or, when the current time is a specific time, the electronic device 100 , Displaying at least one control of the atomic service corresponding to the specific time on the display screen 194.
其中,所述至少一个与所述特定场景对应的原子服务是基于统计过去一段时间内每次到达所述特定场景时用户使用所述电子设备100中的各个服务的情况确定的;或者,所述至少一个与所述特定时间对应的原子服务是基于统计过去一段时间内每次到达所述特定时间时用户使用所述电子设备100中的各个服务的情况确定的。Wherein, the at least one atomic service corresponding to the specific scene is determined based on statistics of the user's use of each service in the electronic device 100 each time the specific scene is reached in the past period of time; or, the At least one atomic service corresponding to the specific time is determined based on statistics of the user's use of each service in the electronic device 100 each time the specific time arrives in the past period of time.
其中,所述原子服务指符合用户意图的服务。Wherein, the atomic service refers to a service that meets the user's intention.
示例性的,所述特定场景可以为上述实施例中涉及的电子设备100连接车载蓝牙的场景、用户基于电子设备100进行文本对话的场景等场景,以及其他特定场景,本申请此处不再一一列举;所述特定时间可以为上述实施例中涉及的早晨某一时间段等,当然,所述特定时间可以为每天内的特定时间、每周内的特定时间、或者其他设定时长内的特定时间等等。Exemplarily, the specific scenario may be the scenario in which the electronic device 100 is connected to the car Bluetooth in the foregoing embodiment, the scenario in which the user conducts a text conversation based on the electronic device 100, and other specific scenarios, which are not mentioned here in this application. An example; the specific time may be a certain time period in the morning involved in the foregoing embodiment, etc., of course, the specific time may be a specific time within a day, a specific time within a week, or other set duration Specific time and so on.
在一种可选的实施方式中,所述至少一个与所述特定场景对应的原子服务是基于统计过去一段时间内每次到达所述特定场景时用户使用所述电子设备100中的各个服务的情况确定的,可以为:所述至少一个与所述特定场景对应的原子服务是基于统计过去一段时间内每次到达所述特定场景时,用户使用所述电子设备100中的各个服务时获取的用户信息、事件信息和电子设备100的传感器采集的信息,确定出用户意图,以及结合所述用户意图在所述各个服务中确定出来的。In an optional implementation manner, the at least one atomic service corresponding to the specific scene is based on statistics of each service in the electronic device 100 when the user arrives at the specific scene in the past period of time. If the situation is determined, it may be: the at least one atomic service corresponding to the specific scene is based on statistics obtained when the user uses each service in the electronic device 100 every time the user arrives at the specific scene in the past period of time The user information, event information, and information collected by the sensor of the electronic device 100 determine the user's intention, and are determined in the respective services in combination with the user's intention.
在一种可选的实施方式中,所述至少一个与所述特定时间对应的原子服务是基于统计过去一段时间内每次到达所述特定时间时用户使用所述电子设备中的各个服务的情况确定的,可以为:所述至少一个与所述特定时间对应的原子服务是基于统计过去一段时间内每次到达所述特定时间时,用户使用所述电子设备100中的各个服务时获取的用户信息、事件信息和电子设备100的传感器采集的信息,确定出用户意图,以及结合所述用户意图在所述各个服务中确定出来的。In an optional implementation manner, the at least one atomic service corresponding to the specific time is based on statistics of the user's use of each service in the electronic device each time the specific time arrives in the past period of time It may be determined that: the at least one atomic service corresponding to the specific time is based on statistics of users obtained when the user uses each service in the electronic device 100 each time the user arrives at the specific time in the past period of time The information, event information, and information collected by the sensor of the electronic device 100 determine the user's intention, and determine the user's intention in the respective services in combination with the user's intention.
一种示例性的实现方式中,所述电子设备100在所述显示屏194上显示至少一个原子服务的控件,具体方法可以为:所述电子设备100在所述显示屏194上显示主导性服务对应的控件以及非主导性服务对应的控件;或者,所述电子设备100在所述显示屏194上显示均为非主导性服务分别对应的多个控件;In an exemplary implementation manner, the electronic device 100 displays at least one atomic service control on the display screen 194. The specific method may be: the electronic device 100 displays the dominant service on the display screen 194 Corresponding controls and controls corresponding to non-dominant services; or, the electronic device 100 displays a plurality of controls respectively corresponding to non-dominant services on the display screen 194;
其中,所述主导性服务的置信度大于所述非主导性服务的置信度的设定倍数;任意两个非主导性服务的置信度差值均小于设定阈值;所述置信度根据服务被使用的频次确定,服务被使用的频次越高,对应的置信度越大。Wherein, the confidence of the dominant service is greater than a set multiple of the confidence of the non-dominant service; the confidence difference of any two non-dominant services is less than a set threshold; the confidence is based on the service being The frequency of use is determined. The higher the frequency of service being used, the greater the corresponding confidence.
具体的,所述电子设备100在所述显示屏194上显示主导性服务对应的控件以及非主导性服务对应控件,具体方法可以为:所述电子设备100在所述显示屏194上以第一显示方式显示所述主导性服务对应的控件,以及以第二显示方式显示所述非主导性服务对应的控件;其中,所述第一显示方式的显示效果较所述第二显示方式的显示效果显著。例如,在上述实施例中的图3中(b)、图7中的(b)、图9中的(b)示出的对主导性服务对应的控件以及非主导性服务对应的控件的显示方式,具体可以参见上述实施例中涉及的描述,此处不再详细描述。Specifically, the electronic device 100 displays the controls corresponding to the dominant service and the controls corresponding to the non-dominant service on the display screen 194. The specific method may be as follows: The display mode displays the control corresponding to the dominant service, and displays the control corresponding to the non-dominant service in a second display mode; wherein the display effect of the first display mode is higher than that of the second display mode Significantly. For example, in the above embodiment, the display of controls corresponding to dominant services and controls corresponding to non-dominant services shown in Figure 3 (b), Figure 7 (b), and Figure 9 (b) For details, please refer to the description involved in the foregoing embodiment, which will not be described in detail here.
示例性的,所述第一显示方式和所述第二显示方式包括下述情况中至少一种情况:Exemplarily, the first display mode and the second display mode include at least one of the following situations:
情况a1、所述第一显示方式显示的控件尺寸大于所述第二显示方式显示的控件尺寸。例如,上述实施例中图3中(b)、图7中的(b)、图9中的(b)示出的主导性服务对应的控件的尺寸明显大于非主导性服务对应的控件的尺寸。Case a1. The size of the control displayed in the first display mode is larger than the size of the control displayed in the second display mode. For example, in the above embodiment, the size of the control corresponding to the dominant service shown in Figure 3 (b), Figure 7 (b), and Figure 9 (b) is significantly larger than the size of the control corresponding to the non-dominant service .
情况a2、所述第一显示方式显示的控件颜色相对所述第二显示方式显示的控件颜色显著。Case a2. The color of the control displayed in the first display mode is more prominent than the color of the control displayed in the second display mode.
情况a3、所述第一显示方式显示的控件为闪烁控件,所述第二显示方式显示的控件为非闪烁控件。Case a3: The control displayed in the first display mode is a blinking control, and the control displayed in the second display mode is a non-blinking control.
需要说明的是,除了上述三种情况外,所述第一显示方式和所述第二显示方式还可以有多种其他情况,本申请此处不再一一列举。It should be noted that, in addition to the above three cases, the first display mode and the second display mode may also have many other cases, which are not listed here in this application.
在另一种具体的实施方式中,所述电子设备100在所述显示屏194上显示均为非主导性服务分别对应的多个控件,具体方法可以为:所述电子设备100在所述显示屏194上对所述非主导性服务分别对应的多个控件进行并列或并排显示。例如,上述实施例中图3中(c)、图7中的(c)所示的多个控件并排显示;又例如,上述实施例中图5中(b)、图9中(c)所示的多个控件并列显示。In another specific implementation manner, the electronic device 100 displays a plurality of controls corresponding to non-dominant services on the display screen 194. The specific method may be: the electronic device 100 displays on the display screen 194. The multiple controls corresponding to the non-dominant services are displayed side by side or side by side on the screen 194. For example, in the above embodiment, the multiple controls shown in Figure 3 (c) and Figure 7 (c) are displayed side by side; for another example, in the above embodiment, the controls shown in Figure 5 (b) and Figure 9 (c) are displayed side by side. The multiple controls shown are displayed side by side.
示例性的,所述原子服务的控件为胶囊型控件或者卡片型控件,具体可以上述实施例中涉及的描述,此处不再详细描述。Exemplarily, the control of the atomic service is a capsule-type control or a card-type control, which can be specifically described in the foregoing embodiment, and will not be described in detail here.
采用本申请实施例提供的原子服务的呈现方法,无需通过语音助手向电子设备主动输入语音命令查找相应服务,可以实现电子设备灵活地在显示界面中显示与用户意图匹配的原子服务。By adopting the atomic service presentation method provided by the embodiments of the present application, there is no need to actively input a voice command to the electronic device to find the corresponding service through the voice assistant, and the electronic device can flexibly display the atomic service matching the user's intention on the display interface.
基于以上实施例,本申请还提供了一种电子设备,所述电子设备用于实现上述实施例中涉及的原子服务的呈现方法。参阅图15所示,所述电子设备1500可以包括:显示屏1501、处理器1502和存储器1503,其中:所述处理器1502可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合等等。所述处理器1502还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。所述处理器1502在实现上述功能时,可以通过硬件实现,当然也可以通过硬件执行相应的软件实现。Based on the above embodiments, this application also provides an electronic device, which is used to implement the atomic service presentation method involved in the above embodiments. Referring to FIG. 15, the electronic device 1500 may include: a display screen 1501, a processor 1502, and a memory 1503. The processor 1502 may be a central processing unit (CPU), a network processor (network processor, NP) or a combination of CPU and NP, etc. The processor 1502 may further include a hardware chip. The aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof. When the processor 1502 realizes the above-mentioned functions, it can be realized by hardware, and of course, it can also be realized by hardware executing corresponding software.
所述显示屏1501、所述处理器1502和所述存储器1503之间相互连接。可选的,所述显示屏1501、所述处理器1502和所述存储器1503通过总线1504相互连接;所述总线1504可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图15中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The display screen 1501, the processor 1502, and the memory 1503 are connected to each other. Optionally, the display screen 1501, the processor 1502, and the memory 1503 are connected to each other through a bus 1504; the bus 1504 may be a Peripheral Component Interconnect (PCI) bus or an extended industry standard Structure (Extended Industry Standard Architecture, EISA) bus, etc. The bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in FIG. 15 to represent it, but it does not mean that there is only one bus or one type of bus.
所述存储器1503,与所述处理器1502耦合,用于存放所述电子设备1500必要的程序等。例如,程序可以包括程序代码,该程序代码包括计算机操作指令。所述存储器1503可能包括RAM,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。所述处理器1502执行所述存储器1503所存放的应用程序,实现所述电子设备1500的功能。The memory 1503 is coupled with the processor 1502, and is used to store necessary programs of the electronic device 1500 and the like. For example, the program may include program code, and the program code includes computer operation instructions. The memory 1503 may include RAM, or may also include non-volatile memory, such as at least one disk memory. The processor 1502 executes the application program stored in the memory 1503 to implement the function of the electronic device 1500.
具体的,为描述的方便和简洁,上述描述的图15所示的电子设备1500在实施本申请实施例提供的原子服务的呈现方法时,可以参考前述方法实施例中的对应过程,在此不再赘述。电子设备1500的更为详尽的结构和功能可以参照前述图1所示的实施例中的对电子设备的详细描述。Specifically, for the convenience and conciseness of the description, the electronic device 1500 shown in FIG. 15 described above may refer to the corresponding process in the foregoing method embodiment when implementing the atomic service presentation method provided by the embodiment of the present application. Go into details again. For a more detailed structure and function of the electronic device 1500, reference may be made to the detailed description of the electronic device in the embodiment shown in FIG. 1.
基于以上实施例,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,所述计算机程序被计算机执行时,使得所述计算机执行以上各个方法实施例。Based on the above embodiments, the present application also provides a computer-readable storage medium in which a computer program is stored. When the computer program is executed by a computer, the computer executes the above method embodiments. .
本申请实施例中还提供一种计算机程序产品,包括指令,当其在计算机上运行时,使得计算机执行以上各个方法实施例。The embodiments of the present application also provide a computer program product, including instructions, which when run on a computer, cause the computer to execute the above method embodiments.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, this application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。This application is described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to embodiments of this application. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
显然,本领域的技术人员可以对本申请实施例进行各种改动和变型而不脱离本申请实施例的范围。这样,倘若本申请实施例的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the scope of the embodiments of the present application. In this way, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.

Claims (18)

  1. 一种原子服务的呈现方法,应用于具有显示屏的电子设备,其特征在于,包括:A presenting method of atomic service, applied to electronic equipment with display screen, characterized in that it includes:
    所述电子设备确定当前场景是否为特定场景,或确定当前时间是否为特定时间;The electronic device determines whether the current scene is a specific scene, or determines whether the current time is a specific time;
    所述电子设备在当前场景为特定场景时,在所述显示屏上显示至少一个与所述特定场景对应的原子服务的控件;所述至少一个与所述特定场景对应的原子服务是基于统计过去一段时间内每次到达所述特定场景时用户使用所述电子设备中的各个服务的情况确定的;When the current scene is a specific scene, the electronic device displays at least one control of an atomic service corresponding to the specific scene on the display screen; the at least one atomic service corresponding to the specific scene is based on past statistics Determined by the user's use of each service in the electronic device every time the user arrives at the specific scene within a period of time;
    或者,所述电子设备在当前时间为特定时间时,在所述显示屏上显示至少一个与所述特定时间对应的原子服务的控件;所述至少一个与所述特定时间对应的原子服务是基于统计过去一段时间内每次到达所述特定时间时用户使用所述电子设备中的各个服务的情况确定的;Alternatively, when the current time is a specific time, the electronic device displays at least one control of an atomic service corresponding to the specific time on the display screen; the at least one atomic service corresponding to the specific time is based on It is determined by counting the user's use of each service in the electronic device every time the specific time is reached in the past period of time;
    其中,所述原子服务指符合用户意图的服务。Wherein, the atomic service refers to a service that meets the user's intention.
  2. 如权利要求1所述的方法,其特征在于,所述至少一个与所述特定场景对应的原子服务是基于统计过去一段时间内每次到达所述特定场景时用户使用所述电子设备中的各个服务的情况确定的,包括:The method according to claim 1, wherein the at least one atomic service corresponding to the specific scene is based on statistics that each time a user arrives at the specific scene in the past period of time uses each of the electronic devices The service status is determined, including:
    所述至少一个与所述特定场景对应的原子服务是基于统计过去一段时间内每次到达所述特定场景时,用户使用所述电子设备中的各个服务时获取的用户信息、事件信息和电子设备的传感器采集的信息,确定出用户意图,以及结合所述用户意图在所述各个服务中确定出来的;或者The at least one atomic service corresponding to the specific scene is based on statistics of user information, event information, and electronic equipment obtained when the user uses each service in the electronic device every time the user arrives at the specific scene in the past period of time The information collected by the sensor of the user, the user's intention is determined, and the user's intention is determined in each of the services; or
    所述至少一个与所述特定时间对应的原子服务是基于统计过去一段时间内每次到达所述特定时间时用户使用所述电子设备中的各个服务的情况确定的,包括:The at least one atomic service corresponding to the specific time is determined based on statistics of the user's use of each service in the electronic device each time the specific time arrives in the past period of time, including:
    所述至少一个与所述特定时间对应的原子服务是基于统计过去一段时间内每次到达所述特定时间时,用户使用所述电子设备中的各个服务时获取的用户信息、事件信息和电子设备的传感器采集的信息,确定出用户意图,以及结合所述用户意图在所述各个服务中确定出来的。The at least one atomic service corresponding to the specific time is based on statistics of user information, event information, and electronic equipment obtained when the user uses each service in the electronic device each time the specific time is reached in the past period of time The information collected by the sensor determines the user's intention, and the user's intention is determined in the various services in combination with the user's intention.
  3. 如权利要求1或2所述的方法,其特征在于,所述电子设备在所述显示屏上显示至少一个原子服务的控件,包括:The method according to claim 1 or 2, wherein the electronic device displaying at least one atomic service control on the display screen comprises:
    所述电子设备在所述显示屏上显示主导性服务对应的控件以及非主导性服务对应的控件;或者The electronic device displays the controls corresponding to the dominant service and the controls corresponding to the non-dominant service on the display screen; or
    所述电子设备在所述显示屏上显示均为非主导性服务分别对应的多个控件;The electronic device displays a plurality of controls respectively corresponding to non-dominant services on the display screen;
    其中,所述主导性服务的置信度大于所述非主导性服务的置信度的设定倍数;任意两个非主导性服务的置信度差值均小于设定阈值;Wherein, the confidence of the dominant service is greater than a set multiple of the confidence of the non-dominant service; the confidence difference between any two non-dominant services is less than a set threshold;
    所述置信度根据服务被使用的频次确定,服务被使用的频次越高,对应的置信度越大。The confidence is determined according to the frequency with which the service is used. The higher the frequency with which the service is used, the greater the corresponding confidence.
  4. 如权利要求3所述的方法,其特征在于,所述电子设备在所述显示屏上显示主导性服务对应的控件以及非主导性服务对应控件,包括:The method of claim 3, wherein the electronic device displaying the control corresponding to the dominant service and the control corresponding to the non-dominant service on the display screen comprises:
    所述电子设备在所述显示屏上以第一显示方式显示所述主导性服务对应的控件,以及以第二显示方式显示所述非主导性服务对应的控件;The electronic device displays the control corresponding to the dominant service in a first display mode on the display screen, and displays the control corresponding to the non-dominant service in a second display mode;
    其中,所述第一显示方式的显示效果较所述第二显示方式的显示效果显著。Wherein, the display effect of the first display mode is more significant than the display effect of the second display mode.
  5. 如权利要求4所述的方法,其特征在于,所述第一显示方式和所述第二显示方式包括下述情况中至少一种情况:The method according to claim 4, wherein the first display mode and the second display mode include at least one of the following situations:
    所述第一显示方式显示的控件尺寸大于所述第二显示方式显示的控件尺寸;或者The size of the control displayed in the first display mode is larger than the size of the control displayed in the second display mode; or
    所述第一显示方式显示的控件颜色相对所述第二显示方式显示的控件颜色显著;或者The color of the control displayed in the first display mode is more prominent than the color of the control displayed in the second display mode; or
    所述第一显示方式显示的控件为闪烁控件,所述第二显示方式显示的控件为非闪烁控件。The control displayed in the first display mode is a blinking control, and the control displayed in the second display mode is a non-blinking control.
  6. 如权利要求3所述的方法,其特征在于,所述电子设备在所述显示屏上显示均为非主导性服务分别对应的多个控件,包括:The method according to claim 3, wherein the electronic device displaying a plurality of controls corresponding to non-dominant services on the display screen, comprising:
    所述电子设备在所述显示屏上对所述非主导性服务分别对应的多个控件进行并列或并排显示。The electronic device displays a plurality of controls corresponding to the non-dominant service in parallel or side by side on the display screen.
  7. 如权利要求1-6任一项所述的方法,其特征在于,所述原子服务的控件为胶囊型控件或者卡片型控件。The method according to any one of claims 1-6, wherein the control of the atomic service is a capsule control or a card control.
  8. 如权利要求1-7任一项所述的方法,其特征在于,所述特定时间为每天内的特定时间、每周内的特定时间、或者其他设定时长内的特定时间。The method according to any one of claims 1-7, wherein the specific time is a specific time within a day, a specific time within a week, or a specific time within a set time period.
  9. 一种电子设备,其特征在于,包括显示屏、存储器和处理器,其中:An electronic device, which is characterized by comprising a display screen, a memory and a processor, wherein:
    所述显示屏,用于显示原子服务,所述原子服务指符合用户意图的服务;The display screen is used to display atomic services, and the atomic services refer to services that meet the user's intention;
    所述存储器,用于存储计算机程序指令;The memory is used to store computer program instructions;
    所述处理器,用于调用所述存储器中的计算机程序指令,执行:The processor is configured to call computer program instructions in the memory to execute:
    确定当前场景是否为特定场景,或确定当前时间是否为特定时间;Determine whether the current scene is a specific scene, or determine whether the current time is a specific time;
    在当前场景为特定场景时,控制在所述显示屏上显示至少一个与所述特定场景对应的原子服务的控件;所述至少一个与所述特定场景对应的原子服务是基于统计过去一段时间内每次到达所述特定场景时用户使用所述电子设备中的各个服务的情况确定的;When the current scene is a specific scene, control to display on the display at least one control of the atomic service corresponding to the specific scene; the at least one atomic service corresponding to the specific scene is based on statistics in the past period of time It is determined that the user uses each service in the electronic device every time the user arrives in the specific scene;
    或者,在当前时间为特定时间时,控制在所述显示屏上显示至少一个与所述特定时间对应的原子服务的控件;所述至少一个与所述特定时间对应的原子服务是基于统计过去一段时间内每次到达所述特定时间时用户使用所述电子设备中的各个服务的情况确定的。Or, when the current time is a specific time, control to display on the display at least one control of the atomic service corresponding to the specific time; the at least one atomic service corresponding to the specific time is based on statistics of the past period The user's use of each service in the electronic device is determined every time the specific time is reached within the time.
  10. 如权利要求9所述的电子设备,其特征在于,所述至少一个与所述特定场景对应的原子服务是基于统计过去一段时间内每次到达所述特定场景时用户使用所述电子设备中的各个服务的情况确定的,包括:The electronic device according to claim 9, wherein the at least one atomic service corresponding to the specific scene is based on statistics of each time the user arrives at the specific scene within a period of time in the past. The status of each service is determined, including:
    所述至少一个与所述特定场景对应的原子服务是基于统计过去一段时间内每次到达所述特定场景时,用户使用所述电子设备中的各个服务时获取的用户信息、事件信息和电子设备的传感器采集的信息,确定出用户意图,以及结合所述用户意图在所述各个服务中确定出来的;或者The at least one atomic service corresponding to the specific scene is based on statistics of user information, event information, and electronic equipment obtained when the user uses each service in the electronic device every time the user arrives at the specific scene in the past period of time The information collected by the sensor of the user, the user's intention is determined, and the user's intention is determined in each of the services; or
    所述至少一个与所述特定时间对应的原子服务是基于统计过去一段时间内每次到达所述特定时间时用户使用所述电子设备中的各个服务的情况确定的,包括:The at least one atomic service corresponding to the specific time is determined based on statistics of the user's use of each service in the electronic device each time the specific time arrives in the past period of time, including:
    所述至少一个与所述特定时间对应的原子服务是基于统计过去一段时间内每次到达所述特定时间时,用户使用所述电子设备中的各个服务时获取的用户信息、事件信息和电子设备的传感器采集的信息,确定出用户意图,以及结合所述用户意图在所述各个服务中确定出来的。The at least one atomic service corresponding to the specific time is based on statistics of user information, event information, and electronic equipment obtained when the user uses each service in the electronic device each time the specific time is reached in the past period of time The information collected by the sensor determines the user's intention, and the user's intention is determined in the various services in combination with the user's intention.
  11. 如权利要求9或10所述的电子设备,其特征在于,所述处理器,在控制在所述显示屏上显示至少一个原子服务的控件时,具体用于:The electronic device according to claim 9 or 10, wherein the processor is specifically configured to: when controlling the display of at least one atomic service control on the display screen:
    控制在所述显示屏上显示主导性服务对应的控件以及非主导性服务对应的控件;或者Controlling to display the controls corresponding to the dominant service and the controls corresponding to the non-dominant service on the display screen; or
    控制在所述显示屏上显示均为非主导性服务分别对应的多个控件;Control to display a plurality of controls respectively corresponding to non-dominant services on the display screen;
    其中,所述主导性服务的置信度大于所述非主导性服务的置信度的设定倍数;任意两个非主导性服务的置信度差值均小于设定阈值;Wherein, the confidence of the dominant service is greater than a set multiple of the confidence of the non-dominant service; the confidence difference between any two non-dominant services is less than a set threshold;
    所述置信度根据服务被使用的频次确定,服务被使用的频次越高,对应的置信度越大。The confidence is determined according to the frequency with which the service is used. The higher the frequency with which the service is used, the greater the corresponding confidence.
  12. 如权利要求11所述的电子设备,其特征在于,所述处理器,在控制在所述显示屏上显示主导性服务对应的控件以及非主导性服务对应控件时,具体用于:11. The electronic device according to claim 11, wherein the processor is specifically configured to: when controlling to display the control corresponding to the dominant service and the control corresponding to the non-dominant service on the display screen:
    控制在所述显示屏上以第一显示方式显示所述主导性服务对应的控件,以及以第二显示方式显示所述非主导性服务对应的控件;Controlling to display the control corresponding to the dominant service in a first display mode on the display screen, and display the control corresponding to the non-dominant service in a second display mode;
    其中,所述第一显示方式的显示效果较所述第二显示方式的显示效果显著。Wherein, the display effect of the first display mode is more significant than the display effect of the second display mode.
  13. 如权利要求12所述的电子设备,其特征在于,所述第一显示方式和所述第二显示方式包括下述情况中至少一种情况:The electronic device according to claim 12, wherein the first display mode and the second display mode include at least one of the following situations:
    所述第一显示方式显示的控件尺寸大于所述第二显示方式显示的控件尺寸;或者The size of the control displayed in the first display mode is larger than the size of the control displayed in the second display mode; or
    所述第一显示方式显示的控件颜色相对所述第二显示方式显示的控件颜色显著;或者The color of the control displayed in the first display mode is more prominent than the color of the control displayed in the second display mode; or
    所述第一显示方式显示的控件为闪烁控件,所述第二显示方式显示的控件为非闪烁控件。The control displayed in the first display mode is a blinking control, and the control displayed in the second display mode is a non-blinking control.
  14. 如权利要求11所述的电子设备,其特征在于,所述处理器,在控制在所述显示屏上显示均为非主导性服务分别对应的多个控件时,具体用于:11. The electronic device according to claim 11, wherein the processor is specifically configured to: when controlling to display a plurality of controls corresponding to non-dominant services on the display screen:
    控制在所述显示屏上对所述非主导性服务分别对应的多个控件进行并列或并排显示。Controlling the multiple controls corresponding to the non-dominant services to be displayed side by side or side by side on the display screen.
  15. 如权利要求9-14任一项所述的电子设备,其特征在于,所述原子服务的控件为胶囊型控件或者卡片型控件。The electronic device according to any one of claims 9-14, wherein the control of the atomic service is a capsule control or a card control.
  16. 如权利要求9-15任一项所述的电子设备,其特征在于,所述特定时间为每天内的特定时间、每周内的特定时间、或者其他设定时长内的特定时间。15. The electronic device according to any one of claims 9-15, wherein the specific time is a specific time within a day, a specific time within a week, or a specific time within a set time period.
  17. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括计算机程序,当计算机程序在电子设备上运行时,使得所述电子设备执行如权利要求1至8任一所述的方法。A computer-readable storage medium, wherein the computer-readable storage medium includes a computer program, and when the computer program runs on an electronic device, the electronic device is caused to execute any one of claims 1 to 8. method.
  18. 一种程序产品,其特征在于,包括指令,当所述指令在计算机上运行时,使得所述计算机执行如权利要求1-8任一项所述的方法。A program product, characterized by comprising instructions, which when run on a computer, causes the computer to execute the method according to any one of claims 1-8.
PCT/CN2020/113603 2019-09-23 2020-09-04 Method and device for presenting atomic service WO2021057452A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910898549.X 2019-09-23
CN201910898549.XA CN110855826A (en) 2019-09-23 2019-09-23 Atomic service presentation method and device

Publications (1)

Publication Number Publication Date
WO2021057452A1 true WO2021057452A1 (en) 2021-04-01

Family

ID=69596035

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/113603 WO2021057452A1 (en) 2019-09-23 2020-09-04 Method and device for presenting atomic service

Country Status (2)

Country Link
CN (1) CN110855826A (en)
WO (1) WO2021057452A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115766760A (en) * 2022-08-31 2023-03-07 成都赛力斯科技有限公司 Automobile E/E architecture and signal transmission method

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110855826A (en) * 2019-09-23 2020-02-28 华为技术有限公司 Atomic service presentation method and device
CN113609399A (en) * 2021-05-31 2021-11-05 华为技术有限公司 Service recommendation method and device
CN115016713B (en) * 2021-11-30 2023-11-24 荣耀终端有限公司 Travel event subscription method and electronic equipment
CN116088978B (en) * 2022-05-30 2024-03-26 荣耀终端有限公司 Method and device for presenting atomic service
CN117698618A (en) * 2022-09-05 2024-03-15 华为技术有限公司 Scene display method and electronic equipment
CN116719494A (en) * 2022-09-27 2023-09-08 荣耀终端有限公司 Multi-service display method, electronic device and storage medium
CN117131240B (en) * 2023-02-10 2024-06-04 荣耀终端有限公司 Service recommendation method, electronic device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170286174A1 (en) * 2015-05-22 2017-10-05 Tencent Technology (Shenzhen) Company Limited Terminal application process management method and apparatus
CN108279948A (en) * 2018-01-09 2018-07-13 维沃移动通信有限公司 A kind of application program launching method and mobile terminal
CN109634488A (en) * 2018-12-24 2019-04-16 上海碳蓝网络科技有限公司 A kind of method and apparatus using entrance preferentially applied for rendering
CN110138959A (en) * 2019-04-10 2019-08-16 华为技术有限公司 Show the method and electronic equipment of the prompt of human-computer interaction instruction
CN110855826A (en) * 2019-09-23 2020-02-28 华为技术有限公司 Atomic service presentation method and device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013180751A1 (en) * 2012-05-31 2013-12-05 Doat Media Ltd. Method for dynamically displaying a personalized home screen on a device
CN106708820B (en) * 2015-07-20 2021-01-01 斑马智行网络(香港)有限公司 Information display method and device
CN105955618B (en) * 2016-04-29 2019-07-05 北京小米移动软件有限公司 Information display method and device
CN107256120A (en) * 2017-06-05 2017-10-17 努比亚技术有限公司 Method for changing scenes, terminal and computer-readable recording medium
CN108182626B (en) * 2017-12-28 2022-03-18 努比亚技术有限公司 Service pushing method, information acquisition terminal and computer readable storage medium
CN108319675A (en) * 2018-01-29 2018-07-24 出门问问信息科技有限公司 Information displaying method, device, electronic equipment and computer storage media
CN108733274A (en) * 2018-04-25 2018-11-02 维沃移动通信有限公司 A kind of icon display method and terminal device
CN108762867A (en) * 2018-05-18 2018-11-06 麒麟合盛网络技术股份有限公司 Suspension menu setting method and device
CN109067990B (en) * 2018-08-20 2021-01-08 麒麟合盛网络技术股份有限公司 Application service execution method and device
CN110134301A (en) * 2019-04-08 2019-08-16 努比亚技术有限公司 A kind of application function operating method, terminal and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170286174A1 (en) * 2015-05-22 2017-10-05 Tencent Technology (Shenzhen) Company Limited Terminal application process management method and apparatus
CN108279948A (en) * 2018-01-09 2018-07-13 维沃移动通信有限公司 A kind of application program launching method and mobile terminal
CN109634488A (en) * 2018-12-24 2019-04-16 上海碳蓝网络科技有限公司 A kind of method and apparatus using entrance preferentially applied for rendering
CN110138959A (en) * 2019-04-10 2019-08-16 华为技术有限公司 Show the method and electronic equipment of the prompt of human-computer interaction instruction
CN110855826A (en) * 2019-09-23 2020-02-28 华为技术有限公司 Atomic service presentation method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115766760A (en) * 2022-08-31 2023-03-07 成都赛力斯科技有限公司 Automobile E/E architecture and signal transmission method

Also Published As

Publication number Publication date
CN110855826A (en) 2020-02-28

Similar Documents

Publication Publication Date Title
WO2021057452A1 (en) Method and device for presenting atomic service
AU2019385366B2 (en) Voice control method and electronic device
CN109889630B (en) Display method and related device
CN110114747B (en) Notification processing method and electronic equipment
CN110138959B (en) Method for displaying prompt of human-computer interaction instruction and electronic equipment
CN111543042B (en) Notification message processing method and electronic equipment
CN110910872A (en) Voice interaction method and device
US20220358089A1 (en) Learning-Based Keyword Search Method and Electronic Device
CN111602108B (en) Application icon display method and terminal
WO2021175272A1 (en) Method for displaying application information and related device
CN112615947B (en) Method for rapidly entering application and folding screen electronic equipment
CN114527901A (en) File dragging method and electronic equipment
CN111835904A (en) Method for starting application based on context awareness and user portrait and electronic equipment
WO2022088964A1 (en) Control method and apparatus for electronic device
WO2021042881A1 (en) Message notification method and electronic device
CN114911400A (en) Method for sharing pictures and electronic equipment
CN114064160A (en) Application icon layout method and related device
CN113438366A (en) Information notification interaction method, electronic device and storage medium
US20220291832A1 (en) Screen Display Method and Electronic Device
WO2022222688A1 (en) Window control method and device
CN110191223B (en) Method for adding mail contact and electronic equipment
CN112286596A (en) Message display method and electronic equipment
CN117215446B (en) Display method and electronic equipment
WO2024120296A1 (en) Display method for thematic content, and electronic device
CN117762281A (en) Method for managing service card and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20869255

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20869255

Country of ref document: EP

Kind code of ref document: A1