[go: up one dir, main page]

CN110968824B - Page data processing method and device - Google Patents

Page data processing method and device Download PDF

Info

Publication number
CN110968824B
CN110968824B CN201811162071.6A CN201811162071A CN110968824B CN 110968824 B CN110968824 B CN 110968824B CN 201811162071 A CN201811162071 A CN 201811162071A CN 110968824 B CN110968824 B CN 110968824B
Authority
CN
China
Prior art keywords
page
target
address
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.)
Active
Application number
CN201811162071.6A
Other languages
Chinese (zh)
Other versions
CN110968824A (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

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 application 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 pages of a plurality 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 the 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 application achieves the effect of jumping among a plurality of single page systems.

Description

Page data processing method and device
Technical Field
The present application relates to the field of computers, and in particular, to a method and apparatus for processing page data.
Background
In the current internet environment, single-page application has become mainstream, and is favorable for repeated use of codes, but if a plurality of people develop the single-page application, problems easily occur, because versions of developed functions are different, the release is disordered, and the later development is convenient because each function is split into independent subsystems, but the integration is troublesome, because each system is relatively independent, and all the systems are required to be connected through a menu component. And can jump over each other.
The current front-end frame routing system in the related technology only supports the routing jump of the system and can not jump to the pages in other single-page systems.
Aiming at the problem that a plurality of single-page systems cannot jump in the related art, no effective solution is proposed at present.
Disclosure of Invention
The application mainly aims to provide a page data processing method and device, which are used for solving the problem that a plurality of single page systems cannot jump.
To achieve the above object, according to one aspect of the present application, there is provided a page data processing method including: 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 pages of a plurality 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 the 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.
Further, 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 the 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; if the current page and the target page are inconsistent, 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: the same navigation menu is imported 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 the configuration file.
Further, the method further comprises: when the jump instruction is received, under the condition that the current single-page system has an association relationship with a database of the single-page system to which the target page belongs, acquiring identification information of target data in the current page currently stored in the cookie; 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 the 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 an ID of the case.
In order to achieve the above object, according to another aspect of the present application, there is also provided a page data processing apparatus including: the receiving unit is used for receiving a jump instruction sent by a user 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 pages of a plurality of single-page systems, 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 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.
Further, the apparatus further comprises: the importing unit is used for importing the same navigation menu into the page of each single-page system to be integrated before receiving the 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 application, there is also provided a storage medium including a stored program, wherein the program, when run, controls a device in which the storage medium is located to execute the page data processing method of the present application.
In order to achieve the above object, according to another aspect of the present application, there is also provided a processor for running a program, wherein the program runs while executing the page data processing method of the present application.
The application receives a jump instruction sent by a user 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 pages of a plurality 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 the 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; according to the address of the target page, the server is requested to jump to the target page, the problem that a plurality of single page systems cannot jump is solved, and the effect of jumping among the plurality of single page systems is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application. In the drawings:
FIG. 1 is a flow chart of a page data processing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a navigation menu according to an embodiment of the application; and
fig. 3 is a schematic diagram of a page data processing apparatus according to an embodiment of the present application.
Detailed Description
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other. The application will be described in detail below with reference to the drawings in connection with embodiments.
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application 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 application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application 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 in order to describe the embodiments of the application 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.
For convenience of description, several terms related to the embodiments of the present application are described below:
single page: a single page Web application (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 will initially load the necessary HTML, CSS and JavaScript, all of which are done on this page, all controlled by JavaScript.
Front-end routing: for the user, the route is the correspondence between url in the browser address bar and the web page. And for web developers, the route is more like url to processing function correspondence. According to the traditional service end route, different webpage contents are returned according to different websites requested by the client, so that the server pressure is increased, and the response is slower and the user experience is reduced after re-requesting each time. Thus, single page applications (spa, single page application) have evolved. In the course of url address change, the switch between different UIs (js operation on DOM) is realized through js, and the page is not re-requested from the server, and only the data is requested from the server through ajax, so that the refreshing-free instant response is a better experience for the user. Wherein, different UI is displayed according to the change of url address bar, which is realized by front-end route. The front end framework supporting single page application of the current mainstream basically has a matched or third party routing system.
Vue: vue.js is a popular JavaScript front-end framework aimed at better organizing and simplifying Web development. The core of interest for Vue is the view layer in MVC mode, which can also conveniently obtain data updates and realize view-to-model interaction through specific methods inside the component.
Vue Router: a route manager of the vue.js official.
The embodiment of the application provides a page data processing method.
FIG. 1 is a flow chart of a page data processing method according to an embodiment of the present application, as shown in FIG. 1, the method includes the steps of:
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 pages of a plurality 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 the 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 embodiment adopts 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 pages of a plurality 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 the 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 server is requested to jump to the target page according to the address of the target page, so that the problem that a 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 application, the jump instruction can be an instruction sent by a user by clicking a trigger mark of a target page in a page navigation menu, the page corresponding to the trigger mark is the target page, the navigation menu is provided with a plurality of pages of single-page systems, each single-page system comprises a plurality of pages, the plurality of pages can be completely hidden or can be completely displayed, whether the current page and the target page belong to the same page in the single-page system can be judged according to the jump instruction, if the current page and the target page do 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 spliced by 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 obtained in an address column. The jump between different single page systems can be achieved by navigating the menu and the address of the target page.
Optionally, 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 the 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; if the current page and the target page are inconsistent, 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 webpage in the same single-page system, judging whether the system address of the current webpage is consistent with the system address of the target webpage, if so, the current webpage and the target webpage belong to the same single-page system, and if not, the current webpage and the target webpage do not belong to the same single-page system.
Optionally, before receiving the jump instruction, 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.
When integrating a plurality of single-page systems, the same navigation menu can be imported into 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 into a configuration file for later calling.
Optionally, when receiving the jump instruction, acquiring the identification information of the target data in the current page currently stored in the cookie under the condition that the current single-page system has an association relationship with the 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 application can also realize data transmission among a plurality of single page systems, in an optional application scene, a user is browsing information of a certain case on a sub-page of an A system, at the moment, the user wants to view related information of the case in a B system, and can directly click the sub-page of the B system to jump to the B system, the page of the B system is displayed with the information related to the case, and the background process is as follows: if databases of two single-page systems in two pages have association relation, for example, the databases contain case information, when a user browses cases in an A page, the information such as ID and the like representing the cases is stored in a cookie, when the user clicks a jump trigger mark, a navigation menu system extracts the case ID from the cookie and splices the case ID into a URL of the A page, a navigation menu extracts the case ID from the URL of the A page and sends the case ID to a server of a B page, and the server of the B page sends the information corresponding to the cases and displays the information corresponding to the cases in the B page, so that data transmission among different single-page systems can be realized.
Alternatively, the single page system may be a single page system for managing cases, such as a case-setting management system, a case management system, a work management system, etc., the target data may be case data, and the identification information may be an ID, a number, etc. of the case.
The embodiment of the application also provides a preferred implementation mode.
Step1, each single-page system imports the same navigation menu, and each address under the navigation menu is a page, but the plurality of 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 various systems and routing addresses of pages.
FIG. 2 is a schematic diagram of a navigation menu according to an embodiment of the present application, as shown in FIG. 2, each row of names displayed on a menu bar is a single-page system, and clicking an arrow on the right of the names can display a sub-page of the single-page system, clicking a specific sub-page can display the content of the page, and when the system jumps in the system, many contents on the page need not to be reloaded, only need to be loaded with modified parts, 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:
{
name 'online reservation proposal',/route display Name
url: window. ECourtApp. Configs. NavUrls. Window case,// current System Address
route: '/windows case/createcaseonelinepplutype = 2'// page routing address
class:’icon-weijieanjian’//icon-font
}
Step2, after receiving the jump instruction, comparing the address (current page) on the address bar with the system address (target page) in the configuration file to see whether the system 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. Locations))/(determine whether the page to be skipped is in the current subsystem, compared to the address on the current address bar
Step3, if the current page and the target page are the same single page system, the current single page system routes itself, if the current single page system is the page of other systems, the address and the route of the jump system are taken from the configuration, and the jump is carried out to the other systems through a window.
The reference codes are as follows:
the technical scheme of the embodiment of the application can realize the skip and data transmission among a plurality of single pages, and the change to the current system is minimal.
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 other than that illustrated herein.
The embodiment of the application provides a page data processing device which can be used for executing the page data processing method of the embodiment of the application.
FIG. 3 is a schematic diagram of a page data processing apparatus according to an embodiment of the present application, as shown in FIG. 3, the apparatus includes:
a receiving unit 10, configured to receive a jump instruction sent by a user to jump from a current page to a target page, where the jump instruction is triggered by clicking a page trigger identifier in a navigation menu, where the navigation menu includes pages of a plurality of single-page systems, and each single-page system includes a plurality of pages;
a judging unit 20, 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;
a splicing unit 40, configured to splice the system address of the target page and the page address of the target page into the address of the target page;
a request unit 50, configured to request 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 mark in a navigation menu, the navigation menu comprises pages of a plurality of single-page systems, and each single-page system comprises a plurality of pages; a judging unit 20, 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; a splicing unit 40, configured to splice the system address of the target page and the page address of the target page into the 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, thereby solving the problem that the jump between the plurality of single page systems is impossible, and further achieving the effect of being able to jump between the plurality of single page systems.
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 importing unit is used for importing the same navigation menu into the page of each single-page system to be integrated before receiving the 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 all stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel may be provided with one or more kernel parameters that are adjusted to enable jumping between multiple single page systems.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
The embodiment of the application provides a storage medium on which a program is stored, which when executed by a processor, implements the page data processing method.
The embodiment of the application 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 application provides equipment, which comprises a processor, a memory and a program stored in the memory and capable of running on the processor, wherein the processor realizes the following steps when executing the program: 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 pages of a plurality 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 the 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, PC, PAD, cell phone, etc.
The application also provides a computer program product adapted to perform, when executed on a data processing device, a program initialized with the method steps of: 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 pages of a plurality 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 the 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.
It will be appreciated by those skilled in the art that 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. 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 storage media for a computer 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, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
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 one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
It will be appreciated by those skilled in the art that 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 foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (8)

1. A method for processing page data, comprising:
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 pages of a plurality 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;
the method for judging whether the current page and the target page belong to the same single page system comprises the following steps: 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; 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; if the current page and the target page are inconsistent, judging that the current page and the target page do not belong to the same single page system;
if the target page does not belong to the same single page system, acquiring the 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.
2. The method of claim 1, wherein prior to receiving the jump instruction, the method further comprises:
the same navigation menu is imported 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.
3. The method according to claim 1, wherein the method further comprises:
when the jump instruction is received, under the condition that the current single-page system has an association relationship with a database of the single-page system to which the target page belongs, acquiring identification information of target data in the current page currently stored in the cookie;
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 the 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.
4. The method of claim 3, 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 the case.
5. A page data processing apparatus, comprising:
the receiving unit is used for receiving a jump instruction sent by a user 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 pages of a plurality of single-page systems, 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;
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 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 also 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;
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.
6. The apparatus of claim 5, wherein the apparatus further comprises:
the importing unit is used for importing the same navigation menu into the page of each single-page system to be integrated before receiving the 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.
7. A storage medium comprising a stored program, wherein the program, when run, controls a device in which the storage medium is located to perform the page data processing method of any one of claims 1 to 4.
8. A processor for running a program, wherein the program runs on performing the page data processing method of any one of claims 1 to 4.
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 CN110968824A (en) 2020-04-07
CN110968824B true 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)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
CN113296856B (en) * 2020-07-13 2022-09-02 阿里巴巴集团控股有限公司 Page jump and route configuration method, equipment, system and storage medium
CN112256562B (en) * 2020-09-22 2024-10-01 北京达佳互联信息技术有限公司 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
JP7278700B2 (en) * 2021-03-30 2023-05-22 川崎重工業株式会社 Communications system
CN113704647B (en) * 2021-08-11 2025-10-03 青岛海尔科技有限公司 Method, device and electronic device for jumping to multiple types of pages
CN113868689B (en) * 2021-12-02 2022-03-01 飞狐信息技术(天津)有限公司 Application method and device of background system
CN114553477B (en) * 2022-01-12 2024-03-22 青岛海尔科技有限公司 Page jump method, device, equipment and storage medium
CN114385124B (en) * 2022-01-17 2025-04-08 中国农业银行股份有限公司 Independent page jump method, device and equipment based on Vue framework
CN114490126A (en) * 2022-01-19 2022-05-13 北京百度网讯科技有限公司 Page processing method, apparatus, electronic device and storage medium
CN114924674B (en) * 2022-06-11 2024-05-31 内蒙古奇略信息技术有限公司 Multi-region column navigation interaction method, device and medium
CN115202538B (en) * 2022-08-26 2024-02-06 广东拓斯达科技股份有限公司 Menu configuration method and device, electronic equipment and storage medium

Citations (10)

* 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
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
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 广州视睿电子科技有限公司 Page jump method, 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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090119620A1 (en) * 2007-11-06 2009-05-07 Ashish Jain Method and Apparatus for Hardware Controlled Intelligent Web Content Navigation System
US10055308B2 (en) * 2015-08-17 2018-08-21 Sap Portals Israel Ltd. System and method of data loss prevention

Patent Citations (11)

* 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
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
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 广州视睿电子科技有限公司 Page jump method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110968824A (en) 2020-04-07

Similar Documents

Publication Publication Date Title
CN110968824B (en) Page data processing method and device
US9224151B2 (en) Presenting advertisements based on web-page interaction
CN101782911B (en) A kind of prompting network resource content method and system
CN110069683B (en) Method and device for crawling data based on browser
CN106484383A (en) page rendering method, device and equipment
US20120216109A1 (en) Analyzing an interaction history to generate a customized webpage
CN106598972A (en) Information display method and device as well as intelligent terminal
US8850358B2 (en) System and method for keyboard navigation in a search results page
CN105824830B (en) Method, client and equipment for displaying page
CN108829809B (en) Information display method, terminal equipment and network equipment thereof
CN111651703A (en) Page jump method and device, electronic equipment and readable storage medium
EP3249554A1 (en) Systems and methods for client-side dynamic information resource activation and deactivation
US20210105314A1 (en) Associating browser with application
CN113076294B (en) Information sharing method and device
CN104423991A (en) Webpage loading and webpage data providing method and device of mobile terminal
CN110968813A (en) Index page display method and device
HK1205572A1 (en) Method for page navigation and device thereof
CN106886547A (en) A kind of scenario generation method and device
CN114329281A (en) Rendering server, web page rendering method and device
CN110321510A (en) Page rendering method and system
CN108664191B (en) System access method and device
CN109522473B (en) Method for recommending associated information, terminal and server thereof
CN104899217A (en) Method and apparatus for implementing customized function
CN104704495B (en) Method and device for information search
CN102780730A (en) Method and system for integrating web applications and mashup server

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