CN110855826A - Atomic service presentation method and device - Google Patents
Atomic service presentation method and device Download PDFInfo
- Publication number
- CN110855826A CN110855826A CN201910898549.XA CN201910898549A CN110855826A CN 110855826 A CN110855826 A CN 110855826A CN 201910898549 A CN201910898549 A CN 201910898549A CN 110855826 A CN110855826 A CN 110855826A
- Authority
- CN
- China
- Prior art keywords
- service
- electronic device
- time
- user
- atomic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User 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/72436—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72469—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/22—Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector
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 apparatus for presenting atomic services, so that an electronic device can flexibly present a service matching a user's intention. The method is as follows: 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 on the display screen at least one control of an atomic service corresponding to the specific scene; At least one atomic service corresponding to a specific scene is determined based on statistics of the user's use of various services in the electronic device every time the user arrives at a specific scene in the past period of time; or, when the current time is a specific time, the electronic device will At least one atomic service corresponding to a specific time is displayed on the control; the at least one atomic service corresponding to a specific time is determined based on statistics of the user's use of various services in the electronic device every time the specific time is reached in the past period of time; wherein , an atomic service refers to a service that conforms to the user's intent.
Description
技术领域technical field
本申请涉及电子技术领域,尤其涉及一种原子服务的呈现方法及装置。The present application relates to the field of electronic technologies, and in particular, to a method and apparatus for presenting atomic services.
背景技术Background technique
随着人工智能技术的不断发展,终端设备可以实现根据用户意图在交互界面上呈现相应地服务或服务入口,以免去用户自行在应用程序中查找对应功能的复杂操作过程,从而呈现匹配用户意图的界面。With the continuous development of artificial intelligence technology, terminal devices can present corresponding services or service portals on the interactive interface according to the user's intention, so as to avoid the complicated operation process of finding the corresponding function in the application by the user, so as to present the corresponding service or service entry that matches the user's intention. interface.
目前通常使用的方法是,使用语音交互技术,用户通过语音助手向终端设备主动输入语音命令而快速查找到相应服务或者服务入口,从而使用户获取到符合自身意图的服务。At present, the commonly used method is to use the voice interaction technology. The user actively inputs voice commands to the terminal device through the voice assistant to quickly find the corresponding service or service entry, so that the user can obtain services that meet their own intentions.
但是在上述方法中,最后呈现给用户的单一服务是基于终端设备识别到用户的语音命令后得出的,因此这就需要用户必须先唤醒终端设备的语音助手,这会导致在一些无语音交互使用经验的用户群体中使用率不高。另外,在某些对环境声音有较高要求的场景(如安静的图书馆)、声音条件较为复杂的场景(如公共交)或对某些语音命令的内容有隐私保护需求的场景中,上述方法并不能很好地实现。并且,目前自然语音的识别准确率仍然存在较大的提升空间,会导致语音识别错误造成服务的呈现并不符合用户意图。However, in the above method, the single service finally presented to the user is based on the terminal device recognizing the user's voice command, so this requires the user to wake up the terminal device's voice assistant first, which will lead to some non-voice interactions The usage rate is not high among the user groups with experience. In addition, in some scenarios that have higher requirements for ambient sound (such as a quiet library), scenes with more complex sound conditions (such as public transportation), or scenarios that require privacy protection for the content of some voice commands, the above method is not well implemented. In addition, there is still a large room for improvement in the recognition accuracy of natural speech at present, which may lead to speech recognition errors and cause the presentation of services to be inconsistent with user intentions.
发明内容SUMMARY OF THE INVENTION
本申请提供一种原子服务的呈现方法及装置,用以电子设备可以灵活呈现与用户意图匹配的服务。The present application provides a method and apparatus for presenting an atomic service, so that an electronic device can flexibly present a service matching a user's intention.
第一方面,本申请提供了一种原子服务的方法,该方法可以包括:所述电子设备确定当前场景是否为特定场景,或确定当前时间是否为特定时间;所述电子设备在当前场景为特定场景时,在所述显示屏上显示至少一个与所述特定场景对应的原子服务的控件;所述至少一个与所述特定场景对应的原子服务是基于统计过去一段时间内每次到达所述特定场景时用户使用所述电子设备中的各个服务的情况确定的;或者,所述电子设备在当前时间为特定时间时,在所述显示屏上显示至少一个与所述特定时间对应的原子服务的控件;所述至少一个与所述特定时间对应的原子服务是基于统计过去一段时间内每次到达所述特定时间时用户使用所述电子设备中的各个服务的情况确定的;其中,所述原子服务指符合用户意图的服务。In a first aspect, the present application provides a method for atomic services, the method may include: the electronic device determines whether the current scene is a specific scene, or determines whether the current time is a specific time; the electronic device is a specific time in the current scene scene, display at least one atomic service control corresponding to the specific scene on the display screen; the at least one atomic service corresponding to the specific scene It is determined by the situation of the user using each service in the electronic device in the scene; or, when the current time is a specific time, the electronic device displays on the display screen at least one atomic service corresponding to the specific time. The control; the at least one atomic service corresponding to the specific time is determined based on statistics of the situation that the user uses each service in the electronic device every time the specific time is reached in the past period of time; wherein, the atomic service A service refers to a service that conforms to the user's intent.
通过上述方法,电子设备可以灵活呈现与用户意图匹配的服务。Through the above method, the electronic device can flexibly present the service matching 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 each service in the electronic device used by the user each time the user arrives at the specific scene 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 each 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 to determine the user's intention in the respective services; or, the at least one atomic service corresponding to the specific time is based on statistics from a past period of time It is determined by the situation of the user using each service in the electronic device every time the specific time reaches the specific time, which may include: the at least one atomic service corresponding to the specific time is based on statistics of each service in the past period of time. When the specific time is reached, the user information, event information and information collected by the sensors of the electronic device are obtained when the user uses each service in the electronic device to determine the user's intention, and combine the user's intention in the various services. 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, and the specific method may be as follows: the electronic device displays the control corresponding to the dominant service and the non-dominant service on the display screen. Controls corresponding to sexual services; or, the electronic device displays on the display screen a plurality of controls corresponding to non-dominant services; 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 of the service being used, and the higher the frequency of the service being 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 controls corresponding to dominant services and controls corresponding to non-dominant services on the display screen. The specific method may be as follows: the electronic device displays the first The control corresponding to the dominant service is displayed in a display mode, and the control corresponding to the non-dominant service is displayed in a second display mode; wherein the display effect of the first display mode is higher than the display effect of the second display mode Significantly.
通过上述方法,可以将与用户意图最接近的原子服务一突出的方式推荐给用户,有利于用户快捷高效地直达服务内容。Through the above method, an atomic service that is closest to the user's intention can be recommended to the user in a prominent manner, 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 cases: the size of the controls displayed in the first display mode is larger than the size of the controls displayed in the second display mode The size of the control; or, the color of the control displayed in the first display mode is distinct from 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 controls are non-flickering controls.
通过上述方法,可以实现第一显示方式的效果较所述第二显示方式的显示效果显著。Through the above method, it can be achieved that the effect of the first display mode is more significant than that 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, and the specific method may be: Multiple controls corresponding to the 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-type control or a card-type control or the like.
在一个可能的设计中,所述特定时间为每天内的特定时间、每周内的特定时间、或者其他设定时长内的特定时间。In a possible design, the specific time is a specific time in a day, a specific time in a week, or a specific time in other set durations.
第二方面,本申请实施例还提供了一种电子设备,该电子设备具有实现上述方法实例中电子设备行为的功能。所述电子设备中可以包括相互连接的显示屏、处理器与存储器,所述处理器用于读取并执行所述存储器中存储的程序指令,执行上述第一方面中任一可能的设计中所提及的方法。In a second aspect, the embodiments of the present application further provide an electronic device, the electronic device having a function of implementing the behavior of the electronic device in the above method example. The electronic device may include a display screen, a processor, and a memory that are connected to each other, and the processor is configured to read and execute program instructions stored in the memory, and execute any of the possible designs in the first aspect above. and method.
第三方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令在被所述计算机(或电子设备)调用时用于使所述计算机(或电子设备)执行上述第一方面中任一可能的设计中所提及的方法。In a third aspect, embodiments of the present application further provide a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and the computer-executable instructions are stored by the computer (or electronic device) When invoked, the computer (or electronic device) is used to execute the method mentioned in any possible design of the first aspect.
第四方面,本申请实施例还提供了一种包含指令的机程序产品,当其在计算机上运行时,使得所述计算机执行上述第一方面中任一可能的设计中所提及的方法。In a fourth aspect, the embodiments of the present application further provide a machine program product including instructions, which, when executed on a computer, cause the computer to execute the method mentioned in any possible design of the first aspect above.
第五方面,本申请实施例还提供了一种电子设备,所述电子设备可以为芯片,所述芯片与存储器相连,用于读取并执行所述存储器中存储的程序指令,以实现上述第一方面中任一可能的设计中所提及的方法。In a fifth aspect, an embodiment of the present application further provides an electronic device, the electronic device may be a chip, the chip is connected to a memory, and is used to read and execute program instructions stored in the memory, so as to realize the above-mentioned first The method mentioned in any of the possible designs on the one hand.
附图说明Description of drawings
图1为本申请提供的一种电子设备的结构图;1 is a structural diagram of an electronic device provided by the application;
图2为本申请提供的一种电子设备的软件结构框图;Fig. 2 is a software structural block diagram of an electronic device provided by the application;
图3为本申请提供的一种原子服务的呈现示意图;FIG. 3 is a schematic presentation diagram of an atomic service provided by the present application;
图4为本申请提供的一种选择一种原子服务的流程示意图;4 is a schematic flowchart of selecting an atomic service provided by the present application;
图5为本申请提供的另一种原子服务的呈现示意图;FIG. 5 is a schematic representation of another atomic service provided by the present application;
图6为本申请提供的另一种原子服务的呈现示意图;FIG. 6 is a schematic presentation diagram of another atomic service provided by the present application;
图7为本申请提供的另一种原子服务的呈现示意图;FIG. 7 is a schematic presentation diagram of another atomic service provided by the present application;
图8为本申请提供的另一种选择一种原子服务的流程示意图;8 is another schematic flowchart of selecting an atomic service provided by this application;
图9为本申请提供的另一种原子服务的呈现示意图;FIG. 9 is a schematic presentation diagram of another atomic service provided by the present application;
图10为本申请提供的另一种选择一种原子服务的流程示意图;FIG. 10 is another schematic flowchart of selecting an atomic service provided by this application;
图11为本申请提供的一种原子服务的示意性的呈现框架;FIG. 11 is a schematic presentation framework of an atomic service provided by this application;
图12为本申请提供的另一种原子服务的示意性的呈现框架;FIG. 12 is a schematic presentation framework of another atomic service provided by this application;
图13为本申请提供的一种原子服务的呈现方法的流程示意图;13 is a schematic flowchart of a method for presenting an atomic service provided by this application;
图14为本申请提供的一种原子服务的呈现方法的流程图;14 is a flowchart of a method for presenting an atomic service provided by this application;
图15为本申请提供的另一种电子设备的结构图。FIG. 15 is a structural diagram of another electronic device provided by the application.
具体实施方式Detailed ways
本申请实施例提供一种原子服务的呈现方法及装置,用以电子设备可以灵活地在显示界面中呈现与用户意图匹配的服务。其中,本申请所述方法和装置基于同一技术构思,由于方法及装置解决问题的原理相似,因此装置与方法的实施可以相互参见,重复之处不再赘述。Embodiments of the present application provide a method and apparatus for presenting atomic services, so that an electronic device can flexibly present a service matching a user's intention in a display interface. The methods and devices described in this application are based on the same technical concept. Since the methods and devices have similar principles for solving problems, the implementations of the devices and methods can be referred to each other, and repeated descriptions will not be repeated here.
以下,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。Hereinafter, some terms in the present application will be explained so as to facilitate the understanding of those skilled in the art.
1)、用户意图,指用户为达到某种目的的一种打算,是用户设想而未付诸行动的企图或需求。1) User intent refers to a user's intention to achieve a certain purpose, which is an attempt or demand that the user envisages but does not take action.
2)、置信度,指参数估计的准确程度,即估计值与总体参数在一定允许误差内的概率。2) Confidence, which 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)、智能手表、个人计算机((personalcomputer,PC)、电视机等等。当然所述电子设备不限于上述列举的终端设备,本申请对此不作限定。4) Electronic equipment, which can be a device with a display screen capable of displaying 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 car computer, a 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, which is not limited in this application.
所述电子设备可以支持多种应用程序,如文字处理应用程序、电话应用程序、电子邮件应用程序、即时消息应用程序、照片管理应用程序、网络浏览应用程序、数字音乐播放器应用程序、数字视频播放器应用程序等等中的部分或全部应用程序。The electronic device can support a variety of applications, such as word processing applications, telephony applications, email applications, instant messaging applications, photo management applications, web browsing applications, digital music player applications, digital video Some or all of the player applications, 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, which may be referred to as an application, is a software program capable of implementing one or more specific functions. Generally, multiple applications may be installed in an electronic device, for example, instant messaging applications, video applications, audio applications, image capturing applications, and the like. Among them, instant messaging applications, for example, may include short message applications, WeChat (WeChat), WhatsApp Messenger, Line, photo sharing (instagram), Kakao Talk, DingTalk, and the like. Image capturing applications, for example, may include camera applications (system cameras or third-party camera applications). Video applications, for example, may include Youtube, Twitter, Douyin, iQiyi, Tencent Video, and so on. 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 leaves the factory, or may be applications downloaded by the user from the network or obtained from other electronic devices during the use of 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等。A method and apparatus for presenting atomic services provided by the embodiments of the present application can be applied to any electronic device with a display screen capable of presenting 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
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,控制器可以是电子设备的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。在本申请中,处理器110可以执行用于实现本申请实施例的原子服务的呈现方法的程序指令,以控制在显示屏194灵活呈现原子服务。The
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备充电,也可以用于电子设备与外围设备之间传输数据。The USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like. The USB interface 130 can be used to connect a charger to charge the electronic device, and can also be used to transmit data between the electronic device and peripheral devices.
充电管理模块140用于从充电器接收充电输入。电源管理模块141用于连接电池142,充电管理模块140与处理器110。The
电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。The
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。天线1和天线2用于发射和接收电磁波信号。电子设备中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。The wireless communication function of the electronic device 100 may be implemented by the
移动通信模块150可以提供应用在电子设备上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G etc. applied on the electronic device. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like. The mobile communication module 150 can receive electromagnetic waves from the
无线通信模块160可以提供应用在电子设备上的包括无线局域网(wirelesslocal 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
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(codedivision multiple access,CDMA),宽带码分多址(wideband code division multipleaccess,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),北斗卫星导航系统(beidounavigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellitesystem,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the
显示屏194用于显示应用、图像、视频等的显示界面等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organiclight-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flexlight-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备可以包括1个或N个显示屏194,N为大于1的正整数。在本申请中,显示屏194可以显示原子服务。The
摄像头193用于捕获静态图像或视频。在一些实施例中,摄像头193可以包括至少一个摄像头,例如一个前置摄像头和一个后置摄像头。Camera 193 is used to capture still images or video. In some embodiments, the camera 193 may include at least one camera, eg, a front-facing camera and a rear-facing camera.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,以及至少一个应用程序(例如爱奇艺应用,微信应用等)的软件代码等。存储数据区可存储电子设备100使用过程中所产生的数据(例如图像、视频等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。例如,在本申请中,内部存储器121可以存储用于实现本申请实施例的原子服务的呈现方法的程序指令,处理器110可以调用存储在内部存储器121中的程序指令,以实现控制在显示屏194上灵活的呈现原子服务。Internal memory 121 may be used to store computer executable program code, which includes instructions. The
外部存储器接口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
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 may implement audio functions through an
其中,传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。The
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The ambient
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。The
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。The
按键190可以包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现与电子设备100的接触和分离。The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
可以理解的是,本申请实施例图1示意的结构并不构成对电子设备100的具体限定。在一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure shown in FIG. 1 in 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 some components may be combined, or some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
以安卓(Android)系统为例,图2示出了本申请实施例提供的电子设备的软件结构框图。基于Android系统,电子设备的软件结构可以是分层架构,分层架构可将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层(framework,FWK),安卓运行时(Android runtime)和系统库,以及内核层。Taking an Android (Android) system as an example, FIG. 2 shows a software structural block diagram of an electronic device provided by 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, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer (framework, FWK), an Android runtime (Android runtime) and a system library, and a kernel layer.
应用程序层可以包括一系列应用程序包。如图2所示,应用程序层可以包括相机、设置、皮肤模块、用户界面(user interface,UI)、三方应用程序等。其中,三方应用程序可以包括微信、QQ、图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等。The application layer can include a series of application packages. As shown in FIG. 2, the application layer may include cameras, settings, skin modules, user interface (UI), third-party applications, and the like. Among them, the three-party applications can include WeChat, QQ, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and so on.
应用程序框架层为应用程序层的应用程序提供应用编程接口(applicationprogramming interface,API)和编程框架。应用程序框架层可以包括一些预先定义的函数。如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for the applications of the application layer. The application framework layer can include some predefined functions. As shown in Figure 2, the application framework layer may include window managers, content providers, view systems, telephony managers, resource managers, notification managers, and the like. A window manager is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc. Content providers are used to store and retrieve data and make these data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc. The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications. A display interface can consist of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures. The phone manager is used to provide the communication function of the electronic device 100 . For example, the management of call status (including connecting, hanging up, etc.). The resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on. The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
系统库包括安卓运行时Android runtime,Android runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The system library includes the Android runtime Android runtime, and the Android runtime includes the core library and the virtual machine. The Android runtime is responsible for the scheduling and management of the Android system. The core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android. The application layer and the application framework layer run in virtual machines. 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 lifecycle management, stack management, thread management, safety 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 (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc. The Surface Manager is used to manage the display subsystem and provides a fusion 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 implement 3D graphics drawing, image rendering, compositing, and layer processing. 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 drivers, camera drivers, audio drivers, and sensor drivers. Exemplarily, after the display driver is called, the display driver displays a corresponding interface on the display screen.
硬件层可以包括各类传感器,例如加速度传感器、陀螺仪传感器、触摸传感器等。The hardware layer may include various types of sensors, such as acceleration sensors, gyroscope sensors, touch sensors, and so on.
下面以应用在电子设备100为例对本申请实施例提供的原子服务的呈现方法进行详细说明。The method for presenting the atomic service provided by the embodiment of the present application will be described in detail below by taking the application in the electronic device 100 as an example.
在本申请的一个实施例中,在电子设备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 a scenario where the electronic device 100 is connected to the vehicle-mounted 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 194 only displays a capsule control containing one operation, which can appear on top of other pages in a suspended state. For example, a capsule control for enabling the driving mode is displayed on the lock screen interface, such as shown in (a) in Figure 3. If the electronic device 100 determines, according to the user's historical habits and portrait data, 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 in-vehicle Bluetooth, the electronic device 100 is connected to the in-vehicle Bluetooth , a capsule control containing three operations can be displayed on the
示例性的,图4示出了在电子设备100连接车载蓝牙的场景中用户选择一种原子服务的流程示意图。例如,在电子设备100连接车载蓝牙后,电子设备100的智能助手主动弹出提醒,即电子设备100的显示屏194上呈现了如图3中(b)所示的显示界面后,当用户选择开启驾驶模式后,电子设备100的显示屏194中的界面切换到驾驶模式界面,例如图4中的(a)所示的界面;或者,当用户选择听音乐后,电子设备100打开音乐播放器,显示屏194显示播放音乐的界面,例如图4中(b)所示。Exemplarily, FIG. 4 shows a schematic flowchart of a user selecting an atomic service in a scenario where the electronic device 100 is connected to the vehicle-mounted Bluetooth. For example, after the electronic device 100 is connected to the in-vehicle Bluetooth, the smart assistant of the electronic device 100 actively pops up a reminder, that is, after the
需要说明的是,上述图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 above 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 horizontally in (b) and (c) in FIG. 3 can be displayed in a vertical parallel display. , (b) in Figure 3 can be replaced by (a) in Figure 5, and (c) in Figure 3 can be replaced by (b) in Figure 5. Among them, the three capsule controls in (a) of FIG. 5 can also be moved to the middle position of the
应理解,上述呈现在显示屏194靠底部的显示形式也仅仅是一种示例,应理解原子服务对应的胶囊控件也可以显示在显示屏194上的任意位置,当为多原子服务呈现时,可以将多个原子服务分别对应的胶囊控件集中在显示屏194的一块区域中显示,也可以全部分散显示,或者部分集中部分分散显示,本申请此处不再一一列举。It should be understood that the above-mentioned display form presented at the bottom of the
示例性的,在上述实施例中,当电子设备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) of FIG. 3 , the atomic services may be presented in the form of sliding. For example, when the electronic device 100 also determines the viewing schedule as the atomic service, and also turns on the driving mode as the dominant service, the interface shown in (b) in FIG. 3 is first presented on the
应理解,上述图示中的胶囊控件的形状也仅仅是一种示例,胶囊控件的形状不限于此,还可以为其他形状,例如,三角形、矩形、菱形等等可以想到的能实现原子服务呈现的任何形状,本申请对此不再一一示出。It should be understood that the shape of the capsule control in the above figure is only an example, and the shape of the capsule control is not limited to this, and can also be other shapes, such as triangle, rectangle, diamond, etc. conceivable, which can realize atomic service presentation 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 the user conducts a text conversation based on the electronic device 100, such as a text message chat or a WeChat chat, if the user activates the voice assistant, performs a screenshot operation, or performs an operation of screen content recognition, etc., the electronic device 100 will recommend the atomic service based on the recognition result of the text dialogue content in the current interface, and the
示例性的,图8示出了在用户基于电子设备100进行文本对话的场景中,用户选择一种原子服务的流程示意图。例如,在用户进行了截屏操作后,电子设备100的显示屏194中呈现了如图7中(b)所示的显示界面后,当用户选择了给李华打电话的胶囊控件之后,电子设备100拨通电话,电子设备100的显示屏194中的界面切换到电话拨打界面,例如图8中的(a)所示;或者,当用户选择添加日程的胶囊控件之后,电子设备100的显示屏194中的界面切换到新建日程界面,例如图8中的(b)所示。Exemplarily, FIG. 8 shows a schematic flowchart of a 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, the
需要说明的是,图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 transformation can refer to the description of the form transformation 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 yet another embodiment, in a specific time scene, for example, in a morning scene (within a certain time period in the morning), if the electronic device 100 determines that only one atomic service for checking road conditions is available according to the user's historical habits and other data, On the
示例性的,图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
通过上述实施例,可以有效地解决只推荐单一服务与用户实际意图不匹配的问题,并且同时在存在多项原子服务推荐时,主导性服务推荐界面将较高置信度的原子服务以更明显、更突出的控件形态呈现,有利于用户快捷高效地直达服务内容,当多项服务置信度水平相当时,非主导性服务推荐界面将多个原子服务控件并列排布,有利于用户自主选择和浏览。The above embodiment can effectively solve the problem that only recommending a single service does not match the actual intention of the user, and at the same time, when there are multiple atomic service recommendations, the dominant service recommendation interface will use the atomic service with higher confidence to be more obvious, The more prominent control form is helpful for users to quickly and efficiently reach the service content. When the confidence level of multiple services is equal, the non-dominant service recommendation interface arranges multiple atomic service controls side by side, which is beneficial for users to choose and browse independently. .
基于以上实施例,可以得到呈现原子服务的一种示意性的呈现框架。例如,当原子服务为操作型时,单一(唯一)操作型控件可以在电子设备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
需要说明的是,在本申请中,仅以最多三项原子服务示出,应理解,多余三项原子服务呈现时原理相同,此处不再一一说明。It should be noted that, in this application, only a maximum of three atomic services are shown, and it should be understood that the principles of presenting more than three atomic services are the same, and will not be described one by one here.
综上实施例列举,在本申请实施例中,电子设备100确定当前场景是否为特定场景或者特定时间,在当前场景为特定场景或者当前时间为特定时间时,电子设备100可以根据用户信息、事件信息、传感器模块180中的一个或者多个传感器采集到的信息等信息判断出用户意图,进而结合用户意图在过去一段时间内每次到达所述特定场景或特定时间时用户使用所述电子设备100中的各个服务确定出用户所需的原子服务,也即确定符合用户意图的原子服务。例如,传感器采集到的信息可以包括指纹传感器180H、环境光传感器180L、触摸传感器180K等等采集到的信息等;所述用户信息可以包括电子设备100保存的用户的相关信息,如用户常用的应用的账户信息、用户画像等,这里的用户画像可以理解为电子设备通过保存的用户个人信息构建的用户的特征描述;所述事件信息可以包括电子设备100保存的用户的历史操作事件、用户当前基于电子设备100的操作事件等等。其中,所述特定场景可以为上述实施例中涉及的电子设备100连接车载蓝牙的场景、电子设备100进行文本对话的场景,还可以为其他特定场景,本申请此处不再一一列举;所述特定时间可以为上述实施例中涉及的晨间某一时间段,当然,所述特定时间可以为每天内的特定时间、每周内的特定时间、或者其他设定时长内的特定时间等等。To sum up the examples listed above, 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 a specific time. information, information collected by one or more sensors in the
电子设备100在判断出用户意图,进而确定出符合用户意图的原子服务后,即可以确定出以下三种参数:第一,原子服务的数量,这里原子服务可以包括电子设备100出厂时系统自带的应用中的服务以及第三方服务,其中第三方服务为用户在使用电子设备100的过程中从网络下载或其他电子设备获取的应用中的服务;原子服务的数量这里记为N,N为大于或者等于0的整数。第二,原子服务的标识,即为当前场景或时间下用户可能需要的原子服务的标识,可以记为Si,i=1,2,……N。第三,原子服务的置信度,即原子服务与用户意图的匹配概率,记为pi,i=1,2,……N,每一项原子服务的置信度需大于或等于预先定义的概率阈值p0,即pi≥p0。After 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, where the atomic service may include the electronic device 100 that comes with the system when it leaves the factory. The service in the application and the third-party service, wherein the third-party service is the service in the application downloaded by the user from the network or obtained from other electronic devices in the process of using the electronic device 100; the number of atomic services is denoted here as N, and N is greater than or an integer equal to 0. Second, the identifier of the atomic service, that is, the identifier of the atomic service that the user may need in the current scene or time, can be recorded as S i , i=1, 2, ......N. Third, the confidence 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, the confidence of each atomic service must be greater than or equal to the predefined probability Threshold p 0 , ie p i ≥ p 0 .
通常情况下,置信度根据服务被使用的频次确定,服务被使用的频次越高,对应的置信度越大。具体的,电子设备100会根据用户信息、事件信息、传感器模块180中的一个或者多个传感器采集到的信息等计算出某个原子服务的初始置信度pk,随着用户的实际使用,用户行为数据会反向校正电子设备100确定的概率值(即置信度)。例如,当系统推荐某个原子服务k之后,用户并没有使用所述原子服务k,当以上情况发生C次之后(C为预先定义的频度阈值),电子设备100即启动修正该概率值为pk’=pk-Δp1,即降低该条件下推荐该原子服务k的可能性。而当用户使用原子服务k后,电子设备100会增大该条件下推荐该原子服务k的可能性,修正过程为pk’=pk+Δp2。其中,Δp1和Δp2是预设的概率变化值,其中,可以是根据pk的大小设置的,Δp1和Δp2可以是pk的一定比例的概率值,也可以是基于其他算法或规则基于pk得到的概率值,本申请不作限定。Generally, the confidence is determined according to the frequency of the service being used, and the higher the frequency of the service being used, the higher the corresponding confidence. Specifically, the electronic device 100 will calculate the initial confidence pk of a certain atomic service according to user information, event information, information collected by one or more sensors in the
进一步地,电子设备100根据确定的原子服务的数量、原子服务的标识和原子服务的置信度,确定原子服务的可用情况,然后配置不同形态的交互控件(本申请中也可以称为服务控件,服务控件的展示形式可以为上述实施例中的胶囊控件或为卡片控件,当然还可以为其他形式的控件等),以使显示屏194显示配置的交互控件,达到呈现原子服务的目的。具体的,可以存在如下四种情况:Further, the electronic device 100 determines the availability of the atomic service according to the determined number of atomic services, the identification of the atomic service and the confidence of the atomic service, and then configures different forms of interactive controls (also referred to as service controls in this application, The display form of the service control can be the capsule control in the above-mentioned embodiment or the card control, of course, other forms of control, etc.), so that the
情况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 current display interface is still maintained on the
情况2、电子设备100确定有单一的原子服务可用,即N=1,也即只有一项可用的原子服务S1,那么电子设备100的显示屏194上以单服务控件形式出现。In case 2, the electronic device 100 determines that a single atomic service is available, ie N=1, that is, there is only one available atomic service S 1 , then the
情况3、电子设备100确定有多项原子服务可用,即N≥2,也即有多项可用的原子服务为原子服务S1,原子服务S2,……,原子服务SN,且多项原子服务中存在主导性服务,即存在一项原子服务的置信度显著大于其他任意原子服务的置信度,数学表达式即为使得pi>M*pj,其中M为预定义的常数。那么电子设备100的显示屏194呈现有主导性服务的多服务控件,也即所述电子设备100在所述显示屏194上显示主导性服务对应的控件以及非主导性服务对应的控件,具体显示方式可以参见上述实施例。其中,上述数学表达式的含义是:存在一项原子服务Si的置信度pi大于原子服务Sj的置信度pj的M倍,也即满足原子服务Si的置信度显著大于原子服务Sj的置信度,其中,原子服务Si为N项原子服务中的任一项,原子服务Sj是N项原子服务中除原子服务Si以外的任一项,此时认为原子服务Si为主导性服务,其他原子服务为非主导性原子服务。Case 3: The electronic device 100 determines that there are multiple atomic services available, that is, N≥2, that is, there are multiple atomic services available as atomic service S 1 , atomic service S 2 , . . . , atomic service S N , and multiple atomic services are available. There is a dominant service in the atomic service, that is, the confidence of an atomic service is significantly greater than that of any other atomic service, and the mathematical expression is such that p i >M*p j , where M is a predefined constant. Then the
情况4、电子设备100确定有多项原子服务可用,即N≥2,也即有多项可用的原子服务为原子服务S1,原子服务S2,……,原子服务SN,且多项原子服务中不存在主导性服务,也即均为非主导性原子服务,即任意两项原子服务的置信度之差都不大于指定的阈值,数学表达式即为都有|pi-pj|≤K,其中K为预定义的常数。那么电子设备100的显示屏194呈现无主导性服务的多服务控件,也即电子设备100在所述显示屏194上显示均为非主导性服务分别对应的多个控件,具体显示方式可以参见上述实施例。其中,上述数学表达式的含义是:N项原子服务中的原子服务Si和原子服务Sj的置信度pi和pj的差不大于设定阈值,其中原子服务Si和原子服务Sj是N向原子服务中任意两项不同的原子服务,此时,认为不存在主导性原子服务,均为非主导性原子服务。
示例性的,电子设备100的上述处理过程可以如图13所示的流程图所示。Exemplarily, the above-mentioned processing procedure of the electronic device 100 may be shown in the flowchart shown in FIG. 13 .
在具体实现时,在不同的场景下,由于原子服务的类型不相同,原子服务的呈现形态可以不相同,也即服务控件形态不同。例如,原子服务的类型为操作型时,所述原子服务可以以胶囊控件的形式呈现;又例如,原子服务的类型为内容型时,所述原子服务可以以卡片型控件的形式呈现。在申请实施例中,以上述胶囊控件和卡片型控件进行说明,但是应理解,还可以有其他形式,本申请对此不作限定。During specific implementation, in different scenarios, due to the different types of atomic services, the presentation forms of atomic services can be different, that is, the forms of service controls are different. For example, when the type of the atomic service is operational, the atomic service can be presented in the form of a capsule control; for another example, when the type of the atomic service is content, the atomic service can be presented in the form of a card-type control. In the application embodiments, 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 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. The electronic device 100 is used as an example for description. Referring to Figure 14, the specific flow 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 control of the atomic service corresponding to the specific scene on the
其中,所述至少一个与所述特定场景对应的原子服务是基于统计过去一段时间内每次到达所述特定场景时用户使用所述电子设备100中的各个服务的情况确定的;或者,所述至少一个与所述特定时间对应的原子服务是基于统计过去一段时间内每次到达所述特定时间时用户使用所述电子设备100中的各个服务的情况确定的。Wherein, the at least one atomic service corresponding to the specific scene is determined based on statistics of each service in the electronic device 100 used by the user each time the user arrives at the specific scene in the past period of time; or, the The at least one atomic service corresponding to the specific time is determined based on statistics of each service in the electronic device 100 used by the user each time the specific time is reached in the past period of time.
其中,所述原子服务指符合用户意图的服务。The atomic service refers to a service that conforms to the user's intention.
示例性的,所述特定场景可以为上述实施例中涉及的电子设备100连接车载蓝牙的场景、用户基于电子设备100进行文本对话的场景等场景,以及其他特定场景,本申请此处不再一一列举;所述特定时间可以为上述实施例中涉及的早晨某一时间段等,当然,所述特定时间可以为每天内的特定时间、每周内的特定时间、或者其他设定时长内的特定时间等等。Exemplarily, the specific scene may be the scene in which the electronic device 100 is connected to the car bluetooth involved in the above embodiment, the scene in which the user conducts a text conversation based on the electronic device 100, and other specific scenes, which are not described here in this application. An enumeration; the specific time can be a certain time period in the morning involved in the above embodiment, and of course, the specific time can be a specific time in a day, a specific time in a week, or any other set duration. specific time, etc.
在一种可选的实施方式中,所述至少一个与所述特定场景对应的原子服务是基于统计过去一段时间内每次到达所述特定场景时用户使用所述电子设备100中的各个服务的情况确定的,可以为:所述至少一个与所述特定场景对应的原子服务是基于统计过去一段时间内每次到达所述特定场景时,用户使用所述电子设备100中的各个服务时获取的用户信息、事件信息和电子设备100的传感器采集的信息,确定出用户意图,以及结合所述用户意图在所述各个服务中确定出来的。In an optional implementation manner, the at least one atomic service corresponding to the specific scene is based on statistics that 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 If the situation is determined, it may be that: the at least one atomic service corresponding to the specific scene is obtained 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 User information, event information, and information collected by sensors of the electronic device 100 are used to determine user intentions, and are determined in each of the services in combination with the user intentions.
在一种可选的实施方式中,所述至少一个与所述特定时间对应的原子服务是基于统计过去一段时间内每次到达所述特定时间时用户使用所述电子设备中的各个服务的情况确定的,可以为:所述至少一个与所述特定时间对应的原子服务是基于统计过去一段时间内每次到达所述特定时间时,用户使用所述电子设备100中的各个服务时获取的用户信息、事件信息和电子设备100的传感器采集的信息,确定出用户意图,以及结合所述用户意图在所述各个服务中确定出来的。In an optional implementation manner, the at least one atomic service corresponding to the specific time is based on statistics of each service in the electronic device used by the user each time the specific time is reached in the past period of time It can be determined as follows: the at least one atomic service corresponding to the specific time is based on statistics obtained when the user uses each service in the electronic device 100 every time the specific time is reached in the past period of time Information, event information, and information collected by sensors of the electronic device 100 are used to determine the user's intention, and are determined in the various services in combination with the user's intention.
一种示例性的实现方式中,所述电子设备100在所述显示屏194上显示至少一个原子服务的控件,具体方法可以为:所述电子设备100在所述显示屏194上显示主导性服务对应的控件以及非主导性服务对应的控件;或者,所述电子设备100在所述显示屏194上显示均为非主导性服务分别对应的多个控件;In an exemplary implementation manner, the electronic device 100 displays the control of at least one atomic service on the
其中,所述主导性服务的置信度大于所述非主导性服务的置信度的设定倍数;任意两个非主导性服务的置信度差值均小于设定阈值;所述置信度根据服务被使用的频次确定,服务被使用的频次越高,对应的置信度越大。Wherein, the confidence level of the dominant service is greater than the set multiple of the confidence level of the non-dominant service; the confidence level difference of any two non-dominant services is less than the set threshold; the confidence level is determined according to the service The frequency of use is determined. The higher the frequency of the 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 control corresponding to the dominant service and the control corresponding to the non-dominant service on the
示例性的,所述第一显示方式和所述第二显示方式包括下述情况中至少一种情况:Exemplarily, the first display manner and the second display manner include at least one of the following situations:
情况a1、所述第一显示方式显示的控件尺寸大于所述第二显示方式显示的控件尺寸。例如,上述实施例中图3中(b)、图7中的(b)、图9中的(b)示出的主导性服务对应的控件的尺寸明显大于非主导性服务对应的控件的尺寸。In case a1, the size of the widget displayed in the first display mode is larger than the size of the widget displayed in the second display mode. For example, in the above embodiment, the size of the controls corresponding to the dominant services shown in (b) in FIG. 3 , (b) in FIG. 7 , and (b) in FIG. 9 is significantly larger than the size of the controls corresponding to the non-dominant services .
情况a2、所述第一显示方式显示的控件颜色相对所述第二显示方式显示的控件颜色显著。In case a2, the color of the control displayed in the first display mode is distinct from the color of the control displayed in the second display mode.
情况a3、所述第一显示方式显示的控件为闪烁控件,所述第二显示方式显示的控件为非闪烁控件。In case a3, the controls displayed in the first display mode are flickering controls, and the controls displayed in the second display mode are non-flickering controls.
需要说明的是,除了上述三种情况外,所述第一显示方式和所述第二显示方式还可以有多种其他情况,本申请此处不再一一列举。It should be noted that, in addition to the above three situations, the first display manner and the second display manner may also have various other conditions, which will not be listed one by one 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
示例性的,所述原子服务的控件为胶囊型控件或者卡片型控件,具体可以上述实施例中涉及的描述,此处不再详细描述。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 embodiments, and will not be described in detail here.
采用本申请实施例提供的原子服务的呈现方法,无需通过语音助手向电子设备主动输入语音命令查找相应服务,可以实现电子设备灵活地在显示界面中显示与用户意图匹配的原子服务。With the atomic service presentation method provided by the embodiment of the present application, it is not necessary to actively input voice commands to the electronic device through the voice assistant to find the corresponding service, and the electronic device can flexibly display the atomic service matching the user's intention in the display interface.
基于以上实施例,本申请还提供了一种电子设备,所述电子设备用于实现上述实施例中涉及的原子服务的呈现方法。参阅图15所示,所述电子设备1500可以包括:显示屏1501、处理器1502和存储器1503,其中:所述处理器1502可以是中央处理器(centralprocessing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合等等。所述处理器1502还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmablelogic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complexprogrammable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gatearray,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。所述处理器1502在实现上述功能时,可以通过硬件实现,当然也可以通过硬件执行相应的软件实现。Based on the above embodiments, the present application further provides an electronic device, where the electronic device is used to implement the method for presenting atomic services involved in the above embodiments. 15, the
所述显示屏1501、所述处理器1502和所述存储器1503之间相互连接。可选的,所述显示屏1501、所述处理器1502和所述存储器1503通过总线1504相互连接;所述总线1504可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图15中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The
所述存储器1503,与所述处理器1502耦合,用于存放所述电子设备1500必要的程序等。例如,程序可以包括程序代码,该程序代码包括计算机操作指令。所述存储器1503可能包括RAM,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。所述处理器1502执行所述存储器1503所存放的应用程序,实现所述电子设备1500的功能。The
具体的,为描述的方便和简洁,上述描述的图15所示的电子设备1500在实施本申请实施例提供的原子服务的呈现方法时,可以参考前述方法实施例中的对应过程,在此不再赘述。电子设备1500的更为详尽的结构和功能可以参照前述图1所示的实施例中的对电子设备的详细描述。Specifically, for the convenience and brevity of the description, when the
基于以上实施例,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,所述计算机程序被计算机执行时,使得所述计算机执行以上各个方法实施例。Based on the above embodiments, the present application further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a computer, the computer causes the computer to execute the above method embodiments .
本申请实施例中还提供一种计算机程序产品,包括指令,当其在计算机上运行时,使得计算机执行以上各个方法实施例。Embodiments of the present application also provide a computer program product, including instructions, which, when executed on a computer, cause the computer to execute the above method embodiments.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
显然,本领域的技术人员可以对本申请实施例进行各种改动和变型而不脱离本申请实施例的范围。这样,倘若本申请实施例的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。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. Thus, 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 equivalents, the present application is also intended to include these modifications and variations.
Claims (18)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910898549.XA CN110855826A (en) | 2019-09-23 | 2019-09-23 | Atomic service presentation method and device |
PCT/CN2020/113603 WO2021057452A1 (en) | 2019-09-23 | 2020-09-04 | Method and device for presenting atomic service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910898549.XA CN110855826A (en) | 2019-09-23 | 2019-09-23 | Atomic service presentation method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110855826A true CN110855826A (en) | 2020-02-28 |
Family
ID=69596035
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910898549.XA Pending CN110855826A (en) | 2019-09-23 | 2019-09-23 | Atomic service presentation method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110855826A (en) |
WO (1) | WO2021057452A1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021057452A1 (en) * | 2019-09-23 | 2021-04-01 | 华为技术有限公司 | Method and device for presenting atomic service |
CN115016713A (en) * | 2021-11-30 | 2022-09-06 | 荣耀终端有限公司 | Travel event subscription method and electronic equipment |
WO2022252779A1 (en) * | 2021-05-31 | 2022-12-08 | 华为技术有限公司 | Service recommendation method and device |
US20230048330A1 (en) * | 2020-04-29 | 2023-02-16 | Huawei Technologies Co., Ltd. | In-Vehicle Speech Interaction Method and Device |
CN116088978A (en) * | 2022-05-30 | 2023-05-09 | 荣耀终端有限公司 | Presentation method and device of atomic service |
CN116719494A (en) * | 2022-09-27 | 2023-09-08 | 荣耀终端有限公司 | Multi-service display method, electronic device and storage medium |
CN117131240A (en) * | 2023-02-10 | 2023-11-28 | 荣耀终端有限公司 | Service recommendation method, electronic device and computer readable storage medium |
WO2024051569A1 (en) * | 2022-09-05 | 2024-03-14 | 华为技术有限公司 | Scene display method and electronic device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115766760A (en) * | 2022-08-31 | 2023-03-07 | 成都赛力斯科技有限公司 | Automobile E/E architecture and signal transmission method |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103608759A (en) * | 2012-05-31 | 2014-02-26 | 都特媒体有限公司 | Method for dynamically displaying personalized home screen on device |
CN105955618A (en) * | 2016-04-29 | 2016-09-21 | 北京小米移动软件有限公司 | Information display method and device |
WO2017012481A1 (en) * | 2015-07-20 | 2017-01-26 | 阿里巴巴集团控股有限公司 | Information display method and apparatus |
CN107256120A (en) * | 2017-06-05 | 2017-10-17 | 努比亚技术有限公司 | Method for changing scenes, terminal and computer-readable recording medium |
CN108182626A (en) * | 2017-12-28 | 2018-06-19 | 努比亚技术有限公司 | Service push 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 |
CN109067990A (en) * | 2018-08-20 | 2018-12-21 | 麒麟合盛网络技术股份有限公司 | A kind of application service execution method and device |
CN110138959A (en) * | 2019-04-10 | 2019-08-16 | 华为技术有限公司 | Show the method and electronic equipment of the prompt of human-computer interaction instruction |
CN110134301A (en) * | 2019-04-08 | 2019-08-16 | 努比亚技术有限公司 | A kind of application function operating method, terminal and computer readable storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106293901B (en) * | 2015-05-22 | 2020-06-02 | 腾讯科技(深圳)有限公司 | Process management method and device for terminal application |
CN108279948B (en) * | 2018-01-09 | 2021-07-09 | 维沃移动通信有限公司 | Application program starting method and mobile terminal |
CN109634488A (en) * | 2018-12-24 | 2019-04-16 | 上海碳蓝网络科技有限公司 | A kind of method and apparatus using entrance preferentially applied for rendering |
CN110855826A (en) * | 2019-09-23 | 2020-02-28 | 华为技术有限公司 | Atomic service presentation method and device |
-
2019
- 2019-09-23 CN CN201910898549.XA patent/CN110855826A/en active Pending
-
2020
- 2020-09-04 WO PCT/CN2020/113603 patent/WO2021057452A1/en active Application Filing
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103608759A (en) * | 2012-05-31 | 2014-02-26 | 都特媒体有限公司 | Method for dynamically displaying personalized home screen on device |
WO2017012481A1 (en) * | 2015-07-20 | 2017-01-26 | 阿里巴巴集团控股有限公司 | Information display method and apparatus |
CN105955618A (en) * | 2016-04-29 | 2016-09-21 | 北京小米移动软件有限公司 | Information display method and device |
CN107256120A (en) * | 2017-06-05 | 2017-10-17 | 努比亚技术有限公司 | Method for changing scenes, terminal and computer-readable recording medium |
CN108182626A (en) * | 2017-12-28 | 2018-06-19 | 努比亚技术有限公司 | Service push 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 |
CN109067990A (en) * | 2018-08-20 | 2018-12-21 | 麒麟合盛网络技术股份有限公司 | A kind of 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 |
CN110138959A (en) * | 2019-04-10 | 2019-08-16 | 华为技术有限公司 | Show the method and electronic equipment of the prompt of human-computer interaction instruction |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021057452A1 (en) * | 2019-09-23 | 2021-04-01 | 华为技术有限公司 | Method and device for presenting atomic service |
US20230048330A1 (en) * | 2020-04-29 | 2023-02-16 | Huawei Technologies Co., Ltd. | In-Vehicle Speech Interaction Method and Device |
WO2022252779A1 (en) * | 2021-05-31 | 2022-12-08 | 华为技术有限公司 | Service recommendation method and device |
CN115016713A (en) * | 2021-11-30 | 2022-09-06 | 荣耀终端有限公司 | Travel event subscription method and electronic equipment |
CN115016713B (en) * | 2021-11-30 | 2023-11-24 | 荣耀终端有限公司 | Travel event subscription method and electronic equipment |
CN116088978A (en) * | 2022-05-30 | 2023-05-09 | 荣耀终端有限公司 | Presentation method and device of atomic service |
CN116088978B (en) * | 2022-05-30 | 2024-03-26 | 荣耀终端有限公司 | Method and device for presenting atomic service |
WO2024051569A1 (en) * | 2022-09-05 | 2024-03-14 | 华为技术有限公司 | Scene display method and electronic device |
CN116719494A (en) * | 2022-09-27 | 2023-09-08 | 荣耀终端有限公司 | Multi-service display method, electronic device and storage medium |
CN117131240A (en) * | 2023-02-10 | 2023-11-28 | 荣耀终端有限公司 | Service recommendation method, electronic device and computer readable storage medium |
CN117131240B (en) * | 2023-02-10 | 2024-06-04 | 荣耀终端有限公司 | Service recommendation method, electronic device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2021057452A1 (en) | 2021-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2019385366B2 (en) | Voice control method and electronic device | |
US11567623B2 (en) | Displaying interfaces in different display areas based on activities | |
WO2021057452A1 (en) | Method and device for presenting atomic service | |
CN113542485B (en) | Notification processing method, electronic equipment and computer readable storage medium | |
US20220229623A1 (en) | Display method and electronic device | |
CN110138959B (en) | Method for displaying prompt of human-computer interaction instruction and electronic equipment | |
CN111543042B (en) | Notification message processing method and electronic equipment | |
CN114710576A (en) | Display method and related device | |
CN110910872A (en) | Voice interaction method and device | |
US20220291832A1 (en) | Screen Display Method and Electronic Device | |
CN114390139B (en) | Method for presenting video by electronic equipment in incoming call, electronic equipment and storage medium | |
US20230351048A1 (en) | Application Permission Management Method and Apparatus, and Electronic Device | |
CN112615947B (en) | Method for rapidly entering application and folding screen electronic equipment | |
US20220358089A1 (en) | Learning-Based Keyword Search Method and Electronic Device | |
US20230168802A1 (en) | Application Window Management Method, Terminal Device, and Computer-Readable Storage Medium | |
CN112543495B (en) | Display control method and electronic equipment | |
CN111835904A (en) | Method for starting application based on context awareness and user portrait and electronic equipment | |
CN113438366A (en) | Information notification interaction method, electronic device and storage medium | |
WO2022042774A1 (en) | Profile picture display method and electronic device | |
US20230370400A1 (en) | Device Control Method, Electronic Device, and System | |
CN117762281A (en) | Method for managing service card and electronic equipment | |
WO2023197999A1 (en) | Display method and electronic device | |
CN117695625A (en) | Frame inserting method, device, electronic equipment and readable storage medium | |
CN118113187A (en) | Method for displaying floating window and electronic equipment | |
CN118646821A (en) | Card display method and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200228 |
|
RJ01 | Rejection of invention patent application after publication |