CN113656127B - Page routing method, device, storage medium and processor - Google Patents

Page routing method, device, storage medium and processor Download PDF

Info

Publication number
CN113656127B
CN113656127B CN202110925728.5A CN202110925728A CN113656127B CN 113656127 B CN113656127 B CN 113656127B CN 202110925728 A CN202110925728 A CN 202110925728A CN 113656127 B CN113656127 B CN 113656127B
Authority
CN
China
Prior art keywords
page
routing
relationship
graph
predetermined
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110925728.5A
Other languages
Chinese (zh)
Other versions
CN113656127A (en
Inventor
汪静
刘开飞
杨小营
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Caxa Technology Co Ltd
Original Assignee
Caxa 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 Caxa Technology Co Ltd filed Critical Caxa Technology Co Ltd
Priority to CN202110925728.5A priority Critical patent/CN113656127B/en
Publication of CN113656127A publication Critical patent/CN113656127A/en
Application granted granted Critical
Publication of CN113656127B publication Critical patent/CN113656127B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Navigation (AREA)

Abstract

The invention discloses a page routing method, a page routing device, a storage medium and a processor. Wherein the method comprises the following steps: acquiring a first page and a second page triggered by the first page; identifying a routing relationship between the first page and the second page based on a predetermined routing graph, wherein the predetermined routing graph is used for recording the routing relationship between the pages; and under the condition that the first page and the second page do not have a routing relationship, updating a preset routing graph based on the triggering relationship of the first page and the second page, wherein the updated preset routing graph records the routing relationship of the first page and the second page. The invention solves the technical problem that pages without association cannot be jumped back.

Description

Page routing method, device, storage medium and processor
Technical Field
The present invention relates to the field of data display, and in particular, to a page routing method, a device, a storage medium, and a processor.
Background
Each business object managed by the management information system usually has a complex association relationship (for example, a part has an assembly relationship, a part association CAD drawing and a CAD drawing have a reference relationship), the business object is a vertex, and the relationship is an edge, so that a graph structure can be formed. Each business object has management interfaces in the system, and the routes between these interfaces also form the graph structure. In the prior art, any vertex jump of the graph structure cannot be realized based on path jump, so that a client is lost in a system, and the usability of the system is poor.
FIG. 1 is a prior art page jump schematic, as shown in FIG. 1, a part model comprising: part 1, part 1.1, part 1.2, drawing 1, drawing 1.1, drawing 1.2, part 1 has assembly relation with part 1.1 and part 1.2 respectively, part 1 corresponds to drawing 1, part 1.1 corresponds to drawing 1.1, part 1.2 corresponds to drawing 1.2, drawing 1 refers to drawing 1.2, drawing 1.2 refers to 1.1; determining a parts page based on the parts model, wherein the parts page comprises: part 1 page, part 1.1 page, part 1.2 page, drawing 1 page, drawing 1.1 page, drawing 1.2 page.
As in fig. 1, the system data model graph structure results in the interface route also having a graph structure.
The prior art can only skip back and forth based on the access path, but can not realize any vertex skip of the graph structure.
The management information system data model is usually a graph structure (left in fig. 1), and determining the route of each business object operation interface is also a graph structure (right in fig. 1), and the system support interface needs to jump arbitrarily between the vertices of the graph structure.
The existing page jump generally uses a breadcrumb navigation and route jump mode, and uses the breadcrumb navigation, and when a new page with an internal link is opened, the new page jumps through the route, and then a breadcrumb is added in the breadcrumb navigation, and the new page can be quickly returned to any opened page through the breadcrumb navigation, and only the new page can jump on any path (right in figure 1), but any vertex jump of the figure can not be realized.
For example, the user can only jump linearly along the access path, as shown in fig. 1 to the right, the user accesses part 1.1- > drawing 1.1 and then accesses part 1.2, and the navigation technology such as the conventional breadcrumbs is difficult to jump to drawing 1.1 because part 1.2 and drawing 1.1 are not related.
Aiming at the problem that the pages without the association relation cannot be reversely jumped, no effective solution is proposed at present.
Disclosure of Invention
The embodiment of the invention provides a page routing method, a device, a storage medium and a processor, which are used for at least solving the technical problem that pages without association cannot be reversely jumped.
According to an aspect of an embodiment of the present invention, there is provided a page routing method, including: acquiring a first page and a second page triggered by the first page; identifying a routing relationship between the first page and the second page based on a predetermined routing graph, wherein the predetermined routing graph is used for recording the routing relationship between pages; and under the condition that the first page and the second page do not have a routing relationship, updating the preset routing graph based on the triggering relationship of the first page and the second page, wherein the updated preset routing graph records the routing relationship of the first page and the second page.
Optionally, before identifying the routing relationship between the first page and the second page based on a predetermined routing graph, the method further comprises: determining a routing relation between pages to be routed corresponding to a business object based on the association relation between the business objects; identifying a root routing page and a sub routing page in the to-be-routed page, wherein the root routing page cannot return to a previous level routing page after being triggered, and the root routing page has a routing relationship with the sub routing page; recording the root route page in a map list of the preset route map; and recording the routing relation between the follow-up routing page and the corresponding sub-routing page in the preset routing diagram.
Optionally, in a case that the first page and the second page do not have a routing relationship, updating the predetermined routing graph based on the trigger relationship of the first page and the second page includes: based on the triggering relationship between the first page and the second page, using the second page as a sub-routing page of the first page so as to establish a routing relationship between the first page and the second page; deleting the second page in the map list of the preset route map, and updating the route relation between the first page and the second page.
Optionally, in a case that the first page and the second page do not have a routing relationship, updating the predetermined routing graph based on the trigger relationship of the first page and the second page includes: under the condition that the second page does not exist in the preset routing diagram, based on the triggering relationship of the first page and the second page, the second page is used as a sub-routing page of the first page, and the routing relationship of the first page and the second page is established; updating the predetermined routing graph based on the routing relationship of the first page and the second page.
Optionally, the predetermined routing graph records a path relationship between pages based on the unique identification of the page.
Optionally, the unique identifier of the root routing page is recorded in the graph list.
Optionally, the method further comprises: the navigation entry control based on the page triggers a navigation interface, wherein the navigation interface displays the routing relation among the pages based on the preset routing graph or displays the routing sequence of the pages in each type in a list form based on the type of the corresponding business object of the page.
According to another aspect of the embodiment of the present invention, there is also provided a page routing apparatus, including: the acquisition unit is used for acquiring a first page and a second page triggered by the first page; a first identifying unit configured to identify a routing relationship between the first page and the second page based on a predetermined routing graph, where the predetermined routing graph is used to record the routing relationship between pages; and the updating unit is used for updating the preset routing graph based on the trigger relation of the first page and the second page under the condition that the first page and the second page do not have the routing relation, wherein the updated preset routing graph records the routing relation of the first page and the second page.
According to another aspect of the embodiment of the present invention, there is also provided a computer readable storage medium, where the computer readable storage medium includes a stored program, and when the program runs, the device where the computer readable storage medium is controlled to execute the above page routing method.
According to another aspect of the embodiment of the present invention, there is further provided a processor, where the processor is configured to run a program, where the program executes the above-mentioned page routing method when running.
In the embodiment of the invention, a first page and a second page triggered by the first page are acquired; identifying a routing relationship between the first page and the second page based on a predetermined routing graph, wherein the predetermined routing graph is used for recording the routing relationship between pages; under the condition that the first page and the second page do not have a routing relationship, the preset routing graph is updated based on the triggering relationship of the first page and the second page, so that under the condition that the first page and the second page do not have an association relationship, the routing relationship of the first page and the second page can be established based on the triggering relationship of the first page and the second page, the preset routing graph comprising the first page and the second page is updated, and based on the routing relationship of the first page and the second page recorded in the updated preset routing graph, the reverse skip from the first page to the second page can be completed, and the purpose of setting the routing relationship for the page without the association relationship is achieved, thereby realizing the technical effect of carrying out reverse skip on the page without the association relationship based on the routing relationship of the first page and the second page updated based on the preset routing graph, and further solving the technical problem that the page without the association relationship cannot carry out reverse skip.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a prior art page skip schematic;
FIG. 2 is a flow chart of a method of page routing according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a routing storage structure according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of routing processing logic according to an embodiment of the present invention
FIG. 5 is a schematic diagram of a routing process according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a navigation interface according to an embodiment of the present invention;
FIG. 7 is a schematic diagram I of a navigation interface according to an embodiment of the invention;
FIG. 8 is a second schematic illustration of a navigation interface according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a page routing apparatus according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, partial terms or terminology appearing in the course of describing embodiments of the invention are applicable to the following explanation:
and (3) routing: routing is actually understood as pointing, and clicking a button on a page requires a jump to the corresponding page, which is the route jump.
An information management system: PLM, PDM, process data management system, MES, ERP, map document, abbreviated herein as system.
Predetermined route map: is composed of a finite non-empty set of vertices and a set of edges between vertices, commonly denoted G (V, E).
According to an embodiment of the present invention, there is provided a page routing method embodiment, it being noted that the steps shown in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that herein.
Fig. 2 is a flowchart of a method for routing a page according to an embodiment of the present invention, as shown in fig. 2, the method includes the steps of:
step S202, acquiring a first page and a second page triggered by the first page;
step S204, identifying a routing relation between the first page and the second page based on a predetermined routing graph, wherein the predetermined routing graph is used for recording the routing relation between the pages;
step S206, updating a preset routing graph based on the triggering relationship of the first page and the second page under the condition that the first page and the second page do not have the routing relationship, wherein the updated preset routing graph records the routing relationship of the first page and the second page.
In the embodiment of the invention, under the condition that the first page and the second page do not have an association relationship, the routing relationship of the first page and the second page can be established based on the triggering relationship of the first page and the second page, the preset routing graph is updated, and the reverse skip from the first page to the second page can be completed based on the routing relationship of the first page and the second page recorded in the updated preset routing graph, so that the purpose of setting the routing relationship for the page without the association relationship is achieved, the routing relationship of the first page and the second page updated based on the preset routing graph can be reversely skipped to the first page by the second page, the technical effect of reversely skipping the page without the association relationship is realized, and the technical problem that the page without the association relationship cannot reversely skip is solved.
Optionally, the pages may be corresponding pages of the service objects, and the different service objects may or may not have an association relationship, and the service objects with association relationship have a routing relationship between the corresponding pages, and the pages without association relationship do not have a routing relationship between the corresponding pages.
Alternatively, during the page jump, the page to be jumped to may be determined based on a predetermined route map.
It should be noted that, the routing relationship indicates that two pages may jump from each other, for example, from a first page to a second page, or from the second page to the first page.
It should be noted that, the trigger relationship may represent a unidirectional routing relationship, that is, only one-way jump between two pages, for example, only jump from a first page to a second page, but not jump from the second page to the first page.
As an alternative embodiment, before identifying the routing relationship between the first page and the second page based on the predetermined routing graph, the method further comprises: determining a routing relation between pages to be routed corresponding to the business objects based on the association relation between the business objects; identifying a root routing page and a sub routing page in the to-be-routed page, wherein the root routing page cannot return to the last level routing page after being triggered, and the root routing page and the sub routing page have a routing relationship; recording a root route page in a map list of a preset route map; and recording the routing relation between the follow-up routing page and the corresponding sub-routing page in a preset routing diagram.
According to the embodiment of the invention, the association relationship between the corresponding business objects can be represented based on the route relationship of the to-be-routed pages recorded in the preset routing diagram by recording the root routing page which cannot be returned to the last level routing page in the diagram list of the preset routing diagram and recording the route relationship between the root routing page and the sub routing page in the preset routing diagram.
Optionally, the same root routing page may include one or more sub routing pages, the same root routing page may have a routing relationship with one or more sub routing pages, and the same sub routing page may also have a routing relationship with any number of sub routing pages.
Optionally, the root routing pages in the map list of the predetermined routing map are sequentially arranged, where the first root routing page is adjacent to the second root routing page, and the first root routing page is arranged before the second root routing page, and the last sub-routing page corresponding to the first root routing page may trigger the second root routing page, and the second root routing page cannot return to the last sub-routing page corresponding to the first root routing page.
As an alternative embodiment, in the case that the first page and the second page do not have a routing relationship, updating the predetermined routing graph based on the trigger relationship of the first page and the second page includes: based on the triggering relationship of the first page and the second page, the second page is used as a sub-routing page of the first page, so as to establish a routing relationship between the first page and the second page; and deleting the second page in a graph list of the preset routing graph, and updating the routing relation between the first page and the second page.
As an alternative embodiment, in the case that the first page and the second page do not have a routing relationship, updating the predetermined routing graph based on the trigger relationship of the first page and the second page includes: under the condition that a second page does not exist in the preset routing graph, based on the triggering relationship of the first page and the second page, the second page is used as a sub-routing page of the first page, and the routing relationship of the first page and the second page is established; the predetermined routing graph is updated based on the routing relationship of the first page and the second page.
As an alternative embodiment, the predetermined routing graph records the routing relationships between pages based on the unique identification of the pages.
As an alternative embodiment, the unique identification of the root routing page is recorded in the graph list.
As an alternative embodiment, the method further comprises: the navigation entry control based on the pages triggers a navigation interface, wherein the navigation interface displays the routing relation among the pages based on a preset routing graph or displays the routing sequence of the pages in each type in a list form based on the types of the corresponding business objects of the pages.
Optionally, a navigation entry control may be disposed at any position on the page display interface, where the navigation entry control may be dragged by the mouse and may follow the movement of the mouse.
The present invention also provides a preferred embodiment that provides a navigation scheme for managing an information system.
The navigation scheme for the management information system provided by the invention comprises the following steps: a route storage module and a route presenting module.
Optionally, the route storage module is responsible for storing the access history paths and constructing the paths into a graph structure, called a route graph, i.e. a predetermined route graph.
FIG. 3 is a schematic diagram of a route storage structure according to an embodiment of the present invention, where as shown in FIG. 3, a route graph vertex includes: URL of current page (e.g. first page), vertex unique identification; the title of the current page (such as the first page) is used for showing to the user and defining the content of the page; the service object identifier and the display name can also be used as the unique identifier of the vertex; new page (e.g., second page) open time.
Optionally, each vertex identifies a page to be routed corresponding to a business object.
Optionally, the predetermined routing graph includes a graph list, that is, a list of vertex 1, vertex 6 to vertex N, where vertex 1, vertex 6 to vertex N are root routing pages, vertex 2, vertex 3 and vertex 4 are sub routing pages, vertex 1 has a path relationship with vertex 2, vertex 2 has a path relationship with vertex 3, and vertex 2 has a path relationship with vertex 4; vertex 1 has no path relationship with vertex 6, vertex 2 has no path relationship with vertex 6, vertex 3 has no path relationship with vertex 6, and vertex 4 has no path relationship with vertex 6.
Optionally, when a new page (e.g., a second page) is opened, the routing store (i.e., the predetermined routing graph) is invoked, and the invocation parameters include: the URL of the current page (e.g., the first page), the trigger page (e.g., the second page) of the new page; a new page (e.g., second page) URL; a new page (e.g., second page) title; service object identification, display and description; new page (e.g., second page) open time.
Fig. 4 is a schematic diagram of a routing processing logic according to an embodiment of the present invention, as shown in fig. 4, including the steps of:
s401, opening a new page to call a route storage.
S402, searching in the existing graph (namely, the preset route graph) by using the parameter of the current URL (namely, the first page).
S403, judging whether the current URL (i.e. the first page) is in the map (i.e. the preset route map), if yes, executing step S405, and if not, executing step S404.
S404, constructing a new vertex by using parameters, and storing the new vertex in a graph list.
S405, the existing graph (i.e. the predetermined routing graph) is searched for with the "new page URL" (i.e. the second page) parameter.
S406, judging whether the 'new page URL' (i.e. the second page) is in the diagram (i.e. the preset routing diagram), if yes, executing step S408, and if not, executing step S407.
S407, constructing a new vertex by using the parameters, and establishing an edge with the vertex searched based on the parameters of the current URL (i.e. the first page).
S408, it is determined whether the "new page URL" (i.e., the second page) is in the map list, if yes, step S409 is executed, and if not, step S410 is executed.
S409, merging the two graphs of the index result of the "current URL" (i.e. the first page) parameter and the "new page URL" (i.e. the second page) parameter, and deleting the search result of the "new page URL" (i.e. the second page) parameter from the graph list.
S410, already existing, do not do the storage operation.
Fig. 5 is a schematic diagram of a routing process according to an embodiment of the present invention, as shown in fig. 5, for step S408, the "current URL" (i.e. the first page) parameter corresponds to vertex 3, and the "new page URL" parameter corresponds to vertex 7.
The search graph based on S402 is a, where the graph list of the predetermined routing graph is in turn: vertex 1, vertex 6, and vertex 7, wherein vertex 1 has a routing relationship with vertex 2, vertex 2 has a routing relationship with vertex 3, vertex 2 has a routing relationship with vertex 4, and vertex 7 has a routing relationship with vertex 8.
Wherein, based on the processing result of S408 being B, the vertex 7 is deleted from the graph list of the predetermined routing graph, and the routing relationship between the vertex 3 and the vertex 7 is established on the basis of a.
Optionally, the route presentation module comprises a navigation interface.
FIG. 6 is a schematic diagram of a navigation interface according to an embodiment of the present invention, where, as shown in FIG. 6, an entry of the navigation interface is an icon (i.e. a navigation entry control) fixed in a global page, the icon (i.e. the navigation entry control) is displayed in all pages, and the icon (i.e. the navigation entry control) can be dragged or moved along with a mouse at will in a visual range, and also can be called out by a shortcut key.
FIG. 7 is a schematic diagram of a navigation interface according to an embodiment of the present invention, as shown in FIG. 7, in which the navigation interface diagram style presents a stored routing diagram (i.e., displays routing relationships between pages based on the predetermined routing diagram).
FIG. 8 is a second schematic diagram of a navigation interface according to an embodiment of the present invention, as shown in FIG. 8, for classifying a list presentation by business object type (i.e., displaying the routing order of pages in each type in a list based on the type of the corresponding business object for the page).
Alternatively, operations such as route map node deletion, filtering and quick positioning can be performed.
According to still another embodiment of the present invention, there is further provided a computer readable storage medium, including a stored program, where the program when run controls a device on which the computer readable storage medium is located to perform the above-described page routing method.
According to yet another embodiment of the present invention, there is also provided a processor for running a program, wherein the program, when run, performs the page routing method of any of the above.
According to the embodiment of the present invention, a page routing device is further provided, and it should be noted that the page routing device may be used to execute the page routing method in the embodiment of the present invention, and the page routing method in the embodiment of the present invention may be executed in the page routing device.
Fig. 9 is a schematic diagram of a page routing apparatus according to an embodiment of the present invention, as shown in fig. 9, the apparatus may include: an acquiring unit 92, configured to acquire a first page and a second page triggered by the first page; a first identifying unit 94 for identifying a routing relationship between the first page and the second page based on a predetermined routing graph for recording the routing relationship between the pages; an updating unit 96, configured to update the predetermined routing graph based on the trigger relationship of the first page and the second page, in the case that the first page and the second page do not have the routing relationship.
It should be noted that, the acquiring unit 92 in this embodiment may be used to perform step S202 in the embodiment of the present application, the first identifying unit 94 in this embodiment may be used to perform step S204 in the embodiment of the present application, and the updating unit 96 in this embodiment may be used to perform step S206 in the embodiment of the present application. The above modules are the same as examples and application scenarios implemented by the corresponding steps, but are not limited to what is disclosed in the above embodiments.
In the embodiment of the invention, under the condition that the first page and the second page do not have an association relationship, the routing relationship of the first page and the second page can be established based on the triggering relationship of the first page and the second page, the preset routing graph is updated, and the reverse skip from the first page to the second page can be completed based on the routing relationship of the first page and the second page recorded in the updated preset routing graph, so that the purpose of setting the routing relationship for the page without the association relationship is achieved, the routing relationship of the first page and the second page updated based on the preset routing graph can be reversely skipped to the first page by the second page, the technical effect of reversely skipping the page without the association relationship is realized, and the technical problem that the page without the association relationship cannot reversely skip is solved.
As an alternative embodiment, the apparatus further comprises: a determining unit, configured to determine, based on an association relationship between service objects, a routing relationship between pages to be routed corresponding to the service objects before identifying the routing relationship between the first page and the second page based on a predetermined routing graph; the second identification unit is used for identifying a root routing page and a sub routing page in the to-be-routed page, wherein the root routing page cannot return to the last level routing page after being triggered, and the root routing page has a routing relationship with the sub routing page; a first recording unit configured to record a root route page in a map list of a predetermined route map; and the second recording unit is used for recording the routing relation between the follow-up routing page and the corresponding sub-routing page in the preset routing diagram.
As an alternative embodiment, the updating unit comprises: the first establishing module is used for taking the second page as a sub-routing page of the first page based on the triggering relationship of the first page and the second page so as to establish the routing relationship between the first page and the second page; and the first updating module is used for deleting the second page from the graph list of the preset routing graph and updating the routing relationship between the first page and the second page.
As an alternative embodiment, in the case that the first page and the second page do not have a routing relationship, updating the predetermined routing graph based on the trigger relationship of the first page and the second page includes: the second establishing module is used for establishing a routing relationship between the first page and the second page by taking the second page as a sub-routing page of the first page based on the triggering relationship between the first page and the second page under the condition that the second page does not exist in the preset routing graph; and the second updating module is used for updating the preset route diagram based on the route relation of the first page and the second page.
As an alternative embodiment, the predetermined routing graph records the routing relationships between pages based on the unique identification of the pages.
As an alternative embodiment, the unique identification of the root routing page is recorded in the graph list.
As an alternative embodiment, the apparatus further comprises: the triggering unit is used for triggering a navigation interface based on the navigation entry control of the page, wherein the navigation interface displays the routing relation among the pages based on a preset routing graph or displays the routing sequence of the pages in each type in a list form based on the type of the corresponding business object of the page.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (7)

1. A method of routing pages, comprising:
acquiring a first page and a second page triggered by the first page;
identifying a routing relationship between the first page and the second page based on a predetermined routing graph, wherein the predetermined routing graph is used for recording the routing relationship between pages;
updating the preset routing graph based on the triggering relationship of the first page and the second page under the condition that the first page and the second page do not have the routing relationship, wherein the updated preset routing graph records the routing relationship of the first page and the second page;
wherein prior to identifying a routing relationship between the first page and the second page based on a predetermined routing graph, the method further comprises:
determining a routing relation between pages to be routed corresponding to a business object based on the association relation between the business objects;
identifying a root routing page and a sub routing page in the to-be-routed page, wherein the root routing page cannot return to a previous level routing page after being triggered, and the root routing page has a routing relationship with the sub routing page;
recording the root route page in a map list of the preset route map;
recording the routing relation between the root routing page and the corresponding sub routing page in the preset routing graph;
wherein updating the predetermined routing graph based on the trigger relationship of the first page and the second page without the routing relationship between the first page and the second page comprises:
based on the triggering relationship between the first page and the second page, using the second page as a sub-routing page of the first page so as to establish a routing relationship between the first page and the second page;
deleting the second page in a graph list of the preset routing graph, and updating the routing relationship between the first page and the second page;
wherein updating the predetermined routing graph based on the trigger relationship of the first page and the second page without the routing relationship between the first page and the second page comprises:
under the condition that the second page does not exist in the preset routing diagram, based on the triggering relationship of the first page and the second page, the second page is used as a sub-routing page of the first page, and the routing relationship of the first page and the second page is established;
updating the predetermined routing graph based on the routing relationship of the first page and the second page.
2. The method of claim 1, wherein the predetermined routing graph records a routing relationship between pages based on unique identifications of the pages.
3. The method of claim 1, wherein the unique identification of the root routing page is recorded in the graph list.
4. The method according to claim 1, wherein the method further comprises:
the navigation entry control based on the page triggers a navigation interface, wherein the navigation interface displays the routing relation among the pages based on the preset routing graph or displays the routing sequence of the pages in each type in a list form based on the type of the corresponding business object of the page.
5. A page routing apparatus, comprising:
the acquisition unit is used for acquiring a first page and a second page triggered by the first page;
a first identifying unit configured to identify a routing relationship between the first page and the second page based on a predetermined routing graph, where the predetermined routing graph is used to record the routing relationship between pages;
an updating unit, configured to update, when there is no routing relationship between the first page and the second page, the predetermined routing graph based on a trigger relationship between the first page and the second page, where the updated predetermined routing graph records the routing relationship between the first page and the second page;
wherein the apparatus further comprises:
a determining unit, configured to determine, based on an association relationship between service objects, a routing relationship between pages to be routed corresponding to the service objects before identifying the routing relationship between the first page and the second page based on a predetermined routing graph;
the second identification unit is used for identifying a root routing page and a sub routing page in the to-be-routed page, wherein the root routing page cannot return to a previous level routing page after being triggered, and the root routing page has a routing relationship with the sub routing page;
a first recording unit, configured to record the root route page in a graph list of the predetermined route graph;
a second recording unit, configured to record, in the predetermined routing graph, a routing relationship between the root routing page and the corresponding sub routing page;
wherein the updating unit includes:
the first establishing module is used for taking the second page as a sub-routing page of the first page based on the triggering relationship of the first page and the second page so as to establish the routing relationship between the first page and the second page;
a first updating module, configured to delete the second page from a graph list of the predetermined routing graph, and update a routing relationship between the first page and the second page;
wherein the updating unit includes:
the second establishing module is used for establishing a routing relationship between the first page and the second page by taking the second page as a sub-routing page of the first page based on the triggering relationship between the first page and the second page under the condition that the second page does not exist in the preset routing graph;
and a second updating module, configured to update the predetermined routing graph based on the routing relationship between the first page and the second page.
6. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored program, wherein the program when run controls a device in which the computer readable storage medium is located to perform the page routing method according to any one of claims 1 to 4.
7. A processor, characterized in that the processor is configured to run a program, wherein the program runs on performing the page routing method according to any of claims 1 to 4.
CN202110925728.5A 2021-08-12 2021-08-12 Page routing method, device, storage medium and processor Active CN113656127B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110925728.5A CN113656127B (en) 2021-08-12 2021-08-12 Page routing method, device, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110925728.5A CN113656127B (en) 2021-08-12 2021-08-12 Page routing method, device, storage medium and processor

Publications (2)

Publication Number Publication Date
CN113656127A CN113656127A (en) 2021-11-16
CN113656127B true CN113656127B (en) 2023-08-04

Family

ID=78479576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110925728.5A Active CN113656127B (en) 2021-08-12 2021-08-12 Page routing method, device, storage medium and processor

Country Status (1)

Country Link
CN (1) CN113656127B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114896006B (en) * 2022-04-27 2023-06-09 青岛海尔科技有限公司 Page menu creation method and device, storage medium and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550187A (en) * 2014-11-03 2016-05-04 阿里巴巴集团控股有限公司 Method and device for managing browsing history in single page application
CN108763541A (en) * 2018-05-31 2018-11-06 维沃移动通信有限公司 A kind of page display method and terminal
CN111859198A (en) * 2019-04-29 2020-10-30 天津五八到家科技有限公司 Page jump method, page jump system, client device and server device
CN112040013A (en) * 2020-11-05 2020-12-04 南京研利科技有限公司 Method, computing device and computer storage medium for page routing
CN112115395A (en) * 2020-09-04 2020-12-22 上海悦易网络信息技术有限公司 Method and equipment for realizing animation configuration during page routing jump
CN112685665A (en) * 2020-12-30 2021-04-20 北京三快在线科技有限公司 Page jump method and device, electronic equipment and storage medium
CN112732230A (en) * 2020-12-31 2021-04-30 广东广宇科技发展有限公司 Page generation method and system based on bidirectional navigation component, storage medium and computer equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550187A (en) * 2014-11-03 2016-05-04 阿里巴巴集团控股有限公司 Method and device for managing browsing history in single page application
CN108763541A (en) * 2018-05-31 2018-11-06 维沃移动通信有限公司 A kind of page display method and terminal
CN111859198A (en) * 2019-04-29 2020-10-30 天津五八到家科技有限公司 Page jump method, page jump system, client device and server device
CN112115395A (en) * 2020-09-04 2020-12-22 上海悦易网络信息技术有限公司 Method and equipment for realizing animation configuration during page routing jump
CN112040013A (en) * 2020-11-05 2020-12-04 南京研利科技有限公司 Method, computing device and computer storage medium for page routing
CN112685665A (en) * 2020-12-30 2021-04-20 北京三快在线科技有限公司 Page jump method and device, electronic equipment and storage medium
CN112732230A (en) * 2020-12-31 2021-04-30 广东广宇科技发展有限公司 Page generation method and system based on bidirectional navigation component, storage medium and computer equipment

Also Published As

Publication number Publication date
CN113656127A (en) 2021-11-16

Similar Documents

Publication Publication Date Title
US20200150621A1 (en) Control interface for metric definition specification for assets driven by search-derived asset tree hierarchy
US9569792B2 (en) Electronic commerce web page management
US8868386B2 (en) Navigation in simulated workflows
JP2014518408A (en) Schedule generation method and communication terminal apparatus according to schedule generation method
US20130212158A1 (en) Processing event instance data in a client-server architecture
CN108536467B (en) Code positioning processing method and device, terminal equipment and storage medium
CN108665174A (en) Method for prewarning risk, device, computer equipment and storage medium
CN113157947A (en) Knowledge graph construction method, tool, device and server
CN113656127B (en) Page routing method, device, storage medium and processor
CN111209000A (en) Processing method and device of user-defined control, electronic equipment and storage medium
CN110519327A (en) User enlivens type judgement method, device, computer equipment and storage medium
CN112052343A (en) Knowledge graph display method and device, electronic equipment and storage medium
CN112860948B (en) Metadata management method and system based on multi-tenant SaaS architecture and electronic equipment
CN103548013A (en) Search and browse hybrid
CN112905937A (en) Service content updating and generating method based on big data and cloud computing service system
CN112347099A (en) Data processing method and device, computing equipment and computer readable storage medium
CN106529827A (en) Metadata-based indicator descent analysis method and analysis system
CN109508244A (en) Data processing method and computer-readable medium
WO2018208423A1 (en) Adaptive metadata filters
JP5884925B2 (en) Management support apparatus, management support method, and management support program
CN113435948A (en) E-commerce platform data monitoring method and system
US20140173488A1 (en) Systems and/or methods for path finding on model structures
US11960711B2 (en) Display control device, display control method, and display control program
CN111190513A (en) Visual event analysis method and device, computer equipment and storage medium
CN117610505B (en) Data processing method and device based on standard model

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
GR01 Patent grant
GR01 Patent grant