CN110119294A - The generation method of menu page, apparatus and system - Google Patents

The generation method of menu page, apparatus and system Download PDF

Info

Publication number
CN110119294A
CN110119294A CN201910273019.6A CN201910273019A CN110119294A CN 110119294 A CN110119294 A CN 110119294A CN 201910273019 A CN201910273019 A CN 201910273019A CN 110119294 A CN110119294 A CN 110119294A
Authority
CN
China
Prior art keywords
menu
menu page
page
target
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910273019.6A
Other languages
Chinese (zh)
Inventor
吴剑鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Koubei Shanghai Information Technology Co Ltd
Original Assignee
Koubei Shanghai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Koubei Shanghai Information Technology Co Ltd filed Critical Koubei Shanghai Information Technology Co Ltd
Priority to CN201910273019.6A priority Critical patent/CN110119294A/en
Publication of CN110119294A publication Critical patent/CN110119294A/en
Pending legal-status Critical Current

Links

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

Abstract

This application discloses a kind of generation methods of menu page, apparatus and system, are related to field of computer technology, are able to solve using human-edited's code come when generating menu page, caused by the big problem of menu page modification trouble, development cost.Wherein method includes: to send the acquisition request of the target menu page when application starts the target menu page;Receive the corresponding business information of the target menu page;Based on default menu configuration information, rendering processing is carried out to the business information, to generate the target menu page, wherein the default menu configuration information includes the multilevel menu label and the corresponding menu content format of the multilevel menu label for generating the various menu page.The application is suitable for the generation to menu page.

Description

The generation method of menu page, apparatus and system
Technical field
This application involves field of computer technology, particularly with regard to a kind of generation method of menu page, device and are System.
Background technique
It is mating immediately to generate to enable users to accurately find out corresponding application page with popularizing for electronic equipment The diversified menu displaying page, the order that system can execute is shown in a manner of stratum, keeps function aobvious and easy See, convenient for searching.
The generating mode for the menu page applied at present is to generate application by the code of human-edited's menu page Menu page.
However the mode of this human-edited's code, it must be updated if when encountering menu page and needing to modify whole Cover code logic, cause application menu page development cost it is higher, and need client carry out version publication, publication cost compared with Greatly, it and needs to consider compatibility issue.
Summary of the invention
In view of this, main purpose is to solve this application provides a kind of generation method of menu page, apparatus and system Certainly when generating menu page, lead to modification trouble using human-edited's code, increase the problem of development cost.
According to the one aspect of the application, a kind of generation method of menu page is provided, can be applied to client-side, it should Method includes:
When application starts the target menu page, the acquisition request of the target menu page is sent;
Receive the corresponding business information of the target menu page;
Based on default menu configuration information, rendering processing is carried out to the business information, to generate the target menu The page, wherein the default menu configuration information includes for generating the multilevel menu label of the various menu page and described more The corresponding menu content format of grade menu label.
It optionally, include client-side information in the acquisition request;
It is described to receive the corresponding business information of the target menu page, it specifically includes:
Receive that the target menu page is corresponding and corresponding with the client-side information business information for checking permission.
Optionally, described based on default menu configuration information, rendering processing is carried out to the business information, to generate The target menu page is stated, is specifically included:
The default menu configuration information is parsed, the corresponding multi-object menu label of the target menu page is obtained, And the corresponding target menu content format of the multi-object menu label;
It is filtered out in the business information and the matched content to be filled of the multi-object menu label;
According to the displaying rule of the target menu content format, the content to be filled is configured to the multi-object Corresponding content display location under menu label, and render and generate the target menu page.
Optionally, after the generation target menu page, the method also includes:
Export the target menu page generated.
Optionally, also comprising to the menu label of non-viewed permission in the target menu page in the business information Mark information;
The target menu page that the output generates, specifically includes:
Referring to the mark information, the menu label of non-viewed permission in the target menu page is hidden or by It locks and shows.
Optionally, after the target menu page that the output generates, the method also includes:
Real-time reception instructs the renewal of the page of the target menu page, includes real-time dish in the renewal of the page instruction Single more new content;
According to the real-time menu more new content, the menu that will be corresponded in the target menu page under multilevel menu label Content is updated displaying.
It optionally, include link information in the menu content under the multilevel menu label, the link information binding has Event is jumped using Schema protocol configuration;
After the target menu page that the output generates, the method also includes:
Receive the open instructions of the link information;
Based on Schema service acquisition jump page corresponding with the link information and render displaying.
Optionally, the method also includes:
The request that pulls of default menu configuration information is sent, it is described to pull the application mark that the application is carried in request Know;
Receive newest default menu configuration information corresponding with the application identities;
It is described to be based on default menu configuration information, rendering processing is carried out to the business information, is specifically included:
Based on the newest default menu configuration information, rendering processing is carried out to the business information.
According to further aspect of the application, a kind of generation method of menu page is provided, can be applied to service end side, This method comprises:
Receive the acquisition request for the target menu page that client is sent;
Obtain business information corresponding with the target menu page;
The business information is returned into the client, so that the client is based on default menu configuration information, Rendering processing is carried out to the business information, generates the target menu page, wherein the default menu configuration information includes For generating the multilevel menu label and the corresponding menu content format of the multilevel menu label of the various menu page.
It optionally, include client-side information in the acquisition request;
It is described to obtain business information corresponding with the target menu page, it specifically includes:
Obtain that the target menu page is corresponding and corresponding with the client-side information business information for checking permission.
It optionally, include login user information and/or logging device information in the client-side information;
It is described to obtain that the target menu page is corresponding and corresponding with the client-side information business for checking permission is believed Breath, specifically includes:
Obtain the corresponding complete business information of the target menu page;
The business information for checking permission corresponding with the login user information is extracted from the complete business information;With/ Or
The business information for checking permission corresponding with the logging device information is extracted from the complete business information.
Optionally, the method also includes:
Receive the request that pulls for the default menu configuration information that the client is sent, it is described pull request in carry and open Move the application identities of the application of the target menu page;
The application identities are corresponded into newest default menu configuration information and are sent to the client, so as to the client End group carries out rendering processing to the business information in the newest default menu configuration information.
According to the another aspects of the application, a kind of generating means of menu page are provided, can be applied to client-side, The device includes:
Sending module, for sending the acquisition request of the target menu page when application starts the target menu page;
Receiving module, for receiving the corresponding business information of the target menu page;
Processing module, for rendering processing being carried out to the business information, to generate based on default menu configuration information The target menu page, wherein the default menu configuration information includes the multilevel menu for generating the various menu page Label and the corresponding menu content format of the multilevel menu label.
It optionally, include client-side information in the acquisition request;
The receiving module, be specifically used for receiving the target menu page it is corresponding and with the client-side information pair It should check the business information of permission.
Optionally, the processing module is specifically used for parsing the default menu configuration information, obtains the target menu The corresponding multi-object menu label of the page and the corresponding target menu content format of the multi-object menu label;
It is filtered out in the business information and the matched content to be filled of the multi-object menu label;
According to the displaying rule of the target menu content format, the content to be filled is configured to the multi-object Corresponding content display location under menu label, and render and generate the target menu page.
Optionally, described device further include: output module;
Output module, for exporting the target menu page generated.
Optionally, also comprising to the menu label of non-viewed permission in the target menu page in the business information Mark information;
The output module is specifically used for referring to the mark information, to non-viewed permission in the target menu page Menu label be hidden or be lockable displaying.
Optionally, described device further include: display module;
The receiving module is also used to real-time reception and instructs to the renewal of the page of the target menu page, the page It include real-time menu more new content in more new command;
Display module, for multistage dish will to be corresponded in the target menu page according to the real-time menu more new content Menu content under single label is updated displaying.
It optionally, include link information in the menu content under the multilevel menu label, the link information binding has Event is jumped using Schema protocol configuration;
After the target menu page generated using output device output, the receiving module is also used to receive The open instructions of the link information;
The display module is also used to based on Schema service acquisition jump page corresponding with the link information and wash with watercolours Dye is shown.
Optionally, the sending module is also used to send the request that pulls of default menu configuration information, described to pull request In carry the application identities of the application;
The receiving module is also used to receive newest default menu configuration information corresponding with the application identities;
The processing module is specifically also used to based on the newest default menu configuration information, to the business information Carry out rendering processing.
According to another aspect of the application, a kind of generating means of menu page are provided, can be applied to service end side, The device includes:
Receiving module, the acquisition request of the target menu page for receiving client transmission;
Module is obtained, for obtaining business information corresponding with the target menu page;
Return module, for the business information to be returned to the client, so that the client is based on presetting Menu configuration information carries out rendering processing to the business information, generates the target menu page, wherein the default dish Single configuration information includes the multilevel menu label and the corresponding menu of the multilevel menu label for generating the various menu page Content format.
It optionally, include client-side information in the acquisition request;
The acquisition module, be specifically used for obtaining the target menu page it is corresponding and with the client-side information pair It should check the business information of permission.
It optionally, include login user information and/or logging device information in the client-side information;
The acquisition module is specifically also used to obtain the corresponding complete business information of the target menu page;
The business information for checking permission corresponding with the login user information is extracted from the complete business information;With/ Or
The business information for checking permission corresponding with the logging device information is extracted from the complete business information.
Optionally, described device further include: sending module;
The receiving module, be also used to receive the default menu configuration information that the client is sent pulls request, institute It states to pull in request and carries the application identities for starting the application of the target menu page;
The sending module is sent to the visitor for the application identities to be corresponded to newest default menu configuration information Family end carries out rendering processing to the business information so that the client is based on the newest default menu configuration information.
According to the application another aspect, a kind of storage medium is provided, computer program, described program are stored thereon with The generation method of the above-mentioned menu page that can be applied to client-side is realized when being executed by processor.
According to the application another aspect, a kind of client device is provided, including storage medium, processor and be stored in On storage medium and the computer program that can run on a processor, the processor realize above-mentioned answer when executing described program The generation method of menu page for client-side.
According to the application another aspect, a kind of storage medium is provided, computer program, described program are stored thereon with The generation method of the above-mentioned menu page that can be applied to service end side is realized when being executed by processor.
According to the application another aspect, a kind of server apparatus is provided, including storage medium, processor and be stored in On storage medium and the computer program that can run on a processor, the processor realize above-mentioned answer when executing described program For servicing the generation method of the menu page of end side.
According to the application another aspect, a kind of generation system of menu page, including above-mentioned client device are provided And server apparatus.
By above-mentioned technical proposal, a kind of generation method of menu page provided by the present application, apparatus and system are and current The prior art is compared, and the application creates a default menu configuration information, wherein default menu configuration information includes for giving birth to At the corresponding menu content format of multilevel menu label and multilevel menu label of the various menu page, by sending target menu The acquisition request of the page can get the corresponding business information of the target menu page, can directly render business information later The corresponding position of multilevel menu label in default menu configuration information is handled, and then generates the target menu page.It is received often When business information, default menu configuration information can be called to automatically generate menu page, default menu configuration information is reusable, Without manually repeating to write generation code, the formation efficiency of menu page is improved, to also effectively save menu page Development cost.
Above description is only the general introduction of technical scheme, in order to better understand the technological means of the application, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects, features and advantages of the application can It is clearer and more comprehensible, below the special specific embodiment for lifting the application.
Detailed description of the invention
Fig. 1 shows a kind of flow diagram of the generation method of menu page provided by the embodiments of the present application;
Fig. 2 shows the flow diagrams of the generation method of another menu page provided by the embodiments of the present application;
Fig. 3 shows a kind of timing diagram of the generation example of menu page provided by the embodiments of the present application;
Fig. 4 shows the application scenarios instance graph that a kind of menu page provided by the embodiments of the present application generates;
Fig. 5 shows the flow diagram of the generation method of another menu page provided by the embodiments of the present application;
Fig. 6 shows a kind of structural schematic diagram of the generating means of menu page provided by the embodiments of the present application;
Fig. 7 shows the structural schematic diagram of the generating means of another menu page provided by the embodiments of the present application;
Fig. 8 shows the structural schematic diagram of the generating means of another menu page provided by the embodiments of the present application;
Fig. 9 shows a kind of system architecture schematic diagram of the generation system of menu page provided by the embodiments of the present application.
Specific embodiment
The application is described in detail below with reference to attached drawing and in conjunction with the embodiments.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
For when generating menu page, causing currently with human-edited's code, modification is troublesome, increases development cost Problem present embodiments provides a kind of generation method of menu page, can be applied to client-side, as shown in Figure 1, this method packet It includes:
101, when application starts the target menu page, client sends the acquisition request of the target menu page.
Wherein, should also carry client-side information in the acquisition request of the target menu page of transmission, as login user information, Logging device information etc..
It can be the client terminal device or equipment for needing to generate the target menu page for the executing subject of the present embodiment, be used for Default menu configuration information and business information are called, the corresponding target menu page is generated.Specific execute walks shown in 102 to 103 Suddenly.
102, the corresponding business information of the target menu page is received.
Wherein, business information is the contents such as text, the picture for needing to show in the target menu page, i.e., in menu page Hold.
103, based on default menu configuration information, rendering processing is carried out to business information, to generate the target menu page.
Wherein, presetting menu configuration information includes the multilevel menu label and multilevel menu for generating the various menu page The corresponding menu content format of label.
In the present embodiment, rendering processing is carried out to business information, it can be by business information according to default menu configuration information Rule carry out content fractionation, and content will be split and be shown to the corresponding position of default menu configuration information, and then generate target Menu page.
The generation method of the menu page provided in this embodiment that can be applied to client-side, with currently available technology phase Than creating a default menu configuration information, when getting business information, default menu configuration information can be called to give birth to automatically At menu page, default menu configuration information is reusable, writes generation code without manually repeating, improves menu page Formation efficiency, to also effectively save the development cost of menu page.
Further, as the refinement and extension of above-described embodiment specific embodiment, in order to illustrate above-described embodiment Specific implementation process present embodiments provides the generation method of another menu page that can be applied to client-side, such as Fig. 2 institute Show, this method comprises:
201, when application starts the target menu page, client sends the acquisition request of the target menu page.
For the present embodiment, in specific application scenarios, it is corresponding to need to be previously set different clients client information Check permission, the menu page content that can be checked such as the user of different rights is different or the equipment of different rights can visit Menu page content difference asked etc..When sending the acquisition request of the target menu page to business service end, business service end It can check that permission carries out permission identification to the client-side information in acquisition request based on preset, determine that this request can be returned The menu page content returned, i.e. business information.
202, receive that the target menu page is corresponding and corresponding with the client-side information business information for checking permission.
For example, sending the acquisition request about " bank settlement " this target menu page to business service end, then can receive To meeting, client-side information is corresponding to check permission, and the business information of corresponding " bank settlement " this target menu page.
203, send default menu configuration information pulls request, pulls the application identities that application is carried in request.
Wherein, the unified menu configuration template formulated according to application demand can be equivalent to by presetting menu configuration information, be preset Multilevel menu label and corresponding menu content format comprising application in menu configuration information etc., menu label can be multistage, Each parent menu label i.e. therein may include multiple submenu labels;Application identities are unique mark for distinguishing different application Know, unique identification can be obtained according to the packet name in application message, signature, one or more generate in application numbers (APPID).
For the present embodiment, in specific application scenarios, in order to avoid repeatedly repeating to pull default menu to server-side Configuration information, therefore when being first logged into user in application, obtain default menu configuration information from trend server-side, and by default dish Single configuration information caching is local, facilitates repetition to call, if monitoring to occur the corresponding newest default dish of this client in server-side Single configuration information, then need to re-initiate and pull request to default menu configuration information, gets newest default menu configuration Information, and it is substituted into the cache location of original default menu configuration information, it waits to be called.
204, newest default menu configuration information corresponding with application identities is received.
For the present embodiment, in specific application scenarios, different applications clients may have different menu exhibitions Show demand, such as setting menu label rank is different, corresponding menu content format has differences, these can all cause pair The default menu configuration information answered changes a lot, and the menu displaying mode of same application client is relatively solid It is fixed.Therefore should be according to different menu displaying demands, reusable default menu is separately configured in the client for different application mark In addition configuration information is also subjected to modification and adjustment appropriate, completes update to default menu configuration information, when receiving pair Default when pulling request of menu configuration information, then can find out the application according to the application identities and correspond to newest default menu Configuration information, and it is sent to the applications client.
205, it is based on newest default menu configuration information, rendering processing is carried out to business information.
For the present embodiment, in specific application scenarios, in order to carry out rendering processing to business information, further generate The target menu page, alternatively, step 205 can specifically include: parsing default menu configuration information, obtains mesh Mark the corresponding multi-object menu label of menu page and the corresponding target menu content format of multi-object menu label;? It is filtered out in business information and the matched content to be filled of multi-object menu label;According to the displaying of target menu content format Content to be filled is configured to the corresponding content display location under multi-object menu label by rule, and is rendered and generated target dish Single-page.
Wherein, target menu content format is that display location, the font of content to be filled in corresponding target menu label are big Small, font color, font classification etc..
For the present embodiment, comprising under target menu tag levels at different levels and the label in the business information that gets Display data.For example, parsing default menu configuration information shares two-stage target menu label, primary target menu label are as follows: A, B, C, the corresponding Secondary objective menu label of primary target menu label A are as follows: d, e, primary target menu label B corresponding two Grade target menu label are as follows: f, g, the corresponding Secondary objective menu label of primary target menu label C are as follows: m, n then believe in business In breath according to the screening format of " primary target menu label+Secondary objective menu label " screen respectively A+d, A+e, B+f, B+g, The business datum filtered out is filled into corresponding menu page position, will not filter out correspondence by the business datum under C+m, C+n The menu label of business datum is determined as the menu label of non-viewed permission.
For another example as shown in figure 4, parsing default menu configuration information shares two-stage target menu label, primary target Menu label are as follows: " hall food ", " self-carry ", " take-away ", " gathering ", " commodity ", the second level under primary target menu label " gathering " Target menu label are as follows: " whole states ", " whole employees ", then it will business information filling corresponding with " gathering+whole state " Menu page position under " whole states ";It will business information filling " whole employees " corresponding with " gathering+whole employee " Under menu page position.
206, the target menu page that output generates.
For the present embodiment, also comprising the menu label to non-viewed permission in the target menu page in business information Mark information, in order to illustrate the specific implementation process of step 206, step 206 is specific can include: reference marker information, to mesh The menu label of non-viewed permission is hidden or is lockable displaying in mark menu page.
For the present embodiment, in specific application scenarios, alternatively, generated in step 206 output It specifically can also include: that real-time reception instructs the renewal of the page of the target menu page, renewal of the page refers to after the target menu page It include real-time menu more new content in order;According to real-time menu more new content, multilevel menu mark will be corresponded in the target menu page The menu content signed is updated displaying.
For example, Secondary objective menu label is b if receiving to primary target menu label in the target menu page is A Renewal of the page instruction, then the updating menu content that will acquire is substituted into primary target menu label A, and Secondary objective menu Label is the menu displaying position of b, realizes that the update to menu content is shown.
Correspondingly, as a preferred method, including chain in the menu content under multilevel menu label in the present embodiment Information is connect, link information binding, which has, jumps event using Schema protocol configuration.In the target menu that step 206 output generates It specifically can also include: the open instructions for receiving link information after the page;It is corresponding with link information based on Schema service acquisition Jump page and render displaying.
For the present embodiment, in specific application scenarios, in order to realize the page jump of menu content, need for menu Each linked contents in content jump event using Schema protocol configuration, so that base when these linked contents are clicked by user Corresponding displayed page can be jumped in Schema service.
The generation method of menu page provided in this embodiment, it is specific as shown in figure 3, using applications client application Mark obtains corresponding default menu configuration information, can save the time of human-edited's code building configuration information, in addition also connect Receive it is corresponding with the target menu page and with client-side information the corresponding business information for checking permission, pass through parsing preset menu Configuration information obtains the corresponding multi-object menu label of the target menu page and the corresponding target of multi-object menu label Menu content format;It is filtered out in business information and the matched content to be filled of multi-object menu label;According to target dish The displaying rule of single content format, is configured to the corresponding content display location under multi-object menu label for content to be filled, It is hidden or is lockable displaying to the menu label of non-viewed permission in the target menu page, rendering generates target menu later The page can save the development cost of the target menu page, additionally need to the menu page of generation into when property modification, without weight New edited the whole series code logic, as long as can be realized to target menu page input page more new command to the target menu page Adjustment, it is very convenient efficiently.
It should be noted that the generation method of the above-mentioned menu page that can be applied to client-side, is retouched in client-side The generating process of specific menu page is stated, and in order to completely illustrate the specific embodiment of the present embodiment, provide another kind It can be applied to the generation method of the menu page of service end side, to illustrate the generating process in the menu page of service end side, As shown in figure 5, this method comprises:
301, receive the default menu configuration information that client is sent pulls request.
Wherein, the application identities that the application of the starting target menu page is carried in request are pulled, it can be according to application identities With the mapping relations of menu configuration information, is looked into from database and take out the corresponding default menu configuration information of the application identities.
302, application identities are corresponded into newest default menu configuration information and is sent to client, so that client is based on most New default menu configuration information, carries out rendering processing to business information.
For example, can obtain if receive the default menu configuration information containing application identities a pulls request using mark Know the corresponding default menu configuration information of a, and sends it to client.
303, the acquisition request for the target menu page that client is sent is received.
For the present embodiment, the different clients letter being previously set is stored in specific application scenarios, in database Cease it is corresponding check permission, the menu page content that can check such as the user of different rights or different rights are set The standby menu page content etc. that can be accessed.When receiving the acquisition request of the target menu page, then can call in database It client and checks the mapping relations between permission, and is determined and the client according to the client-side information for including in acquisition request It is matched to check permission.
304, business information corresponding with the target menu page is obtained.
It in the present embodiment, include client-side information in acquisition request, step 302 is specifically wrapped as a preferred method, It includes: obtaining that the target menu page is corresponding and corresponding with the client-side information business information for checking permission.
Correspondingly, including login user information and/or logging device information in client-side information, as a kind of preferred side Formula, obtains that the target menu page is corresponding and corresponding with the client-side information business information for checking permission specifically includes: acquisition mesh Mark the corresponding complete business information of menu page;Check permission corresponding with login user information is extracted from complete business information Business information;And/or the business information for checking permission corresponding with logging device information is extracted from complete business information.
For example, getting the corresponding complete business information of the target menu page includes A, B, C three major businesses type, get Login user information and/or logging device information it is corresponding check permission be B type of service, then extracted from B type of service Business information corresponding with the target menu page.
305, business information is returned into client, so that client is based on default menu configuration information, business is believed Breath carries out rendering processing, generates the target menu page.
Wherein, presetting menu configuration information includes the multilevel menu label and multilevel menu for generating the various menu page The corresponding menu content format of label.
For the present embodiment, newest default menu can be sent to client according to the application identities of client and match confidence Breath, obtains and returns the business information of client checked in permission, so that client is based on default menu configuration information, it is right Business information carries out rendering processing, generates the target menu page.Using permission identification method return default menu configuration information and The safety of data can be effectively ensured in the method for business information.In addition, being looked unfamiliar based on the menu page that configuration information is applied At, be not necessarily to manual compiling the whole series code, the menu page development cost of application can be saved.
Further, the specific implementation as method shown in Fig. 1 and Fig. 2, the embodiment of the present application provide one kind and can apply In the generating means of the menu page of client-side, as shown in fig. 6, the device includes: sending module 41, receiving module 42, place Manage module 43.
Sending module 41 can be used for sending the acquisition request of the target menu page when application starts the target menu page;
Receiving module 42 can be used for receiving the corresponding business information of the target menu page;
Processing module 43 can be used for rendering processing being carried out to business information, based on default menu configuration information to generate The target menu page, wherein default menu configuration information includes multilevel menu label for generating the various menu page and more The corresponding menu content format of grade menu label.
It include client-side information in acquisition request, in order to receive the target menu page pair in specific application scenarios The business information answered, receiving module 42 are particularly used in that receive the target menu page corresponding and corresponding with client-side information look into See the business information of permission.
Correspondingly, rendering processing is carried out to business information, in order to based on default menu configuration information to generate target dish Single-page, processing module 43 are particularly used in the default menu configuration information of parsing, obtain the corresponding multistage mesh of the target menu page Mark menu label and the corresponding target menu content format of multi-object menu label;It is filtered out in business information and multistage The content to be filled of target menu tag match;According to the displaying rule of target menu content format, content to be filled is configured Corresponding content display location under to multi-object menu label, and render and generate the target menu page.
In specific application scenarios, in order to realize the displaying to the target menu page of generation, as shown in fig. 7, this dress It sets further include: output module 44.
Output module 44 can be used for exporting the target menu page of generation.
Correspondingly, also believing comprising the label to the menu label of non-viewed permission in the target menu page in business information Breath, output module 44 are particularly used in reference marker information, carry out to the menu label of non-viewed permission in the target menu page Hide or be lockable displaying.
In specific application scenarios, alternatively, in order to provide the renewal of the page to the target menu page Function, as shown in fig. 7, the present apparatus further include: display module 45.
Receiving module 42 specifically can also be used in real-time reception and instruct to the renewal of the page of the target menu page, renewal of the page It include real-time menu more new content in instruction;
Display module 45 can be used for that multilevel menu mark will be corresponded in the target menu page according to real-time menu more new content The menu content signed is updated displaying.
It include link information in the menu content under multilevel menu label in specific application scenarios, link information is tied up Surely have and jump event using Schema protocol configuration, in order to realize effectively jumping for displayed page, receiving module 42 is specific to go back It can be used for receiving the open instructions of link information;Display module 45, it may also be used for be based on Schema service acquisition and link information Corresponding jump page simultaneously renders displaying.
Correspondingly, in order to receive newest default menu configuration information corresponding with application identities, sending module 41 may be used also Request is pulled for send default menu configuration information, pulls the application identities for carrying application in request;Receiving module 42, It can also be used to receive newest default menu configuration information corresponding with application identities.
Correspondingly, processing module 43, is particularly used in based on newest default menu configuration information, carries out to business information Rendering processing.
It should be noted that a kind of generating means institute of menu page that can be applied to client-side provided in this embodiment It is related to other corresponding descriptions of each functional unit, can be with reference to the corresponding description in Fig. 1 and Fig. 2, details are not described herein.
Further, the specific implementation as method shown in Fig. 5, the embodiment of the present application provide one kind and can be applied to service The generating means of the menu page of end side, as shown in figure 8, the device includes: receiving module 51, obtains module 52, return module 53。
Receiving module 51 can be used for receiving the acquisition request of the target menu page of client transmission;
Module 52 is obtained, can be used for obtaining business information corresponding with the target menu page;
Return module 53 can be used for business information returning to client, so that client is based on default menu configuration Information carries out rendering processing to business information, generates the target menu page, wherein default menu configuration information includes for giving birth to At the corresponding menu content format of multilevel menu label and multilevel menu label of the various menu page.
In specific application scenarios, includes client-side information in acquisition request, obtain module 52, be particularly used in acquisition The target menu page is corresponding and corresponding with the client-side information business information for checking permission.
Correspondingly, including login user information and/or logging device information in client-side information, module 52 is obtained, specifically It can be used for obtaining the corresponding complete business information of the target menu page;It is extracted and login user information pair from complete business information It should check the business information of permission;And/or the industry for checking permission corresponding with logging device information is extracted from complete business information Business information.
In specific application scenarios, in order to send newest default menu configuration information to client, e.g., such as Fig. 8 institute Show, the present apparatus further include: sending module 54.
Receiving module 51, it may also be used for receive the default menu configuration information that client is sent pulls request, pulls and asks The application identities of the application of the starting target menu page are carried in asking;
Sending module 54 is sent to client for application identities to be corresponded to newest default menu configuration information, so as to Client is based on newest default menu configuration information, carries out rendering processing to business information.
It should be noted that a kind of generation dress of menu page that can be applied to service end side provided by the embodiments of the present application Other corresponding descriptions of involved each functional unit are set, can be with reference to the corresponding description in Fig. 5, details are not described herein.
Based on above-mentioned method as depicted in figs. 1 and 2, correspondingly, the embodiment of the present application also provides a kind of storage medium, On be stored with computer program, which realizes the generation of above-mentioned menu page as depicted in figs. 1 and 2 when being executed by processor Method.Based on above-mentioned method as shown in Figure 5, the embodiment of the present application also provides another storage mediums, are stored thereon with calculating Machine program, the program realize the generation method of above-mentioned menu page as shown in Figure 5 when being executed by processor.
Based on this understanding, the technical solution of the application can be embodied in the form of software products, which produces Product can store in a non-volatile memory medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions With so that computer equipment (can be personal computer, server or the network equipment an etc.) execution the application is each The generation method of the menu page of implement scene.
Based on above-mentioned method and Fig. 6 as depicted in figs. 1 and 2 and virtual bench embodiment shown in Fig. 7, for reality Existing above-mentioned purpose, the embodiment of the present application also provides a kind of client device, be specifically as follows personal computer, tablet computer, Smart phone, smartwatch, Intelligent bracelet, POS terminal or other network equipments etc., the client device include storage medium and Processor;Storage medium, for storing computer program;Processor, realized for executing computer program it is above-mentioned such as Fig. 1 and The generation method of menu page shown in Fig. 2.
Based on above-mentioned method as shown in Figure 5 and virtual bench embodiment shown in Fig. 8, to achieve the goals above, The embodiment of the present application also provides a kind of server apparatus, are specifically as follows personal computer, server, network equipment etc., should Server apparatus includes storage medium and processor;Storage medium, for storing computer program;Processor, based on executing Calculation machine program is to realize the generation method of above-mentioned menu page as shown in Figure 5.
Optionally, above two entity device all can also include user interface, network interface, camera, radio frequency (Radio Frequency, RF) circuit, sensor, voicefrequency circuit, WI-FI module etc..User interface may include display screen (Display), input unit such as keyboard (Keyboard) etc., optional user interface can also connect including USB interface, card reader Mouthful etc..Network interface optionally may include standard wireline interface and wireless interface (such as WI-FI interface).
It will be understood by those skilled in the art that the entity of a kind of client device and server apparatus provided in this embodiment Device structure does not constitute the restriction to both entity devices, may include more or fewer components, or combination is certain Component or different component layouts.
It can also include operating system, network communication module in storage medium.Operating system is the above-mentioned two entity of management The program of device hardware and software resource supports the operation of message handling program and other softwares and/or program.Network communication Module for realizing the communication between each component in storage medium inside, and with other hardware in information processing entities equipment and soft It is communicated between part.
Based on above content, further, the embodiment of the present application also provides a kind of generation systems of menu page, such as scheme Shown in 9, which includes client device 61, server apparatus 62;
Wherein, client device 61 can be used for executing method as depicted in figs. 1 and 2, and server apparatus 62 can be used for holding Row method as shown in Figure 5.
Specifically, client device 61, can be used for sending the target menu page when application starts the target menu page Acquisition request;Receive the corresponding business information of the target menu page;Based on default menu configuration information, wash with watercolours is carried out to business information Dye processing, to generate the target menu page, wherein default menu configuration information includes for generating the more of the various menu page Grade menu label and the corresponding menu content format of multilevel menu label.
Server apparatus 62 can be used for receiving the acquisition request of the target menu page of the transmission of client device 61;It obtains Business information corresponding with the target menu page;Business information is returned into client device 61, so that client device 61 Based on default menu configuration information, rendering processing is carried out to business information, generates the target menu page, wherein default menu is matched Confidence breath includes the corresponding menu content format of multilevel menu label and multilevel menu label for generating the various menu page.
Client device 61, it may also be used for export the target menu page of generation;Real-time reception is to the target menu page Renewal of the page instructs, and includes real-time menu more new content in renewal of the page instruction;According to real-time menu more new content, by target dish The menu content under multilevel menu label is corresponded in single-page is updated displaying.Receive the open instructions of link information;It is based on Schema service acquisition jump page corresponding with link information simultaneously renders displaying.
Client device 61, it may also be used for send default menu configuration information pulls request, pulls and carries in request The application identities of application;Receive newest default menu configuration information corresponding with application identities;Matched based on newest default menu Confidence breath, carries out rendering processing to business information.
Server apparatus 62, it may also be used for receive the default menu configuration information that client is sent pulls request, pulls The application identities of the application of the starting target menu page are carried in request;Application identities are corresponded into newest default menu configuration Information is sent to client, so that client is based on newest default menu configuration information, carries out rendering processing to business information.
Through the above description of the embodiments, those skilled in the art can be understood that the application can borrow It helps software that the mode of necessary general hardware platform is added to realize, hardware realization can also be passed through.Pass through the skill of application the application Art scheme can send newest default menu to client according to the application identities of client and match compared with currently available technology Confidence breath, obtains and returns the business information of client checked in permission, so that client, which is based on default menu, matches confidence Breath carries out rendering processing to business information, generates the target menu page.It is this to be matched using the default menu of permission identification method return The method of confidence breath and business information, can be effectively ensured the safety of data.In addition, the menu applied based on configuration information The page generates, and is not necessarily to manual compiling the whole series code, can save the menu page development cost of application.
It will be appreciated by those skilled in the art that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, module in attached drawing or Process is not necessarily implemented necessary to the application.It will be appreciated by those skilled in the art that the mould in device in implement scene Block can according to implement scene describe be distributed in the device of implement scene, can also carry out corresponding change be located at be different from In one or more devices of this implement scene.The module of above-mentioned implement scene can be merged into a module, can also be into one Step splits into multiple submodule.
Above-mentioned the application serial number is for illustration only, does not represent the superiority and inferiority of implement scene.Disclosed above is only the application Several specific implementation scenes, still, the application is not limited to this, and the changes that any person skilled in the art can think of is all The protection scope of the application should be fallen into.

Claims (10)

1. a kind of generation method of menu page characterized by comprising
When application starts the target menu page, the acquisition request of the target menu page is sent;
Receive the corresponding business information of the target menu page;
Based on default menu configuration information, rendering processing is carried out to the business information, to generate the target menu page, Wherein, the default menu configuration information includes the multilevel menu label and the multilevel menu for generating the various menu page The corresponding menu content format of label.
2. the method according to claim 1, wherein including client-side information in the acquisition request;
It is described to receive the corresponding business information of the target menu page, it specifically includes:
Receive that the target menu page is corresponding and corresponding with the client-side information business information for checking permission.
3. a kind of generation method of menu page characterized by comprising
Receive the acquisition request for the target menu page that client is sent;
Obtain business information corresponding with the target menu page;
The business information is returned into the client, so that the client is based on default menu configuration information, to institute It states business information and carries out rendering processing, generate the target menu page, wherein the default menu configuration information includes to be used for Generate the multilevel menu label and the corresponding menu content format of the multilevel menu label of the various menu page.
4. a kind of generating means of menu page characterized by comprising
Sending module, for sending the acquisition request of the target menu page when application starts the target menu page;
Receiving module, for receiving the corresponding business information of the target menu page;
Processing module, it is described to generate for carrying out rendering processing to the business information based on default menu configuration information The target menu page, wherein the default menu configuration information includes the multilevel menu label for generating the various menu page Menu content format corresponding with the multilevel menu label.
5. a kind of generating means of menu page characterized by comprising
Receiving module, the acquisition request of the target menu page for receiving client transmission;
Module is obtained, for obtaining business information corresponding with the target menu page;
Return module, for the business information to be returned to the client, so that the client is based on default menu Configuration information carries out rendering processing to the business information, generates the target menu page, wherein the default menu is matched Confidence breath includes the multilevel menu label and the corresponding menu content of the multilevel menu label for generating the various menu page Format.
6. a kind of storage medium, is stored thereon with computer program, which is characterized in that realization when described program is executed by processor The generation method of menu page described in any one of claims 1 to 2.
7. a kind of client device, including storage medium, processor and storage can be run on a storage medium and on a processor Computer program, which is characterized in that the processor is realized described in any one of claims 1 to 2 when executing described program Menu page generation method.
8. a kind of storage medium, is stored thereon with computer program, which is characterized in that realization when described program is executed by processor The generation method of menu page as claimed in claim 3.
9. a kind of server apparatus, including storage medium, processor and storage can be run on a storage medium and on a processor Computer program, which is characterized in that the processor realizes menu page as claimed in claim 3 when executing described program Generation method.
10. a kind of generation system of menu page characterized by comprising client device as claimed in claim 7 and such as Server apparatus as claimed in claim 9.
CN201910273019.6A 2019-04-04 2019-04-04 The generation method of menu page, apparatus and system Pending CN110119294A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910273019.6A CN110119294A (en) 2019-04-04 2019-04-04 The generation method of menu page, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910273019.6A CN110119294A (en) 2019-04-04 2019-04-04 The generation method of menu page, apparatus and system

Publications (1)

Publication Number Publication Date
CN110119294A true CN110119294A (en) 2019-08-13

Family

ID=67520865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910273019.6A Pending CN110119294A (en) 2019-04-04 2019-04-04 The generation method of menu page, apparatus and system

Country Status (1)

Country Link
CN (1) CN110119294A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110768974A (en) * 2019-10-21 2020-02-07 成都安恒信息技术有限公司 Control method for single-page application real-time view authority
CN110879871A (en) * 2019-11-26 2020-03-13 杭州迪普科技股份有限公司 Page menu configuration method and device
CN111459583A (en) * 2020-03-04 2020-07-28 苏宁云计算有限公司 Menu creating method and device
CN111611036A (en) * 2020-05-06 2020-09-01 香港乐蜜有限公司 Application menu configuration method and device, electronic equipment and storage medium
CN112035207A (en) * 2020-09-02 2020-12-04 中国银行股份有限公司 Page menu dynamic loading method and device based on database
CN112162677A (en) * 2020-09-11 2021-01-01 北京浪潮数据技术有限公司 Menu page label positioning method, device, equipment and storage medium
CN112394928A (en) * 2019-08-16 2021-02-23 郑州宇通客车股份有限公司 Method for constructing multilevel menu in embedded system and computer storage medium
CN113568541A (en) * 2021-08-09 2021-10-29 豆盟(北京)科技股份有限公司 Page function determination method and device, electronic equipment and storage medium
CN114793298A (en) * 2022-03-30 2022-07-26 海信视像科技股份有限公司 Display device and menu display method
CN115202538A (en) * 2022-08-26 2022-10-18 广东拓斯达科技股份有限公司 Menu configuration method and device, electronic equipment and storage medium
WO2023206845A1 (en) * 2022-04-27 2023-11-02 青岛海尔科技有限公司 Method and apparatus for creating page menu, and storage medium and electronic apparatus
CN117251200A (en) * 2023-09-11 2023-12-19 中国人民解放军军事科学院战争研究院 Composite application integration method based on micro-application

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090063499A1 (en) * 2007-08-31 2009-03-05 Masabumi Koinuma Removing web application flicker using ajax and page templates
CN105138872A (en) * 2015-07-27 2015-12-09 无锡天脉聚源传媒科技有限公司 Method and apparatus for displaying menu page
CN107451184A (en) * 2017-06-19 2017-12-08 阿里巴巴集团控股有限公司 Page display method and device, user equipment, storage medium
CN108446116A (en) * 2018-02-26 2018-08-24 平安普惠企业管理有限公司 Generation method, device, computer equipment and the storage medium of the application program page
CN108829885A (en) * 2018-06-27 2018-11-16 珠海市君天电子科技有限公司 Page generation method, device, server, electronic equipment and storage medium
CN109101300A (en) * 2018-06-14 2018-12-28 腾讯科技(深圳)有限公司 A kind of page rendering method, apparatus and terminal
CN109409048A (en) * 2018-10-09 2019-03-01 郑州云海信息技术有限公司 A kind of system and method for realizing page fining permission control

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090063499A1 (en) * 2007-08-31 2009-03-05 Masabumi Koinuma Removing web application flicker using ajax and page templates
CN105138872A (en) * 2015-07-27 2015-12-09 无锡天脉聚源传媒科技有限公司 Method and apparatus for displaying menu page
CN107451184A (en) * 2017-06-19 2017-12-08 阿里巴巴集团控股有限公司 Page display method and device, user equipment, storage medium
CN108446116A (en) * 2018-02-26 2018-08-24 平安普惠企业管理有限公司 Generation method, device, computer equipment and the storage medium of the application program page
CN109101300A (en) * 2018-06-14 2018-12-28 腾讯科技(深圳)有限公司 A kind of page rendering method, apparatus and terminal
CN108829885A (en) * 2018-06-27 2018-11-16 珠海市君天电子科技有限公司 Page generation method, device, server, electronic equipment and storage medium
CN109409048A (en) * 2018-10-09 2019-03-01 郑州云海信息技术有限公司 A kind of system and method for realizing page fining permission control

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112394928B (en) * 2019-08-16 2023-08-25 宇通客车股份有限公司 Method for constructing multilevel menu in embedded system and computer storage medium
CN112394928A (en) * 2019-08-16 2021-02-23 郑州宇通客车股份有限公司 Method for constructing multilevel menu in embedded system and computer storage medium
CN110768974A (en) * 2019-10-21 2020-02-07 成都安恒信息技术有限公司 Control method for single-page application real-time view authority
CN110768974B (en) * 2019-10-21 2022-02-08 成都安恒信息技术有限公司 Control method for single-page application real-time view authority
CN110879871B (en) * 2019-11-26 2022-09-27 杭州迪普科技股份有限公司 Page menu configuration method and device
CN110879871A (en) * 2019-11-26 2020-03-13 杭州迪普科技股份有限公司 Page menu configuration method and device
CN111459583A (en) * 2020-03-04 2020-07-28 苏宁云计算有限公司 Menu creating method and device
CN111459583B (en) * 2020-03-04 2023-06-02 苏宁云计算有限公司 Menu creation method and device
CN111611036A (en) * 2020-05-06 2020-09-01 香港乐蜜有限公司 Application menu configuration method and device, electronic equipment and storage medium
CN112035207A (en) * 2020-09-02 2020-12-04 中国银行股份有限公司 Page menu dynamic loading method and device based on database
CN112162677B (en) * 2020-09-11 2022-04-22 北京浪潮数据技术有限公司 Menu page label positioning method, device, equipment and storage medium
CN112162677A (en) * 2020-09-11 2021-01-01 北京浪潮数据技术有限公司 Menu page label positioning method, device, equipment and storage medium
CN113568541A (en) * 2021-08-09 2021-10-29 豆盟(北京)科技股份有限公司 Page function determination method and device, electronic equipment and storage medium
CN114793298A (en) * 2022-03-30 2022-07-26 海信视像科技股份有限公司 Display device and menu display method
CN114793298B (en) * 2022-03-30 2023-08-18 海信视像科技股份有限公司 Display device and menu display method
WO2023206845A1 (en) * 2022-04-27 2023-11-02 青岛海尔科技有限公司 Method and apparatus for creating page menu, and storage medium and electronic apparatus
CN115202538A (en) * 2022-08-26 2022-10-18 广东拓斯达科技股份有限公司 Menu configuration method and device, electronic equipment and storage medium
CN115202538B (en) * 2022-08-26 2024-02-06 广东拓斯达科技股份有限公司 Menu configuration method and device, electronic equipment and storage medium
CN117251200A (en) * 2023-09-11 2023-12-19 中国人民解放军军事科学院战争研究院 Composite application integration method based on micro-application

Similar Documents

Publication Publication Date Title
CN110119294A (en) The generation method of menu page, apparatus and system
CN108153551B (en) Method and device for displaying business process page
US8549471B2 (en) Method and apparatus for providing API service and making API mash-up, and computer readable recording medium thereof
US8751558B2 (en) Mashup infrastructure with learning mechanism
CN109062563B (en) Method and device for generating page
CN110109670B (en) Method and device for processing view list data, electronic equipment and storage medium
EP3910909A1 (en) Method and device for displaying information
CN110019835A (en) Resource method of combination, device and electronic equipment
CN109992732A (en) Information sharing method, device, electronic equipment and storage medium
CN109981322A (en) The method and apparatus of cloud resource management based on label
CN103955482B (en) A kind of method and apparatus calling service in the terminal
CN110209569A (en) Interface test method, interface test device and storage medium
CN109814863A (en) A kind of processing method, device, computer equipment and computer storage medium for requesting returned data
CN110232091A (en) Mthods, systems and devices for synchrodata
CN109271160A (en) Active rule construction method, device and computer system, medium
CN109582317A (en) Method and apparatus for debugging boarding application
CN116414370A (en) Platform construction method and device based on low codes, medium and electronic equipment
US10567472B2 (en) Manipulation of PDF files using HTML authoring tools
CN110442406A (en) The method and paging control, electronic equipment of paging control processing data
CN105739717B (en) Data inputting method and device
CN109981546A (en) The method and apparatus for obtaining the far call relationship between application module
CN108959294A (en) A kind of method and apparatus accessing search engine
CN116048517A (en) API (application program interface) generating method, system and device based on B/S (browser/Server) architecture application system
CN109614603A (en) Method and apparatus for generating information
CN107545062A (en) Entrance recalls method, apparatus, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190813

RJ01 Rejection of invention patent application after publication