WO2023206845A1 - Method and apparatus for creating page menu, and storage medium and electronic apparatus - Google Patents

Method and apparatus for creating page menu, and storage medium and electronic apparatus Download PDF

Info

Publication number
WO2023206845A1
WO2023206845A1 PCT/CN2022/109514 CN2022109514W WO2023206845A1 WO 2023206845 A1 WO2023206845 A1 WO 2023206845A1 CN 2022109514 W CN2022109514 W CN 2022109514W WO 2023206845 A1 WO2023206845 A1 WO 2023206845A1
Authority
WO
WIPO (PCT)
Prior art keywords
page
target
path
menu
page path
Prior art date
Application number
PCT/CN2022/109514
Other languages
French (fr)
Chinese (zh)
Inventor
王鹏飞
Original Assignee
青岛海尔科技有限公司
海尔智家股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 青岛海尔科技有限公司, 海尔智家股份有限公司 filed Critical 青岛海尔科技有限公司
Publication of WO2023206845A1 publication Critical patent/WO2023206845A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication

Definitions

  • the present disclosure relates to the field of smart home technology, and specifically to a method and device for creating a page menu, a storage medium, and an electronic device.
  • Embodiments of the present disclosure provide a method and device for creating a page menu, a storage medium, and an electronic device, so as to at least solve the problem in related technologies of low convenience in calling functions of multiple applications.
  • a method for creating a page menu including:
  • Target page path 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 based on the target page path.
  • a method for creating a page menu is characterized by including:
  • a target page path returned by the server in response to the menu creation request, wherein the target page path is created based on the first page path and the second page path corresponding to the target account, and the first page path is Routing information indicating 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 that the target Routing information of pages that the account has access rights to on the second application;
  • a page menu creation device 1 including:
  • the acquisition module is set to obtain the menu creation request initiated by the target account
  • the first creation module 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
  • the first sending module is configured to 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 based on the target page path.
  • a device 2 for creating a page menu including:
  • the second sending module is configured to send a menu creation request to the server
  • the receiving module 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 based on 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 to which the target account has access rights on the first application.
  • the target account is an account in the account system of the first application.
  • the second page path Routing information used to indicate that the target account has access rights to the page on the second application;
  • the second creation module is configured to create a target page menu corresponding to the target page path.
  • a computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the above page menu when running. Create method.
  • an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the above-mentioned steps through the computer program. How to create a page menu.
  • a menu creation request initiated by the target account is obtained; in response to the menu creation request, a target page path is created 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 the target The routing information of the page to which the account has access rights on the first application.
  • the target account is an account in the account system of the first application.
  • the second page path is used to indicate the routing of the page to which the target account has access rights 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 a target page menu based on the target page path, that is, a menu creation request initiated by the target account, requesting access to the first application and the second application.
  • Figure 1 is a schematic diagram of the hardware environment of a method for creating a page menu according to an embodiment of the present disclosure
  • Figure 2 is a flowchart 1 of a method for creating a page menu according to an embodiment of the present disclosure
  • Figure 3 is a schematic diagram of a menu creation request according to an embodiment of the present disclosure
  • Figure 4 is a flow chart of target page path creation according to an embodiment of the present disclosure
  • Figure 5 is a schematic diagram of first page path acquisition according to an embodiment of the present disclosure.
  • Figure 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 disclosure
  • Figure 7 is a schematic diagram of matching a first page path with a target identity identifier according to an embodiment of the present disclosure
  • Figure 8 is a schematic diagram of second page path acquisition according to an embodiment of the present disclosure.
  • Figure 9 is a flow chart 2 of a method for creating a page menu according to an embodiment of the present disclosure.
  • Figure 10 is a schematic diagram of target page menu generation according to an embodiment of the present disclosure.
  • Figure 11 is an interaction diagram of a method for creating a page menu according to an embodiment of the present disclosure
  • Figure 12 is a structural block diagram 1 of a device for creating a page menu according to an embodiment of the present disclosure
  • FIG. 13 is a structural block diagram 2 of a device for creating a page menu according to an embodiment of the present disclosure.
  • a method for creating a page menu is provided.
  • the creation method of the menu on this page is widely used in whole-house intelligent digital control application scenarios such as smart home, smart home, smart home device ecology, and smart residence (Intelligence House) ecology.
  • the above method for creating a page menu can be applied to a hardware environment composed of a terminal device 102 and a server 104 as shown in FIG. 1 .
  • the server 104 is connected to the terminal device 102 through the network, and can be set to provide services (such as application services, etc.) for the terminal or the client installed on the terminal.
  • the database can be set up on the server or independently from the server. It is configured to provide data storage services for the server 104, cloud computing and/or edge computing services can be configured on the server or independently of the server, and it is configured to provide data computing services for the server 104.
  • the above-mentioned network may include but is not limited to at least one of the following: wired network, wireless network.
  • the above-mentioned wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, and local area network.
  • the above-mentioned wireless network may include at least one of the following: WIFI (Wireless Fidelity, Wireless Fidelity), Bluetooth.
  • the terminal device 102 may be, but is not limited to, a PC (Personal Computer), a mobile phone, a tablet, a smart air conditioner, a smart hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing equipment, a smart Dishwasher, smart projection equipment, smart TV, smart clothes drying rack, smart curtains, smart audio and video, smart sockets, smart audio, smart speakers, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart sweeping robot, smart window cleaning Robots, smart mopping robots, smart air purification equipment, smart steamers, smart microwave ovens, smart kitchen appliances, smart purifiers, smart water dispensers, smart door locks, etc.
  • a PC Personal Computer
  • FIG. 1 is a flow chart 1 of a method for creating a page menu according to an embodiment of the present disclosure. As shown in Figure 2, the process Includes the following steps:
  • Step S202 Obtain the menu creation request initiated by the target account
  • 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, where the first page path is used to indicate that the target account is in the first application.
  • the target account is an account in the account system of the first application.
  • the second page path is used to indicate that the target account has access rights on the second application. Page routing information;
  • Step S206 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 based on the target page path.
  • the menu creation request initiated by the target account requests access to a page with access permissions on the first application and the second application
  • the menu creation request is responded to and the route of the page with access permissions is obtained from the first application according to the target account.
  • the information is used as the first page path
  • 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
  • the target page path is created based on the first page path and the second page path
  • the target page path is Return to the target account to create a target page menu, and you can access the pages with access permissions on the first application and the second application through the target page menu.
  • Adopting the above technical solution solves the problem in related technologies that the convenience of calling functions of multiple applications is low, and achieves the technical effect of improving the convenience of calling functions of multiple applications.
  • the above menu creation request may be, but is not limited to, used to request to create a page menu for the target account.
  • the menu creation request initiated by the target account may be, but is not limited to, issued by operating in the terminal interface. But it is not limited to executing a menu creation request by checking, clicking, sliding, etc. on the interface of the terminal device.
  • Figure 3 is a schematic diagram of a menu creation request according to an embodiment of the present disclosure; as shown in Figure 3, the user performs a menu creation request on the terminal device.
  • a menu creation request is issued by logging in to the target account.
  • the server obtains the request transmitted from the terminal device through the network. After verifying the identity information carried in the menu creation request and the verification is successful, it responds to the request and generates data used to create the page menu.
  • the page path may, but is not limited to, refer to any routing information that can indicate the hierarchical structure between menus in the process of creating the menu.
  • the page path can indicate the creation of the corresponding menu to build the application. Basic skeleton.
  • the first application may, but is not limited to, refer to an application that the user mainly uses locally, including office applications, social applications, music applications, multimedia applications, game applications, and so on.
  • the second application may be an application that provides additional functions based on the first application. That is to say, the second application may supplement and improve the related functions of the first application by providing additional functions in the first application.
  • the relevant functions of the second application On the basis of, 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 table processing and document editing can be implemented locally, adding After the second application (multimedia application), you can use multimedia functions directly in the interface of the first application, such as video editing, picture editing, etc., without opening the second application (multimedia application), which improves the convenience of calling related functions. Spend.
  • the target account may be, but is not limited to, an account in the account system corresponding to the first application.
  • the menu creation request may be, but is not limited to, issued through account a. request, where account a can be but is not limited to an account registered on application A, can be but is not limited to belonging to the account system corresponding to application A, and can access the interface corresponding to application A through account a.
  • the target page path may be created according to the first page path and the second page path corresponding to the target account through, but is not limited to, the following process.
  • Figure 4 is a target page path according to an embodiment of the present disclosure. Creation flow chart; as shown in Figure 4, after the server of the first application receives the menu creation request initiated by the target account, it 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 to which the target account has access rights on the first application is then obtained from the second application. The second page path to which the target account has access rights is obtained from the second application. Finally, it can be created based on the first page path and the second page path. Target page path.
  • the target page path may be created based on the first page path and the second page path corresponding to the target account in the following manner: obtaining 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 is used to obtain the target page path.
  • the first page path may be, but is not limited to, a subset of the page paths stored by the first application. That is to say, the page path stored by the first application may include, but is not limited to, multiple sub-pages.
  • Path, Figure 5 is a schematic diagram of the first page path acquisition according to an embodiment of the present disclosure; as shown in Figure 5, the page path stored by the first application may include the first page path ⁇ the Nth page path, where each page path The first page path corresponding to the target account may be obtained but is not limited to corresponding to one account by matching the target account with the page path stored in the first application.
  • the target page path may be, but is not limited to, the integration of the first page path and the second page path. That is to say, the target page path is not simply the combination of the first page path and the second page path.
  • the second page path is stacked.
  • the first page path and the second page path may be integrated, but are not limited to, in the following manner to obtain the target page path: traverse each target route in the second page path ; Obtain the 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.
  • the target route is merged with the child route of the parent route. That is to say, the target page path can be obtained by, but is not limited to, inserting the target route into the lower level of the parent route.
  • Figure 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 disclosure; as shown in Figure 6, each target route in the second page path is traversed, with the fourth route as the target Taking routing as an example, the parent route corresponding to the fourth route in the first page path is obtained as the b-th route.
  • the b-th route can but is not limited to include multiple sub-routes, such as: b1-th route to b3-th route. Then, You can, but are not limited to, insert the fourth route into the lower-level route of the b-th route, that is, merge the b1-th route to the b3-th route with the fourth route to obtain the target page path.
  • the first page path corresponding to the target account may be obtained from the page path stored in the first application in the following manner: determining the target identity corresponding to the target account , wherein the target identity identifier is used to indicate the identity of the target account in the first application; the first corresponding to the target identity identifier is obtained from the identity identifier and the page path that have a corresponding relationship. Page path.
  • the target identity may, but is not limited to, refer to identities with different permissions in the target scene.
  • the target scene when the target scene is an office scene, the target identity may, but is not limited to, include: administrator IDs, leader IDs, ordinary staff IDs, etc.; when the target scenario is a teaching scenario, the target identity IDs can include but are not limited to: principal IDs, teacher IDs, student IDs, etc. Different IDs correspond to application access rights. It can be, but is not limited to, different. For example, for the same application, the access rights of the leader ID can be greater than the access rights of the ordinary employee IDs.
  • the method of obtaining the first page path may be but is not limited to the following method.
  • Figure 7 is a schematic diagram of matching the target identity identifier to the first page path according to an embodiment of the present disclosure; as shown in Figure 7 Taking the above office scenario as an example, the target identity of the target account is identified as an ordinary employee. The target identity (ordinary employee) can be entered into the storage identity & page path table in the first application to match the target identity. Identifies the first page path (third page path) corresponding to (ordinary staff).
  • the page path corresponding to the target account may be requested from the second application and the second page path returned by the second application may be obtained 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 identifier; and obtains the page path returned by the second application in response to the page path request.
  • the initial page path corresponding to the target identity identifier add a second application identifier to the initial page path to obtain the identification page path, where the second application identifier is used to mark that the initial page path is obtained from the second application to obtain the second page path by deduplicating the page path included in the identified page path.
  • deduplication of page paths included in the identification page path may be, but is not limited to, because the second application is jointly operated and maintained by multiple parties, and the pages included in the returned identification page path There may be duplicate page paths in the path. You can obtain the second page path by deduplicating the same page path.
  • the second page path can be obtained in a manner that is but not limited to the following.
  • Figure 8 is a schematic diagram of obtaining the second page path according to an embodiment of the present disclosure; as shown in Figure 8, with the target The scenario is the above office scenario as an example. If the target identity of the target account is identified as a leader, the target identity (leader) can be entered into the identity & page path table stored in the second application to match the target identity ( The initial page path (second page path) corresponding to the leader), then, you can add the second application identification to the initial page path (second page path) to obtain (second identification page path), and convert (second identification page path) ) after deduplication, the second page path (the second deduplication page path) is obtained.
  • the target page path may, but is not limited to, provide a hierarchical relationship of the menu for creating the target page menu. For example, it may indicate the hierarchical relationship between the main menu and the submenu of the target page menu. Since the target page path The target account is matched in the first application and the second application. Therefore, the target page menu generated according to the target page path can indicate the menu set that the target account has viewing permissions in the first application and the second application.
  • FIG. 9 is a flow chart 2 of a method for creating a page menu according to an embodiment of the present disclosure. The process includes the following steps:
  • Step S902 send a menu creation request to the server
  • Step S904 Receive the target page path returned by the server in response to the menu creation request, wherein the target page path is created based on 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 to which the target account has access rights on the first application.
  • the target account is an account in the account system of the first application.
  • the second page path is used to indicate Routing information of pages to which the target account has access rights on the second application;
  • Step S906 Create a target page menu corresponding to the target page path.
  • the menu creation request initiated by the target account requests access to a page with access permissions on the first application and the second application
  • the menu creation request is responded to and the route of the page with access permissions is obtained from the first application according to the target account.
  • the information is used as the first page path
  • 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
  • the target page path is created based on the first page path and the second page path
  • the target page path is Return to the target account to create a target page menu, and you can access the pages with access permissions on the first application and the second application through the target page menu.
  • Adopting the above technical solution solves the problem in related technologies that the convenience of calling functions of multiple applications is low, and achieves the technical effect of improving the convenience of calling functions of multiple applications.
  • a menu creation request may be sent to the server by triggering a request such as "clicking" or "sliding" on the client screen.
  • the menu creation request may be, but is not limited to, used for requesting To create a page menu for the target account, for example, but not limited to, after entering the target account, click the request to enter the page menu, and then you can send a menu creation request to the server, requesting to create a page menu for the target account.
  • the server after receiving the menu creation request, responds to the request and can obtain the routing information of the page that the target account has access rights to on the first application through the server, and the target account in the first application. After integrating the routing information of pages with access rights on the second application, the target page path is obtained, and then the target page path is returned.
  • the target page menu after receiving the target page path, the target page menu can be generated according to the hierarchical relationship between the main menu and the submenu included in the page menu indicated by the target page path, that is, the target page is created
  • the hierarchical relationship between the main menu and submenus can be provided by the target page path.
  • the target page menu corresponding to the target page path may be created in the following manner, but is not limited to: obtaining the third page path provided by the first application from the target page path; The third page path adjusts the page path stored in the client logged in with the target account to obtain a candidate page path; generates a candidate page menu corresponding to the candidate page path; and converts the page link 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 the page path provided by the second application in the target page path.
  • the page path stored by the client logged in with the target account is adjusted according to the third page path.
  • the candidate page path obtained may be, but is not limited to, the page path stored by the client.
  • the page path sequence and page path level of the page path are adjusted.
  • the adjustment method can be but is 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 through Operation, adjust the page path stored on the client to be consistent with the third page path.
  • the target page menu may be generated by, but is 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
  • Figure 10 is a schematic diagram of the target page menu generated according to an embodiment of the present disclosure; as shown in Figure 10, the target page path from the first application is used as the third page path (Bth route, Dth route, ..., S-1th route), as the fourth page path (Ath route, C-th route, E-th route, ..., S-th route) from the second application, the customer can first be instructed through the third application menu
  • the page path stored on the terminal is adjusted to obtain the candidate page path, and then the candidate page menu is generated according to the candidate page path to form a preliminary menu framework.
  • the page link corresponding to the fourth application menu can be linked 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.
  • the menu item in the target page menu can also be accessed in the following manner, but is not limited to: after detecting that the target menu item in the target page menu is accessed In the case of operation, determine the menu type of the target menu item; if 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. Page display; when the menu type of the target menu item belongs to the page link type, call the target page link corresponding to the target menu item.
  • operations such as selection, sliding, and selection may be detected, but are not limited to, such as detecting When the target menu item is clicked and selected, it is deemed that the target menu item has been accessed.
  • 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.
  • a method for creating a page menu is provided. Taking the local system as the first application, the Server (server) as the server corresponding to the local system, and the third-party system as the second application as an example, the page menu is described. Interaction mechanism for creation.
  • Figure 11 is an interaction diagram of a method for creating a page menu according to an embodiment of the present disclosure. As shown in Figure 11, it mainly includes the following steps:
  • Step S1101 Initiate a page path request carrying the identity identifier to the server through the Web client deployed on the local system;
  • Step S1102 The server performs identity verification based on the identity identifier carried in the request;
  • Step S1103 The server obtains the page path associated with the user in the local system
  • Step S1104 The server obtains the page path from the third-party system
  • Step S1105 The third-party system performs user identity verification based on the identity identifier
  • Step S1106 The third-party system adds the third-party identifier to the page path associated with the user;
  • Step S1107 The third-party system returns the identified page path to the server;
  • Step S1108 The server deduplicates the third-party page path based on the third-party identification. Since the third-party system connected to the server is generally a system jointly maintained by multiple parties, the same user may query it in different third-party system configurations. The same page path, so each third-party system needs to add a corresponding identifier to the page path associated with the user for differentiation, such as using the application name with the routing ID as the identifier;
  • Step S1109 Page path marking and integration. Unify the page paths of the local system and the third-party system, sort them out according to the corresponding superior and subordinate relationships, merge the sub-page paths under the same main route, sort them according to the identification rules, and add routing serial numbers. ;
  • Step S1110 The server returns the page path
  • Step S1111 Process the page path through the Web client deployed in the local system, filter the page path returned by the server side in combination with the web front-end routing table, filter out the authorized data in the web-side local routing table, and add the web-side local routing table to the page path.
  • the page path and the server-side page path are unified and sorted out according to the corresponding superior and subordinate relationships, and the sub-page paths under the same main route are merged. After the merger is completed, the user menu is generated.
  • the integration of web front-end local routing, server-side configuration routing and three-party system routing can be achieved, front-end routing is dynamically generated, and multi-party page paths add superior-subordinate relationships and routing serial numbers. It can solve the problems that most existing web front-end page path generation methods have poor flexibility, heavy load on the server, and over-reliance on web front-end packaging and publishing.
  • This disclosure proposes a dynamic routing generation method that can integrate multi-party platform configurations. 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 publishing. sex. Not only can it ensure full coverage of web front-end routing, but it can also return multi-party page paths through a single permission verification. While not relying on web front-end packaging and publishing, it can flexibly access new routing menus through three-party system configurations, improving user experience. experience, reducing the load on the server side.
  • the method according to the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is Better implementation.
  • the technical solution of the present disclosure can be embodied in the form of a software product in essence or that contributes to the existing technology.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD), including several instructions to cause a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present disclosure.
  • Figure 12 is a structural block diagram 1 of a device for creating a page menu according to an embodiment of the present disclosure; as shown in Figure 12, it includes:
  • the acquisition module 1202 is configured to obtain the menu creation request initiated by the target account
  • the first 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 The routing information of the page to which the target account has access rights on the first application.
  • the target account is an account in the account system of the first application.
  • the second page path is used to indicate that the target account is in the second application. Routing information for pages on the application that have access rights;
  • the first sending module 1206 is configured to 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 based on the target page path.
  • the menu creation request initiated by the target account requests access to a page with access rights on the first application and the second application
  • the menu creation request is responded to and 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
  • 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
  • the target page path is created based on the first page path and the second page path
  • the target page is The path returns to the target account to create a target page menu, and you can access the pages with access permissions on the first application and the second application through the target page menu.
  • Adopting the above technical solution solves the problem in related technologies that the convenience of calling functions of multiple applications is low, and achieves the technical effect of improving the convenience of calling functions of multiple applications.
  • the creation module includes:
  • a first acquisition unit configured to acquire the first page path corresponding to the target account from the page path stored in the first application
  • the second acquisition unit is configured to request the page path corresponding to the target account from the second application and obtain the second page path returned by the second application;
  • An integration unit is configured to integrate the first page path and the second page path to obtain the target page path.
  • the integration unit is configured to:
  • the target route is merged with the child route of the parent route to obtain the target page path.
  • the first acquisition unit is configured as:
  • the first page path corresponding to the target identity identifier is obtained from the identity identifiers and page paths that have a corresponding relationship.
  • the second acquisition unit is configured as:
  • Figure 13 is a structural block diagram 2 of a device for creating a page menu according to an embodiment of the present disclosure; as shown in Figure 13, it includes:
  • the second sending module 1302 is configured to send a menu creation request to the server
  • the receiving 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 based on the first page path and the second page path corresponding to the target account,
  • the first page path is used to indicate the routing information of the page to which the target account has access rights on the first application.
  • the target account is an account in the account system of the first application.
  • the second page The path is used to indicate the routing information of the page to which the target account has access rights on the second application;
  • the second creation module 1306 is configured to create a target page menu corresponding to the target page path.
  • the second creation module includes:
  • a third acquisition unit configured to acquire a third page path provided by the first application from the target page path
  • the adjustment unit is configured to adjust the page path stored in the client logged in with 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
  • the insertion unit is 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 page path.
  • the device further includes:
  • a determination module configured to determine the menu type of the target menu item after detecting that the target menu item in the target page menu has been accessed after the target page menu is obtained;
  • the first calling module is 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.
  • the menu creation request initiated by the target account requests access to a page with access rights on the first application and the second application
  • the menu creation request is responded to and 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
  • 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
  • the target page path is created based on the first page path and the second page path
  • the target page is The path returns to the target account to create a target page menu, and you can access the pages with access permissions on the first application and the second application through the target page menu.
  • Adopting the above technical solution solves the problem in related technologies that the convenience of calling functions of multiple applications is low, and achieves the technical effect of improving the convenience of calling functions of multiple applications.
  • An embodiment of the present disclosure also provides a storage medium that includes a stored program, wherein the method of any of the above items is executed when the program is run.
  • the above-mentioned storage medium may be configured to store program codes for performing the following steps:
  • the above-mentioned storage medium can also be configured to store program codes for performing the following steps:
  • S22 Receive the target page path returned by the server in response to the menu creation request, where the target page path is created based on the first page path and the second page path corresponding to the target account.
  • the first page The path is used to indicate the routing information of the page to which the target account has access rights on the first application.
  • the target account is an account in the account system of the first application.
  • the second page path is used to indicate the page where the target account has access rights. The routing information of the page to which the target account has access rights on the second application;
  • Embodiments of the present disclosure also provide an electronic device, including a memory and a processor.
  • a computer program is stored in the memory, and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
  • 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.
  • the above-mentioned processor may be configured to perform the following steps through a computer program:
  • the above-mentioned processor can also be configured to perform the following steps through a computer program:
  • S22 Receive the target page path returned by the server in response to the menu creation request, where the target page path is created based on the first page path and the second page path corresponding to the target account.
  • the first page The path is used to indicate the routing information of the page to which the target account has access rights on the first application.
  • the target account is an account in the account system of the first application.
  • the second page path is used to indicate the page where the target account has access rights. The routing information of the page to which the target account has access rights on the second application;
  • the above storage medium may include but is not limited to: U disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), Various media that can store program code, such as mobile hard drives, magnetic disks, or optical disks.
  • ROM read-only memory
  • RAM random access memory
  • program code such as mobile hard drives, magnetic disks, or optical disks.
  • modules or steps of the present disclosure can be implemented using general-purpose computing devices, and they can be concentrated on a single computing device, or distributed across a network composed of multiple computing devices. , optionally, they may be implemented in program code executable by a computing device, such that they may be stored in a storage device for execution by the computing device, and in some cases, may be in a sequence different from that herein.
  • the steps shown or described are performed either individually as individual integrated circuit modules, or as multiple modules or steps among them as a single integrated circuit module. As such, the present disclosure is not limited to any specific combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure relates to the technical field of smart homes. Provided are a method and apparatus for creating a page menu, and a storage medium and an electronic apparatus. The method for creating a page menu comprises: acquiring a menu creation request, which is initiated by a target account; in response to the menu creation request, creating a target page path according to a first page path and a second page path, which correspond to the target account, wherein the first page path is used for indicating routing information of a page for which the target account has an access permission on a first application, the target account is an account in an account system of the first application, and the second page path is used for indicating routing information of a page for which the target account has an access permission on a second application; and sending the target page path to the target account, wherein the target page path is used for instructing the target account to create a target page menu according to the target page path.

Description

页面菜单的创建方法和装置、存储介质及电子装置Page menu creation method and device, storage medium and electronic device
本公开要求于2022年04月27日提交中国专利局、申请号为202210452412.3、发明名称“页面菜单的创建方法和装置、存储介质及电子装置”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure claims priority to the Chinese patent application filed with the China Patent Office on April 27, 2022, with application number 202210452412.3 and the invention title "Method and device for creating page menu, storage medium and electronic device", the entire content of which is incorporated by reference. incorporated in this disclosure.
技术领域Technical field
本公开涉及智能家居技术领域,具体而言,涉及一种页面菜单的创建方法和装置、存储介质及电子装置。The present disclosure relates to the field of smart home technology, and specifically 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 (web page) background management system applications, the functions of page menu display are becoming more and more user-friendly. Usually, different users have different identities and have different permissions in the same application. Therefore, the menu content displayed on the user interface will also be different. Moreover, the same user may be associated with multiple applications. During actual use, In order to complete 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 the related applications.
针对相关技术中,调用多个应用的功能的便捷度较低等问题,尚未提出有效的解决方案。In related technologies, no effective solution has been proposed yet, such as the low convenience of calling functions of multiple applications.
发明内容Contents of the invention
本公开实施例提供了一种页面菜单的创建方法和装置、存储介质及电子装置,以至少解决相关技术中,调用多个应用的功能的便捷度较低等问题。Embodiments of the present disclosure provide a method and device for creating a page menu, a storage medium, and an electronic device, so as to at least solve the problem in related technologies of low convenience in calling functions of multiple applications.
根据本公开实施例的一个实施例,提供了一种页面菜单的创建方法,包括:According to an embodiment of the present disclosure, a method for creating a page menu is provided, including:
获取目标帐号发起的菜单创建请求;Get 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, wherein the first page path is used to indicate that the target account has access to the first application The routing information of the 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;
向所述目标帐号发送所述目标页面路径,其中,所述目标页面路径用于指示所述目标帐号依据所述目标页面路径创建目标页面菜单。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 based on the target page path.
在一个示例性实施例中,一种页面菜单的创建方法,其特征在于,包括:In an exemplary embodiment, a method for creating a page menu is characterized by including:
向服务器发送菜单创建请求;Send a menu creation request to the server;
接收所述服务器响应所述菜单创建请求返回的目标页面路径,其中,所述目标页面路径是根据所述目标帐号对应的第一页面路径和第二页面路径创建的,所述第一页面路径用于指示所述目标帐号在第一应用上具有访问权限的页面的路由信息,所述目标帐号是在所述第一应用的帐号系统中的帐号,所述第二页面路径用于指示所述目标帐号在第二应用上具有访问权限的页面的路由信息;Receive a target page path returned by the server in response to the menu creation request, wherein the target page path is created based on the first page path and the second page path corresponding to the target account, and the first page path is Routing information indicating 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 that the target Routing information of pages that the account has access rights to on the second application;
创建所述目标页面路径对应的目标页面菜单。Create a target page menu corresponding to the target page path.
根据本公开实施例的另一个实施例,还提供了一种页面菜单的创建装置1,包括:According to another embodiment of the present disclosure, a page menu creation device 1 is also provided, including:
获取模块,被设置为获取目标帐号发起的菜单创建请求;The acquisition module is set to obtain the menu creation request initiated by the target account;
第一创建模块,被设置为响应所述菜单创建请求,根据所述目标帐号对应的第一页面路径和第二页面路径创建目标页面路径,其中,所述第一页面路径用于指示所述目标帐号在第一应用上具有访问权限的页面的路由信息,所述目标帐号是在所述第一应用的帐号系统中的帐号,所述第二页面路径用于指示所述目标帐号在第二应用上具有访问权限的页面的路由信息;The first creation module 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 The routing information of the page where 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 on the second application. Routing information for pages with access rights;
第一发送模块,被设置为向所述目标帐号发送所述目标页面路径,其中,所述目标页面路径用于指示所述目标帐号依据所述目标页面路径创建目标页面菜单。The first sending module is configured to 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 based on the target page path.
根据本公开实施例的另一个实施例,还提供了一种页面菜单的创建装置2,包括:According to another embodiment of the present disclosure, a device 2 for creating a page menu is also provided, including:
第二发送模块,被设置为向服务器发送菜单创建请求;The second sending module is configured to send a menu creation request to the server;
接收模块,被设置为接收所述服务器响应所述菜单创建请求返回的目标页面路径,其中,所述目标页面路径是根据所述目标帐号对应的第一页面路径和第二页面路径创建的,所述第一页面路径用于指示所述目标帐号在第一应用上具有访问权限的页面的路由信息,所述目标帐号是在所述第一应用的帐号系统中的帐号,所述第二页面路径用于指示所述目标帐号在第二应用上具有访问权限的页面的路由信息;The receiving module 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 based on 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 to which the target account has access rights on the first application. The target account is an account in the account system of the first application. The second page path Routing information used to indicate that the target account has access rights to the page on the second application;
第二创建模块,被设置为创建所述目标页面路径对应的目标页面菜单。The second creation module is configured to create a target page menu corresponding to the target page path.
根据本公开实施例的又一方面,还提供了一种计算机可读的存储介质,该计算机可读的存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述页面菜单的创建方法。According to yet another aspect of the embodiment of the present disclosure, a computer-readable storage medium is also provided. The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the above page menu when running. Create method.
根据本公开实施例的又一方面,还提供了一种电子装置,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,上述处理器通过计算机程序执行上述的页面菜单的创建方法。According to another aspect of the embodiment of the present disclosure, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the above-mentioned steps through the computer program. How to create a page menu.
在本公开实施例中,获取目标帐号发起的菜单创建请求;响应菜单创建请求,根据目标帐号对应的第一页面路径和第二页面路径创建目标页面路径,其中,第一页面路径用于指示目标帐号在第一应用上具有访问权限的页面的路由信息,目标帐号是在第一应用的帐号系统中的帐号,第二页面路径用于指示目标帐号在第二应用上具有访问权限的页面的路由信息;向目标帐号发送目标页面路径,其中,目标页面路径用于指示目标帐号依据目标页面路径创建目标页面菜单,即目标帐号发起的菜单创建请求,请求访问第一应用和第二应用上有访问权限的页面时,响应菜单创建请求,根据目标帐号从第一应用上获取具有访问权限的页面的路由信息作为第一页面路径,根据目标帐号从第二应用上获取具有访问权限的页面的路由信息作为第二页面路径,然后根据第一页面路径 和第二页面路径创建目标页面路径,将目标页面路径返回目标帐号创建目标页面菜单,即可通过目标页面菜单访问第一应用和第二应用上有访问权限的页面。In the embodiment of the present disclosure, a menu creation request initiated by the target account is obtained; in response to the menu creation request, a target page path is created 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 the target The routing information of the page to which the account has access rights on the first application. The target account is an account in the account system of the first application. The second page path is used to indicate the routing of the page to which the target account has access rights 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 a target page menu based on the target page path, that is, a menu creation request initiated by the target account, requesting access to the first application and the second application. When creating a page with permissions, respond to the menu creation request, obtain the routing information of the page with access permissions from the first application based on the target account as the first page path, and obtain the routing information of the page with access permissions from the second application based on 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, return the target page path to the target account, create the target page menu, and access the first application and the second application through the target page menu. access page.
附图说明Description of the drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those of ordinary skill in the art, It is said that other drawings can be obtained based on these drawings without exerting creative labor.
图1是根据本公开实施例的一种页面菜单的创建方法的硬件环境示意图;Figure 1 is a schematic diagram of the hardware environment of a method for creating a page menu according to an embodiment of the present disclosure;
图2是根据本公开实施例的一种页面菜单的创建方法的流程图一;Figure 2 is a flowchart 1 of a method for creating a page menu according to an embodiment of the present disclosure;
图3是根据本公开实施例的一种菜单创建请求的示意图;Figure 3 is a schematic diagram of a menu creation request according to an embodiment of the present disclosure;
图4是根据本公开实施例的目标页面路径创建的流程图;Figure 4 is a flow chart of target page path creation according to an embodiment of the present disclosure;
图5是根据本公开实施例的第一页面路径获取的示意图;Figure 5 is a schematic diagram of first page path acquisition according to an embodiment of the present disclosure;
图6是根据本公开实施例的第一页面路径和所述第二页面路径整合的示意图;Figure 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 disclosure;
图7是根据本公开实施例的目标身份标识匹配第一页面路径的示意图;Figure 7 is a schematic diagram of matching a first page path with a target identity identifier according to an embodiment of the present disclosure;
图8是根据本公开实施例的第二页面路径获取的示意图;Figure 8 is a schematic diagram of second page path acquisition according to an embodiment of the present disclosure;
图9是根据本公开实施例的一种页面菜单的创建方法的流程图二;Figure 9 is a flow chart 2 of a method for creating a page menu according to an embodiment of the present disclosure;
图10是根据本公开实施例的目标页面菜单生成的示意图;Figure 10 is a schematic diagram of target page menu generation according to an embodiment of the present disclosure;
图11是根据本公开实施例的一种页面菜单的创建方法的交互图;Figure 11 is an interaction diagram of a method for creating a page menu according to an embodiment of the present disclosure;
图12是根据本公开实施例的一种页面菜单的创建装置的结构框图一;Figure 12 is a structural block diagram 1 of a device for creating a page menu according to an embodiment of the present disclosure;
图13是根据本公开实施例的一种页面菜单的创建装置的结构框图二。FIG. 13 is a structural block diagram 2 of a device for creating a page menu according to an embodiment of the present disclosure.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本公开方案,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分的实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本公开保护的范围。In order to enable those skilled in the art to better understand the present disclosure, the following will clearly and completely describe the technical solutions in the present disclosure embodiments in conjunction with the accompanying drawings. Obviously, the described embodiments are only These are part of the embodiments of this disclosure, not all of them. Based on the embodiments in this disclosure, all other embodiments obtained by those of ordinary skill in the art without creative efforts should fall within the scope of protection of this disclosure.
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second", etc. in the description and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or apparatus that encompasses a series of steps or units and need not be limited to those explicitly listed. Those steps or elements may instead include other steps or elements not expressly 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 an embodiment of the present disclosure, a method for creating a page menu is provided. The creation method of the menu on this page is widely used in whole-house intelligent digital control application scenarios such as smart home, smart home, smart home device ecology, and smart residence (Intelligence House) ecology. Optionally, in this embodiment, the above method for creating a page menu can be applied to a hardware environment composed of a terminal device 102 and a server 104 as shown in FIG. 1 . As shown in Figure 1, the server 104 is connected to the terminal device 102 through the network, and can be set to provide services (such as application services, etc.) for the terminal or the client installed on the terminal. The database can be set up on the server or independently from the server. It is configured to provide data storage services for the server 104, cloud computing and/or edge computing services can be configured on the server or independently of the server, and it is configured to provide data computing services for the server 104.
上述网络可以包括但不限于以下至少之一:有线网络,无线网络。上述有线网络可以包括但不限于以下至少之一:广域网,城域网,局域网,上述无线网络可以包括但不限于以下至少之一:WIFI(Wireless Fidelity,无线保真),蓝牙。终端设备102可以并不限定于为PC(Personal Computer,个人计算机)、手 机、平板电脑、智能空调、智能烟机、智能冰箱、智能烤箱、智能炉灶、智能洗衣机、智能热水器、智能洗涤设备、智能洗碗机、智能投影设备、智能电视、智能晾衣架、智能窗帘、智能影音、智能插座、智能音响、智能音箱、智能新风设备、智能厨卫设备、智能卫浴设备、智能扫地机器人、智能擦窗机器人、智能拖地机器人、智能空气净化设备、智能蒸箱、智能微波炉、智能厨宝、智能净化器、智能饮水机、智能门锁等。The above-mentioned network may include but is not limited to at least one of the following: wired network, wireless network. The above-mentioned wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, and local area network. The above-mentioned wireless network may include at least one of the following: WIFI (Wireless Fidelity, Wireless Fidelity), Bluetooth. The terminal device 102 may be, but is not limited to, a PC (Personal Computer), a mobile phone, a tablet, a smart air conditioner, a smart hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing equipment, a smart Dishwasher, smart projection equipment, smart TV, smart clothes drying rack, smart curtains, smart audio and video, smart sockets, smart audio, smart speakers, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart sweeping robot, smart window cleaning Robots, smart mopping robots, smart air purification equipment, smart steamers, smart microwave ovens, smart kitchen appliances, smart purifiers, smart water dispensers, smart door locks, etc.
在本实施例中提供了一种页面菜单的创建方法,应用于上述设备终端,图2是根据本公开实施例的一种页面菜单的创建方法的流程图一,如图2所示,该流程包括如下步骤:In this embodiment, a method for creating a page menu is provided, which is applied to the above-mentioned device terminal. Figure 2 is a flow chart 1 of a method for creating a page menu according to an embodiment of the present disclosure. As shown in Figure 2, the process Includes the following steps:
步骤S202,获取目标帐号发起的菜单创建请求;Step S202: Obtain the 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, where the first page path is used to indicate that the target account is in the first application. The routing information of a page with access rights on the second application. The target account is an account in the account system of the first application. The second page path is used to indicate that the target account has access rights on the second application. Page routing information;
步骤S206,向所述目标帐号发送所述目标页面路径,其中,所述目标页面路径用于指示所述目标帐号依据所述目标页面路径创建目标页面菜单。Step S206: 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 based on the target page path.
通过上述步骤,目标帐号发起的菜单创建请求,请求访问第一应用和第二应用上有访问权限的页面时,响应菜单创建请求,根据目标帐号从第一应用上获取具有访问权限的页面的路由信息作为第一页面路径,根据目标帐号从第二应用上获取具有访问权限的页面的路由信息作为第二页面路径,然后根据第一页面路径和第二页面路径创建目标页面路径,将目标页面路径返回目标帐号创建目标页面菜单,即可通过目标页面菜单访问第一应用和第二应用上有访问权限的页面。采用上述技术方案,解决了相关技术中,调用多个应用的功能的便捷度较低等问题,实现了提高调用多个应用的功能的便捷度的技术效果。Through the above steps, when the menu creation request initiated by the target account requests access to a page with access permissions on the first application and the second application, the menu creation request is responded to and the route of the page with access permissions is obtained from the first application according to the target account. The 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 based on the first page path and the second page path, and the target page path is Return to the target account to create a target page menu, and you can access the pages with access permissions on the first application and the second application through the target page menu. Adopting the above technical solution solves the problem in related technologies that the convenience of calling functions of multiple applications is low, and achieves the technical effect of improving the convenience of calling functions of multiple applications.
在上述步骤S202提供的技术方案中,上述菜单创建请求可以但不限于用于 请求为目标帐号创建页面菜单,目标帐号发起的菜单创建请求可以但不限于是通过在终端界面中操作发出的,可以但不限于在终端设备的界面上通过勾选,点击,滑动等方式执行菜单创建请求,图3是根据本公开实施例的一种菜单创建请求的示意图;如图3所示,用户在终端设备上通过登录目标帐号发出菜单创建请求,服务器通过网络获取到终端设备传输过来的请求,对菜单创建请求携带的身份信息进行验证并验证成功之后,响应请求,生成用于创建页面菜单的数据。In the technical solution provided in the above step S202, the above menu creation request may be, but is not limited to, used to request to create a page menu for the target account. The menu creation request initiated by the target account may be, but is not limited to, issued by operating in the terminal interface. But it is not limited to executing a menu creation request by checking, clicking, sliding, etc. on the interface of the terminal device. Figure 3 is a schematic diagram of a menu creation request according to an embodiment of the present disclosure; as shown in Figure 3, the user performs a menu creation request on the terminal device. A menu creation request is issued by logging in to the target account. The server obtains the request transmitted from the terminal device through the network. After verifying the identity information carried in the menu creation request and the verification is successful, it responds to the request and generates data used to create the 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 in the process of creating the menu. The page path can indicate the creation of the corresponding menu to build the application. Basic skeleton.
可选地,在本实施例中,第一应用可以但不限于是指用户在本地主要使用的应用,包括办公应用、社交应用、音乐应用、多媒体应用、游戏应用等等。Optionally, in this embodiment, the first application may, but is not limited to, refer to an application that the user mainly uses locally, including office applications, social applications, music applications, multimedia applications, game applications, and so on.
可选地,在本实施例中,第二应用可以是基于第一应用提供附加功能的应用,也就是说,第二应用可以为第一应用的相关功能进行补充和完善,通过在第一应用的基础上,结合第二应用的相关功能实现便捷的效果,比如,以目标场景为办公场景为例,在第一应用为办公应用的情况下,本地可以实现表格处理、文档编辑等功能,添加第二应用(多媒体应用)之后,可以直接在第一应用的界面中使用多媒体功能,比如,视频编辑、图片编辑等等功能,无需打开第二应用(多媒体应用),提高了调用相关功能的便捷度。Optionally, in this embodiment, the second application may be an application that provides additional functions based on the first application. That is to say, the second application may supplement and improve the related functions of the first application by providing additional functions in the first application. On the basis of, 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 table processing and document editing can be implemented locally, adding After the second application (multimedia application), you can use multimedia functions directly in the interface of the first application, such as video editing, picture editing, etc., 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 is 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 is not limited to, issued through account a. request, where account a can be but is not limited to an account registered on application A, can be but is not limited to belonging to the account system corresponding to application A, and can access the interface corresponding to application A through account a.
可选地,在本实施例中,可以但不限于通过以下流程根据所述目标帐号对应的第一页面路径和第二页面路径创建目标页面路径,图4是根据本公开实施例的目标页面路径创建的流程图;如图4所示,第一应用的服务器接收到目标 账号发起的菜单创建请求后,将目标帐号与其帐号系统中的帐号进行匹配,确认目标帐号属于其帐号系统之后,可以获取目标帐号在第一应用上具有访问权限的第一页面路径,然后,再从第二应用上获取目标帐号具有访问权限的第二页面路径,最后,可以根据第一页面路径和第二页面路径创建目标页面路径。Optionally, in this embodiment, the target page path may be created according to the first page path and the second page path corresponding to the target account through, but is not limited to, the following process. Figure 4 is a target page path according to an embodiment of the present disclosure. Creation flow chart; as shown in Figure 4, after the server of the first application receives the menu creation request initiated by the target account, it 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 to which the target account has access rights on the first application is then obtained from the second application. The second page path to which the target account has access rights is obtained from the second application. Finally, it can be created 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 based on the first page path and the second page path corresponding to the target account in the following manner: obtaining 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 is used to obtain the target page path.
可选地,在本实施例中,第一页面路径可以但不限于是第一应用存储的页面路径的一个子集,也就是说,第一应用存储的页面路径可以但不限于包括多个子页面路径,图5是根据本公开实施例的第一页面路径获取的示意图;如图5所示,第一应用存储的页面路径可以包括第一页面路径~第N页面路径,其中,每一个页面路径可以但不限于对应一个帐号,通过将目标帐号与第一应用存储的页面路径进行匹配,获取目标帐号对应的第一页面路径。Optionally, in this embodiment, the first page path may be, but is not limited to, a subset of the page paths stored by the first application. That is to say, the page path stored by the first application may include, but is not limited to, multiple sub-pages. Path, Figure 5 is a schematic diagram of the first page path acquisition according to an embodiment of the present disclosure; as shown in Figure 5, the page path stored by the first application may include the first page path ~ the Nth page path, where each page path The first page path corresponding to the target account may be obtained but is not limited to corresponding to one account 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 is not limited to, the integration of the first page path and the second page path. That is to say, the target page path is not simply the combination of the first page path and the second page path. The second page path is stacked.
在一个示例性实施例中,可以但不限于通过以下方式整合所述第一页面路径和所述第二页面路径,得到所述目标页面路径:遍历所述第二页面路径中的每个目标路由;从所述第一页面路径包括的一个或者多个路由中获取所述目标路由对应的父级路由;将所述目标路由与所述父级路由的子级路由合并,得到目标页面路径。In an exemplary embodiment, the first page path and the second page path may be integrated, but are not limited to, in the following manner to obtain the target page path: traverse each target route in the second page path ; Obtain the 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.
可选地,在本实施例中,将所述目标路由与所述父级路由的子级路由合并,也就是说,目标页面路径可以但不限于是通过将目标路由插入父级路由的下级得到的,图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 to say, the target page path can be obtained by, but is not limited to, inserting the target route into the lower level of the parent route. , Figure 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 disclosure; as shown in Figure 6, each target route in the second page path is traversed, with the fourth route as the target Taking routing as an example, the parent route corresponding to the fourth route in the first page path is obtained as the b-th route. Among them, the b-th route can but is not limited to include multiple sub-routes, such as: b1-th route to b3-th route. Then, You can, but are not limited to, insert the fourth route into the lower-level route of the b-th route, that is, merge the b1-th route to the b3-th route 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 from the page path stored in the first application in the following manner: determining the target identity corresponding to the target account , wherein the target identity identifier is used to indicate the identity of the target account in the first application; the first corresponding to the target identity identifier is obtained from the identity identifier and the page path that have a corresponding relationship. 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, but is not limited to, include: administrator IDs, leader IDs, ordinary staff IDs, etc.; when the target scenario is a teaching scenario, the target identity IDs can include but are not limited to: principal IDs, teacher IDs, student IDs, etc. Different IDs correspond to application access rights. It can be, but is not limited to, different. For example, for the same application, the access rights of the leader ID can be greater than the access rights of the ordinary employee IDs.
可选地,在本实施例中,第一页面路径的获取方式可以但不限于通过以下方式,图7是根据本公开实施例的目标身份标识匹配第一页面路径的示意图;如图7所示,以目标场景为上述办公场景为例,识别出目标帐号的目标身份标识为普通职员,可以将目标身份标识(普通职员)输入第一应用中存储身份标识&页面路径表中,匹配出目标身份标识(普通职员)对应的第一页面路径(第3页面路径)。Optionally, in this embodiment, the method of obtaining the first page path may be but is not limited to the following method. Figure 7 is a schematic diagram of matching the target identity identifier to the first page path according to an embodiment of the present disclosure; as shown in Figure 7 Taking the above office scenario as an example, the target identity of the target account is identified as an ordinary employee. The target identity (ordinary employee) can be entered into the storage identity & page path table in the first application to match the target identity. Identifies the first page path (third page path) corresponding to (ordinary staff).
在一个示例性实施例中,可以但不限于通过以下方式向所述第二应用请求所述目标帐号对应的页面路径并获取所述第二应用返回的所述第二页面路径:向所述第二应用发送页面路径请求,其中,所述页面路径请求用于请求所述第二应用提供所述目标身份标识所对应的页面路径;获取所述第二应用响应所述页面路径请求返回的所述目标身份标识对应的初始页面路径;向所述初始页面路径添加第二应用标识,得到标识页面路径,其中,所述第二应用标识用于标 记所述初始页面路径是从所述第二应用获取到的;对所述标识页面路径中包括的页面路径进行去重,得到所述第二页面路径。In an exemplary embodiment, the page path corresponding to the target account may be requested from the second application and the second page path returned by the second application may be obtained 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 identifier; and obtains the page path returned by the second application in response to the page path request. The initial page path corresponding to the target identity identifier; add a second application identifier to the initial page path to obtain the identification page path, where the second application identifier is used to mark that the initial page path is obtained from the second application to obtain the second page path by deduplicating the page path included in the identified page path.
可选地,在本实施例中,对所述标识页面路径中包括的页面路径进行去重可以但不限于是因为第二应用由多方共同运维的应用,返回的标识页面路径中包括的页面路径可能存在重复页面路径的情况,可以通过对相同的页面路径进行去重,得到第二页面路径。Optionally, in this embodiment, deduplication of page paths included in the identification page path may be, but is not limited to, because the second application is jointly operated and maintained by multiple parties, and the pages included in the returned identification page path There may be duplicate page paths in the path. You can obtain the second page path by deduplicating the same page path.
可选地,在本实施例中,第二页面路径的获取方式可以但不限于通过以下方式,图8是根据本公开实施例的第二页面路径获取的示意图;如图8所示,以目标场景为上述办公场景为例,识别出目标帐号的目标身份标识为领导人员,可以将目标身份标识(领导人员)输入第二应用中存储的身份标识&页面路径表中,匹配出目标身份标识(领导人员)对应的初始页面路径(第2页面路径),然后,可以向初始页面路径(第2页面路径)添加第二应用标识,得到(第2标识页面路径),将(第2标识页面路径)进行去重之后,得到第二页面路径(第2去重页面路径)。Optionally, in this embodiment, the second page path can be obtained in a manner that is but not limited to the following. Figure 8 is a schematic diagram of obtaining the second page path according to an embodiment of the present disclosure; as shown in Figure 8, with the target The scenario is the above office scenario as an example. If the target identity of the target account is identified as a leader, the target identity (leader) can be entered into the identity & page path table stored in the second application to match the target identity ( The initial page path (second page path) corresponding to the leader), then, you can add the second application identification to the initial page path (second page path) to obtain (second identification page path), and convert (second identification page path) ) after deduplication, the second page path (the second deduplication page path) is obtained.
在上述步骤S206提供的技术方案中,目标页面路径可以但不限于为创建目标页面菜单提供菜单的层级关系,比如,可以指示目标页面菜单的主菜单和子菜单之间的层级关系,由于目标页面路径是目标帐号在第一应用和第二应用中匹配得到的,因此,根据目标页面路径生成的目标页面菜单可以指示目标帐号在第一应用和第二应用中具备查看权限的菜单集合。In the technical solution provided in step S206 above, the target page path may, but is not limited to, provide a hierarchical relationship of the menu for creating the target page menu. For example, it may indicate the hierarchical relationship between the main menu and the submenu of the target page menu. Since the target page path The target account is matched in the first application and the second application. Therefore, the target page menu generated according to the target page path can indicate the menu set that the target account has viewing permissions 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. Figure 9 is a flow chart 2 of a method for creating a page menu according to an embodiment of the present disclosure. The process includes the following steps:
步骤S902,向服务器发送菜单创建请求;Step S902, send a menu creation request to the server;
步骤S904,接收所述服务器响应所述菜单创建请求返回的目标页面路径,其中,所述目标页面路径是根据所述目标帐号对应的第一页面路径和第二页面路径创建的,所述第一页面路径用于指示所述目标帐号在第一应用上具有访问 权限的页面的路由信息,所述目标帐号是在所述第一应用的帐号系统中的帐号,所述第二页面路径用于指示所述目标帐号在第二应用上具有访问权限的页面的路由信息;Step S904: Receive the target page path returned by the server in response to the menu creation request, wherein the target page path is created based on 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 to which the target account has access rights on the first application. The target account is an account in the account system of the first application. The second page path is used to indicate Routing information of pages to which the target account has access rights on the second application;
步骤S906,创建所述目标页面路径对应的目标页面菜单。Step S906: Create 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 a page with access permissions on the first application and the second application, the menu creation request is responded to and the route of the page with access permissions is obtained from the first application according to the target account. The 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 based on the first page path and the second page path, and the target page path is Return to the target account to create a target page menu, and you can access the pages with access permissions on the first application and the second application through the target page menu. Adopting the above technical solution solves the problem in related technologies that the convenience of calling functions of multiple applications is low, and achieves the technical effect of improving the convenience of calling functions of multiple applications.
在上述步骤S902提供的技术方案中,可以但不限于通过在客户端屏幕上进行“点击”、“滑动”等触发请求的方式向服务器发送菜单创建请求,菜单创建请求可以但不限于用于请求为目标帐号创建页面菜单,比如,可以但不限于输入目标帐号之后,点击进入页面菜单的请求,便可以向服务器发送菜单创建请求,请求为目标帐号创建页面菜单。In the technical solution provided in step S902 above, a menu creation request may be sent to the server by triggering a request such as "clicking" or "sliding" on the client screen. The menu creation request may be, but is not limited to, used for requesting To create a page menu for the target account, for example, but not limited to, after entering the target account, click the request to enter the page menu, and then you can send a menu creation request to the server, requesting to create a page menu for the target account.
在上述步骤S904提供的技术方案中,服务器在接受到菜单创建请求之后,对请求进行响应,可以通过服务器获取目标帐号在第一应用上具有访问权限的页面的路由信息,以及,目标帐号在第二应用上具有访问权限的页面的路由信息,进行整合之后,得到目标页面路径,然后返回目标页面路径。In the technical solution provided in 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 to on the first application through the server, and the target account in the first application. After integrating the routing information of pages with access rights on the second application, the target page path is obtained, and then the target page path 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 the submenu included in the page menu indicated by the target page path, that is, the target page is created In 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 in the following manner, but is not limited to: obtaining the third page path provided by the first application from the target page path; The third page path adjusts the page path stored in the client logged in with the target account to obtain a candidate page path; generates a candidate page menu corresponding to the candidate page path; and converts the page link 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 the page path provided by the second application in the target page path.
可选地,在本实施例中,按照所述第三页面路径对所述目标帐号所登录的客户端所存储的页面路径进行调整,得到候选页面路径可以但不限于是对客户端所存储的页面路径的页面路径顺序、页面路径级别进行调整,调整的手段可以但不限于是通过程序或者软件进行批量调整,第三页面路径可以视为为调整提供了调整目标,也就是说,可以通过调整操作,将客户端所存储的页面路径调整至与第三页面路径一致。Optionally, in this embodiment, the page path stored by the client logged in with the target account is adjusted according to the third page path. The candidate page path obtained may be, but is not limited to, the page path stored by the client. The page path sequence and page path level of the page path are adjusted. The adjustment method can be but is 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 through Operation, adjust the page path stored on 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 target page menu may be generated by, but is 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, Figure 10 is a schematic diagram of the target page menu generated according to an embodiment of the present disclosure; as shown in Figure 10, the target page path from the first application is used as the third page path (Bth route, Dth route, ..., S-1th route), as the fourth page path (Ath route, C-th route, E-th route, ..., S-th route) from the second application, the customer can first be instructed through the third application menu The page path stored on the terminal is adjusted to obtain the candidate page path, and then the candidate page menu is generated according to the candidate page path to form a preliminary menu framework. Then, the page link corresponding to the fourth application menu can be linked 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 can also be accessed in the following manner, but is not limited to: after detecting that the target menu item in the target page menu is accessed In the case of operation, determine the menu type of the target menu item; if 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. Page display; when the menu type of the target menu item belongs to the page link type, call 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 is accessed, operations such as selection, sliding, and selection may be detected, but are not limited to, such as detecting When the target menu item is clicked and selected, it is 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-mentioned page menu, the creation process of the above-mentioned page menu will be described below with reference to optional embodiments, but this is not intended to limit the technical solutions of the embodiments of the present disclosure.
在本实施例中提供了一种页面菜单的创建方法,其中,以本地系统作为第一应用、Server(服务端)作为本地系统对应的服务器、三方系统作为第二应用为例,描述页面菜单的创建的交互机制,图11是根据本公开实施例的一种页面菜单的创建方法的交互图,如图11所示,主要包括如下步骤:In this embodiment, a method for creating a page menu is provided. Taking the local system as the first application, the Server (server) as the server corresponding to the local system, and the third-party system as the second application as an example, the page menu is described. Interaction mechanism for creation. Figure 11 is an interaction diagram of a method for creating a page menu according to an embodiment of the present disclosure. As shown in Figure 11, it mainly includes the following steps:
步骤S1101:通过部署在本地系统的Web用户端向Server端发起携带身份标识的页面路径请求;Step S1101: Initiate a page path request carrying the identity identifier to the server through the Web client deployed on the local system;
步骤S1102:Server端根据请求携带的身份标识进行身份校验;Step S1102: The server performs identity verification based on the identity identifier 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 third-party system performs user identity verification based on the identity identifier;
步骤S1106:三方系统将该用户关联的页面路径添加三方标识;Step S1106: The third-party system adds the third-party identifier to the page path associated with the user;
步骤S1107:三方系统将其标识过的页面路径返回给Server端;Step S1107: The third-party system returns the identified page path to the server;
步骤S1108:Server端将三方页面路径根据三方标识进行去重处理,由于 Server端对接的三方系统一般是一个由多方运维所共同维护的系统,同一用户可能会在不同的三方系统配置中查询到相同的页面路径,因此每次三方系统都需要将该用户关联的页面路径添加上相应的标识用于区分,比如以应用名称搭配路由ID的方式作为标识;Step S1108: The server deduplicates the third-party page path based on the third-party identification. Since the third-party system connected to the server is generally a system jointly maintained by multiple parties, the same user may query it in different third-party system configurations. The same page path, so each third-party system needs to add a corresponding identifier to the page path associated with the user for differentiation, such as using the application name with the routing ID as the identifier;
步骤S1109:页面路径打标整合,将本地系统与三方系统的页面路径统一整合,按照对应的上下级关系进行梳理,合并同一主路由下的子页面路径,并按照标识规则进行排序、添加路由序号;Step S1109: Page path marking and integration. Unify the page paths of the local system and the third-party system, sort them out according to the corresponding superior and subordinate relationships, merge the sub-page paths under the same main route, sort them according to the identification rules, and add routing serial numbers. ;
步骤S1110:Server端返回页面路径;Step S1110: The server 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 side in combination with the web front-end routing table, filter out the authorized data in the web-side local routing table, and add the web-side local routing table to the page path. The page path and the server-side page path are unified and sorted out according to the corresponding superior and subordinate relationships, and the sub-page paths under the same main route are merged. After the merger is completed, the user menu is generated.
通过上述实施例,可以实现web前端本地路由、Server端配置路由以及三方系统路由的融合,动态生成前端路由,多方页面路径增加上下级关系与路由序号。可以解决现有的web前端页面路径生成方式大多存在灵活性差,Server端负荷大,过度依赖web前端打包发版等问题。本公开提出的可融合多方平台配置的动态路由生成方法,动态路由用于配置页面路径,在实现更灵活的配置方式的同时,也大大降低了依赖前端发版所带来的复杂性与不稳定性。不仅可以保证web前端路由的全覆盖,还可以通过单次权限校验返回多方页面路径,在不依赖web前端打包发版的同时,灵活的通过三方系统配置接入新的路由菜单,提升了用户体验,减少了Server端负载。Through the above embodiments, the integration of web front-end local routing, server-side configuration routing and three-party system routing can be achieved, front-end routing is dynamically generated, and multi-party page paths add superior-subordinate relationships and routing serial numbers. It can solve the problems that most existing web front-end page path generation methods have poor flexibility, heavy load on the server, and over-reliance on web front-end packaging and publishing. This disclosure proposes a dynamic routing generation method that can integrate multi-party platform configurations. 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 publishing. sex. Not only can it ensure full coverage of web front-end routing, but it can also return multi-party page paths through a single permission verification. While not relying on web front-end packaging and publishing, it can flexibly access new routing menus through three-party system configurations, improving 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 the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is Better implementation. Based on this understanding, the technical solution of the present disclosure can be embodied in the form of a software product in essence or that contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk, CD), including several instructions to cause a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present disclosure.
图12是根据本公开实施例的一种页面菜单的创建装置的结构框图一;如图12所示,包括:Figure 12 is a structural block diagram 1 of a device for creating a page menu according to an embodiment of the present disclosure; as shown in Figure 12, it includes:
获取模块1202,被设置为获取目标帐号发起的菜单创建请求;The acquisition module 1202 is configured to obtain the menu creation request initiated by the target account;
第一创建模块1204,被设置为响应所述菜单创建请求,根据所述目标帐号对应的第一页面路径和第二页面路径创建目标页面路径,其中,所述第一页面路径用于指示所述目标帐号在第一应用上具有访问权限的页面的路由信息,所述目标帐号是在所述第一应用的帐号系统中的帐号,所述第二页面路径用于指示所述目标帐号在第二应用上具有访问权限的页面的路由信息;The first 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 The routing information of the page to which the target account has access rights on the first application. The target account is an account in the account system of the first application. The second page path is used to indicate that the target account is in the second application. Routing information for pages on the application that have access rights;
第一发送模块1206,被设置为向所述目标帐号发送所述目标页面路径,其中,所述目标页面路径用于指示所述目标帐号依据所述目标页面路径创建目标页面菜单。The first sending module 1206 is configured to 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 based on the target page path.
通过上述实施例,目标帐号发起的菜单创建请求,请求访问第一应用和第二应用上有访问权限的页面时,响应菜单创建请求,根据目标帐号从第一应用上获取具有访问权限的页面的路由信息作为第一页面路径,根据目标帐号从第二应用上获取具有访问权限的页面的路由信息作为第二页面路径,然后根据第一页面路径和第二页面路径创建目标页面路径,将目标页面路径返回目标帐号创建目标页面菜单,即可通过目标页面菜单访问第一应用和第二应用上有访问权限的页面。采用上述技术方案,解决了相关技术中,调用多个应用的功能的便捷度较低等问题,实现了提高调用多个应用的功能的便捷度的技术效果。Through the above embodiment, when the menu creation request initiated by the target account requests access to a page with access rights on the first application and the second application, the menu creation request is responded to and 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 based on the first page path and the second page path, and the target page is The path returns to the target account to create a target page menu, and you can access the pages with access permissions on the first application and the second application through the target page menu. Adopting the above technical solution solves the problem in related technologies that the convenience of calling functions of multiple applications is low, and achieves the technical effect of improving the convenience of calling functions of multiple applications.
在一个示例性实施例中,所述创建模块,包括:In an exemplary embodiment, the creation module includes:
第一获取单元,被设置为从所述第一应用存储的页面路径中获取所述目标帐号对应的所述第一页面路径;A first acquisition unit configured to acquire the first page path corresponding to the target account from the page path stored in the first application;
第二获取单元,被设置为向所述第二应用请求所述目标帐号对应的页面路径并获取所述第二应用返回的所述第二页面路径;The second acquisition unit is configured to request the page path corresponding to the target account from the second application and obtain the second page path returned by the second application;
整合单元,被设置为整合所述第一页面路径和所述第二页面路径,得到所述目标页面路径。An integration unit is 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 configured to:
遍历所述第二页面路径中的每个目标路由;Traverse each target route in the second page path;
从所述第一页面路径包括的一个或者多个路由中获取所述目标路由对应的父级路由;Obtain the parent route corresponding to the target route from one or more routes included in the first page path;
将所述目标路由与所述父级路由的子级路由合并,得到目标页面路径。The target route is merged with the child route of the parent route to obtain the target page path.
在一个示例性实施例中,所述第一获取单元,被设置为:In an exemplary embodiment, the first acquisition unit is configured as:
确定所述目标帐号对应的目标身份标识,其中,所述目标身份标识用于指示所述目标帐号在所述第一应用中所具有的身份;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 page path corresponding to the target identity identifier is obtained from the identity identifiers and page paths that have a corresponding relationship.
在一个示例性实施例中,所述第二获取单元,被设置为:In an exemplary embodiment, the second acquisition unit is configured as:
向所述第二应用发送页面路径请求,其中,所述页面路径请求用于请求所述第二应用提供所述目标身份标识所对应的页面路径;Send a page path request to the second application, where the page path request is used to request the second application to provide a page path corresponding to the target identity identifier;
获取所述第二应用响应所述页面路径请求返回的所述目标身份标识对应的初始页面路径;Obtain the 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;
对所述标识页面路径中包括的页面路径进行去重,得到所述第二页面路径。Deduplicate the page paths included in the identified page paths to obtain the second page paths.
图13是根据本公开实施例的一种页面菜单的创建装置的结构框图二;如图13所示,包括:Figure 13 is a structural block diagram 2 of a device for creating a page menu according to an embodiment of the present disclosure; as shown in Figure 13, it includes:
第二发送模块1302,被设置为向服务器发送菜单创建请求;The second sending module 1302 is configured to send a menu creation request to the server;
接收模块1304,被设置为接收所述服务器响应所述菜单创建请求返回的目标页面路径,其中,所述目标页面路径是根据所述目标帐号对应的第一页面路径和第二页面路径创建的,所述第一页面路径用于指示所述目标帐号在第一应用上具有访问权限的页面的路由信息,所述目标帐号是在所述第一应用的帐号系统中的帐号,所述第二页面路径用于指示所述目标帐号在第二应用上具有访问权限的页面的路由信息;The receiving 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 based on the first page path and the second page path corresponding to the target account, The first page path is used to indicate the routing information of the page to which the target account has access rights on the first application. The target account is an account in the account system of the first application. The second page The path is used to indicate the routing information of the page to which the target account has access rights on the second application;
第二创建模块1306,被设置为创建所述目标页面路径对应的目标页面菜单。The second creation module 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 acquisition unit configured to acquire a third page path provided by the first application from the target page path;
调整单元,被设置为按照所述第三页面路径对所述目标帐号所登录的客户端所存储的页面路径进行调整,得到候选页面路径;The adjustment unit is configured to adjust the page path stored in the client logged in with 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;
插入单元,被设置为将第四页面路径对应的页面链接按照所述目标页面路径所指示的层级关系插入所述候选页面菜单,得到目标页面菜单,其中,所述第四页面路径是所述目标页面路径中由所述第二应用提供的页面路径。The insertion unit is 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 page path.
在一个示例性实施例中,所述装置还包括:In an exemplary embodiment, the device further includes:
确定模块,被设置为在所述得到目标页面菜单之后在检测到所述目标页面菜单中的目标菜单项被执行了访问操作的情况下,确定所述目标菜单项的菜单类型;A determination module configured to determine the menu type of the target menu item after detecting that the target menu item in the target page menu has been accessed after the target page menu is obtained;
第一调用模块,被设置为在所述目标菜单项的菜单类型不属于页面链接类型的情况下,从所述第一应用调用所述目标菜单项对应的菜单数据进行页面展示;The first calling module is 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 embodiment, when the menu creation request initiated by the target account requests access to a page with access rights on the first application and the second application, the menu creation request is responded to and 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 based on the first page path and the second page path, and the target page is The path returns to the target account to create a target page menu, and you can access the pages with access permissions on the first application and the second application through the target page menu. Adopting the above technical solution solves the problem in related technologies that the convenience of calling functions of multiple applications is low, and achieves the technical effect of improving the convenience of calling functions of multiple applications.
本公开的实施例还提供了一种存储介质,该存储介质包括存储的程序,其中,上述程序运行时执行上述任一项的方法。An embodiment of the present disclosure also provides a storage medium that includes a stored program, wherein the method of any of the above items is executed when the program is run.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Optionally, in this embodiment, the above-mentioned storage medium may be configured to store program codes for performing the following steps:
S11,获取目标帐号发起的菜单创建请求;S11, obtain the 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 pages with access permissions, 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 permissions on pages in 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 based on the target page path.
可选地,在本实施例中,上述存储介质还可以被设置为存储用于执行以下步骤的程序代码:Optionally, in this embodiment, the above-mentioned storage medium can also be configured to store program codes for performing the following steps:
S21,向服务器发送菜单创建请求;S21, send 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, where the target page path is created based on the first page path and the second page path corresponding to the target account. The first page The path is used to indicate the routing information of the page to which the target account has access rights on the first application. The target account is an account in the account system of the first application. The second page path is used to indicate the page where the target account has access rights. The routing information of the page to which the target account has access rights on the second application;
S23,创建所述目标页面路径对应的目标页面菜单。S23: Create a target page menu corresponding to the target page path.
本公开的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。Embodiments of the present disclosure also provide an electronic device, including a memory and a processor. A computer program is stored in the memory, and the processor is configured to run the computer program to perform the steps in any 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 perform the following steps through a computer program:
S11,获取目标帐号发起的菜单创建请求;S11, obtain the 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 pages with access permissions, 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 permissions on pages in 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 based on the target page path.
可选地,在本实施例中,上述处理器还可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the above-mentioned processor can also be configured to perform the following steps through a computer program:
S21,向服务器发送菜单创建请求;S21, send 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, where the target page path is created based on the first page path and the second page path corresponding to the target account. The first page The path is used to indicate the routing information of the page to which the target account has access rights on the first application. The target account is an account in the account system of the first application. The second page path is used to indicate the page where the target account has access rights. The routing information of the page to which the target account has access rights 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 storage medium may include but is not limited to: U disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), Various media that can store program code, such as mobile hard drives, magnetic disks, or optical disks.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference can be made to the examples described in the above-mentioned embodiments and optional implementations, and details will not be described again in this embodiment.
显然,本领域的技术人员应该明白,上述的本公开的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本公开不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present disclosure can be implemented using general-purpose computing devices, and they can be concentrated on a single computing device, or distributed across a network composed of multiple computing devices. , optionally, they may be implemented in program code executable by a computing device, such that they may be stored in a storage device for execution by the computing device, and in some cases, may be in a sequence different from that herein. The steps shown or described are performed either individually as individual integrated circuit modules, or as multiple modules or steps among them as a single integrated circuit module. As such, the present disclosure is not limited to any specific combination of hardware and software.
以上所述仅是本公开的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本公开原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本公开的保护范围。The above are only preferred embodiments of the present disclosure. It should be pointed out that for those of ordinary skill in the art, several improvements and modifications can be made without departing from the principles of the present disclosure. These improvements and modifications can also be made. should be regarded as the scope of protection of this disclosure.

Claims (18)

  1. 一种页面菜单的创建方法,包括:A method for creating a page menu, including:
    获取目标帐号发起的菜单创建请求;Get 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, wherein the first page path is used to indicate that the target account has access to the first application The routing information of the 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;
    向所述目标帐号发送所述目标页面路径,其中,所述目标页面路径用于指示所述目标帐号依据所述目标页面路径创建目标页面菜单。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 based on the target page path.
  2. 根据权利要求1所述的一种页面菜单的创建方法,其中,所述根据所述目标帐号对应的第一页面路径和第二页面路径创建目标页面路径,包括:A method for creating a page menu according to claim 1, wherein said creating a target page path according to the first page path and the second page path corresponding to the target account includes:
    从所述第一应用存储的页面路径中获取所述目标帐号对应的所述第一页面路径;Obtain the first page path corresponding to the target account from the page path stored in the first application;
    向所述第二应用请求所述目标帐号对应的页面路径并获取所述第二应用返回的所述第二页面路径;Request the page path corresponding to the target account from the second application and obtain the second page path returned by the second application;
    整合所述第一页面路径和所述第二页面路径,得到所述目标页面路径。The first page path and the second page path are integrated to obtain the target page path.
  3. 根据权利要求2所述的一种页面菜单的创建方法,其中,所述整合所述第一页面路径和所述第二页面路径,得到所述目标页面路径,包括:A method for creating a page menu according to claim 2, wherein 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;
    从所述第一页面路径包括的一个或者多个路由中获取所述目标路由对应的父级路由;Obtain the parent route corresponding to the target route from one or more routes included in the first page path;
    将所述目标路由与所述父级路由的子级路由合并,得到目标页面路径。The target route is merged with the child route of the parent route to obtain the target page path.
  4. 根据权利要求2所述的一种页面菜单的创建方法,其中,所述从所述第一应用存储的页面路径中获取所述目标帐号对应的所述第一页面路径,包括:A method for creating a page menu according to claim 2, wherein said obtaining the first page path corresponding to the target account from the page path stored in the first application includes:
    确定所述目标帐号对应的目标身份标识,其中,所述目标身份标识用于指示所述目标帐号在所述第一应用中所具有的身份;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 page path corresponding to the target identity identifier is obtained from the identity identifiers and page paths that have a corresponding relationship.
  5. 根据权利要求4所述的一种页面菜单的创建方法,其中,所述向所述第二应用请求所述目标帐号对应的页面路径并获取所述第二应用返回的所述第二页面路径,包括:A method for creating a page menu according to claim 4, wherein the step of requesting the page path corresponding to the target account from the second application and obtaining the second page path returned by the second application, include:
    向所述第二应用发送页面路径请求,其中,所述页面路径请求用于请求所述第二应用提供所述目标身份标识所对应的页面路径;Send a page path request to the second application, where the page path request is used to request the second application to provide a page path corresponding to the target identity identifier;
    获取所述第二应用响应所述页面路径请求返回的所述目标身份标识对应的初始页面路径;Obtain the 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;
    对所述标识页面路径中包括的页面路径进行去重,得到所述第二页面路径。Deduplicate the page paths included in the identified page paths to obtain the second page paths.
  6. 一种页面菜单的创建方法,包括:A method for creating a page menu, including:
    向服务器发送菜单创建请求;Send a menu creation request to the server;
    接收所述服务器响应所述菜单创建请求返回的目标页面路径,其中,所述目标页面路径是根据所述目标帐号对应的第一页面路径和第二页面路径创建的,所述第一页面路径用于指示所述目标帐号在第一应用上具有访问权限的页面的路由信息,所述目标帐号是在所述第一应用的帐号系统中的帐号,所述第二页面路径用于指示所述目标帐号在第二应用上具有访问权限的页面的路由信息;Receive a target page path returned by the server in response to the menu creation request, wherein the target page path is created based on the first page path and the second page path corresponding to the target account, and the first page path is Routing information indicating 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 that the target Routing information of pages that the account has access rights to on the second application;
    创建所述目标页面路径对应的目标页面菜单。Create a target page menu corresponding to the target page path.
  7. 根据权利要求6所述的一种页面菜单的创建方法,其中,所述创建所述目标页面路径对应的目标页面菜单,包括:A method for creating a page menu according to claim 6, wherein said creating a target page menu corresponding to the target page path includes:
    从所述目标页面路径中获取由所述第一应用提供的第三页面路径;Obtain a third page path provided by the first application from the target page path;
    按照所述第三页面路径对所述目标帐号所登录的客户端所存储的页面路径进行调整,得到候选页面路径;Adjust the page path stored in the client logged in with the target account according to the third page path to obtain a candidate page path;
    生成所述候选页面路径对应的候选页面菜单;Generate a candidate page menu corresponding to the candidate page path;
    将第四页面路径对应的页面链接按照所述目标页面路径所指示的层级关系插入所述候选页面菜单,得到目标页面菜单,其中,所述第四页面路径是所述目标页面路径中由所述第二应用提供的页面路径。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 path consisting of the The page path provided by the second application.
  8. 根据权利要求7所述的一种页面菜单的创建方法,其中,在所述得到目标页面菜单之后,所述方法还包括:A method for creating a page menu according to claim 7, wherein after obtaining the target page menu, the method further includes:
    在检测到所述目标页面菜单中的目标菜单项被执行了访问操作的情况下,确定所述目标菜单项的菜单类型;When it is detected that the target menu item in the target page menu is accessed, determine the menu type of the target menu item;
    在所述目标菜单项的菜单类型不属于页面链接类型的情况下,从所述第一应用调用所述目标菜单项对应的菜单数据进行页面展示;When the menu type of the target menu item does not belong to the page link type, calling 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 belongs to the page link type, the target page link corresponding to the target menu item is called.
  9. 一种页面菜单的创建装置,包括:A device for creating a page menu, including:
    获取模块,被设置为获取目标帐号发起的菜单创建请求;The acquisition module is set to obtain the menu creation request initiated by the target account;
    第一创建模块,被设置为响应所述菜单创建请求,根据所述目标帐号对应的第一页面路径和第二页面路径创建目标页面路径,其中,所述第一页面路径用于指示所述目标帐号在第一应用上具有访问权限的页面的路由信息,所述目标帐号是在所述第一应用的帐号系统中的帐号,所述第二页面路径用 于指示所述目标帐号在第二应用上具有访问权限的页面的路由信息;The first creation module 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 The routing information of the page where 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 on the second application. Routing information for pages with access rights;
    第一发送模块,被设置为向所述目标帐号发送所述目标页面路径,其中,所述目标页面路径用于指示所述目标帐号依据所述目标页面路径创建目标页面菜单。The first sending module is configured to 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 based on the target page path.
  10. 根据权利要求9所述的页面菜单的创建装置,其中,所述创建模块,包括:The page menu creation device according to claim 9, wherein the creation module includes:
    第一获取单元,被设置为从所述第一应用存储的页面路径中获取所述目标帐号对应的所述第一页面路径;A first acquisition unit configured to acquire the first page path corresponding to the target account from the page path stored in the first application;
    第二获取单元,被设置为向所述第二应用请求所述目标帐号对应的页面路径并获取所述第二应用返回的所述第二页面路径;The second acquisition unit is configured to request the page path corresponding to the target account from the second application and obtain the second page path returned by the second application;
    整合单元,被设置为整合所述第一页面路径和所述第二页面路径,得到所述目标页面路径。An integration unit is configured to integrate the first page path and the second page path to obtain the target page path.
  11. 根据权利要求10所述的页面菜单的创建装置,其中,所述整合单元,被设置为:The page menu creation device according to claim 10, wherein the integration unit is configured to:
    遍历所述第二页面路径中的每个目标路由;Traverse each target route in the second page path;
    从所述第一页面路径包括的一个或者多个路由中获取所述目标路由对应的父级路由;Obtain the parent route corresponding to the target route from one or more routes included in the first page path;
    将所述目标路由与所述父级路由的子级路由合并,得到目标页面路径。The target route is merged with the child route of the parent route to obtain the target page path.
  12. 根据权利要求10所述的页面菜单的创建装置,其中,所述第一获取单元,被设置为:The page menu creation device according to claim 10, wherein the first acquisition unit is configured to:
    确定所述目标帐号对应的目标身份标识,其中,所述目标身份标识用于指示所述目标帐号在所述第一应用中所具有的身份;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 page path corresponding to the target identity identifier is obtained from the identity identifiers and page paths that have a corresponding relationship.
  13. 根据权利要求10所述的页面菜单的创建装置,其中,所述第二获取单元,被设置为:The page menu creation device according to claim 10, wherein the second acquisition unit is configured to:
    向所述第二应用发送页面路径请求,其中,所述页面路径请求用于请求所述第二应用提供所述目标身份标识所对应的页面路径;Send a page path request to the second application, where the page path request is used to request the second application to provide a page path corresponding to the target identity identifier;
    获取所述第二应用响应所述页面路径请求返回的所述目标身份标识对应的初始页面路径;Obtain the 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;
    对所述标识页面路径中包括的页面路径进行去重,得到所述第二页面路径。Deduplicate the page paths included in the identified page paths to obtain the second page paths.
  14. 一种页面菜单的创建装置,包括:A device for creating a page menu, including:
    第二发送模块,被设置为向服务器发送菜单创建请求;The second sending module is configured to send a menu creation request to the server;
    接收模块,被设置为接收所述服务器响应所述菜单创建请求返回的目标页面路径,其中,所述目标页面路径是根据所述目标帐号对应的第一页面路径和第二页面路径创建的,所述第一页面路径用于指示所述目标帐号在第一应用上具有访问权限的页面的路由信息,所述目标帐号是在所述第一应用的帐号系统中的帐号,所述第二页面路径用于指示所述目标帐号在第二应用上具有访问权限的页面的路由信息;The receiving module 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 based on 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 to which the target account has access rights on the first application. The target account is an account in the account system of the first application. The second page path Routing information used to indicate that the target account has access rights to the page on the second application;
    第二创建模块,被设置为创建所述目标页面路径对应的目标页面菜单。The second creation module is configured to create a target page menu corresponding to the target page path.
  15. 根据权利要求14所述的页面菜单的创建装置,其中,所述第二创建模块,包括:The page menu creation device according to claim 14, wherein the second creation module includes:
    第三获取单元,被设置为从所述目标页面路径中获取由所述第一应用提供的第三页面路径;A third acquisition unit configured to acquire a third page path provided by the first application from the target page path;
    调整单元,被设置为按照所述第三页面路径对所述目标帐号所登录的客户端所存储的页面路径进行调整,得到候选页面路径;The adjustment unit is configured to adjust the page path stored in the client logged in with 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;
    插入单元,被设置为将第四页面路径对应的页面链接按照所述目标页面 路径所指示的层级关系插入所述候选页面菜单,得到目标页面菜单,其中,所述第四页面路径是所述目标页面路径中由所述第二应用提供的页面路径。The insertion unit is 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 page path.
  16. 根据权利要求14所述的页面菜单的创建装置,其中,所述装置还包括:The page menu creation device according to claim 14, wherein the device further includes:
    确定模块,被设置为在所述得到目标页面菜单之后在检测到所述目标页面菜单中的目标菜单项被执行了访问操作的情况下,确定所述目标菜单项的菜单类型;A determination module configured to determine the menu type of the target menu item after detecting that the target menu item in the target page menu has been accessed after the target page menu is obtained;
    第一调用模块,被设置为在所述目标菜单项的菜单类型不属于页面链接类型的情况下,从所述第一应用调用所述目标菜单项对应的菜单数据进行页面展示;The first calling module is 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.
  17. 一种计算机可读的存储介质,其特征在于,所述计算机可读的存储介质包括存储的程序,其中,所述程序运行时执行权利要求1至8中任一项所述的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium includes a stored program, wherein the method of any one of claims 1 to 8 is executed when the program is run.
  18. 一种电子装置,包括存储器和处理器,其特征在于,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行权利要求1至8中任一项所述的方法。An electronic device, including a memory and a processor, characterized in that a computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 8 through the computer program. .
PCT/CN2022/109514 2022-04-27 2022-08-01 Method and apparatus for creating page menu, and storage medium and electronic apparatus WO2023206845A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210452412.3 2022-04-27
CN202210452412.3A CN114896006B (en) 2022-04-27 2022-04-27 Page menu creation method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
WO2023206845A1 true WO2023206845A1 (en) 2023-11-02

Family

ID=82718670

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/109514 WO2023206845A1 (en) 2022-04-27 2022-08-01 Method and apparatus for creating page menu, and storage medium and electronic apparatus

Country Status (2)

Country Link
CN (1) CN114896006B (en)
WO (1) WO2023206845A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110119294A (en) * 2019-04-04 2019-08-13 口碑(上海)信息技术有限公司 The generation method of menu page, apparatus and system
CN110427237A (en) * 2019-07-29 2019-11-08 阿里巴巴集团控股有限公司 A kind of method, apparatus and electronic equipment across application access target pages
CN111984357A (en) * 2020-08-31 2020-11-24 平安医疗健康管理股份有限公司 Resource loading method, device and equipment based on WebWorker and storage medium
US20200401656A1 (en) * 2019-06-20 2020-12-24 International Business Machines Corporation User interface navigation management
CN114116098A (en) * 2021-11-23 2022-03-01 维沃移动通信有限公司 Application icon management method and device, electronic equipment and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070150414A1 (en) * 2004-01-07 2007-06-28 Precash, Inc. System and method for facilitating payment transactions
CN102591630B (en) * 2011-01-18 2016-08-03 深圳富泰宏精密工业有限公司 Informational function integration system and method
EP2923254B1 (en) * 2012-11-21 2020-04-08 Greeneden U.S. Holdings II, LLC Graphical user interface for monitoring and visualizing contact center routing strategies
FR3050341B1 (en) * 2016-04-18 2018-05-11 Stmicroelectronics (Crolles 2) Sas METHOD AND DEVICE FOR MONITORING A CRITICAL PATH OF AN INTEGRATED CIRCUIT
CN107357803B (en) * 2017-05-22 2021-02-26 捷开通讯(深圳)有限公司 Application page searching method, mobile device and device with storage function
CN110457062A (en) * 2018-05-07 2019-11-15 青岛海尔多媒体有限公司 The method, apparatus and computer readable storage medium of screen parameter configuration
CN111309315B (en) * 2018-12-12 2024-03-29 中国科学院沈阳自动化研究所 Automatic configuration method based on industrial Internet of things data and business modeling
CN113094674B (en) * 2021-04-28 2024-04-02 深圳赛安特技术服务有限公司 Page display method and device, electronic equipment and storage medium
CN113656127B (en) * 2021-08-12 2023-08-04 北京数码大方科技股份有限公司 Page routing method, device, storage medium and processor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110119294A (en) * 2019-04-04 2019-08-13 口碑(上海)信息技术有限公司 The generation method of menu page, apparatus and system
US20200401656A1 (en) * 2019-06-20 2020-12-24 International Business Machines Corporation User interface navigation management
CN110427237A (en) * 2019-07-29 2019-11-08 阿里巴巴集团控股有限公司 A kind of method, apparatus and electronic equipment across application access target pages
CN111984357A (en) * 2020-08-31 2020-11-24 平安医疗健康管理股份有限公司 Resource loading method, device and equipment based on WebWorker and storage medium
CN114116098A (en) * 2021-11-23 2022-03-01 维沃移动通信有限公司 Application icon management method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114896006A (en) 2022-08-12
CN114896006B (en) 2023-06-09

Similar Documents

Publication Publication Date Title
US11848936B2 (en) Method, apparatus, and computer program product for selectively granting permissions to group-based objects in a group-based communication system
US20210385087A1 (en) Zero-knowledge identity verification in a distributed computing system
US10064011B2 (en) Context-based computing framework for obtaining computing resource context information associated with a location
US11082226B2 (en) Zero-knowledge identity verification in a distributed computing system
EP3142005B1 (en) Method for creating context-aware application and user terminal
CN107277162B (en) Intelligent home management system and method based on network cloud
CN109033109A (en) Data processing method and system
CN103699534B (en) The display methods and device of data object in system directory
US20200057684A1 (en) Transforming plug-in application recipe variables
CN111651418B (en) Document content downloading method and device, computer equipment and storage medium
CN107800781A (en) A kind of configuration data processing method and device
JP2015535622A (en) Filtering the display with predefined queries
US11210323B2 (en) Methods and systems for generating property keys corresponding to physical spaces, devices, and/or users
US11770445B2 (en) Decentralized information management database system
CN105812432A (en) Cloud file processing method and device
WO2023206845A1 (en) Method and apparatus for creating page menu, and storage medium and electronic apparatus
US11921887B2 (en) Decentralized identity metaverse database system
CN115695510A (en) Control instruction sending method and device, storage medium and electronic device
CN115357652A (en) Data importing method, storage medium and electronic device
CN116033173A (en) Content processing method, system, electronic equipment and storage medium
CN117891534A (en) Document space generation method, device, equipment and computer storage medium
CN116401322A (en) Method and device for establishing data model
CN115314245A (en) Authority management method, system, storage medium and electronic device
CN117172239A (en) House source information processing method, electronic equipment and storage medium
Benedicto Regions: a scalable infrastructure for scoped service location in ubiquitous computing

Legal Events

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

Ref document number: 22939671

Country of ref document: EP

Kind code of ref document: A1