Movatterモバイル変換


[0]ホーム

URL:


CN114896006B - Page menu creation method and device, storage medium and electronic device - Google Patents

Page menu creation method and device, storage medium and electronic device
Download PDF

Info

Publication number
CN114896006B
CN114896006BCN202210452412.3ACN202210452412ACN114896006BCN 114896006 BCN114896006 BCN 114896006BCN 202210452412 ACN202210452412 ACN 202210452412ACN 114896006 BCN114896006 BCN 114896006B
Authority
CN
China
Prior art keywords
page
target
page path
path
application
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.)
Active
Application number
CN202210452412.3A
Other languages
Chinese (zh)
Other versions
CN114896006A (en
Inventor
王鹏飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd, Haier Smart Home Co LtdfiledCriticalQingdao Haier Technology Co Ltd
Priority to CN202210452412.3ApriorityCriticalpatent/CN114896006B/en
Priority to PCT/CN2022/109514prioritypatent/WO2023206845A1/en
Publication of CN114896006ApublicationCriticalpatent/CN114896006A/en
Application grantedgrantedCritical
Publication of CN114896006BpublicationCriticalpatent/CN114896006B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请公开了一种页面菜单的创建方法和装置、存储介质及电子装置,涉及智能家居技术领域,该页面菜单的创建方法包括:获取目标帐号发起的菜单创建请求;响应菜单创建请求,根据目标帐号对应的第一页面路径和第二页面路径创建目标页面路径,其中,第一页面路径用于指示目标帐号在第一应用上具有访问权限的页面的路由信息,目标帐号是在第一应用的帐号系统中的帐号,第二页面路径用于指示目标帐号在第二应用上具有访问权限的页面的路由信息;向目标帐号发送目标页面路径,其中,目标页面路径用于指示目标帐号依据目标页面路径创建目标页面菜单,采用上述技术方案,解决了相关技术中,调用多个应用的功能的便捷度较低等问题。

Figure 202210452412

The application discloses a method and device for creating a page menu, a storage medium, and an electronic device, and relates to the field of smart home technology. The method for creating a page menu includes: obtaining a menu creation request initiated by a target account; responding to the menu creation request, The first page path and the second page path corresponding to the account create a target page path, wherein the first page path is used to indicate the routing information of the page that the target account has access rights on the first application, and the target account is the For an account in the account system, the second page path is used to indicate the routing information of the page that the target account has access rights on the second application; the target page path is sent to the target account, wherein the target page path is used to indicate the target account according to the target page The path creation target page menu adopts the above-mentioned technical solution, which solves the problem of low convenience for invoking functions of multiple applications in related technologies.

Figure 202210452412

Description

Translated fromChinese
页面菜单的创建方法和装置、存储介质及电子装置Method and device for creating page menu, storage medium and electronic device

技术领域technical field

本申请涉及智能家居技术领域,具体而言,涉及一种页面菜单的创建方法和装置、存储介质及电子装置。The present application relates to the technical field of smart home, in particular, to a method and device for creating a page menu, a storage medium and an electronic device.

背景技术Background technique

随着web后台管理系统应用的发展,页面菜单展示的功能越来越人性化。通常情况下,不同用户对应不同的身份,在同一应用中会存在不同的权限,因此展示在用户界面上的菜单内容也会存在差异,并且,同一用户可能关联多个应用,在实际的使用过程中,完成一项操作,常常可能出现需要调用多个应用的情况,这种情况下,用户需要分别打开多个不同的应用,来回切换使用相关应用的功能。With the development of web background management system applications, the functions displayed in the page menu are becoming more and more humanized. Usually, different users correspond to different identities, and there will be different permissions in the same application, so the menu content displayed on the user interface will also be different, and the same user may be associated with multiple applications. In the process of completing an operation, it is often necessary to call multiple applications. In this case, the user needs to open multiple different applications and switch back and forth to use the functions of related applications.

针对相关技术中,调用多个应用的功能的便捷度较低等问题,尚未提出有效的解决方案。Aiming at the problems in related technologies, such as the low convenience of invoking functions of multiple applications, no effective solution has been proposed yet.

发明内容Contents of the invention

本申请实施例提供了一种页面菜单的创建方法和装置、存储介质及电子装置,以至少解决相关技术中,调用多个应用的功能的便捷度较低等问题。Embodiments of the present application provide a method and device for creating a page menu, a storage medium, and an electronic device, so as to at least solve problems in the related art such as low convenience for invoking functions of multiple applications.

根据本申请实施例的一个实施例,提供了一种页面菜单的创建方法,包括:According to an embodiment of the embodiment of the present application, a method for creating a page menu is provided, including:

获取目标帐号发起的菜单创建请求;Obtain the menu creation request initiated by the target account;

响应所述菜单创建请求,根据所述目标帐号对应的第一页面路径和第二页面路径创建目标页面路径,其中,所述第一页面路径用于指示所述目标帐号在第一应用上具有访问权限的页面的路由信息,所述目标帐号是在所述第一应用的帐号系统中的帐号,所述第二页面路径用于指示所述目标帐号在第二应用上具有访问权限的页面的路由信息;In response to the menu creation request, create a target page path according to the first page path and the second page path corresponding to the target account, where the first page path is used to indicate that the target account has access to the first application Routing information of a page with permission, the target account is an account in the account system of the first application, and the second page path is used to indicate the route of the page that the target account has access permission on the second application information;

向所述目标帐号发送所述目标页面路径,其中,所述目标页面路径用于指示所述目标帐号依据所述目标页面路径创建目标页面菜单。Sending the target page path to the target account, where the target page path is used to instruct the target account to create a target page menu according to the target page path.

可选的,所述根据所述目标帐号对应的第一页面路径和第二页面路径创建目标页面路径,包括:Optionally, the creating the target page path according to the first page path and the second page path corresponding to the target account includes:

从所述第一应用存储的页面路径中获取所述目标帐号对应的所述第一页面路径;Acquiring the first page path corresponding to the target account from the page path stored in the first application;

向所述第二应用请求所述目标帐号对应的页面路径并获取所述第二应用返回的所述第二页面路径;Requesting a page path corresponding to the target account from the second application and obtaining the second page path returned by the second application;

整合所述第一页面路径和所述第二页面路径,得到所述目标页面路径。Integrating the first page path and the second page path to obtain the target page path.

可选的,所述整合所述第一页面路径和所述第二页面路径,得到所述目标页面路径,包括:Optionally, the integrating the first page path and the second page path to obtain the target page path includes:

遍历所述第二页面路径中的每个目标路由;traverse each target route in the second page path;

从所述第一页面路径包括的一个或者多个路由中获取所述目标路由对应的父级路由;Obtaining a parent route corresponding to the target route from one or more routes included in the first page path;

将所述目标路由与所述父级路由的子级路由合并,得到目标页面路径。Merge the target route with the child route of the parent route to obtain the target page path.

可选的,所述从所述第一应用存储的页面路径中获取所述目标帐号对应的所述第一页面路径,包括:Optionally, the obtaining the first page path corresponding to the target account from the page path stored in the first application includes:

确定所述目标帐号对应的目标身份标识,其中,所述目标身份标识用于指示所述目标帐号在所述第一应用中所具有的身份;determining a target identity corresponding to the target account, where the target identity is used to indicate the identity of the target account in the first application;

从具有对应关系的身份标识和页面路径中获取所述目标身份标识对应的所述第一页面路径。The first page path corresponding to the target identity is acquired from the identity and the page path having a corresponding relationship.

可选的,所述向所述第二应用请求所述目标帐号对应的页面路径并获取所述第二应用返回的所述第二页面路径,包括:Optionally, the requesting the second application for the page path corresponding to the target account and obtaining the second page path returned by the second application includes:

向所述第二应用发送页面路径请求,其中,所述页面路径请求用于请求所述第二应用提供所述目标身份标识所对应的页面路径;sending a page path request to the second application, where the page path request is used to request the second application to provide the page path corresponding to the target identity;

获取所述第二应用响应所述页面路径请求返回的所述目标身份标识对应的初始页面路径;Obtaining an initial page path corresponding to the target identity returned by the second application in response to the page path request;

向所述初始页面路径添加第二应用标识,得到标识页面路径,其中,所述第二应用标识用于标记所述初始页面路径是从所述第二应用获取到的;Adding a second application identifier to the initial page path to obtain an identified page path, wherein the second application identifier is used to mark that the initial page path is obtained from the second application;

对所述标识页面路径中包括的页面路径进行去重,得到所述第二页面路径。Deduplication is performed on the page paths included in the identified page path to obtain the second page path.

在一个示例性实施例中,一种页面菜单的创建方法,其特征在于,包括:In an exemplary embodiment, a method for creating a page menu is characterized by comprising:

向服务器发送菜单创建请求;Send a menu creation request to the server;

接收所述服务器响应所述菜单创建请求返回的目标页面路径,其中,所述目标页面路径是根据所述目标帐号对应的第一页面路径和第二页面路径创建的,所述第一页面路径用于指示所述目标帐号在第一应用上具有访问权限的页面的路由信息,所述目标帐号是在所述第一应用的帐号系统中的帐号,所述第二页面路径用于指示所述目标帐号在第二应用上具有访问权限的页面的路由信息;receiving the target page path returned by the server in response to the menu creation request, wherein the target page path is created according to the first page path and the second page path corresponding to the target account, and the first page path uses Routing information indicating a page that the target account has access rights on the first application, the target account is an account in the account system of the first application, and the second page path is used to indicate the target Routing information of pages that the account has access rights to on the second application;

创建所述目标页面路径对应的目标页面菜单。A target page menu corresponding to the target page path is created.

可选的,所述创建所述目标页面路径对应的目标页面菜单,包括:Optionally, the creating the target page menu corresponding to the target page path includes:

从所述目标页面路径中获取由所述第一应用提供的第三页面路径;acquiring a third page path provided by the first application from the target page path;

按照所述第三页面路径对所述目标帐号所登录的客户端所存储的页面路径进行调整,得到候选页面路径;adjusting the page path stored in the client logged in by the target account according to the third page path to obtain a candidate page path;

生成所述候选页面路径对应的候选页面菜单;generating a candidate page menu corresponding to the candidate page path;

将第四页面路径对应的页面链接按照所述目标页面路径所指示的层级关系插入所述候选页面菜单,得到目标页面菜单,其中,所述第四页面路径是所述目标页面路径中由所述第二应用提供的页面路径。inserting the page link corresponding to the fourth page path into the candidate page menu according to the hierarchical relationship indicated by the target page path, to obtain the target page menu, wherein the fourth page path is defined by the target page path in the target page path The page path provided by the second application.

可选的,在所述得到目标页面菜单之后,所述方法还包括:Optionally, after the target page menu is obtained, the method further includes:

在检测到所述目标页面菜单中的目标菜单项被执行了访问操作的情况下,确定所述目标菜单项的菜单类型;When it is detected that the target menu item in the target page menu has been accessed, determine the menu type of the target menu item;

在所述目标菜单项的菜单类型不属于页面链接类型的情况下,从所述第一应用调用所述目标菜单项对应的菜单数据进行页面展示;In the case that the menu type of the target menu item does not belong to the page link type, call the menu data corresponding to the target menu item from the first application to display the page;

在所述目标菜单项的菜单类型属于页面链接类型的情况下,调用所述目标菜单项对应的目标页面链接。When the menu type of the target menu item belongs to the page link type, the target page link corresponding to the target menu item is invoked.

根据本申请实施例的另一个实施例,还提供了一种页面菜单的创建装置1,包括:According to another embodiment of the embodiment of the present application, there is also provided an apparatus 1 for creating a page menu, including:

获取模块,用于获取目标帐号发起的菜单创建请求;An acquisition module, configured to acquire a menu creation request initiated by the target account;

第一创建模块,用于响应所述菜单创建请求,根据所述目标帐号对应的第一页面路径和第二页面路径创建目标页面路径,其中,所述第一页面路径用于指示所述目标帐号在第一应用上具有访问权限的页面的路由信息,所述目标帐号是在所述第一应用的帐号系统中的帐号,所述第二页面路径用于指示所述目标帐号在第二应用上具有访问权限的页面的路由信息;A first creation module, configured to respond to the menu creation request and create a target page path according to the first page path and the second page path corresponding to the target account, wherein the first page path is used to indicate the target account Routing information of pages with access rights on the first application, the target account is an account in the account system of the first application, and the second page path is used to indicate that the target account is on the second application Routing information for pages to which you have access;

第一发送模块,用于向所述目标帐号发送所述目标页面路径,其中,所述目标页面路径用于指示所述目标帐号依据所述目标页面路径创建目标页面菜单。A first sending module, configured to send the target page path to the target account, wherein the target page path is used to instruct the target account to create a target page menu according to the target page path.

根据本申请实施例的另一个实施例,还提供了一种页面菜单的创建装置2,包括:According to another embodiment of the embodiment of the present application, a device 2 for creating a page menu is also provided, including:

第二发送模块,用于向服务器发送菜单创建请求;The second sending module is used to send a menu creation request to the server;

接收模块,用于接收所述服务器响应所述菜单创建请求返回的目标页面路径,其中,所述目标页面路径是根据所述目标帐号对应的第一页面路径和第二页面路径创建的,所述第一页面路径用于指示所述目标帐号在第一应用上具有访问权限的页面的路由信息,所述目标帐号是在所述第一应用的帐号系统中的帐号,所述第二页面路径用于指示所述目标帐号在第二应用上具有访问权限的页面的路由信息;A receiving module, configured to receive the target page path returned by the server in response to the menu creation request, wherein the target page path is created according to the first page path and the second page path corresponding to the target account, the The first page path is used to indicate the routing information of the page that the target account has access authority on the first application, the target account is an account in the account system of the first application, and the second page path is used Routing information on pages indicating that the target account has access rights on the second application;

第二创建模块,用于创建所述目标页面路径对应的目标页面菜单。The second creating module is used to create a target page menu corresponding to the target page path.

根据本申请实施例的又一方面,还提供了一种计算机可读的存储介质,该计算机可读的存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述页面菜单的创建方法。According to yet another aspect of the embodiments of the present application, a computer-readable storage medium is also provided, and a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute the above page menu when running. create method.

根据本申请实施例的又一方面,还提供了一种电子装置,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,上述处理器通过计算机程序执行上述的页面菜单的创建方法。According to yet another aspect of the embodiments of the present application, there is also provided an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the above-mentioned processor executes the above-mentioned How to create page menus.

在本申请实施例中,获取目标帐号发起的菜单创建请求;响应菜单创建请求,根据目标帐号对应的第一页面路径和第二页面路径创建目标页面路径,其中,第一页面路径用于指示目标帐号在第一应用上具有访问权限的页面的路由信息,目标帐号是在第一应用的帐号系统中的帐号,第二页面路径用于指示目标帐号在第二应用上具有访问权限的页面的路由信息;向目标帐号发送目标页面路径,其中,目标页面路径用于指示目标帐号依据目标页面路径创建目标页面菜单,即目标帐号发起的菜单创建请求,请求访问第一应用和第二应用上有访问权限的页面时,响应菜单创建请求,根据目标帐号从第一应用上获取具有访问权限的页面的路由信息作为第一页面路径,根据目标帐号从第二应用上获取具有访问权限的页面的路由信息作为第二页面路径,然后根据第一页面路径和第二页面路径创建目标页面路径,将目标页面路径返回目标帐号创建目标页面菜单,即可通过目标页面菜单访问第一应用和第二应用上有访问权限的页面。采用上述技术方案,解决了相关技术中,调用多个应用的功能的便捷度较低等问题,实现了提高调用多个应用的功能的便捷度的技术效果。In this embodiment of the application, the menu creation request initiated by the target account is obtained; in response to the menu creation request, the target page path is created according to the first page path and the second page path corresponding to the target account, wherein the first page path is used to indicate the target The route information of the page that the account has access authority on the first application, the target account is an account in the account system of the first application, and the second page path is used to indicate the route of the page that the target account has access authority on the second application information; send the target page path to the target account, where the target page path is used to instruct the target account to create the target page menu according to the target page path, that is, the menu creation request initiated by the target account, and the request to access the first application and the second application have access For pages with access rights, in response to the menu creation request, obtain the routing information of the page with access rights from the first application as the first page path according to the target account, and obtain the routing information of the page with access rights from the second application according to the target account As the second page path, then create the target page path based on the first page path and the second page path, and return the target page path to the target account to create the target page menu, and you can access the first application and the second application through the target page menu. access rights page. By adopting the above technical solution, the problem of low convenience of invoking functions of multiple applications in related technologies is solved, and the technical effect of improving the convenience of invoking functions of multiple applications is achieved.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application.

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application 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, for those of ordinary skill in the art, In other words, other drawings can also be obtained from these drawings without paying creative labor.

图1是根据本申请实施例的一种页面菜单的创建方法的硬件环境示意图;FIG. 1 is a schematic diagram of a hardware environment of a method for creating a page menu according to an embodiment of the present application;

图2是根据本申请实施例的一种页面菜单的创建方法的流程图一;FIG. 2 is a flow chart 1 of a method for creating a page menu according to an embodiment of the present application;

图3是根据本申请实施例的一种菜单创建请求的示意图;FIG. 3 is a schematic diagram of a menu creation request according to an embodiment of the present application;

图4是根据本申请实施例的目标页面路径创建的流程图;FIG. 4 is a flow chart of creating a target page path according to an embodiment of the present application;

图5是根据本申请实施例的第一页面路径获取的示意图;Fig. 5 is a schematic diagram of obtaining the path of the first page according to an embodiment of the present application;

图6是根据本申请实施例的第一页面路径和所述第二页面路径整合的示意图;Fig. 6 is a schematic diagram of the integration of the first page path and the second page path according to an embodiment of the present application;

图7是根据本申请实施例的目标身份标识匹配第一页面路径的示意图;FIG. 7 is a schematic diagram of matching a target identity with a first page path according to an embodiment of the present application;

图8是根据本申请实施例的第二页面路径获取的示意图;FIG. 8 is a schematic diagram of acquiring a second page path according to an embodiment of the present application;

图9是根据本申请实施例的一种页面菜单的创建方法的流程图二;FIG. 9 is a second flowchart of a method for creating a page menu according to an embodiment of the present application;

图10是根据本申请实施例的目标页面菜单生成的示意图;FIG. 10 is a schematic diagram of generating a target page menu according to an embodiment of the present application;

图11是根据本申请实施例的一种页面菜单的创建方法的交互图;FIG. 11 is an interactive diagram of a method for creating a page menu according to an embodiment of the present application;

图12是根据本申请实施例的一种页面菜单的创建装置的结构框图一;FIG. 12 is a structural block diagram 1 of an apparatus for creating a page menu according to an embodiment of the present application;

图13是根据本申请实施例的一种页面菜单的创建装置的结构框图二。FIG. 13 is a second structural block diagram of an apparatus for creating a page menu according to an embodiment of the present application.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is an embodiment of a part of the application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first" and "second" in the description and claims of the present application and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.

根据本申请实施例的一个方面,提供了一种页面菜单的创建方法。该页面菜单的创建方法广泛应用于智慧家庭(Smart Home)、智能家居、智能家用设备生态、智慧住宅(Intelligence House)生态等全屋智能数字化控制应用场景。可选地,在本实施例中,上述页面菜单的创建方法可以应用于如图1所示的由终端设备102和服务器104所构成的硬件环境中。如图1所示,服务器104通过网络与终端设备102进行连接,可用于为终端或终端上安装的客户端提供服务(如应用服务等),可在服务器上或独立于服务器设置数据库,用于为服务器104提供数据存储服务,可在服务器上或独立于服务器配置云计算和/或边缘计算服务,用于为服务器104提供数据运算服务。According to an aspect of the embodiment of the present application, a method for creating a page menu is provided. The creation method of this page menu is widely used in smart home (Smart Home), smart home, smart home equipment ecology, smart house (Intelligence House) ecology and other intelligent digital control application scenarios in the whole house. Optionally, in this embodiment, the above method for creating a page menu may be applied to a hardware environment composed of aterminal device 102 and aserver 104 as shown in FIG. 1 . As shown in Figure 1, theserver 104 is connected to theterminal device 102 through the network, and can be used to provide services (such as application services, etc.) for the terminal or the client installed on the terminal. To provide data storage services for theserver 104, cloud computing and/or edge computing services may be configured on the server or independently of the server to provide data computing services for theserver 104.

上述网络可以包括但不限于以下至少之一:有线网络,无线网络。上述有线网络可以包括但不限于以下至少之一:广域网,城域网,局域网,上述无线网络可以包括但不限于以下至少之一:WIFI(Wireless Fidelity,无线保真),蓝牙。终端设备102可以并不限定于为PC、手机、平板电脑、智能空调、智能烟机、智能冰箱、智能烤箱、智能炉灶、智能洗衣机、智能热水器、智能洗涤设备、智能洗碗机、智能投影设备、智能电视、智能晾衣架、智能窗帘、智能影音、智能插座、智能音响、智能音箱、智能新风设备、智能厨卫设备、智能卫浴设备、智能扫地机器人、智能擦窗机器人、智能拖地机器人、智能空气净化设备、智能蒸箱、智能微波炉、智能厨宝、智能净化器、智能饮水机、智能门锁等。The foregoing network may include but not limited to at least one of the following: a wired network and a wireless network. The above-mentioned wired network may include but not limited to at least one of the following: wide area network, metropolitan area network, and local area network, and the above-mentioned wireless network may include but not limited to at least one of the following: WIFI (Wireless Fidelity, Wireless Fidelity), Bluetooth. Theterminal device 102 is not limited to PC, mobile phone, tablet computer, smart air conditioner, smart hood, smart refrigerator, smart oven, smart stove, smart washing machine, smart water heater, smart washing device, smart dishwasher, smart projection device , smart TV, smart drying rack, smart curtain, smart video, smart socket, smart audio, smart speaker, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart sweeping robot, smart window cleaning robot, smart mopping robot, Smart air purification equipment, smart steamer, smart microwave oven, smart kitchen treasure, smart purifier, smart water dispenser, smart door lock, etc.

在本实施例中提供了一种页面菜单的创建方法,应用于上述设备终端,图2是根据本申请实施例的一种页面菜单的创建方法的流程图一,该流程包括如下步骤:In this embodiment, a method for creating a page menu is provided, which is applied to the above-mentioned device terminal. FIG. 2 is a flow chart 1 of a method for creating a page menu according to an embodiment of the present application. The process includes the following steps:

步骤S202,获取目标帐号发起的菜单创建请求;Step S202, acquiring a menu creation request initiated by the target account;

步骤S204,响应所述菜单创建请求,根据所述目标帐号对应的第一页面路径和第二页面路径创建目标页面路径,其中,所述第一页面路径用于指示所述目标帐号在第一应用上具有访问权限的页面的路由信息,所述目标帐号是在所述第一应用的帐号系统中的帐号,所述第二页面路径用于指示所述目标帐号在第二应用上具有访问权限的页面的路由信息;Step S204, in response to the menu creation request, create a target page path according to the first page path and the second page path corresponding to the target account, wherein the first page path is used to indicate that the target account is in the first application Routing information of a page with access authority on the website, the target account is an account in the account system of the first application, and the second page path is used to indicate that the target account has access authority on the second application The routing information of the page;

步骤S206,向所述目标帐号发送所述目标页面路径,其中,所述目标页面路径用于指示所述目标帐号依据所述目标页面路径创建目标页面菜单。Step S206, sending the target page path to the target account, wherein the target page path is used to instruct the target account to create a target page menu according to the target page path.

通过上述步骤,目标帐号发起的菜单创建请求,请求访问第一应用和第二应用上有访问权限的页面时,响应菜单创建请求,根据目标帐号从第一应用上获取具有访问权限的页面的路由信息作为第一页面路径,根据目标帐号从第二应用上获取具有访问权限的页面的路由信息作为第二页面路径,然后根据第一页面路径和第二页面路径创建目标页面路径,将目标页面路径返回目标帐号创建目标页面菜单,即可通过目标页面菜单访问第一应用和第二应用上有访问权限的页面。采用上述技术方案,解决了相关技术中,调用多个应用的功能的便捷度较低等问题,实现了提高调用多个应用的功能的便捷度的技术效果。Through the above steps, when the menu creation request initiated by the target account requests access to pages with access rights on the first application and the second application, respond to the menu creation request and obtain the route of the page with access rights from the first application according to the target account information as the first page path, obtain the routing information of the page with access authority from the second application according to the target account as the second page path, then create a target page path based on the first page path and the second page path, and set the target page path Go back to the target account creation target page menu, and you can access the pages with access rights on the first app and the second app through the target page menu. By adopting the above technical solution, the problem of low convenience of invoking functions of multiple applications in related technologies is solved, and the technical effect of improving the convenience of invoking functions of multiple applications is achieved.

在上述步骤S202提供的技术方案中,上述菜单创建请求可以但不限于用于请求为目标帐号创建页面菜单,目标帐号发起的菜单创建请求可以但不限于是通过在终端界面中操作发出的,可以但不限于在终端设备的界面上通过勾选,点击,滑动等方式执行菜单创建请求,图3是根据本申请实施例的一种菜单创建请求的示意图;如图3所示,用户在终端设备上通过登录目标帐号发出菜单创建请求,服务器通过网络获取到终端设备传输过来的请求,对菜单创建请求携带的身份信息进行验证并验证成功之后,响应请求,生成用于创建页面菜单的数据。In the technical solution provided in the above step S202, the above menu creation request may be, but not limited to, used to request the creation of a page menu for the target account, and the menu creation request initiated by the target account may be, but not limited to, issued by operating in the terminal interface, and may But it is not limited to executing menu creation requests by checking, clicking, sliding, etc. on the interface of the terminal device. Fig. 3 is a schematic diagram of a menu creation request according to an embodiment of the present application; The server sends a menu creation request through the login target account, the server obtains the request transmitted from the terminal device through the network, verifies the identity information carried in the menu creation request and after the verification succeeds, responds to the request and generates data for creating a page menu.

在上述步骤S204提供的技术方案中,页面路径可以但不限于是指在创建菜单过程中,任何可以指示菜单之间的层级结构的路由信息,通过页面路径可以指示创建对应的菜单搭建起来应用的基本骨架。In the technical solution provided in the above step S204, the page path may, but is not limited to, refer to any routing information that can indicate the hierarchical structure between menus during the menu creation process, and the page path can indicate the creation of the corresponding menu to build and apply Basic skeleton.

可选地,在本实施例中,第一应用可以但不限于是指用户在本地主要使用的应用,包括办公应用、社交应用、音乐应用、多媒体应用、游戏应用等等。Optionally, in this embodiment, the first application may, but is not limited to, refer to an application mainly used by the user locally, including office applications, social networking applications, music applications, multimedia applications, game applications, and so on.

可选地,在本实施例中,第二应用可以是基于第一应用提供附加功能的应用,也就是说,第二应用可以为第一应用的相关功能进行补充和完善,通过在第一应用的基础上,结合第二应用的相关功能实现便捷的效果,比如,以目标场景为办公场景为例,在第一应用为办公应用的情况下,本地可以实现表格处理、文档编辑等功能,添加第二应用(多媒体应用)之后,可以直接在第一应用的界面中使用多媒体功能,比如,视频编辑、图片编辑等等功能,无需打开第二应用(多媒体应用),提高了调用相关功能的便捷度。Optionally, in this embodiment, the second application can be an application that provides additional functions based on the first application, that is, the second application can supplement and perfect the related functions of the first application, and On the basis of this, combined with the relevant functions of the second application to achieve convenient effects, for example, taking the target scene as an office scene as an example, when the first application is an office application, functions such as form processing and document editing can be realized locally, adding After the second application (multimedia application), you can directly use multimedia functions in the interface of the first application, such as video editing, picture editing and other functions, without opening the second application (multimedia application), which improves the convenience of calling related functions Spend.

可选地,在本实施例中,目标帐号可以但不限于是第一应用对应的帐号系统中的帐号,比如,存在应用A和应用B,菜单创建请求可以但不限于是通过帐号a发出的请求,其中,帐号a可以但不限于是在应用A上注册的帐号,可以但不限于属于应用A对应的帐号系统,可以通过帐号a访问应用A对应的界面。Optionally, in this embodiment, the target account may be, but not limited to, an account in the account system corresponding to the first application, for example, there are application A and application B, and the menu creation request may be, but not limited to, sent through account a Request, wherein account a may be, but not limited to, an account registered on application A, may belong to an account system corresponding to application A, and may access an interface corresponding to application A through account a.

可选地,在本实施例中,可以但不限于通过以下流程根据所述目标帐号对应的第一页面路径和第二页面路径创建目标页面路径,图4是根据本申请实施例的目标页面路径创建的流程图;如图4所示,第一应用的服务器接收到目标账号发起的菜单创建请求后,将目标帐号与其帐号系统中的帐号进行匹配,确认目标帐号属于其帐号系统之后,可以获取目标帐号在第一应用上具有访问权限的第一页面路径,然后,再从第二应用上获取目标帐号具有访问权限的第二页面路径,最后,可以根据第一页面路径和第二页面路径创建目标页面路径。Optionally, in this embodiment, the target page path can be created according to the first page path and the second page path corresponding to the target account through the following process, but is not limited to. Figure 4 shows the target page path according to the embodiment of the present application The flow chart of creation; as shown in Figure 4, after receiving the menu creation request initiated by the target account, the server of the first application matches the target account with the accounts in its account system, and after confirming that the target account belongs to its account system, it can obtain The first page path that the target account has access rights on the first application, and then obtain the second page path that the target account has access rights from the second application, and finally, create a page based on the first page path and the second page path Target page path.

在一个示例性实施例中,可以但不限于通过以下方式根据所述目标帐号对应的第一页面路径和第二页面路径创建目标页面路径:从所述第一应用存储的页面路径中获取所述目标帐号对应的所述第一页面路径;向所述第二应用请求所述目标帐号对应的页面路径并获取所述第二应用返回的所述第二页面路径;整合所述第一页面路径和所述第二页面路径,得到所述目标页面路径。In an exemplary embodiment, the target page path may be created according to the first page path and the second page path corresponding to the target account in the following manner: obtain the page path stored in the first application. The first page path corresponding to the target account; requesting the page path corresponding to the target account from the second application and obtaining the second page path returned by the second application; integrating the first page path and The second page path obtains the target page path.

可选地,在本实施例中,第一页面路径可以但不限于是第一应用存储的页面路径的一个子集,也就是说,第一应用存储的页面路径可以但不限于包括多个子页面路径,图5是根据本申请实施例的第一页面路径获取的示意图;如图5所示,第一应用存储的页面路径可以包括第一页面路径~第N页面路径,其中,每一个页面路径可以但不限于对应一个帐号,通过将目标帐号与第一应用存储的页面路径进行匹配,获取目标帐号对应的第一页面路径。Optionally, in this embodiment, the first page path may be, but not limited to, a subset of the page path stored by the first application, that is, the page path stored by the first application may, but not limited to, include multiple sub-pages Path, FIG. 5 is a schematic diagram of obtaining the first page path according to an embodiment of the present application; as shown in FIG. 5 , the page path stored in the first application may include the first page path to the Nth page path, wherein each page path It may be, but not limited to, correspond to an account, and the first page path corresponding to the target account may be obtained by matching the target account with the page path stored in the first application.

可选地,在本实施例中,目标页面路径可以但不限于是第一页面路径和所述第二页面路径经过整合得到的,也就是说,目标页面路径不是简单的将第一页面路径和第二页面路径进行堆叠。Optionally, in this embodiment, the target page path may be, but not limited to, obtained by integrating the first page path and the second page path, that is, the target page path is not simply a combination of the first page path and the second page path The second page path is stacked.

在一个示例性实施例中,可以但不限于通过以下方式整合所述第一页面路径和所述第二页面路径,得到所述目标页面路径:遍历所述第二页面路径中的每个目标路由;从所述第一页面路径包括的一个或者多个路由中获取所述目标路由对应的父级路由;将所述目标路由与所述父级路由的子级路由合并,得到目标页面路径。In an exemplary embodiment, the target page path may be obtained by integrating the first page path and the second page path in the following manner: traversing each target route in the second page path Obtaining the parent route corresponding to the target route from one or more routes included in the first page path; merging the target route with the child route of the parent route to obtain the target page path.

可选地,在本实施例中,将所述目标路由与所述父级路由的子级路由合并,也就是说,目标页面路径可以但不限于是通过将目标路由插入父级路由的下级得到的,图6是根据本申请实施例的第一页面路径和所述第二页面路径整合的示意图;如图6所示,遍历第二页面路径中的每个目标路由,以第4路由作为目标路由为例,获取第4路由在第一页面路径中对应的父级路由为第b路由,其中,第b路由可以但不限于包括多个子路由,比如:第b1路由~第b3路由,那么,可以但不不限于将第4路由插入第b路由的下级路由,也就是将第b1路由~第b3路由与第4路由合并,得到目标页面路径。Optionally, in this embodiment, the target route is merged with the child route of the parent route, that is, the target page path can be obtained, but not limited to, by inserting the target route into the child route of the parent route 6 is a schematic diagram of the integration of the first page path and the second page path according to the embodiment of the present application; as shown in FIG. 6, each target route in the second page path is traversed, and the fourth route is used as the target Taking routing as an example, obtain the parent route corresponding to the fourth route in the first page path as the b-th route, where the b-th route can include, but is not limited to, multiple sub-routes, for example: the b1-th route to the b3-th route, then, It is possible but not limited to inserting the fourth route into the lower-level route of the b-th route, that is, merging the b1-th route b3 with the fourth route to obtain the target page path.

在一个示例性实施例中,可以但不限于通过以下方式从所述第一应用存储的页面路径中获取所述目标帐号对应的所述第一页面路径:确定所述目标帐号对应的目标身份标识,其中,所述目标身份标识用于指示所述目标帐号在所述第一应用中所具有的身份;从具有对应关系的身份标识和页面路径中获取所述目标身份标识对应的所述第一页面路径。In an exemplary embodiment, the first page path corresponding to the target account may be obtained, but not limited to, from the page path stored in the first application in the following manner: determine the target identity corresponding to the target account , wherein the target identity is used to indicate the identity of the target account in the first application; the first application corresponding to the target identity is obtained from the corresponding identity and page path. page path.

可选地,在本实施例中,目标身份标识可以但不限于指目标场景中具备不同权限的身份,比如,在目标场景为办公场景的情况下,目标身份标识可以但不限于包括:管理员标识,领导人员标识,普通职员标识等等;在目标场景为教学场景的情况下,目标身份标识可以但不限于包括:校长标识,教师标识,学生标识等等,不同的标识对应的应用访问权限可以但不限于不同,比如,对于同一应用,领导人员标识的访问权限可以大于普通职员标识的访问权限。Optionally, in this embodiment, the target identity may, but is not limited to, refer to identities with different permissions in the target scene. For example, when the target scene is an office scene, the target identity may include, but is not limited to: an administrator ID, leader ID, general staff ID, etc.; when the target scenario is a teaching scenario, the target ID can include but is not limited to: principal ID, teacher ID, student ID, etc., and the application access rights corresponding to different IDs It can be, but not limited to, different. For example, for the same application, the access authority of the leader ID can be greater than that of the ordinary staff ID.

可选地,在本实施例中,第一页面路径的获取方式可以但不限于通过以下方式,图7是根据本申请实施例的目标身份标识匹配第一页面路径的示意图;如图7所示,以目标场景为上述办公场景为例,识别出目标帐号的目标身份标识为普通职员,可以将目标身份标识(普通职员)输入第一应用中存储身份标识&页面路径表中,匹配出目标身份标识(普通职员)对应的第一页面路径(第3页面路径)。Optionally, in this embodiment, the method of obtaining the first page path may be, but not limited to, the following methods. FIG. 7 is a schematic diagram of a target identity matching the first page path according to an embodiment of the present application; as shown in FIG. 7 , taking the target scenario as the above-mentioned office scenario as an example, the target ID of the target account is recognized as an ordinary employee, and the target ID (ordinary employee) can be input into the stored ID & page path table in the first application to match the target ID Identify the first page path (the third page path) corresponding to (ordinary staff).

在一个示例性实施例中,可以但不限于通过以下方式向所述第二应用请求所述目标帐号对应的页面路径并获取所述第二应用返回的所述第二页面路径:向所述第二应用发送页面路径请求,其中,所述页面路径请求用于请求所述第二应用提供所述目标身份标识所对应的页面路径;获取所述第二应用响应所述页面路径请求返回的所述目标身份标识对应的初始页面路径;向所述初始页面路径添加第二应用标识,得到标识页面路径,其中,所述第二应用标识用于标记所述初始页面路径是从所述第二应用获取到的;对所述标识页面路径中包括的页面路径进行去重,得到所述第二页面路径。In an exemplary embodiment, requesting the second application for the page path corresponding to the target account and obtaining the second page path returned by the second application may be performed, but not limited to, in the following manner: The second application sends a page path request, wherein the page path request is used to request the second application to provide the page path corresponding to the target identity; obtain the page path returned by the second application in response to the page path request The initial page path corresponding to the target identity; adding a second application identifier to the initial page path to obtain an identified page path, wherein the second application identifier is used to mark that the initial page path is obtained from the second application obtained; the page path included in the identified page path is deduplicated to obtain the second page path.

可选地,在本实施例中,对所述标识页面路径中包括的页面路径进行去重可以但不限于是因为第二应用由多方共同运维的应用,返回的标识页面路径中包括的页面路径可能存在重复页面路径的情况,可以通过对相同的页面路径进行去重,得到第二页面路径。Optionally, in this embodiment, deduplication of the page path included in the identified page path may be, but not limited to, because the second application is jointly operated and maintained by multiple parties, and the returned identified page path includes the page The path may have duplicate page paths, and the second page path can be obtained by deduplicating the same page path.

可选地,在本实施例中,第二页面路径的获取方式可以但不限于通过以下方式,图8是根据本申请实施例的第二页面路径获取的示意图;如图8所示,以目标场景为上述办公场景为例,识别出目标帐号的目标身份标识为领导人员,可以将目标身份标识(领导人员)输入第二应用中存储的身份标识&页面路径表中,匹配出目标身份标识(领导人员)对应的初始页面路径(第2页面路径),然后,可以向初始页面路径(第2页面路径)添加第二应用标识,得到(第2标识页面路径),将(第2标识页面路径)进行去重之后,得到第二页面路径(第2去重页面路径)。Optionally, in this embodiment, the acquisition method of the second page path may be, but not limited to, the following methods. FIG. 8 is a schematic diagram of acquisition of the second page path according to the embodiment of the present application; as shown in FIG. 8 , the target The scenario is the above-mentioned office scenario as an example. If the target identity of the target account is identified as a leader, the target identity (leader) can be input into the identity & page path table stored in the second application to match the target identity ( leader) corresponding to the initial page path (the second page path), then, the second application identifier can be added to the initial page path (the second page path) to obtain (the second identifier page path), and the (second identifier page path ) to obtain the second page path (the second deduplication page path).

在上述步骤S206提供的技术方案中,目标页面路径可以但不限于为创建目标页面菜单提供菜单的层级关系,比如,可以指示目标页面菜单的主菜单和子菜单之间的层级关系,由于目标页面路径是目标帐号在第一应用和第二应用中匹配得到的,因此,根据目标页面路径生成的目标页面菜单可以指示目标帐号在第一应用和第二应用中具备查看权限的菜单集合。In the technical solution provided by the above step S206, the target page path may, but is not limited to, provide the hierarchical relationship of the menu for creating the target page menu, for example, it may indicate the hierarchical relationship between the main menu and submenus of the target page menu, because the target page path It is obtained by matching the target account in the first application and the second application. Therefore, the target page menu generated according to the target page path may indicate a set of menus that the target account has permission to view in the first application and the second application.

在本实施例中提供了一种页面菜单的创建方法,应用于上述设备终端,图9是根据本申请实施例的一种页面菜单的创建方法的流程图二,该流程包括如下步骤:In this embodiment, a method for creating a page menu is provided, which is applied to the above-mentioned device terminal. FIG. 9 is a flowchart 2 of a method for creating a page menu according to an embodiment of the present application. The process includes the following steps:

步骤S902,向服务器发送菜单创建请求;Step S902, sending a menu creation request to the server;

步骤S904,接收所述服务器响应所述菜单创建请求返回的目标页面路径,其中,所述目标页面路径是根据所述目标帐号对应的第一页面路径和第二页面路径创建的,所述第一页面路径用于指示所述目标帐号在第一应用上具有访问权限的页面的路由信息,所述目标帐号是在所述第一应用的帐号系统中的帐号,所述第二页面路径用于指示所述目标帐号在第二应用上具有访问权限的页面的路由信息;Step S904, receiving the target page path returned by the server in response to the menu creation request, wherein the target page path is created according to the first page path and the second page path corresponding to the target account, and the first The page path is used to indicate the routing information of the page that the target account has access authority on the first application, the target account is an account in the account system of the first application, and the second page path is used to indicate Routing information of a page that the target account has access authority on the second application;

步骤S906,创建所述目标页面路径对应的目标页面菜单。Step S906, creating a target page menu corresponding to the target page path.

通过上述步骤,目标帐号发起的菜单创建请求,请求访问第一应用和第二应用上有访问权限的页面时,响应菜单创建请求,根据目标帐号从第一应用上获取具有访问权限的页面的路由信息作为第一页面路径,根据目标帐号从第二应用上获取具有访问权限的页面的路由信息作为第二页面路径,然后根据第一页面路径和第二页面路径创建目标页面路径,将目标页面路径返回目标帐号创建目标页面菜单,即可通过目标页面菜单访问第一应用和第二应用上有访问权限的页面。采用上述技术方案,解决了相关技术中,调用多个应用的功能的便捷度较低等问题,实现了提高调用多个应用的功能的便捷度的技术效果。Through the above steps, when the menu creation request initiated by the target account requests access to pages with access rights on the first application and the second application, respond to the menu creation request and obtain the route of the page with access rights from the first application according to the target account information as the first page path, obtain the routing information of the page with access authority from the second application according to the target account as the second page path, then create a target page path based on the first page path and the second page path, and set the target page path Go back to the target account creation target page menu, and you can access the pages with access rights on the first app and the second app through the target page menu. By adopting the above technical solution, the problem of low convenience of invoking functions of multiple applications in related technologies is solved, and the technical effect of improving the convenience of invoking functions of multiple applications is achieved.

在上述步骤S902提供的技术方案中,可以但不限于通过在客户端屏幕上进行“点击”、“滑动”等触发请求的方式向服务器发送菜单创建请求,菜单创建请求可以但不限于用于请求为目标帐号创建页面菜单,比如,可以但不限于输入目标帐号之后,点击进入页面菜单的请求,便可以向服务器发送菜单创建请求,请求为目标帐号创建页面菜单。In the technical solution provided in step S902 above, a menu creation request can be sent to the server by triggering requests such as “click” and “swipe” on the client screen, but not limited to, the menu creation request can be used to request Create a page menu for the target account. For example, after entering the target account, click the request to enter the page menu, and then send a menu creation request to the server, requesting to create a page menu for the target account.

在上述步骤S904提供的技术方案中,服务器在接受到菜单创建请求之后,对请求进行响应,可以通过服务器获取目标帐号在第一应用上具有访问权限的页面的路由信息,以及,目标帐号在第二应用上具有访问权限的页面的路由信息,进行整合之后,得到目标页面路径,然后返回目标页面路径。In the technical solution provided by the above step S904, after receiving the menu creation request, the server responds to the request, and can obtain the routing information of the page that the target account has access rights on the first application through the server, and the target account is in the first application. 2. After the routing information of pages with access rights on the application is integrated, the path of the target page is obtained, and then the path of the target page is returned.

在上述步骤S906提供的技术方案中,在接受到目标页面路径之后,可以根据目标页面路径指示的页面菜单包括的主菜单和子菜单之间的层级关系生成目标页面菜单,也就是说,创建目标页面菜单的过程中,主菜单和子菜单之间的层级关系可以是目标页面路径提供的。In the technical solution provided in step S906 above, after receiving the target page path, the target page menu can be generated according to the hierarchical relationship between the main menu and submenus included in the page menu indicated by the target page path, that is, to create the target page During the menu process, the hierarchical relationship between the main menu and submenus can be provided by the target page path.

在一个示例性实施例中,可以但不限于通过以下方式创建所述目标页面路径对应的目标页面菜单:从所述目标页面路径中获取由所述第一应用提供的第三页面路径;按照所述第三页面路径对所述目标帐号所登录的客户端所存储的页面路径进行调整,得到候选页面路径;生成所述候选页面路径对应的候选页面菜单;将第四页面路径对应的页面链接按照所述目标页面路径所指示的层级关系插入所述候选页面菜单,得到目标页面菜单,其中,所述第四页面路径是所述目标页面路径中由所述第二应用提供的页面路径。In an exemplary embodiment, the target page menu corresponding to the target page path may be created, but not limited to, in the following manner: obtain the third page path provided by the first application from the target page path; The third page path adjusts the page path stored by the client logged in by the target account to obtain a candidate page path; generates a candidate page menu corresponding to the candidate page path; links the page corresponding to the fourth page path according to The hierarchical relationship indicated by the target page path is inserted into the candidate page menu to obtain a target page menu, wherein the fourth page path is a page path provided by the second application in the target page path.

可选地,在本实施例中,按照所述第三页面路径对所述目标帐号所登录的客户端所存储的页面路径进行调整,得到候选页面路径可以但不限于是对客户端所存储的页面路径的页面路径顺序、页面路径级别进行调整,调整的手段可以但不限于是通过程序或者软件进行批量调整,第三页面路径可以视为为调整提供了调整目标,也就是说,可以通过调整操作,将客户端所存储的页面路径调整至与第三页面路径一致。Optionally, in this embodiment, the page path stored in the client logged in by the target account is adjusted according to the third page path, and the candidate page path obtained may be, but not limited to, the page path stored in the client. The page path sequence and page path level of the page path can be adjusted. The adjustment method can be but not limited to batch adjustment through programs or software. The third page path can be regarded as providing an adjustment target for the adjustment, that is, it can be adjusted by adjusting Operation, adjusting the page path stored in the client to be consistent with the third page path.

可选地,在本实施例中,目标页面菜单的生成方式可以但不限于是将将第四页面路径对应的页面链接按照所述目标页面路径所指示的层级关系插入所述候选页面菜单,得到目标页面菜单,图10是根据本申请实施例的目标页面菜单生成的示意图;如图10所示,将目标页面路径中来自第一应用的作为第三页面路径(第B路由、第D路由、……、第S-1路由),来自第二应用的作为第四页面路径(第A路由、第C路由、第E路由、……、第S路由),首先可以通过第三应用菜单指示客户端存储的页面路径进行调整得到候选页面路径,然后根据候选页面路径生成候选页面菜单,形成初步的菜单框架,然后,可以将第四应用菜单对应的页面链接按照所述目标页面路径所指示的层级关系插入所述候选页面菜单中,得到目标页面菜单。Optionally, in this embodiment, the method of generating the target page menu may be, but not limited to, inserting the page link corresponding to the fourth page path into the candidate page menu according to the hierarchical relationship indicated by the target page path, to obtain Target page menu, FIG. 10 is a schematic diagram of the generation of the target page menu according to the embodiment of the present application; as shown in FIG. ..., the S-1th route), from the second application as the fourth page path (the A-th route, the C-th route, the E-th route, ..., the S-th route), firstly, the customer can be instructed through the third application menu Adjust the page path stored on the terminal to obtain a candidate page path, and then generate a candidate page menu according to the candidate page path to form a preliminary menu frame, and then link the page link corresponding to the fourth application menu according to the level indicated by the target page path The relationship is inserted into the candidate page menu to obtain the target page menu.

在一个示例性实施例中,在上述步骤S906之后,还可以但不限于通过以下方式对目标页面菜单中的菜单项进行访问:在检测到所述目标页面菜单中的目标菜单项被执行了访问操作的情况下,确定所述目标菜单项的菜单类型;在所述目标菜单项的菜单类型不属于页面链接类型的情况下,从所述第一应用调用所述目标菜单项对应的菜单数据进行页面展示;在所述目标菜单项的菜单类型属于页面链接类型的情况下,调用所述目标菜单项对应的目标页面链接。In an exemplary embodiment, after the above step S906, the menu item in the target page menu may also be accessed, but not limited to, in the following manner: after detecting that the target menu item in the target page menu has been accessed In the case of operation, determine the menu type of the target menu item; in the case that the menu type of the target menu item does not belong to the page link type, call the menu data corresponding to the target menu item from the first application to perform Page display; in the case that the menu type of the target menu item belongs to the page link type, calling the target page link corresponding to the target menu item.

可选地,在本实施例中,在检测到所述目标页面菜单中的目标菜单项被执行了访问操作的情况下可以但不限于是检测到选择、滑动、选中等操作,比如,检测到目标菜单项被点击选中,即可视为目标菜单项被执行了访问操作。Optionally, in this embodiment, when it is detected that the target menu item in the target page menu has been accessed, it may be, but not limited to, detecting operations such as selecting, sliding, and selecting, for example, detecting When the target menu item is clicked and selected, it can be deemed that the target menu item has been accessed.

可选地,在本实施例中,目标菜单项的菜单类型不属于页面链接类型的情况下,目标菜单项的菜单数据存储在第一应用中,直接调用第一应用中目标菜单项对应的菜单数据进行页面展示即可,目标菜单项的菜单类型属于页面链接类型的情况下,由于目标菜单项的菜单数据存储在第二应用中,因此需要调用目标菜单项对应的目标页面链接,访问第二应用中存储的菜单数据。Optionally, in this embodiment, when the menu type of the target menu item does not belong to the page link type, the menu data of the target menu item is stored in the first application, and the menu corresponding to the target menu item in the first application is directly called The data can be displayed on the page. If the menu type of the target menu item belongs to the page link type, since the menu data of the target menu item is stored in the second application, it is necessary to call the target page link corresponding to the target menu item to access the second application. Menu data stored in the application.

为了更好的理解上述页面菜单的创建的过程,以下再结合可选实施例对上述页面菜单的创建流程进行说明,但不用于限定本申请实施例的技术方案。In order to better understand the process of creating the above page menu, the process of creating the above page menu will be described below in conjunction with an optional embodiment, but it is not intended to limit the technical solution of the embodiment of the present application.

在本实施例中提供了一种页面菜单的创建方法,其中,以本地系统作为第一应用、Server作为本地系统对应的服务器、三方系统作为第二应用为例,描述页面菜单的创建的交互机制,图11是根据本申请实施例的一种页面菜单的创建方法的交互图,如图11所示,主要包括如下步骤:In this embodiment, a method for creating a page menu is provided, wherein the interactive mechanism for creating a page menu is described by taking the local system as the first application, the Server as the server corresponding to the local system, and the third-party system as the second application , FIG. 11 is an interaction diagram of a method for creating a page menu according to an embodiment of the present application. As shown in FIG. 11 , it mainly includes the following steps:

步骤S1101:通过部署在本地系统的Web用户端向Server端发起携带身份标识的页面路径请求;Step S1101: Initiate a page path request carrying an identity to the server through the web client deployed in the local system;

步骤S1102:Server端根据请求携带的身份标识进行身份校验;Step S1102: The server side performs identity verification according to the identity mark carried in the request;

步骤S1103:Server端获取本地系统内部该用户关联的页面路径;Step S1103: the server obtains the page path associated with the user in the local system;

步骤S1104:Server端向三方系统获取页面路径;Step S1104: the server obtains the page path from the third-party system;

步骤S1105:三方系统根据身份标识进行用户身份校验;Step S1105: The tripartite system performs user identity verification according to the identity mark;

步骤S1106:三方系统将该用户关联的页面路径添加三方标识;Step S1106: the third-party system adds a third-party identifier to the page path associated with the user;

步骤S1107:三方系统将其标识过的页面路径返回给Server端;Step S1107: the tripartite system returns the identified page path to the server;

步骤S1108:Server端将三方页面路径根据三方标识进行去重处理,由于Server端对接的三方系统一般是一个由多方运维所共同维护的系统,同一用户可能会在不同的三方系统配置中查询到相同的页面路径,因此每次三方系统都需要将该用户关联的页面路径添加上相应的标识用于区分,比如以应用名称搭配路由ID的方式作为标识;Step S1108: The server side de-duplicates the three-party page path according to the three-party identification. Since the three-party system connected to the server side is generally a system jointly maintained by multi-party operation and maintenance, the same user may query it in different three-party system configurations. The same page path, so every time the third-party system needs to add the corresponding identifier to the page path associated with the user for distinction, for example, use the application name and routing ID as the identifier;

步骤S1109:页面路径打标整合,将本地系统与三方系统的页面路径统一整合,按照对应的上下级关系进行梳理,合并同一主路由下的子页面路径,并按照标识规则进行排序、添加路由序号;Step S1109: page path marking integration, integrate the page paths of the local system and the three-party system, sort out according to the corresponding upper-lower relationship, merge the sub-page paths under the same main route, sort according to the identification rules, and add the route number ;

步骤S1110:Server端返回页面路径;Step S1110: the server side returns the page path;

步骤S1111:通过部署在本地系统的Web用户端对页面路径进行处理,结合web前端路由表对Server端返回的页面路径进行过滤,筛选出web端本地路由表中有权限的数据,将web端本地页面路径与Server端页面路径进行统一整合,按照对应的上下级关系进行梳理,合并同一主路由下的子页面路径,合并完毕后,生成用户菜单。Step S1111: Process the page path through the web client deployed in the local system, filter the page path returned by the server in combination with the web front-end routing table, filter out the authorized data in the web-side local routing table, and transfer the web-side local The page path and the server-side page path are uniformly integrated, sorted out according to the corresponding upper-lower relationship, and merged with sub-page paths under the same main route. After the merger is completed, a user menu is generated.

通过上述实施例,可以实现web前端本地路由、Server端配置路由以及三方系统路由的融合,动态生成前端路由,多方页面路径增加上下级关系与路由序号。可以解决现有的web前端页面路径生成方式大多存在灵活性差,Server端负荷大,过度依赖web前端打包发版等问题。本申请提出的可融合多方平台配置的动态路由生成方法,动态路由用于配置页面路径,在实现更灵活的配置方式的同时,也大大降低了依赖前端发版所带来的复杂性与不稳定性。不仅可以保证web前端路由的全覆盖,还可以通过单次权限校验返回多方页面路径,在不依赖web前端打包发版的同时,灵活的通过三方系统配置接入新的路由菜单,提升了用户体验,减少了Server端负载。Through the above-mentioned embodiments, the integration of the local routing at the front end of the web, the configuration routing at the server side, and the routing of the three-party system can be realized, and the front-end routing can be dynamically generated, and the upper-lower relationship and the routing number can be added to the multi-party page path. It can solve the problems that most existing web front-end page path generation methods have poor flexibility, heavy load on the server side, and excessive reliance on web front-end packaging and publishing. This application proposes a dynamic routing generation method that can integrate multi-party platform configuration. Dynamic routing is used to configure page paths. While achieving a more flexible configuration method, it also greatly reduces the complexity and instability caused by relying on front-end releases sex. Not only can the full coverage of the web front-end routing be guaranteed, but also multiple page paths can be returned through a single permission check. While not relying on the web front-end package and release, it can flexibly access the new routing menu through the three-party system configuration, which improves the user experience. experience, reducing the load on the server side.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) execute the method of each embodiment of the present application.

图12是根据本申请实施例的一种页面菜单的创建装置的结构框图一;如图12所示,包括:Fig. 12 is a structural block diagram 1 of an apparatus for creating a page menu according to an embodiment of the present application; as shown in Fig. 12 , it includes:

获取模块1202,用于获取目标帐号发起的菜单创建请求;Anacquisition module 1202, configured to acquire a menu creation request initiated by the target account;

第一创建模块1204,用于响应所述菜单创建请求,根据所述目标帐号对应的第一页面路径和第二页面路径创建目标页面路径,其中,所述第一页面路径用于指示所述目标帐号在第一应用上具有访问权限的页面的路由信息,所述目标帐号是在所述第一应用的帐号系统中的帐号,所述第二页面路径用于指示所述目标帐号在第二应用上具有访问权限的页面的路由信息;Thefirst creation module 1204 is configured to respond to the menu creation request and create a target page path according to the first page path and the second page path corresponding to the target account, wherein the first page path is used to indicate the target Routing information of a page that the account has access rights on the first application, the target account is an account in the account system of the first application, and the second page path is used to indicate that the target account is in the second application Routing information for pages to which you have access;

第一发送模块1206,用于向所述目标帐号发送所述目标页面路径,其中,所述目标页面路径用于指示所述目标帐号依据所述目标页面路径创建目标页面菜单。Thefirst sending module 1206 is configured to send the target page path to the target account, wherein the target page path is used to instruct the target account to create a target page menu according to the target page path.

通过上述实施例,目标帐号发起的菜单创建请求,请求访问第一应用和第二应用上有访问权限的页面时,响应菜单创建请求,根据目标帐号从第一应用上获取具有访问权限的页面的路由信息作为第一页面路径,根据目标帐号从第二应用上获取具有访问权限的页面的路由信息作为第二页面路径,然后根据第一页面路径和第二页面路径创建目标页面路径,将目标页面路径返回目标帐号创建目标页面菜单,即可通过目标页面菜单访问第一应用和第二应用上有访问权限的页面。采用上述技术方案,解决了相关技术中,调用多个应用的功能的便捷度较低等问题,实现了提高调用多个应用的功能的便捷度的技术效果。Through the above-mentioned embodiment, when the menu creation request initiated by the target account requests access to the pages with access rights on the first application and the second application, in response to the menu creation request, the page with access rights is obtained from the first application according to the target account. The routing information is used as the first page path, and the routing information of the page with access rights is obtained from the second application according to the target account as the second page path, and then the target page path is created according to the first page path and the second page path, and the target page The path returns to the target account to create a target page menu, and the pages with access rights on the first application and the second application can be accessed through the target page menu. By adopting the above technical solution, the problem of low convenience of invoking functions of multiple applications in related technologies is solved, and the technical effect of improving the convenience of invoking functions of multiple applications is achieved.

在一个示例性实施例中,所述创建模块,包括:In an exemplary embodiment, the creation module includes:

第一获取单元,用于从所述第一应用存储的页面路径中获取所述目标帐号对应的所述第一页面路径;a first obtaining unit, configured to obtain the first page path corresponding to the target account from the page paths stored in the first application;

第二获取单元,用于向所述第二应用请求所述目标帐号对应的页面路径并获取所述第二应用返回的所述第二页面路径;a second obtaining unit, configured to request the second application for a page path corresponding to the target account and obtain the second page path returned by the second application;

整合单元,用于整合所述第一页面路径和所述第二页面路径,得到所述目标页面路径。An integrating unit, configured to integrate the first page path and the second page path to obtain the target page path.

在一个示例性实施例中,所述整合单元,用于:In an exemplary embodiment, the integration unit is used for:

遍历所述第二页面路径中的每个目标路由;traverse each target route in the second page path;

从所述第一页面路径包括的一个或者多个路由中获取所述目标路由对应的父级路由;Obtaining a parent route corresponding to the target route from one or more routes included in the first page path;

将所述目标路由与所述父级路由的子级路由合并,得到目标页面路径。Merge the target route with the child route of the parent route to obtain the target page path.

在一个示例性实施例中,所述第一获取单元,用于:In an exemplary embodiment, the first acquisition unit is configured to:

确定所述目标帐号对应的目标身份标识,其中,所述目标身份标识用于指示所述目标帐号在所述第一应用中所具有的身份;determining a target identity corresponding to the target account, where the target identity is used to indicate the identity of the target account in the first application;

从具有对应关系的身份标识和页面路径中获取所述目标身份标识对应的所述第一页面路径。The first page path corresponding to the target identity is acquired from the identity and the page path having a corresponding relationship.

在一个示例性实施例中,所述第二获取单元,用于:In an exemplary embodiment, the second acquisition unit is configured to:

向所述第二应用发送页面路径请求,其中,所述页面路径请求用于请求所述第二应用提供所述目标身份标识所对应的页面路径;sending a page path request to the second application, where the page path request is used to request the second application to provide the page path corresponding to the target identity;

获取所述第二应用响应所述页面路径请求返回的所述目标身份标识对应的初始页面路径;Obtaining an initial page path corresponding to the target identity returned by the second application in response to the page path request;

向所述初始页面路径添加第二应用标识,得到标识页面路径,其中,所述第二应用标识用于标记所述初始页面路径是从所述第二应用获取到的;Adding a second application identifier to the initial page path to obtain an identified page path, wherein the second application identifier is used to mark that the initial page path is obtained from the second application;

对所述标识页面路径中包括的页面路径进行去重,得到所述第二页面路径。Deduplication is performed on the page paths included in the identified page path to obtain the second page path.

图13是根据本申请实施例的一种页面菜单的创建装置的结构框图二;如图13所示,包括:Fig. 13 is a structural block diagram II of an apparatus for creating a page menu according to an embodiment of the present application; as shown in Fig. 13 , it includes:

第二发送模块1302,用于向服务器发送菜单创建请求;Thesecond sending module 1302 is configured to send a menu creation request to the server;

接收模块1304,用于接收所述服务器响应所述菜单创建请求返回的目标页面路径,其中,所述目标页面路径是根据所述目标帐号对应的第一页面路径和第二页面路径创建的,所述第一页面路径用于指示所述目标帐号在第一应用上具有访问权限的页面的路由信息,所述目标帐号是在所述第一应用的帐号系统中的帐号,所述第二页面路径用于指示所述目标帐号在第二应用上具有访问权限的页面的路由信息;Thereceiving module 1304 is configured to receive the target page path returned by the server in response to the menu creation request, wherein the target page path is created according to the first page path and the second page path corresponding to the target account, so The first page path is used to indicate the routing information of the page that the target account has access authority on the first application, the target account is an account in the account system of the first application, and the second page path Routing information for indicating a page that the target account has access authority on the second application;

第二创建模块1306,用于创建所述目标页面路径对应的目标页面菜单。The second creatingmodule 1306 is configured to create a target page menu corresponding to the target page path.

在一个示例性实施例中,所述第二创建模块,包括:In an exemplary embodiment, the second creation module includes:

第三获取单元,用于从所述目标页面路径中获取由所述第一应用提供的第三页面路径;a third acquiring unit, configured to acquire a third page path provided by the first application from the target page path;

调整单元,用于按照所述第三页面路径对所述目标帐号所登录的客户端所存储的页面路径进行调整,得到候选页面路径;An adjustment unit, configured to adjust the page path stored in the client terminal logged in by the target account according to the third page path to obtain a candidate page path;

生成单元,用于生成所述候选页面路径对应的候选页面菜单;a generating unit, configured to generate a candidate page menu corresponding to the candidate page path;

插入单元,用于将第四页面路径对应的页面链接按照所述目标页面路径所指示的层级关系插入所述候选页面菜单,得到目标页面菜单,其中,所述第四页面路径是所述目标页面路径中由所述第二应用提供的页面路径。an inserting unit, configured to insert the page link corresponding to the fourth page path into the candidate page menu according to the hierarchical relationship indicated by the target page path to obtain the target page menu, wherein the fourth page path is the target page The page path provided by the second application in the path.

在一个示例性实施例中,所述装置还包括:In an exemplary embodiment, the device also includes:

确定模块,用于在所述得到目标页面菜单之后在检测到所述目标页面菜单中的目标菜单项被执行了访问操作的情况下,确定所述目标菜单项的菜单类型;A determining module, configured to determine the menu type of the target menu item when it is detected that the target menu item in the target page menu has been accessed after the target page menu is obtained;

第一调用模块,用于在所述目标菜单项的菜单类型不属于页面链接类型的情况下,从所述第一应用调用所述目标菜单项对应的菜单数据进行页面展示;A first calling module, configured to call the menu data corresponding to the target menu item from the first application for page display when the menu type of the target menu item does not belong to the page link type;

第二调用模块,用于在所述目标菜单项的菜单类型属于页面链接类型的情况下,调用所述目标菜单项对应的目标页面链接。The second calling module is configured to call the target page link corresponding to the target menu item when the menu type of the target menu item belongs to the page link type.

通过上述实施例,目标帐号发起的菜单创建请求,请求访问第一应用和第二应用上有访问权限的页面时,响应菜单创建请求,根据目标帐号从第一应用上获取具有访问权限的页面的路由信息作为第一页面路径,根据目标帐号从第二应用上获取具有访问权限的页面的路由信息作为第二页面路径,然后根据第一页面路径和第二页面路径创建目标页面路径,将目标页面路径返回目标帐号创建目标页面菜单,即可通过目标页面菜单访问第一应用和第二应用上有访问权限的页面。采用上述技术方案,解决了相关技术中,调用多个应用的功能的便捷度较低等问题,实现了提高调用多个应用的功能的便捷度的技术效果。Through the above-mentioned embodiment, when the menu creation request initiated by the target account requests access to the pages with access rights on the first application and the second application, in response to the menu creation request, the page with access rights is obtained from the first application according to the target account. The routing information is used as the first page path, and the routing information of the page with access rights is obtained from the second application according to the target account as the second page path, and then the target page path is created according to the first page path and the second page path, and the target page The path returns to the target account to create a target page menu, and the pages with access rights on the first application and the second application can be accessed through the target page menu. By adopting the above technical solution, the problem of low convenience of invoking functions of multiple applications in related technologies is solved, and the technical effect of improving the convenience of invoking functions of multiple applications is achieved.

本申请的实施例还提供了一种存储介质,该存储介质包括存储的程序,其中,上述程序运行时执行上述任一项的方法。An embodiment of the present application further provides a storage medium, the storage medium includes a stored program, wherein the above-mentioned program executes any one of the above-mentioned methods when running.

可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Optionally, in this embodiment, the above-mentioned storage medium may be configured to store program codes for performing the following steps:

S11,获取目标帐号发起的菜单创建请求;S11, acquiring a menu creation request initiated by the target account;

S12,响应所述菜单创建请求,根据所述目标帐号对应的第一页面路径和第二页面路径创建目标页面路径,其中,所述第一页面路径用于指示所述目标帐号在第一应用上具有访问权限的页面的路由信息,所述目标帐号是在所述第一应用的帐号系统中的帐号,所述第二页面路径用于指示所述目标帐号在第二应用上具有访问权限的页面的路由信息;S12. In response to the menu creation request, create a target page path according to the first page path and the second page path corresponding to the target account, where the first page path is used to indicate that the target account is on the first application Routing information of a page with access authority, the target account is an account in the account system of the first application, and the second page path is used to indicate a page that the target account has access authority on the second application routing information;

S13,向所述目标帐号发送所述目标页面路径,其中,所述目标页面路径用于指示所述目标帐号依据所述目标页面路径创建目标页面菜单。S13. Send the target page path to the target account, where the target page path is used to instruct the target account to create a target page menu according to the target page path.

可选地,在本实施例中,上述存储介质还可以被设置为存储用于执行以下步骤的程序代码:Optionally, in this embodiment, the above-mentioned storage medium may also be configured to store program codes for performing the following steps:

S21,向服务器发送菜单创建请求;S21, sending a menu creation request to the server;

S22,接收所述服务器响应所述菜单创建请求返回的目标页面路径,其中,所述目标页面路径是根据所述目标帐号对应的第一页面路径和第二页面路径创建的,所述第一页面路径用于指示所述目标帐号在第一应用上具有访问权限的页面的路由信息,所述目标帐号是在所述第一应用的帐号系统中的帐号,所述第二页面路径用于指示所述目标帐号在第二应用上具有访问权限的页面的路由信息;S22. Receive the target page path returned by the server in response to the menu creation request, wherein the target page path is created according to the first page path and the second page path corresponding to the target account, and the first page The path is used to indicate the routing information of the page that the target account has access authority on the first application, the target account is an account in the account system of the first application, and the second page path is used to indicate the Routing information of pages that the target account has access authority on the second application;

S23,创建所述目标页面路径对应的目标页面菜单。S23. Create a target page menu corresponding to the target page path.

本申请的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。An embodiment of the present application also provides an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to perform the steps in any one of the above method embodiments.

可选地,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。Optionally, the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned processor, and the input-output device is connected to the above-mentioned processor.

可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the above-mentioned processor may be configured to execute the following steps through a computer program:

S11,获取目标帐号发起的菜单创建请求;S11, acquiring a menu creation request initiated by the target account;

S12,响应所述菜单创建请求,根据所述目标帐号对应的第一页面路径和第二页面路径创建目标页面路径,其中,所述第一页面路径用于指示所述目标帐号在第一应用上具有访问权限的页面的路由信息,所述目标帐号是在所述第一应用的帐号系统中的帐号,所述第二页面路径用于指示所述目标帐号在第二应用上具有访问权限的页面的路由信息;S12. In response to the menu creation request, create a target page path according to the first page path and the second page path corresponding to the target account, where the first page path is used to indicate that the target account is on the first application Routing information of a page with access authority, the target account is an account in the account system of the first application, and the second page path is used to indicate a page that the target account has access authority on the second application routing information;

S13,向所述目标帐号发送所述目标页面路径,其中,所述目标页面路径用于指示所述目标帐号依据所述目标页面路径创建目标页面菜单。S13. Send the target page path to the target account, where the target page path is used to instruct the target account to create a target page menu according to the target page path.

可选地,在本实施例中,上述处理器还可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the above-mentioned processor may also be configured to execute the following steps through a computer program:

S21,向服务器发送菜单创建请求;S21, sending a menu creation request to the server;

S22,接收所述服务器响应所述菜单创建请求返回的目标页面路径,其中,所述目标页面路径是根据所述目标帐号对应的第一页面路径和第二页面路径创建的,所述第一页面路径用于指示所述目标帐号在第一应用上具有访问权限的页面的路由信息,所述目标帐号是在所述第一应用的帐号系统中的帐号,所述第二页面路径用于指示所述目标帐号在第二应用上具有访问权限的页面的路由信息;S22. Receive the target page path returned by the server in response to the menu creation request, wherein the target page path is created according to the first page path and the second page path corresponding to the target account, and the first page The path is used to indicate the routing information of the page that the target account has access authority on the first application, the target account is an account in the account system of the first application, and the second page path is used to indicate the Routing information of pages that the target account has access authority on the second application;

S23,创建所述目标页面路径对应的目标页面菜单。S23. Create a target page menu corresponding to the target page path.

可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the above-mentioned storage medium may include but not limited to: U disk, read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), Various media that can store program codes such as removable hard disks, magnetic disks, or optical disks.

可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementation manners, and details are not repeated in this embodiment.

显然,本领域的技术人员应该明白,上述的本申请的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned application can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network composed of multiple computing devices Alternatively, they may be implemented in program code executable by a computing device so that they may be stored in a storage device to be executed by a computing device, and in some cases in an order different from that shown here The steps shown or described are carried out, or they are separately fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present application is not limited to any specific combination of hardware and software.

以上所述仅是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above description is only the preferred embodiment of the present application. It should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present application, some improvements and modifications can also be made. These improvements and modifications are also It should be regarded as the protection scope of this application.

Claims (10)

CN202210452412.3A2022-04-272022-04-27Page menu creation method and device, storage medium and electronic deviceActiveCN114896006B (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN202210452412.3ACN114896006B (en)2022-04-272022-04-27Page menu creation method and device, storage medium and electronic device
PCT/CN2022/109514WO2023206845A1 (en)2022-04-272022-08-01Method and apparatus for creating page menu, and storage medium and electronic apparatus

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210452412.3ACN114896006B (en)2022-04-272022-04-27Page menu creation method and device, storage medium and electronic device

Publications (2)

Publication NumberPublication Date
CN114896006A CN114896006A (en)2022-08-12
CN114896006Btrue CN114896006B (en)2023-06-09

Family

ID=82718670

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210452412.3AActiveCN114896006B (en)2022-04-272022-04-27Page menu creation method and device, storage medium and electronic device

Country Status (2)

CountryLink
CN (1)CN114896006B (en)
WO (1)WO2023206845A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN118171251B (en)*2024-05-142024-09-10合肥综合性国家科学中心人工智能研究院(安徽省人工智能实验室)Dynamic authority control method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102591630A (en)*2011-01-182012-07-18深圳富泰宏精密工业有限公司Informative function integration system and informative function integration method
CN104956381A (en)*2012-11-212015-09-30格林伊登美国控股有限责任公司Graphical user interface for monitoring and visualizing contact center routing strategies
FR3050341A1 (en)*2016-04-182017-10-20St Microelectronics Crolles 2 Sas METHOD AND DEVICE FOR MONITORING A CRITICAL PATH OF AN INTEGRATED CIRCUIT
CN107357803A (en)*2017-05-222017-11-17捷开通讯(深圳)有限公司Searching method, mobile device and the device with store function of five application page
CN110457062A (en)*2018-05-072019-11-15青岛海尔多媒体有限公司The method, apparatus and computer readable storage medium of screen parameter configuration
CN111309315A (en)*2018-12-122020-06-19中国科学院沈阳自动化研究所Automatic configuration method based on industrial Internet of things data and business modeling
CN113094674A (en)*2021-04-282021-07-09平安国际智慧城市科技股份有限公司Page display method and device, electronic equipment and storage medium
CN113656127A (en)*2021-08-122021-11-16北京数码大方科技股份有限公司Page routing method, device, storage medium and processor

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20070150414A1 (en)*2004-01-072007-06-28Precash, Inc.System and method for facilitating payment transactions
CN110119294A (en)*2019-04-042019-08-13口碑(上海)信息技术有限公司The generation method of menu page, apparatus and system
US10997357B2 (en)*2019-06-202021-05-04International Business Machines CorporationUser interface navigation management
CN110427237B (en)*2019-07-292023-10-20创新先进技术有限公司Method and device for cross-application access to target page and electronic equipment
CN111984357A (en)*2020-08-312020-11-24平安医疗健康管理股份有限公司Resource loading method, device and equipment based on WebWorker and storage medium
CN114116098B (en)*2021-11-232024-03-22维沃移动通信有限公司Application icon management method and device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102591630A (en)*2011-01-182012-07-18深圳富泰宏精密工业有限公司Informative function integration system and informative function integration method
CN104956381A (en)*2012-11-212015-09-30格林伊登美国控股有限责任公司Graphical user interface for monitoring and visualizing contact center routing strategies
FR3050341A1 (en)*2016-04-182017-10-20St Microelectronics Crolles 2 Sas METHOD AND DEVICE FOR MONITORING A CRITICAL PATH OF AN INTEGRATED CIRCUIT
CN107357803A (en)*2017-05-222017-11-17捷开通讯(深圳)有限公司Searching method, mobile device and the device with store function of five application page
CN110457062A (en)*2018-05-072019-11-15青岛海尔多媒体有限公司The method, apparatus and computer readable storage medium of screen parameter configuration
CN111309315A (en)*2018-12-122020-06-19中国科学院沈阳自动化研究所Automatic configuration method based on industrial Internet of things data and business modeling
CN113094674A (en)*2021-04-282021-07-09平安国际智慧城市科技股份有限公司Page display method and device, electronic equipment and storage medium
CN113656127A (en)*2021-08-122021-11-16北京数码大方科技股份有限公司Page routing method, device, storage medium and processor

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"基于用户体验的电商类APP界面设计应用研究";李东骏;《中国优秀硕士学位论文全文数据库 信息科技辑》;I138-552*
"基于组件化的后台管理页面可视化构建系统设计与实现";章晨曦;《中国优秀硕士学位论文全文数据库信息科技辑》;I139-376*
"智慧旅游背景下移动应用软件的优化研究";后羿文;《内江科技》;第47-48页*

Also Published As

Publication numberPublication date
CN114896006A (en)2022-08-12
WO2023206845A1 (en)2023-11-02

Similar Documents

PublicationPublication DateTitle
US11848936B2 (en)Method, apparatus, and computer program product for selectively granting permissions to group-based objects in a group-based communication system
EP3142005B1 (en)Method for creating context-aware application and user terminal
CN112994958B (en)Network management system, method and device and electronic equipment
CN107277162B (en)Intelligent home management system and method based on network cloud
WO2019228034A1 (en)Method and apparatus for data synchronization
CN110231965B (en) Cloud device, application processing method and electronic device
CN104852990A (en)Information processing method and intelligent household control system
CN105934936A (en)Controlling voice composition in conference
US11882154B2 (en)Template representation of security resources
US10958973B2 (en)Deriving and identifying view preferences of a user consuming streaming content
US11698707B2 (en)Methods and systems for provisioning a collaborative virtual experience of a building
US20180083940A1 (en)System to resolve multiple identity crisis in indentity-as-a-service application environment
CN114896006B (en)Page menu creation method and device, storage medium and electronic device
CN115345225A (en) Method and device for determining recommended scene, storage medium and electronic device
CN109995767A (en)Account single-point logging method, terminal device and storage medium
US20130254331A1 (en)Information processing apparatus, information processing method, program, and information processing system
CN106161196A (en)A kind of obtain the method for HTTP message state, equipment and system
CN105162641A (en)Monitoring method and device for cloud desktop
KR101733426B1 (en)A server for recommending information in a social network system and communications system therefor
CN116033173B (en) Content processing method, system, electronic device and storage medium
CN110536103B (en)Monitoring point management method, device, equipment and storage medium
US11921887B2 (en)Decentralized identity metaverse database system
HuaInternet of Things: Challenges and Opportunities for Collaborative Technologies
CN115480809A (en) Method and device for determining code submission amount, storage medium and electronic device
HK40028042A (en)Document content downloading method and apparatus, computer device and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp