技术领域technical field
本发明涉及通信技术,尤其涉及一种用户界面的获取方法及装置。The present invention relates to communication technology, in particular to a user interface acquisition method and device.
背景技术Background technique
目前,人们的生活会涉及方方面面的需求,随着各类应用程序(Application;简称:APP)在移动终端的普及,用户的生活也变得越来越便利,例如,银行APP、支付宝、微信、邮箱客户端等。At present, people's life will involve various needs. With the popularization of various applications (Application; APP) on mobile terminals, users' life has become more and more convenient. For example, bank APP, Alipay, WeChat, Email client etc.
现有技术中,尽管各类APP和移动终端能够给用户带来极大的便捷性,但是,当用户需要与这些商家联系,或者反馈意见和信息时,面对各种各样的服务商,用户需要打开APP的主界面,通过点击进入设置界面,再进一步寻找反馈和联系的页面,使得用户的操作非常繁琐,造成用户的体验非常不好。In the prior art, although various APPs and mobile terminals can bring great convenience to users, when users need to contact these businesses, or give feedback and information, facing various service providers, The user needs to open the main interface of the APP, click to enter the setting interface, and then further search for feedback and contact pages, which makes the user's operation very cumbersome, resulting in a very bad user experience.
发明内容Contents of the invention
本发明实施例提供一种用户界面的获取方法及装置,以使用户打开用户界面的操作较简便,从而提高了用户的体验。Embodiments of the present invention provide a method and device for acquiring a user interface, so that the operation for the user to open the user interface is relatively simple, thereby improving user experience.
第一方面,本发明实施例提供一种用户界面的获取方法,包括:In a first aspect, an embodiment of the present invention provides a method for acquiring a user interface, including:
获取客服界面获取请求,所述客服界面获取请求包括待处理的应用程序标识;Obtain a customer service interface acquisition request, where the customer service interface acquisition request includes an application program identifier to be processed;
根据所述客服界面获取请求,获取所述待处理的应用程序标识对应的待处理应用程序中当前的显示界面,并查询获取与所述当前的显示界面至客服界面匹配的路径信息。According to the customer service interface acquisition request, acquire the current display interface in the application program to be processed corresponding to the application program identifier to be processed, and query and acquire path information matching the current display interface to the customer service interface.
如上所述的用户界面的获取方法,还包括:The method for obtaining the user interface as described above further includes:
接收路径学习请求,所述路径学习请求包括待学习的应用程序标识;receiving a path learning request, where the path learning request includes an application identifier to be learned;
根据所述路径学习请求,在所述待学习的应用程序标识对应的待学习的应用程序中,学习记录当前显示界面至客服界面所匹配的路径信息。According to the path learning request, in the application program to be learned corresponding to the application program identification to be learned, the path information matched by the currently displayed interface to the customer service interface is learned and recorded.
如上所述的用户界面的获取方法,所述方法还包括:The method for obtaining a user interface as described above, the method further includes:
根据所述路径信息,在所述待处理应用程序中将所述当前的显示界面切换至所述客服界面Switching the current display interface to the customer service interface in the pending application program according to the path information
如上所述的用户界面的获取方法,所述获取客服界面获取请求,所述客服界面获取请求包括待处理的应用程序标识,包括:In the method for obtaining a user interface as described above, the request for obtaining a customer service interface includes an application identifier to be processed, including:
启动语音采集模式,并在所述语音采集模式下,采集获取语音信息,所述语音信息包括待处理的应用程序标识。Start the voice collection mode, and in the voice collection mode, collect and acquire voice information, and the voice information includes the identification of the application program to be processed.
如上所述的用户界面的获取方法,所述获取客服界面获取请求,所述客服界面获取请求包括待处理的应用程序标识,包括:In the method for obtaining a user interface as described above, the request for obtaining a customer service interface includes an application identifier to be processed, including:
启动文字输入模式,并在所述文字输入模式下,接收文字信息,所述文字信息包括待处理的应用程序标识。The text input mode is started, and in the text input mode, text information is received, and the text information includes the identification of the application program to be processed.
第二方面,本发明实施例提供一种用户界面的获取装置,包括:In a second aspect, an embodiment of the present invention provides an apparatus for acquiring a user interface, including:
获取模块,用于获取客服界面获取请求,所述客服界面获取请求包括待处理的应用程序标识;An acquisition module, configured to acquire a customer service interface acquisition request, where the customer service interface acquisition request includes an application identification to be processed;
所述获取模块,还用于根据所述客服界面获取请求,获取所述待处理的应用程序标识对应的待处理应用程序中当前的显示界面;The acquiring module is further configured to acquire the current display interface of the pending application program corresponding to the pending application program identifier according to the customer service interface acquiring request;
查询模块,用于查询获取与所述当前的显示界面至客服界面匹配的路径信息。A query module, configured to query and obtain path information matching the current display interface to the customer service interface.
如上所述的用户界面的获取装置,还包括:The device for acquiring the user interface as described above further includes:
接收模块,用于接收路径学习请求,所述路径学习请求包括待学习的应用程序标识;A receiving module, configured to receive a path learning request, where the path learning request includes an application identifier to be learned;
记录模块,用于根据所述路径学习请求,在所述待学习的应用程序标识对应的待学习的应用程序中,学习记录当前显示界面至客服界面所匹配的路径信息。The recording module is configured to learn and record the path information matched from the current display interface to the customer service interface in the application program to be learned corresponding to the application program identification to be learned according to the path learning request.
如上所述的用户界面的获取装置,还包括:The device for acquiring the user interface as described above further includes:
切换模块,用于根据所述路径信息,在所述待处理应用程序中将所述当前的显示界面切换至所述客服界面A switching module, configured to switch the current display interface to the customer service interface in the application program to be processed according to the path information
如上所述的用户界面的获取装置,所述获取模块包括:The acquisition device of the user interface as described above, the acquisition module includes:
第一启动子模块,用于启动语音采集模式;The first promoter module is used to start the voice collection mode;
采集子模块,用于在所述第一启动子模块启动所述语音采集模式后,采集获取语音信息,所述语音信息包括待处理的应用程序标识。The collection sub-module is configured to collect and acquire voice information after the first starting sub-module starts the voice collection mode, and the voice information includes the identification of the application program to be processed.
如上所述的用户界面的获取装置,所述获取模块包括:The acquisition device of the user interface as described above, the acquisition module includes:
第二启动子模块,用于启动文字输入模式;The second promoter module is used to start the text input mode;
接收子模块,用于在所述第二启动子模块启动所述文字输入模式后,接收文字信息,所述文字信息包括待处理的应用程序标识。The receiving submodule is configured to receive text information after the second starting submodule starts the text input mode, and the text information includes the identification of the application program to be processed.
本发明实施例提供的用户界面的获取方法及装置,通过获取客服界面获取请求,该客服界面获取请求包括待处理的应用程序标识,根据客服界面获取请求,获取待处理应用程序标识对应的待处理应用程序中当前的显示界面,并查询获取与当前的显示界面至客服界面匹配的路径信息。由于根据客服界面获取请求中的待处理的应用程序标识,即可获取到待处理的应用程序程序中当前的显示界面至客服界面的路径信息,这样避免了用户需要手动点击多个界面才能获取到用户界面的现象,从而使得获取用户界面的操作较简便,由此提高了用户的体验。The user interface acquisition method and device provided in the embodiments of the present invention obtain a customer service interface acquisition request, the customer service interface acquisition request includes the application program identification to be processed, and obtain the pending application program identification corresponding to the pending application program identification according to the customer service interface acquisition request. The current display interface in the application program, and query to obtain the path information matching the current display interface to the customer service interface. The path information from the current display interface to the customer service interface in the application program to be processed can be obtained by obtaining the pending application ID in the request according to the customer service interface, which avoids the need for the user to manually click on multiple interfaces to obtain The phenomenon of the user interface makes the operation of obtaining the user interface easier, thereby improving the user experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1是根据一示例性实施例示出的一种用户界面的获取方法的流程图;Fig. 1 is a flow chart showing a method for acquiring a user interface according to an exemplary embodiment;
图2A为待处理应用程序的当前的显示界面的示意图;FIG. 2A is a schematic diagram of a current display interface of an application program to be processed;
图2B为客服界面的示意图;FIG. 2B is a schematic diagram of a customer service interface;
图3是根据另一示例性实施例示出的一种用户界面的获取方法的流程图;Fig. 3 is a flow chart showing a method for acquiring a user interface according to another exemplary embodiment;
图4是根据又一示例性实施例示出的一种用户界面的获取方法的流程图;Fig. 4 is a flowchart of a method for acquiring a user interface according to yet another exemplary embodiment;
图5为终端设备通过语音采集模式获取语音信息的示意图;5 is a schematic diagram of a terminal device acquiring voice information through a voice collection mode;
图6是根据再一示例性实施例示出的一种用户界面的获取方法的流程图;Fig. 6 is a flowchart of a method for acquiring a user interface according to yet another exemplary embodiment;
图7为终端设备通过文字输入模式接收文字信息的示意图;FIG. 7 is a schematic diagram of a terminal device receiving text information through a text input mode;
图8为本发明一实施例示出的用户界面的获取装置的结构示意图;Fig. 8 is a schematic structural diagram of a device for obtaining a user interface according to an embodiment of the present invention;
图9为本发明另一实施例示出的用户界面的获取装置的结构示意图;FIG. 9 is a schematic structural diagram of a device for obtaining a user interface according to another embodiment of the present invention;
图10为本发明又一实施例示出的用户界面的获取装置的结构示意图;FIG. 10 is a schematic structural diagram of a device for acquiring a user interface shown in another embodiment of the present invention;
图11为本发明再一实施例示出的用户界面的获取装置的结构示意图;Fig. 11 is a schematic structural diagram of a device for obtaining a user interface according to yet another embodiment of the present invention;
图12为本发明再一实施例示出的用户界面的获取装置的结构示意图。Fig. 12 is a schematic structural diagram of a device for acquiring a user interface according to yet another embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
图1是根据一示例性实施例示出的一种用户界面的获取方法的流程图,如图1所示,本实施例涉及的用户界面的获取方法用于终端设备中,该终端设备为能够运行各类APP的设备,例如可以是手机、个人数字助理(PersonalDigital Assistant,简称PDA)等。该用户界面的获取方法包括以下步骤。Fig. 1 is a flowchart of a user interface acquisition method according to an exemplary embodiment. As shown in Fig. 1, the user interface acquisition method involved in this embodiment is used in a terminal device, and the terminal device is capable of running Devices of various APPs, for example, may be mobile phones, personal digital assistants (Personal Digital Assistant, PDA for short), and the like. The method for obtaining the user interface includes the following steps.
步骤S11,获取客服界面获取请求,所述客服界面获取请求包括待处理的应用程序标识。Step S11, obtaining a request for obtaining a customer service interface, where the request for obtaining a customer service interface includes an identifier of an application program to be processed.
在现有技术中,用户在使用终端设备上安装的APP的过程中,如果要联系APP的服务商时,通常需要进入该APP的主界面,再进一步寻找客服界面,这样,用户需要点击好几个界面才能联系到服务商,使得用户的操作非常繁琐,不仅造成用户的体验不好,而且使用户联系服务商的效率比较低。针对这一问题,在本实施例中,若用户需要联系APP的服务商时,终端设备可以获取客服界面获取请求,该客服界面获取请求中包括有待处理的应用程序标识。其中,待处理的应用程序包括微信、支付宝、邮箱客户端或银行APP等等。In the prior art, when using the APP installed on the terminal device, if the user wants to contact the service provider of the APP, he usually needs to enter the main interface of the APP, and then further search for the customer service interface. In this way, the user needs to click several The interface can only contact the service provider, which makes the user's operation very cumbersome, which not only causes the user's experience to be bad, but also makes the efficiency of the user contacting the service provider relatively low. To solve this problem, in this embodiment, if the user needs to contact the service provider of the APP, the terminal device can obtain a customer service interface acquisition request, and the customer service interface acquisition request includes the application identification to be processed. Among them, the applications to be processed include WeChat, Alipay, email clients or bank APPs, etc.
步骤S12,根据所述客服界面获取请求,获取所述待处理的应用程序标识对应的待处理应用程序中当前的显示界面,并查询获取与所述当前的显示界面至客服界面匹配的路径信息。Step S12, according to the customer service interface acquisition request, acquire the current display interface in the application to be processed corresponding to the application identification to be processed, and query and obtain the path information matching the current display interface to the customer service interface.
在本实施例中,终端设备在获取到客服界面获取请求之后,将确定该客服界面获取请求中包含的待处理应用程序标识对应的待处理应用程序的当前的显示页面。举例来说,若待处理应用程序为订餐APP,图2A为待处理应用程序的当前的显示界面的示意图,如图2A所示,终端设备在根据客服界面获取请求,获取到的订餐APP的当前的显示界面为主界面。在获取到当前的显示界面之后,将进行查询并获取从当前的显示界面到客服界面的路径信息。图2B为客服界面的示意图,其中,客服界面中显示有客服电话,用于使用户联系服务商,以向服务商反馈建议或者意见等。In this embodiment, after obtaining the customer service interface acquisition request, the terminal device will determine the current display page of the application program to be processed corresponding to the application program identification to be processed included in the customer service interface acquisition request. For example, if the application program to be processed is a meal ordering APP, FIG. 2A is a schematic diagram of the current display interface of the application program to be processed. As shown in FIG. The display interface is the main interface. After obtaining the current display interface, a query will be performed to obtain path information from the current display interface to the customer service interface. FIG. 2B is a schematic diagram of a customer service interface, wherein the customer service interface displays a customer service phone number for the user to contact the service provider to feed back suggestions or opinions to the service provider.
本实施例的用户界面的获取方法,通过获取客服界面获取请求,该客服界面获取请求包括待处理的应用程序标识,根据客服界面获取请求,获取待处理应用程序标识对应的待处理应用程序中当前的显示界面,并查询获取与当前的显示界面至客服界面匹配的路径信息。由于根据客服界面获取请求中的待处理的应用程序标识,即可获取到待处理的应用程序程序中当前的显示界面至客服界面的路径信息,这样避免了用户需要手动点击多个界面才能获取到用户界面的现象,从而使得获取用户界面的操作较简便,由此提高了用户的体验。In the method for obtaining a user interface in this embodiment, by obtaining a customer service interface acquisition request, the customer service interface acquisition request includes the application program identifier to be processed, and according to the customer service interface acquisition request, obtain the current status of the application program to be processed corresponding to the application program identifier to be processed. display interface, and query to obtain path information that matches the current display interface to the customer service interface. The path information from the current display interface to the customer service interface in the application program to be processed can be obtained by obtaining the pending application ID in the request according to the customer service interface, which avoids the need for the user to manually click on multiple interfaces to obtain The phenomenon of the user interface makes the operation of obtaining the user interface easier, thereby improving the user experience.
图3是根据另一示例性实施例示出的一种用户界面的获取方法的流程图,该方法用于终端设备中,本实施例在图1所示实施例的基础上,对记录当前显示界面至客服界面所匹配的路径信息的实施例,作详细说明,如图3所示,该用户界面的获取方法包括以下步骤。Fig. 3 is a flow chart of a method for obtaining a user interface according to another exemplary embodiment, the method is used in a terminal device, this embodiment records the current display interface on the basis of the embodiment shown in Fig. 1 The embodiment of the path information matched to the customer service interface is described in detail. As shown in FIG. 3 , the method for obtaining the user interface includes the following steps.
步骤S31,接收路径学习请求,所述路径学习请求包括待学习的应用程序标识。In step S31, a path learning request is received, where the path learning request includes the identifier of the application program to be learned.
步骤S32,根据所述路径学习请求,在所述待学习的应用程序标识对应的待学习的应用程序中,学习记录当前显示界面至客服界面所匹配的路径信息。Step S32, according to the path learning request, in the application program to be learned corresponding to the application program identification to be learned, learn and record the matching path information from the current display interface to the customer service interface.
在本实施例中,终端设备将学习并存储有APP的各个显示界面至客服界面所匹配的路径信息,在具体的实现过程中,终端设备在接收到包括待学习的应用程序标识的路径学习请求之后,将获取该待学习的应用程序标识对应的待学习的应用程序当前的显示界面,并在对应的待学习的应用程序中,学习记录当前显示界面至客服界面所匹配的路径信息。例如:假设待学习的应用程序为淘宝APP,当接收到路径学习请求之后,将获取淘宝APP当前的显示界面,若当前的显示界面为淘宝首页,则终端设备将会学习并记录淘宝首页至客服界面所匹配的路径信息。In this embodiment, the terminal device will learn and store the path information matched from each display interface of the APP to the customer service interface. Afterwards, the current display interface of the application program to be learned corresponding to the application program identification to be learned will be obtained, and in the corresponding application program to be learned, the path information matching the current display interface to the customer service interface will be learned and recorded. For example: Assuming that the application to be learned is Taobao APP, after receiving the path learning request, it will obtain the current display interface of Taobao APP. If the current display interface is the Taobao homepage, the terminal device will learn and record the Taobao homepage to the customer service The path information matched by the interface.
本实施例的用户界面的获取方法,通过获取客服界面获取请求,该客服界面获取请求包括待处理的应用程序标识,根据客服界面获取请求,获取待处理应用程序标识对应的待处理应用程序中当前的显示界面,并查询获取与当前的显示界面至客服界面匹配的路径信息。由于根据客服界面获取请求中的待处理的应用程序标识,即可获取到待处理的应用程序程序中当前的显示界面至客服界面的路径信息,这样避免了用户需要手动点击多个界面才能获取到用户界面的现象,从而使得获取用户界面的操作较简便,由此提高了用户的体验。另外,由于终端设备可以根据路径学习请求,学习记录当前显示界面至客服界面所匹配的路径信息,由此可以提高路径信息获取的准确性。In the method for obtaining a user interface in this embodiment, by obtaining a customer service interface acquisition request, the customer service interface acquisition request includes the application program identifier to be processed, and according to the customer service interface acquisition request, obtain the current status of the application program to be processed corresponding to the application program identifier to be processed. display interface, and query to obtain path information that matches the current display interface to the customer service interface. The path information from the current display interface to the customer service interface in the application program to be processed can be obtained by obtaining the pending application ID in the request according to the customer service interface, which avoids the need for the user to manually click on multiple interfaces to obtain The phenomenon of the user interface makes the operation of obtaining the user interface easier, thereby improving the user experience. In addition, since the terminal device can learn and record the matching path information from the current display interface to the customer service interface according to the path learning request, thereby improving the accuracy of path information acquisition.
可选地,在图1所示实施例的基础上,终端设备在查询获取与当前的显示界面至客服界面匹配的路径信息之后,将根据该路径信息,在待处理应用程序中将当前的显示界面切换至客服界面。Optionally, on the basis of the embodiment shown in Figure 1, after the terminal device inquires and obtains the path information that matches the current display interface to the customer service interface, it will use the path information to display the current display interface in the application program to be processed. The interface switches to the customer service interface.
具体地,终端设备获取到路径信息之后,根据该客服路径信息,在待处理应用程序中将当前的显示界面切换至客服界面,这样,便可以避免用户需要手动点击多个界面才能切换至客服界面的现象,从而提高了用户查看客服界面的效率。Specifically, after the terminal device obtains the path information, according to the customer service path information, the current display interface is switched to the customer service interface in the application program to be processed, so that the user can avoid the need to manually click on multiple interfaces to switch to the customer service interface phenomenon, thereby improving the efficiency of users viewing the customer service interface.
由于在获取到待处理的应用程序程序中当前的显示界面至客服界面的路径信息后,根据该路径信息将当前的显示界面切换至客服界面,这样避免了用户需要手动点击多个界面才能切换至客服界面的现象,从而使得用户切换至客服界面的操作较简便,由此提高了用户的体验。After obtaining the path information from the current display interface to the customer service interface in the application program to be processed, the current display interface is switched to the customer service interface according to the path information, which avoids the need for the user to manually click on multiple interfaces to switch to The phenomenon of the customer service interface makes it easier for the user to switch to the customer service interface, thereby improving the user experience.
图4是根据又一示例性实施例示出的一种用户界面的获取方法的流程图,该方法用于终端设备中,本实施例在图1或图3所示实施例的基础上,对获取客服界面获取请求的实施例,作详细说明,如图4所示,该用户界面的获取方法包括以下步骤。Fig. 4 is a flow chart of a user interface acquisition method shown according to yet another exemplary embodiment, the method is used in a terminal device, and this embodiment is based on the embodiment shown in Fig. 1 or Fig. 3 , to acquire The embodiment of obtaining the request of the customer service interface is described in detail, as shown in FIG. 4 , the method for obtaining the user interface includes the following steps.
步骤S41,启动语音采集模式,并在所述语音采集模式下,采集获取语音信息,所述语音信息包括待处理的应用程序标识。Step S41, start the voice collection mode, and in the voice collection mode, collect and acquire voice information, and the voice information includes the identification of the application program to be processed.
在本实施例中,用户可以通过点击功能按键,或者通过点击启动语音的软件等方式触发语音采集模式,当然,用户还可以通过其他方式触发语音采集模式,对于触发语音采集模式的具体方式,本实施例在此不作限制。在用户触发终端设备启动语音采集模式之后,终端设备将会采集并获取语音信息,该语音信息中包括待处理的应用程序标识。图5为终端设备通过语音采集模式获取语音信息的示意图,如图5所示,用户可以通过点击HOME键,启动语音采集模式,在终端设备启动语音采集模式之后,用户可以说出自己需要联系的服务商的名称,如“支付宝”等。In this embodiment, the user can trigger the voice collection mode by clicking on the function button, or by clicking on the voice-starting software. Of course, the user can also trigger the voice collection mode in other ways. For the specific method of triggering the voice collection mode, this The examples are not limited here. After the user triggers the terminal device to start the voice collection mode, the terminal device will collect and obtain the voice information, and the voice information includes the identification of the application program to be processed. Figure 5 is a schematic diagram of the terminal device acquiring voice information through the voice collection mode. As shown in Figure 5, the user can click the HOME button to start the voice collection mode. After the terminal device starts the voice collection mode, the user can say the person he needs to contact The name of the service provider, such as "Alipay", etc.
步骤S42,根据所述客服界面获取请求,获取所述待处理的应用程序标识对应的待处理应用程序中当前的显示界面,并查询获取与所述当前的显示界面至客服界面匹配的路径信息。Step S42, according to the customer service interface acquisition request, acquire the current display interface in the application to be processed corresponding to the application identification to be processed, and query and obtain the path information matching the current display interface to the customer service interface.
在本实施例中,当终端设备通过语音采集方式获取到客服界面获取请求之后,将通过进行语音识别,识别出客服界面获取请求中所包括的待处理的应用程序标识,并获取该待处理的应用程序标识对应的待处理应用程序中当前的显示界面。例如:若通过语音识别,识别出用户发出的语音信息中包括的待处理的应用程序标识为“支付宝”,则终端设备将获取支付宝当前的显示界面。在获取到当前的显示界面后,需要查询并获取与当前的显示界面至客服界面匹配的路径信息。In this embodiment, after the terminal device obtains the customer service interface acquisition request through voice collection, it will recognize the application program identifier to be processed included in the customer service interface acquisition request by performing voice recognition, and obtain the pending application program identification. The current display interface in the application to be processed corresponding to the application identifier. For example: if through voice recognition, it is recognized that the application program identifier to be processed included in the voice message sent by the user is "Alipay", then the terminal device will obtain the current display interface of Alipay. After obtaining the current display interface, it is necessary to query and obtain path information matching the current display interface to the customer service interface.
本实施例的用户界面的获取方法,通过获取客服界面获取请求,该客服界面获取请求包括待处理的应用程序标识,根据客服界面获取请求,获取待处理应用程序标识对应的待处理应用程序中当前的显示界面,并查询获取与当前的显示界面至客服界面匹配的路径信息。由于根据客服界面获取请求中的待处理的应用程序标识,即可获取到待处理的应用程序程序中当前的显示界面至客服界面的路径信息,这样避免了用户需要手动点击多个界面才能获取到用户界面的现象,从而使得获取用户界面的操作较简便,由此提高了用户的体验。另外,由于终端设备通过语音方式获取待处理的应用程序标识,提高了获取客服界面获取请求的效率。In the method for obtaining a user interface in this embodiment, by obtaining a customer service interface acquisition request, the customer service interface acquisition request includes the application program identifier to be processed, and according to the customer service interface acquisition request, obtain the current status of the application program to be processed corresponding to the application program identifier to be processed. display interface, and query to obtain path information that matches the current display interface to the customer service interface. The path information from the current display interface to the customer service interface in the application program to be processed can be obtained by obtaining the pending application ID in the request according to the customer service interface, which avoids the need for the user to manually click on multiple interfaces to obtain The phenomenon of the user interface makes the operation of obtaining the user interface easier, thereby improving the user experience. In addition, since the terminal device obtains the application program identifier to be processed by voice, the efficiency of obtaining the request for the customer service interface is improved.
图6是根据再一示例性实施例示出的一种用户界面的获取方法的流程图,该方法用于终端设备中,本实施例在图1或图3所示实施例的基础上,对获取客服界面获取请求的实施例,作详细说明,本实施例中获取客服界面获取请求的方式与图4所示实施例中的获取方式的区别在于:本实施例中终端设备是通过文字方式进行获取的。如图6所示,该用户界面的获取方法包括以下步骤。Fig. 6 is a flow chart of a user interface acquisition method shown according to yet another exemplary embodiment, the method is used in a terminal device, and this embodiment is based on the embodiment shown in Fig. 1 or Fig. 3 , to acquire The embodiment of the customer service interface acquisition request will be described in detail. The difference between the method of obtaining the customer service interface acquisition request in this embodiment and the acquisition method in the embodiment shown in FIG. of. As shown in FIG. 6, the method for obtaining the user interface includes the following steps.
步骤S61,启动文字输入模式,并在所述文字输入模式下,接收文字信息,所述文字信息包括待处理的应用程序标识。Step S61, start the text input mode, and receive text information in the text input mode, the text information includes the identification of the application program to be processed.
在本实施例中,同样地,用户也可以通过点击功能按键,或者通过点击启动文字输入的软件等方式触发文字输入模式,当然,用户还可以通过其他方式触发文字输入模式,对于触发文字输入模式的具体方式,本实施例在此不作限制。在用户触发终端设备启动文字输入模式之后,终端设备将会接收用户输入的文字信息,该文字信息中包括待处理的应用程序标识。图7为终端设备通过文字输入模式接收文字信息的示意图,如图7所示,用户也可以通过点击HOME键,启动语音采集模式,在终端设备启动文字输入模式之后,用户可以在文字输入模式下输入自己需要联系的服务商的名称,如“微信”等等。In this embodiment, similarly, the user can also trigger the text input mode by clicking on the function button, or by clicking on the software that starts the text input, etc. Of course, the user can also trigger the text input mode in other ways, for triggering the text input mode The specific manner is not limited in this embodiment. After the user triggers the terminal device to start the text input mode, the terminal device will receive the text information input by the user, and the text information includes the identification of the application program to be processed. Figure 7 is a schematic diagram of the terminal device receiving text information through the text input mode. As shown in Figure 7, the user can also click the HOME button to start the voice collection mode. Enter the name of the service provider you need to contact, such as "WeChat" and so on.
步骤S62,根据所述客服界面获取请求,获取所述待处理的应用程序标识对应的待处理应用程序中当前的显示界面,并查询获取与所述当前的显示界面至客服界面匹配的路径信息。Step S62, according to the request for acquiring the customer service interface, acquire the current display interface in the application to be processed corresponding to the application identifier to be processed, and query and obtain path information matching the current display interface to the customer service interface.
在本实施例中,当终端设备通过接收文字信息的方式获取到客服界面获取请求之后,可以识别出客服界面获取请求中所包括的待处理的应用程序标识,并获取该待处理的应用程序标识对应的待处理应用程序中当前的显示界面。例如:若识别出的用户输入的文字信息中包括的待处理的应用程序标识为“微信”,则终端设备将获取微信当前的显示界面。在获取到当前的显示界面后,需要查询并获取与当前的显示界面至客服界面匹配的路径信息。In this embodiment, after the terminal device obtains the customer service interface acquisition request by receiving text information, it can identify the pending application identification included in the customer service interface acquisition request, and acquire the pending application identification The current display interface in the corresponding pending application. For example: if the identification of the application program to be processed included in the recognized text information input by the user is "WeChat", the terminal device will obtain the current display interface of WeChat. After obtaining the current display interface, it is necessary to query and obtain path information matching the current display interface to the customer service interface.
本实施例的用户界面的获取方法,通过获取客服界面获取请求,该客服界面获取请求包括待处理的应用程序标识,根据客服界面获取请求,获取待处理应用程序标识对应的待处理应用程序中当前的显示界面,并查询获取与当前的显示界面至客服界面匹配的路径信息。由于根据客服界面获取请求中的待处理的应用程序标识,即可获取到待处理的应用程序程序中当前的显示界面至客服界面的路径信息,这样避免了用户需要手动点击多个界面才能获取到用户界面的现象,从而使得获取用户界面的操作较简便,由此提高了用户的体验。另外,由于终端设备通过接收文字信息的方式获取待处理的应用程序标识,提高了获取客服界面获取请求的准确性。In the method for obtaining a user interface in this embodiment, by obtaining a customer service interface acquisition request, the customer service interface acquisition request includes the application program identifier to be processed, and according to the customer service interface acquisition request, obtain the current status of the application program to be processed corresponding to the application program identifier to be processed. display interface, and query to obtain path information that matches the current display interface to the customer service interface. The path information from the current display interface to the customer service interface in the application program to be processed can be obtained by obtaining the pending application ID in the request according to the customer service interface, which avoids the need for the user to manually click on multiple interfaces to obtain The phenomenon of the user interface makes the operation of obtaining the user interface easier, thereby improving the user experience. In addition, since the terminal device obtains the application program identifier to be processed by receiving text information, the accuracy of obtaining the request for the customer service interface is improved.
图8为本发明一实施例示出的用户界面的获取装置的结构示意图。如图8所示,本发明实施例提供的用户界面的获取装置包括获取模块11和查询模块12。Fig. 8 is a schematic structural diagram of a device for obtaining a user interface according to an embodiment of the present invention. As shown in FIG. 8 , the user interface acquisition device provided by the embodiment of the present invention includes an acquisition module 11 and a query module 12 .
其中,获取模块11用于获取客服界面获取请求,所述客服界面获取请求包括待处理的应用程序标识;Wherein, the acquisition module 11 is used to acquire a customer service interface acquisition request, and the customer service interface acquisition request includes an application identification to be processed;
所述获取模块11还用于根据所述客服界面获取请求,获取所述待处理的应用程序标识对应的待处理应用程序中当前的显示界面;The acquiring module 11 is further configured to acquire the current display interface of the pending application program corresponding to the pending application program identifier according to the customer service interface acquiring request;
查询模块12用于查询获取与所述当前的显示界面至客服界面匹配的路径信息。The query module 12 is used for querying and obtaining path information matching the current display interface to the customer service interface.
本实施例的用户界面的获取装置,通过获取客服界面获取请求,该客服界面获取请求包括待处理的应用程序标识,根据客服界面获取请求,获取待处理应用程序标识对应的待处理应用程序中当前的显示界面,并查询获取与当前的显示界面至客服界面匹配的路径信息。由于根据客服界面获取请求中的待处理的应用程序标识,即可获取到待处理的应用程序程序中当前的显示界面至客服界面的路径信息,这样避免了用户需要手动点击多个界面才能获取到用户界面的现象,从而使得获取用户界面的操作较简便,由此提高了用户的体验。The device for acquiring a user interface in this embodiment obtains a customer service interface acquisition request, the customer service interface acquisition request includes the application program identifier to be processed, and obtains the current status of the pending application program corresponding to the pending application program identifier according to the customer service interface acquisition request. display interface, and query to obtain path information that matches the current display interface to the customer service interface. The path information from the current display interface to the customer service interface in the application program to be processed can be obtained by obtaining the pending application ID in the request according to the customer service interface, which avoids the need for the user to manually click on multiple interfaces to obtain The phenomenon of the user interface makes the operation of obtaining the user interface easier, thereby improving the user experience.
图9为本发明另一实施例示出的用户界面的获取装置的结构示意图,如图9所示,本实施例在图8所示实施例的基础上,所述装置还包括:接收模块13和记录模块14。FIG. 9 is a schematic structural diagram of a user interface acquisition device shown in another embodiment of the present invention. As shown in FIG. 9, this embodiment is based on the embodiment shown in FIG. 8, and the device further includes: a receiving module 13 and Recording module 14.
其中,接收模块13用于接收路径学习请求,所述路径学习请求包括待学习的应用程序标识;Wherein, the receiving module 13 is configured to receive a path learning request, and the path learning request includes an application identification to be learned;
记录模块14用于根据所述路径学习请求,在所述待学习的应用程序标识对应的待学习的应用程序中,学习记录当前显示界面至客服界面所匹配的路径信息。The recording module 14 is configured to learn and record the matching path information from the currently displayed interface to the customer service interface in the application program to be learned corresponding to the application program identification to be learned according to the path learning request.
本实施例的用户界面的获取装置,可以用于执行本发明图3所示实施例提供的用户界面的获取方法的技术方案,其实现原理和技术效果类似,此处不再赘述。The device for obtaining a user interface in this embodiment can be used to execute the technical solution of the method for obtaining a user interface provided in the embodiment shown in FIG.
图10为本发明又一实施例示出的用户界面的获取装置的结构示意图,如图10所示,本实施例在图8所示实施例的基础上,所述装置还包括:Fig. 10 is a schematic structural diagram of a device for obtaining a user interface shown in another embodiment of the present invention. As shown in Fig. 10, this embodiment is based on the embodiment shown in Fig. 8, and the device further includes:
切换模块15用于根据所述路径信息,在所述待处理应用程序中将所述当前的显示界面切换至所述客服界面。The switching module 15 is used for switching the current display interface to the customer service interface in the application program to be processed according to the path information.
本实施例的用户界面的获取装置,可以用于执行本发明任一实施例提供的用户界面的获取方法的技术方案,其实现原理和技术效果类似,此处不再赘述。The device for obtaining a user interface in this embodiment can be used to execute the technical solution of the method for obtaining a user interface provided in any embodiment of the present invention, and its implementation principle and technical effect are similar, and will not be repeated here.
图11为本发明再一实施例示出的用户界面的获取装置的结构示意图,如图11所示,本实施例在图8所示实施例的基础上,所述获取模块11包括:FIG. 11 is a schematic structural diagram of a user interface acquisition device shown in another embodiment of the present invention. As shown in FIG. 11 , this embodiment is based on the embodiment shown in FIG. 8 , and the acquisition module 11 includes:
第一启动子模块111用于启动语音采集模式;The first promoter module 111 is used to start the voice collection mode;
采集子模块112用于在所述第一启动子模块启动所述语音采集模式后,采集获取语音信息,所述语音信息包括待处理的应用程序标识。The collection sub-module 112 is configured to collect and acquire voice information after the first starting sub-module starts the voice collection mode, and the voice information includes the identification of the application program to be processed.
本实施例的用户界面的获取装置,可以用于执行本发明图4所示实施例提供的用户界面的获取方法的技术方案,其实现原理和技术效果类似,此处不再赘述。The device for acquiring a user interface in this embodiment can be used to implement the technical solution of the method for acquiring a user interface provided in the embodiment shown in FIG.
图12为本发明再一实施例示出的用户界面的获取装置的结构示意图,如图12所示,本实施例在图8所示实施例的基础上,所述获取模块11包括:Fig. 12 is a schematic structural diagram of a user interface acquisition device shown in another embodiment of the present invention. As shown in Fig. 12, this embodiment is based on the embodiment shown in Fig. 8, and the acquisition module 11 includes:
第二启动子模块113用于启动文字输入模式;The second promoter module 113 is used to start the text input mode;
接收子模块114用于在所述第二启动子模块启动所述文字输入模式后,接收文字信息,所述文字信息包括待处理的应用程序标识。The receiving submodule 114 is configured to receive text information after the second starting submodule starts the text input mode, and the text information includes the identification of the application program to be processed.
本实施例的用户界面的获取装置,可以用于执行本发明图6所示实施例提供的用户界面的获取方法的技术方案,其实现原理和技术效果类似,此处不再赘述。The device for acquiring a user interface in this embodiment can be used to execute the technical solution of the method for acquiring a user interface provided in the embodiment shown in FIG.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510927618.7ACN106874312B (en) | 2015-12-14 | 2015-12-14 | User interface acquisition method and device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510927618.7ACN106874312B (en) | 2015-12-14 | 2015-12-14 | User interface acquisition method and device |
| Publication Number | Publication Date |
|---|---|
| CN106874312Atrue CN106874312A (en) | 2017-06-20 |
| CN106874312B CN106874312B (en) | 2020-04-10 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510927618.7AExpired - Fee RelatedCN106874312B (en) | 2015-12-14 | 2015-12-14 | User interface acquisition method and device |
| Country | Link |
|---|---|
| CN (1) | CN106874312B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109992649A (en)* | 2018-12-27 | 2019-07-09 | 阿里巴巴集团控股有限公司 | Conversation method, device and terminal of chat robot |
| US11785128B2 (en) | 2019-01-22 | 2023-10-10 | Huawei Technologies Co., Ltd. | Caller identification display method based on application, and terminal device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003099468A (en)* | 2001-09-25 | 2003-04-04 | Nippon Telegr & Teleph Corp <Ntt> | Learning support method, proxy response server, learning support program, and recording medium storing the program |
| CN102736904A (en)* | 2011-04-08 | 2012-10-17 | 腾讯科技(深圳)有限公司 | Method and device for fast interface navigation |
| CN102789351A (en)* | 2011-05-20 | 2012-11-21 | 腾讯科技(深圳)有限公司 | Method and device for switching browsed interfaces |
| CN103809864A (en)* | 2012-11-07 | 2014-05-21 | 阿里巴巴集团控股有限公司 | Method and device for switching interfaces dynamically |
| CN104199596A (en)* | 2014-08-08 | 2014-12-10 | 腾讯科技(深圳)有限公司 | Scene interface switching method and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003099468A (en)* | 2001-09-25 | 2003-04-04 | Nippon Telegr & Teleph Corp <Ntt> | Learning support method, proxy response server, learning support program, and recording medium storing the program |
| CN102736904A (en)* | 2011-04-08 | 2012-10-17 | 腾讯科技(深圳)有限公司 | Method and device for fast interface navigation |
| CN102789351A (en)* | 2011-05-20 | 2012-11-21 | 腾讯科技(深圳)有限公司 | Method and device for switching browsed interfaces |
| CN103809864A (en)* | 2012-11-07 | 2014-05-21 | 阿里巴巴集团控股有限公司 | Method and device for switching interfaces dynamically |
| CN104199596A (en)* | 2014-08-08 | 2014-12-10 | 腾讯科技(深圳)有限公司 | Scene interface switching method and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109992649A (en)* | 2018-12-27 | 2019-07-09 | 阿里巴巴集团控股有限公司 | Conversation method, device and terminal of chat robot |
| CN109992649B (en)* | 2018-12-27 | 2024-02-09 | 创新先进技术有限公司 | Conversation method, conversation device and conversation terminal of chat robot |
| US11785128B2 (en) | 2019-01-22 | 2023-10-10 | Huawei Technologies Co., Ltd. | Caller identification display method based on application, and terminal device |
| Publication number | Publication date |
|---|---|
| CN106874312B (en) | 2020-04-10 |
| Publication | Publication Date | Title |
|---|---|---|
| US10091643B2 (en) | Method and apparatus for displaying associated information in electronic device | |
| US9055146B2 (en) | Social network based call management | |
| CN103118206B (en) | The system and method for generation interactive voice response information displaying menu Network Based | |
| US20110170682A1 (en) | Universal contact manager | |
| CN103995830B (en) | The method and its mobile terminal that are switched fast application program based on input method | |
| CN103929523A (en) | Method for intelligently processing incoming calls and mobile terminal thereof | |
| US9906643B2 (en) | System, apparatus and method of providing phone call route information | |
| US10594862B2 (en) | Contextual contact substitution for mobile devices | |
| CN102104650A (en) | Contact photo setting method, device and mobile communication terminal | |
| US20070226632A1 (en) | Method, electronic device and computer program product for enhancing contact list functionality | |
| CN104883457A (en) | Telephone call method and device | |
| CN105183881B (en) | Information query method and device | |
| CN104539812A (en) | Recommendation information acquisition method, terminal and server | |
| CN103281446A (en) | Voice short message sending system and voice short message sending method | |
| CN106790738B (en) | User contact information query method and server | |
| CN104380768A (en) | Address book information service system and method and device for address book information service | |
| CN106874312A (en) | The acquisition methods and device of user interface | |
| CN105049580A (en) | Information processing method and electronic equipment | |
| US9860329B2 (en) | Determining customized audio services | |
| US20130117249A1 (en) | Locale centric search optimization in response to user opt-in | |
| CN105450507A (en) | Method and device for sharing information in social network | |
| CN106060111A (en) | Resource downloading method and device and terminal device | |
| CN105447055A (en) | Method, apparatus and electronic equipment for searching applications | |
| CN106411699B (en) | Message display control method and device in social networking application | |
| US20190130036A1 (en) | Identifying user intention from encrypted browsing activity |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20200410 Termination date:20211214 | |
| CF01 | Termination of patent right due to non-payment of annual fee |