CN110968824A - Page data processing method and device - Google Patents

Page data processing method and device Download PDF

Info

Publication number
CN110968824A
CN110968824A CN201811162071.6A CN201811162071A CN110968824A CN 110968824 A CN110968824 A CN 110968824A CN 201811162071 A CN201811162071 A CN 201811162071A CN 110968824 A CN110968824 A CN 110968824A
Authority
CN
China
Prior art keywords
page
address
target
target page
current
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.)
Granted
Application number
CN201811162071.6A
Other languages
Chinese (zh)
Other versions
CN110968824B (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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum 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 Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201811162071.6A priority Critical patent/CN110968824B/en
Publication of CN110968824A publication Critical patent/CN110968824A/en
Application granted granted Critical
Publication of CN110968824B publication Critical patent/CN110968824B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a page data processing method and device. The method comprises the following steps: receiving a jump instruction which is sent by a user and jumps from a current page to a target page, wherein the jump instruction is triggered by clicking a page trigger mark in a navigation menu, the navigation menu comprises a plurality of pages of single-page systems, and each single-page system comprises a plurality of pages; judging whether the current page and the target page belong to the same single-page system or not; if the target page does not belong to the same single-page system, acquiring a page address of the target page; splicing the system address of the target page and the page address of the target page into the address of the target page; and requesting the server to jump to the target page according to the address of the target page. By the method and the device, the effect of jumping among a plurality of single-page systems is achieved.

Description

Page data processing method and device
Technical Field
The invention relates to the field of computers, in particular to a page data processing method and device.
Background
Under the current internet environment, single page application has become the mainstream, does benefit to the used repeatedly of code, but if many people go wrong easily when developing, because the version of development function is all different relatively more chaotic when leading to the release, is currently being convenient for later stage development like this with each function split into independent subsystem, but it is more troublesome just to integrate together, because each system is relatively independent, need connect all systems through a menu subassembly. And may jump over each other.
The current front-end framework routing system in the related technology only supports the routing jump of the system and cannot jump to pages in other single-page systems.
Aiming at the problem that a plurality of single-page systems cannot jump in the related technology, an effective solution is not provided at present.
Disclosure of Invention
The invention mainly aims to provide a page data processing method and a page data processing device, which are used for solving the problem that a plurality of single-page systems cannot jump.
In order to achieve the above object, according to an aspect of the present invention, there is provided a page data processing method, including: receiving a jump instruction which is sent by a user and jumps from a current page to a target page, wherein the jump instruction is triggered by clicking a page trigger mark in a navigation menu, the navigation menu comprises a plurality of pages of a single-page system, and each single-page system comprises a plurality of pages; judging whether the current page and the target page belong to the same single-page system or not; if the target page does not belong to the same single-page system, acquiring a page address of the target page; splicing the system address of the target page and the page address of the target page into the address of the target page; and requesting a server to jump to the target page according to the address of the target page.
Further, the step of judging whether the current page and the target page belong to the same single-page system comprises the following steps: judging whether a system address of a current page in an address bar is consistent with a system address of a target page stored in a configuration file, wherein the system address and the page address of a page in the navigation menu are stored in the configuration file; if the current page and the target page are consistent, judging that the current page and the target page belong to the same single-page system; and if not, judging that the current page and the target page do not belong to the same single-page system.
Further, before receiving the jump instruction, the method further comprises: importing the same navigation menu into the page of each single-page system to be integrated; and storing the address of the page in each single-page system in the navigation menu into the configuration file.
Further, the method further comprises: when the jump instruction is received, acquiring identification information of target data in a current page currently stored in a cookie under the condition that a database of the single page system to which the current single page system and the target page belong has an incidence relation; splicing the identification information of the target data in the current page into the URL of the current page; requesting a server to jump to the target page according to the address of the target page comprises: and requesting data corresponding to the identification information from a server according to the URL of the current page and displaying the data in the target page.
Further, the single page system includes a single page system for managing cases, the target data includes case data, and the identification information includes IDs of the cases.
In order to achieve the above object, according to another aspect of the present invention, there is also provided a page data processing apparatus including: the system comprises a receiving unit, a processing unit and a display unit, wherein the receiving unit is used for receiving a jump instruction which is sent by a user and jumps to a target page from a current page, the jump instruction is triggered by clicking a page trigger identifier in a navigation menu, the navigation menu comprises a plurality of pages of a single-page system, and each single-page system comprises a plurality of pages; the judging unit is used for judging whether the current page and the target page belong to the same single-page system or not; the acquisition unit is used for acquiring the page address of the target page when the target page does not belong to the same single-page system; the splicing unit is used for splicing the system address of the target page and the page address of the target page into the address of the target page; and the request unit is used for requesting the server to jump to the target page according to the address of the target page.
Further, the judging unit includes: the judging module is used for judging whether the system address of the current page in the address bar is consistent with the system address of the target page stored in a configuration file, wherein the system address and the page address of the page in the navigation menu are stored in the configuration file; the determining module is used for judging that the current page and the target page belong to the same single-page system when the current page and the target page are consistent; the determining module is further used for judging that the current page and the target page do not belong to the same single-page system when the current page and the target page are inconsistent.
Further, the apparatus further comprises: the system comprises an importing unit, a processing unit and a display unit, wherein the importing unit is used for importing the same navigation menu into a page of each single-page system to be integrated before receiving a jump instruction; and the storage unit is used for storing the address of the page in each single-page system in the navigation menu into the configuration file.
In order to achieve the above object, according to another aspect of the present invention, there is also provided a storage medium including a stored program, wherein when the program runs, a device in which the storage medium is located is controlled to execute the page data processing method according to the present invention.
In order to achieve the above object, according to another aspect of the present invention, there is also provided a processor for executing a program, wherein the program executes to perform the page data processing method of the present invention.
The method comprises the steps of receiving a jump instruction which is sent by a user and jumps to a target page from a current page, wherein the jump instruction is triggered by clicking a page trigger mark in a navigation menu, the navigation menu comprises a plurality of pages of a single-page system, and each single-page system comprises a plurality of pages; judging whether the current page and the target page belong to the same single-page system or not; if the target page does not belong to the same single-page system, acquiring a page address of the target page; splicing the system address of the target page and the page address of the target page into the address of the target page; the method and the device request the server to jump to the target page according to the address of the target page, solve the problem that the multiple single-page systems cannot jump, and further achieve the effect of jumping among the multiple single-page systems.
Drawings
The accompanying drawings, which 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 not to limit the invention. In the drawings:
FIG. 1 is a flow chart of a page data processing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a navigation menu according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a page data processing apparatus according to an embodiment of the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. 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.
For convenience of description, several terms referred to in the embodiments of the present application are explained below:
single page: a single page Web application (SPA) is an application with only one Web page. A Single Page Application (SPA) is a Web application that loads a single HTML page and dynamically updates the page as the user interacts with the application. The browser initially loads the necessary HTML, CSS and JavaScript, and all operations are done on this page, controlled by the JavaScript.
Front-end routing: for the user, the route is the corresponding relation between url in the browser address bar and the seen web page. For web developers, the routing is more like the correspondence between url and processing function. In the traditional server routing, different web page contents are returned according to different websites requested by a client, which firstly causes the pressure of the server to increase, and secondly, the server re-requests every time, so that the response is slow and the user experience is reduced. Thus, a single page application (spa) should be generated. In the process of changing the url address, switching between different UIs (operation of js on DOM) is realized through js, a page is not required to be requested again from the server, data is only requested from the server through ajax, and the non-refreshing and instant response is better experience for a user. Wherein, different UIs are shown according to the change of the url address bar, which is realized by front-end routing. Currently, the mainstream front-end framework supporting the single-page application basically has a matching or third-party routing system.
Vue: js is a popular JavaScript front end framework aimed at better organizing and simplifying Web development. Vue the focus of the core is the view layer in MVC mode, and it can also easily get data update and realize the interaction of view and model through the specific method inside the component.
Vue Router: js official route manager.
The embodiment of the invention provides a page data processing method.
Fig. 1 is a flowchart of a page data processing method according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S102: receiving a jump instruction which is sent by a user and jumps from a current page to a target page, wherein the jump instruction is triggered by clicking a page trigger mark in a navigation menu, the navigation menu comprises a plurality of pages of single-page systems, and each single-page system comprises a plurality of pages;
step S104: judging whether the current page and the target page belong to the same single-page system or not;
step S106: if the target page does not belong to the same single-page system, acquiring a page address of the target page;
step S108: splicing the system address of the target page and the page address of the target page into the address of the target page;
step S110: and requesting the server to jump to the target page according to the address of the target page.
The method comprises the steps that a jump instruction which is sent by a user and jumps to a target page from a current page is received, wherein the jump instruction is triggered by clicking a page trigger mark in a navigation menu, the navigation menu comprises a plurality of pages of a single-page system, and each single-page system comprises a plurality of pages; judging whether the current page and the target page belong to the same single-page system or not; if the target page does not belong to the same single-page system, acquiring a page address of the target page; splicing the system address of the target page and the page address of the target page into the address of the target page; and requesting the server to jump to the target page according to the address of the target page, so that the problem that the plurality of single-page systems cannot jump is solved, and the effect of jumping among the plurality of single-page systems is achieved.
In the embodiment of the present invention, the jump instruction may be an instruction issued by a user by clicking a trigger identifier of a target page in a page navigation menu, where a page corresponding to the trigger identifier is the target page, the navigation menu has a plurality of pages of a single-page system, each single-page system includes a plurality of pages, and the plurality of pages may be completely hidden or completely displayed, whether the current page and the target page belong to the same page in the single-page system or not can be judged according to the jump instruction, if the target page system does not belong to the same single-page system, the navigation menu requests the server to jump to the target page according to the address of the target page, the address of the target page is formed by splicing the system address and the page address of the target page, the system address of the target page can be stored in a configuration file, the page address can be carried in the jump instruction, and the system address and the page address of the current page can be acquired in an address bar. The jump between different single-page systems can be realized through the navigation menu and the address of the target page.
Optionally, the determining whether the current page and the target page belong to the same single-page system includes: judging whether the system address of the current page in the address bar is consistent with the system address of the target page stored in a configuration file, wherein the system address and the page address of the page in the navigation menu are stored in the configuration file; if the current page and the target page are consistent, judging that the current page and the target page belong to the same single-page system; and if not, judging that the current page and the target page do not belong to the same single-page system.
When judging whether the current webpage and the target webpage belong to the same single-page system, judging according to whether the system address of the current webpage and the system address of the target webpage are consistent, if so, belonging to the same single-page system, and if not, not belonging to the same single-page system.
Optionally, before receiving a jump instruction, importing the same navigation menu into a page of each single-page system to be integrated; the address of the page in each single-page system in the navigation menu is stored in a configuration file.
When a plurality of single-page systems are integrated, the same navigation menu can be imported into the pages of the plurality of single-page systems to be integrated so as to realize the navigation function, and then the page address of each single-page system in the navigation menu is stored in a configuration file for subsequent calling.
Optionally, when the jump instruction is received, acquiring identification information of target data in the current page currently stored in the cookie when the current single-page system has an association relationship with a database of the single-page system to which the target page belongs; splicing the identification information of the target data in the current page into the URL of the current page; requesting the server to jump to the target page according to the address of the target page comprises: and requesting data corresponding to the identification information from the server according to the URL of the current page and displaying the data in the target page.
The technical scheme of the embodiment of the invention can also realize data transmission among a plurality of single-page systems, in an optional application scene, a user browses the information of a case on the sub-page of the system A, at the moment, the user wants to view the related information of the case in the system B, the user can directly click the sub-page of the system B to jump to the system B, the page of the system B displays the information related to the case, and the background process comprises the following steps: if the databases of the two single-page systems of the two pages have an association relationship, for example, both the databases contain case information, when a user browses a case in the A page, the representation information of the case, such as ID (identity) and the like, is stored in a cookie, when the user clicks a jump trigger, the navigation menu system extracts the case ID from the cookie and splices the case ID into the URL of the A page, the navigation menu extracts the case ID from the URL of the A page and sends the case ID to the server of the B page, and the server of the B page sends the information corresponding to the case and displays the information corresponding to the case in the B page, so that data transmission between different single-page systems can be realized.
Optionally, the single-page system may be a single-page system for managing cases, such as a case management system, a work management system, and the like, the target data may be case data, and the identification information may be ID, number, and the like of the case.
The embodiment of the invention also provides a preferred implementation mode.
Step1, each single-page system imports an identical navigation menu, each address under the navigation menu is a page, but the multiple web pages belong to different subsystems. The navigation data is stored in a config.js configuration file, and the config.js stores information such as addresses of the respective systems and routing addresses of pages.
Fig. 2 is a schematic diagram of a navigation menu according to an embodiment of the present invention, as shown in fig. 2, each line of names displayed on a menu bar is a single-page system, a sub-page of the single-page system can be displayed by clicking an arrow on the right side of the names, the content of the page can be displayed by clicking a specific sub-page, when a jump is made in the system, the content on the page does not need to be reloaded, only a changed part needs to be loaded, so that the loading waiting time can be reduced, and the data transmission amount can be reduced.
The address of each page in the navigation menu is recorded in a configuration file, and the format of the configuration file can be as follows:
{
name: 'Internet reservation scheme',// routing display Name
url: window, ecourtapp, configs, navurls, windows case,// current system address
route:'/windows case/createCaseOnline? appluType 2'// page routing address
class:’icon-weijieanjian’//icon-font
}
Step2, after receiving the jump instruction, comparing the address on the address bar (current page) with the system address in the configuration file (target page) to see if it is the current system.
The reference codes are as follows:
let newUrl=item.url+'/#'+item.route
let query=”
let url=newUrl.split('?')
let location=url[0]
if (| window. location. href. entities)// determine whether the page to jump is in the current subsystem, compare with the address in the current address bar
Step3, if the current page and the target page are the same single page system, the current single page system's own route is taken, if the current page and the target page are the pages of other systems, the address and the route of the jump system are taken from the configuration, and the jump is carried out to other systems through the window.
The reference codes are as follows:
Figure BDA0001820214580000071
the technical scheme of the embodiment of the invention can realize the jump and data transmission among a plurality of single pages, and has the minimum change on the current system.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The embodiment of the invention provides a page data processing device, which can be used for executing the page data processing method of the embodiment of the invention.
Fig. 3 is a schematic diagram of a page data processing apparatus according to an embodiment of the present invention, as shown in fig. 3, the apparatus including:
the navigation device comprises a receiving unit 10, a processing unit and a display unit, wherein the receiving unit 10 is used for receiving a jump instruction which is sent by a user and jumps to a target page from a current page, wherein the jump instruction is triggered by clicking a page trigger identifier in a navigation menu, the navigation menu comprises a plurality of pages of a single-page system, and each single-page system comprises a plurality of pages;
the judging unit 20 is configured to judge whether the current page and the target page belong to the same single-page system;
an obtaining unit 30, configured to obtain a page address of a target page when the target page does not belong to the same single-page system;
the splicing unit 40 is configured to splice the system address of the target page and the page address of the target page into an address of the target page;
and the request unit 50 is used for requesting the server to jump to the target page according to the address of the target page.
The embodiment adopts a receiving unit 10, which is used for receiving a jump instruction sent by a user for jumping from a current page to a target page, wherein the jump instruction is triggered by clicking a page trigger identifier in a navigation menu, the navigation menu comprises a plurality of pages of a single-page system, and each single-page system comprises a plurality of pages; the judging unit 20 is configured to judge whether the current page and the target page belong to the same single-page system; an obtaining unit 30, configured to obtain a page address of a target page when the target page does not belong to the same single-page system; the splicing unit 40 is configured to splice the system address of the target page and the page address of the target page into an address of the target page; the request unit 50 is configured to request the server to jump to the target page according to the address of the target page, so that the problem that the multiple single-page systems cannot jump is solved, and an effect of jumping among the multiple single-page systems is achieved.
Alternatively, the judging unit 20 includes: the judging module is used for judging whether the system address of the current page in the address bar is consistent with the system address of the target page stored in the configuration file, wherein the system address and the page address of the page in the navigation menu are stored in the configuration file; the determining module is used for judging that the current page and the target page belong to the same single-page system when the current page and the target page are consistent; the determining module is further used for judging that the current page and the target page do not belong to the same single-page system when the current page and the target page are inconsistent.
Optionally, the apparatus further comprises: the system comprises an importing unit, a processing unit and a display unit, wherein the importing unit is used for importing the same navigation menu into a page of each single-page system to be integrated before receiving a jump instruction; and the storage unit is used for storing the address of the page in each single-page system in the navigation menu into the configuration file.
The page data processing device comprises a processor and a memory, wherein the receiving unit, the judging unit, the acquiring unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more, and the kernel can jump among a plurality of single-page systems by adjusting the parameters of the kernel.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a storage medium on which a program is stored, the program implementing the page data processing method when executed by a processor.
The embodiment of the invention provides a processor, which is used for running a program, wherein the page data processing method is executed when the program runs.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps: receiving a jump instruction which is sent by a user and jumps from a current page to a target page, wherein the jump instruction is triggered by clicking a page trigger mark in a navigation menu, the navigation menu comprises a plurality of pages of single-page systems, and each single-page system comprises a plurality of pages; judging whether the current page and the target page belong to the same single-page system or not; if the target page does not belong to the same single-page system, acquiring a page address of the target page; splicing the system address of the target page and the page address of the target page into the address of the target page; and requesting the server to jump to the target page according to the address of the target page. The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: receiving a jump instruction which is sent by a user and jumps from a current page to a target page, wherein the jump instruction is triggered by clicking a page trigger mark in a navigation menu, the navigation menu comprises a plurality of pages of single-page systems, and each single-page system comprises a plurality of pages; judging whether the current page and the target page belong to the same single-page system or not; if the target page does not belong to the same single-page system, acquiring a page address of the target page; splicing the system address of the target page and the page address of the target page into the address of the target page; and requesting the server to jump to the target page according to the address of the target page.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A page data processing method is characterized by comprising the following steps:
receiving a jump instruction which is sent by a user and jumps from a current page to a target page, wherein the jump instruction is triggered by clicking a page trigger mark in a navigation menu, the navigation menu comprises a plurality of pages of a single-page system, and each single-page system comprises a plurality of pages;
judging whether the current page and the target page belong to the same single-page system or not;
if the target page does not belong to the same single-page system, acquiring a page address of the target page;
splicing the system address of the target page and the page address of the target page into the address of the target page;
and requesting a server to jump to the target page according to the address of the target page.
2. The method of claim 1, wherein determining whether the current page and the target page belong to the same single page system comprises:
judging whether a system address of a current page in an address bar is consistent with a system address of a target page stored in a configuration file, wherein the system address and the page address of a page in the navigation menu are stored in the configuration file;
if the current page and the target page are consistent, judging that the current page and the target page belong to the same single-page system;
and if not, judging that the current page and the target page do not belong to the same single-page system.
3. The method of claim 1, wherein prior to receiving a jump instruction, the method further comprises:
importing the same navigation menu into the page of each single-page system to be integrated;
the address of the page in each single-page system in the navigation menu is stored in a configuration file.
4. The method of claim 1, further comprising:
when the jump instruction is received, acquiring identification information of target data in a current page currently stored in a cookie under the condition that a database of the single page system to which the current single page system and the target page belong has an incidence relation;
splicing the identification information of the target data in the current page into the URL of the current page;
requesting a server to jump to the target page according to the address of the target page comprises: and requesting data corresponding to the identification information from a server according to the URL of the current page and displaying the data in the target page.
5. The method of claim 4, wherein the single page system comprises a single page system for managing cases, the target data comprises case data, and the identification information comprises an ID of a case.
6. A page data processing apparatus, comprising:
the system comprises a receiving unit, a processing unit and a display unit, wherein the receiving unit is used for receiving a jump instruction which is sent by a user and jumps to a target page from a current page, the jump instruction is triggered by clicking a page trigger identifier in a navigation menu, the navigation menu comprises a plurality of pages of a single-page system, and each single-page system comprises a plurality of pages;
the judging unit is used for judging whether the current page and the target page belong to the same single-page system or not;
the acquisition unit is used for acquiring the page address of the target page when the target page does not belong to the same single-page system;
the splicing unit is used for splicing the system address of the target page and the page address of the target page into the address of the target page;
and the request unit is used for requesting the server to jump to the target page according to the address of the target page.
7. The apparatus according to claim 6, wherein the judging unit includes:
the judging module is used for judging whether the system address of the current page in the address bar is consistent with the system address of the target page stored in a configuration file, wherein the system address and the page address of the page in the navigation menu are stored in the configuration file;
the determining module is used for judging that the current page and the target page belong to the same single-page system when the current page and the target page are consistent;
the determining module is further used for judging that the current page and the target page do not belong to the same single-page system when the current page and the target page are inconsistent.
8. The apparatus of claim 6, further comprising:
the system comprises an importing unit, a processing unit and a display unit, wherein the importing unit is used for importing the same navigation menu into a page of each single-page system to be integrated before receiving a jump instruction;
and the storage unit is used for storing the address of the page in each single-page system in the navigation menu into the configuration file.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein when the program runs, a device where the storage medium is located is controlled to execute the page data processing method according to any one of claims 1 to 5.
10. A processor, characterized in that the processor is configured to execute a program, wherein the program executes the page data processing method according to any one of claims 1 to 5.
CN201811162071.6A 2018-09-30 2018-09-30 Page data processing method and device Active CN110968824B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811162071.6A CN110968824B (en) 2018-09-30 2018-09-30 Page data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811162071.6A CN110968824B (en) 2018-09-30 2018-09-30 Page data processing method and device

Publications (2)

Publication Number Publication Date
CN110968824A true CN110968824A (en) 2020-04-07
CN110968824B CN110968824B (en) 2023-08-25

Family

ID=70029339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811162071.6A Active CN110968824B (en) 2018-09-30 2018-09-30 Page data processing method and device

Country Status (1)

Country Link
CN (1) CN110968824B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111538530A (en) * 2020-04-29 2020-08-14 中国银行股份有限公司 Page jump method and system, storage medium and electronic equipment
CN111666585A (en) * 2020-04-16 2020-09-15 北京百度网讯科技有限公司 Method and device for accessing sub-application, electronic equipment and readable storage medium
CN111708965A (en) * 2020-05-28 2020-09-25 北京嗨学网教育科技股份有限公司 Same-domain cross-single-page application non-perception skipping method and device
CN111831939A (en) * 2020-06-30 2020-10-27 新华三大数据技术有限公司 Page component skipping method and device
CN112256562A (en) * 2020-09-22 2021-01-22 北京达佳互联信息技术有限公司 Page jump testing method, device, equipment and storage medium
CN112799765A (en) * 2021-01-30 2021-05-14 交通银行股份有限公司 Intelligent skip method and equipment based on page coding and storage medium
CN113296856A (en) * 2020-07-13 2021-08-24 阿里巴巴集团控股有限公司 Page jump and route configuration method, equipment, system and storage medium
CN113868689A (en) * 2021-12-02 2021-12-31 飞狐信息技术(天津)有限公司 Application method and device of background system
CN114553477A (en) * 2022-01-12 2022-05-27 青岛海尔科技有限公司 Page jump method, device, equipment and storage medium
CN114924674A (en) * 2022-06-11 2022-08-19 内蒙古奇略信息技术有限公司 Multi-region column-divided navigation interaction method, equipment and medium
JP2022153999A (en) * 2021-03-30 2022-10-13 川崎重工業株式会社 Communication system
CN115202538A (en) * 2022-08-26 2022-10-18 广东拓斯达科技股份有限公司 Menu configuration method and device, electronic equipment and storage medium
CN111708965B (en) * 2020-05-28 2024-05-03 北京嗨学网教育科技股份有限公司 Same-domain single-page-crossing application non-perception skip method and device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0006991D0 (en) * 2000-03-22 2000-05-10 Dynamic Internet Limited Search systems
WO2001018685A2 (en) * 1999-09-03 2001-03-15 Lewis, Robert Improved method, system, and architecture for information display and organization
US20090119620A1 (en) * 2007-11-06 2009-05-07 Ashish Jain Method and Apparatus for Hardware Controlled Intelligent Web Content Navigation System
US8817959B1 (en) * 2013-05-06 2014-08-26 O'Harlan Ltd System for handling messages and distributing information
CN105718559A (en) * 2016-01-20 2016-06-29 百度在线网络技术(北京)有限公司 Method and device for finding transforming relationship of form pages and target pages
WO2017019749A1 (en) * 2015-07-30 2017-02-02 Nasdaq, Inc. Software application architecture
US20170052853A1 (en) * 2015-08-17 2017-02-23 Sap Portals Israel Ltd. System and method of data loss prevention
CN107038194A (en) * 2016-11-17 2017-08-11 阿里巴巴集团控股有限公司 A kind of method for page jump and device
CN107105336A (en) * 2017-04-19 2017-08-29 腾讯科技(深圳)有限公司 Data processing method and data processing equipment
CN107480148A (en) * 2016-06-07 2017-12-15 广州市动景计算机科技有限公司 The method and device and user terminal that control webpage redirects
CN107766499A (en) * 2017-10-19 2018-03-06 广州视睿电子科技有限公司 A kind of method for page jump, device, equipment and storage medium
CN108153588A (en) * 2016-12-06 2018-06-12 阿里巴巴集团控股有限公司 A kind of page navigation method and device, a kind of memory allocation method and device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001018685A2 (en) * 1999-09-03 2001-03-15 Lewis, Robert Improved method, system, and architecture for information display and organization
GB0006991D0 (en) * 2000-03-22 2000-05-10 Dynamic Internet Limited Search systems
US20090119620A1 (en) * 2007-11-06 2009-05-07 Ashish Jain Method and Apparatus for Hardware Controlled Intelligent Web Content Navigation System
US8817959B1 (en) * 2013-05-06 2014-08-26 O'Harlan Ltd System for handling messages and distributing information
WO2017019749A1 (en) * 2015-07-30 2017-02-02 Nasdaq, Inc. Software application architecture
US20170052853A1 (en) * 2015-08-17 2017-02-23 Sap Portals Israel Ltd. System and method of data loss prevention
CN105718559A (en) * 2016-01-20 2016-06-29 百度在线网络技术(北京)有限公司 Method and device for finding transforming relationship of form pages and target pages
WO2017124692A1 (en) * 2016-01-20 2017-07-27 百度在线网络技术(北京)有限公司 Method and apparatus for searching for conversion relationship between form pages and target pages
CN107480148A (en) * 2016-06-07 2017-12-15 广州市动景计算机科技有限公司 The method and device and user terminal that control webpage redirects
CN107038194A (en) * 2016-11-17 2017-08-11 阿里巴巴集团控股有限公司 A kind of method for page jump and device
CN108153588A (en) * 2016-12-06 2018-06-12 阿里巴巴集团控股有限公司 A kind of page navigation method and device, a kind of memory allocation method and device
CN107105336A (en) * 2017-04-19 2017-08-29 腾讯科技(深圳)有限公司 Data processing method and data processing equipment
CN107766499A (en) * 2017-10-19 2018-03-06 广州视睿电子科技有限公司 A kind of method for page jump, device, equipment and storage medium

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111666585A (en) * 2020-04-16 2020-09-15 北京百度网讯科技有限公司 Method and device for accessing sub-application, electronic equipment and readable storage medium
CN111666585B (en) * 2020-04-16 2023-08-18 北京百度网讯科技有限公司 Method and device for accessing sub-application, electronic equipment and readable storage medium
CN111538530A (en) * 2020-04-29 2020-08-14 中国银行股份有限公司 Page jump method and system, storage medium and electronic equipment
CN111708965A (en) * 2020-05-28 2020-09-25 北京嗨学网教育科技股份有限公司 Same-domain cross-single-page application non-perception skipping method and device
CN111708965B (en) * 2020-05-28 2024-05-03 北京嗨学网教育科技股份有限公司 Same-domain single-page-crossing application non-perception skip method and device
CN111831939A (en) * 2020-06-30 2020-10-27 新华三大数据技术有限公司 Page component skipping method and device
CN113296856A (en) * 2020-07-13 2021-08-24 阿里巴巴集团控股有限公司 Page jump and route configuration method, equipment, system and storage medium
CN113296856B (en) * 2020-07-13 2022-09-02 阿里巴巴集团控股有限公司 Page jump and route configuration method, equipment, system and storage medium
CN112256562A (en) * 2020-09-22 2021-01-22 北京达佳互联信息技术有限公司 Page jump testing method, device, equipment and storage medium
CN112799765B (en) * 2021-01-30 2022-10-11 交通银行股份有限公司 Intelligent skip method and equipment based on page coding and storage medium
CN112799765A (en) * 2021-01-30 2021-05-14 交通银行股份有限公司 Intelligent skip method and equipment based on page coding and storage medium
JP2022153999A (en) * 2021-03-30 2022-10-13 川崎重工業株式会社 Communication system
JP7278700B2 (en) 2021-03-30 2023-05-22 川崎重工業株式会社 Communications system
CN113868689A (en) * 2021-12-02 2021-12-31 飞狐信息技术(天津)有限公司 Application method and device of background system
CN114553477A (en) * 2022-01-12 2022-05-27 青岛海尔科技有限公司 Page jump method, device, equipment and storage medium
CN114553477B (en) * 2022-01-12 2024-03-22 青岛海尔科技有限公司 Page jump method, device, equipment and storage medium
CN114924674A (en) * 2022-06-11 2022-08-19 内蒙古奇略信息技术有限公司 Multi-region column-divided navigation interaction method, equipment and medium
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

Also Published As

Publication number Publication date
CN110968824B (en) 2023-08-25

Similar Documents

Publication Publication Date Title
CN110968824B (en) Page data processing method and device
TWI688282B (en) Page display method and device
US9183566B2 (en) Systems and methods for displaying advertisements in an advertisement unit
EP3273362A1 (en) Webpage access method, apparatus, device and non-volatile computer storage medium
JP2019520624A (en) Page component dynamic layout
CN110069683B (en) Method and device for crawling data based on browser
CN106897347B (en) Webpage display method, operation event recording method and device
CN105824830B (en) Method, client and equipment for displaying page
CN106598972A (en) Information display method and device as well as intelligent terminal
CN106528578B (en) Information display method and device
CN106411970B (en) A kind of fault handling method based on service call, device and system
CN106886545B (en) Page display method, page resource caching method and device
US20210105314A1 (en) Associating browser with application
EP3249554A1 (en) Systems and methods for client-side dynamic information resource activation and deactivation
CN107147645B (en) Method and device for acquiring network security data
US20140068412A1 (en) Method and Apparatus of Responding to Webpage Access Request
CN112612982A (en) Webpage preloading method and device and computer equipment
CN110968314A (en) Page generation method and device
CN107220260B (en) Page display method and device
CN114329281A (en) Rendering server, webpage rendering method and webpage rendering device
CN110321510A (en) Page rendering method and system
CN104899217A (en) Method and apparatus for implementing customized function
CN113326418A (en) Method and device for determining webpage information source and webpage quality
CN110825764A (en) SQL script generation method, system, storage medium and processor
CN112667934A (en) Dynamic simulation diagram display method and device, electronic equipment and computer readable medium

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