A page jump data processing method and device, and a computer device
By converting business data into relay numbers and storing them on relay devices, the generated relay numbers are independent of the business data and have a fixed concatenation address length. This solves the browser's limitation on the length of Uniform Resource Locators (URLs), enabling stable transmission of extremely large amounts of business data and improving transmission efficiency.
Patent Information
- Application Number
- CN202310233145.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-06
- Publication Date
- 2025-12-23
- Estimated Expiration
- 2043-03-06
AI Technical Summary
When a browser/server architecture redirects to a third-party system's front-end page, it cannot transmit extremely large amounts of business data due to different browser limitations on the length of Uniform Resource Locators (URLs).
Business data is converted into relay numbers, stored and generated through relay devices, and used when concatenating addresses to instruct relay devices to retrieve business data. The length of the relay number is less than the length threshold and its relevance to the business data meets preset conditions to avoid browser length limitations.
It has achieved stable transmission of extremely large amounts of business data under different browser conditions, improved transmission efficiency, and met the needs of large business data volumes.
Smart Images

Figure CN116304405B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of big data, and in particular, to a page jump data processing method and device and a computer device. BACKGROUND
[0002] A browser / server structure concentrates the core part of system function implementation on a server, and only a browser is installed on a client. When a business system of the browser / server structure jumps to a front-end page of a third-party system, business data may need to be transmitted, and a string can be spliced after a uniform resource locator of a jump page.
[0003] In related technologies, when transmitting business data, the number of transmitted business data items is reduced. Different browsers have different uniform resource locator length limits. Uniform resource locators of the same length can normally complete data transmission on some browsers, but may prompt an error on other browsers. Therefore, it is impossible to transmit large amounts of business data. SUMMARY
[0004] Therefore, it is necessary to provide a page jump data processing method for the above technical problems. The method can convert business data into a relay number, and the length of a spliced address obtained is irrelevant to the content of the business data, and can not be limited by the browser address length.
[0005] In a first aspect, the present application provides a page jump data processing method. The method comprises:
[0006] receiving a page jump request, wherein the page jump request comprises jumping from a first page to a second page of a second business system;
[0007] obtaining business data to be transmitted and an address of the second page, transmitting the business data to a relay device for storage, obtaining a relay number returned by the relay device, and the relay number representing a storage address of the business data in the relay device;
[0008] splicing the address of the second page and the relay number to obtain a spliced address;
[0009] performing page jump according to the spliced address, wherein the spliced address is used to instruct the second business system to obtain corresponding business data from the relay device according to the relay number in the spliced address, and load the second page.
[0010] In one embodiment, the length of the relay number is less than a set length threshold, and the correlation of the relay number and the business data meets a preset condition.
[0011] In one of the embodiments, the length threshold of the relay number is less than or equal to 12 characters.
[0012] In one of the embodiments, the relay number comprises a randomly generated string of a preset length.
[0013] In one of the embodiments, the splicing of the address of the second page and the relay number comprises splicing the relay number to the tail of the address of the second page.
[0014] In a second aspect, the application further provides a page jump data processing method, which comprises:
[0015] receiving a spliced address sent by a first business system, the spliced address being obtained by splicing a relay number returned by a relay device and an address of a second page, wherein the relay number is used to indicate a storage address of business data in the relay device, and the business data is transmitted to the relay device by the first business system in response to a page jump request from a first page to the second page;
[0016] obtaining the relay number in the spliced address, and sending the relay number to the relay device to instruct the relay device to obtain corresponding business data according to the relay number;
[0017] receiving the business data returned by the relay device, and loading the second page according to the business data.
[0018] In one of the embodiments, the length of the relay number is less than a set length threshold, and the relevance of the relay number to the business data meets a preset condition.
[0019] In a third aspect, the application further provides a page jump data processing method, which comprises:
[0020] receiving business data to be transmitted sent by a first business system, storing the business data to be transmitted, and generating a relay number of the business data to be transmitted;
[0021] sending the relay number to the first business system, wherein the relay number is used by the first business system to splice the address of the second page and the relay number to obtain a spliced address, and the second page is a page of a second business system to which the first business system jumps from a first page;
[0022] receiving a relay number sent by a second business system, and obtaining corresponding business data according to the relay number sent by the second business system;
[0023] send the corresponding service data to the second service system to instruct the second service system to load the second page according to the service data.
[0024] In one of the embodiments, the length of the relay number is less than a set length threshold, and the relevance of the relay number to the service data meets a preset condition.
[0025] In a fourth aspect, the present application further provides a page jump data processing device, which comprises:
[0026] The request receiving module is configured to receive a page jump request, the page jump request comprising a jump from a first page to a second page;
[0027] The data sending module is configured to acquire service data of the first page and an address of the second page, transmit the service data to a relay device, acquire a relay number returned by the relay device, splice the address of the second page with the relay number to obtain a spliced address.
[0028] The jump module is configured to perform a page jump according to the spliced address to instruct a target terminal to acquire service data from the relay device according to the relay number for loading of the second page.
[0029] In one of the embodiments, the length of the relay number is less than a set length threshold, and the relevance of the relay number to the service data meets a preset condition.
[0030] In one of the embodiments, the length threshold of the relay number is less than or equal to 12 characters.
[0031] In one of the embodiments, the relay number comprises a randomly generated string of a preset length.
[0032] In one of the embodiments, the splicing of the address of the second page with the relay number comprises:
[0033] Splicing the relay number to the tail of the address of the second page.
[0034] In a fifth aspect, the present application further provides a page jump data processing device, which comprises:
[0035] The address request module is configured to receive a spliced address sent by a first service system, the spliced address comprising service data to be transmitted by the first service system to a relay device in response to a page jump request of a jump from a first page to a second page, the spliced address being obtained by splicing a relay number returned by the relay device with an address of the second page, the relay number representing a storage address of the service data in the relay device;
[0036] The number sending module is configured to acquire a relay number in the spliced address, and send the relay number to a relay device to instruct the relay device to acquire corresponding service data according to the relay number.
[0037] The data receiving module is configured to receive service data returned by the relay device, and perform second page loading according to the service data.
[0038] In one of the embodiments, the length of the relay number is less than a set length threshold, and the relevance of the relay number to the service data meets a preset condition.
[0039] In a sixth aspect, the present application further provides a page jump data processing device, which comprises:
[0040] The number generating module is configured to receive service data to be transmitted sent by a first service system, store the service data to be transmitted, and generate a relay number of the service data to be transmitted.
[0041] The address splicing module is configured to send the relay number to the first service system, and the relay number is used by the first service system to splice an address of a second page with the relay number to obtain a spliced address, the second page being a page of a second service system jumped to from a first page by the first service system.
[0042] The data acquiring module is configured to receive a relay number sent by the second service system, and acquire corresponding service data according to the relay number sent by the second service system.
[0043] The instructing module is configured to send the corresponding service data to the second service system to instruct the second service system to load the second page according to the service data.
[0044] In one of the embodiments, the length of the relay number is less than a set length threshold, and the relevance of the relay number to the service data meets a preset condition.
[0045] In a seventh aspect, the present application further provides a computer device. The computer device comprises a memory and a processor, the memory stores a computer program, and the processor implements steps of a page jump data processing method when executing the computer program.
[0046] In an eighth aspect, the present application further provides a computer readable storage medium. The computer readable storage medium stores a computer program, and the computer program implements steps of a page jump data processing method when executed by a processor.
[0047] In a ninth aspect, the present disclosure further provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of the page jump data processing method.
[0048] In a tenth aspect, the present disclosure further provides a page jump data processing system comprising a first business system, a second business system, and a relay device.
[0049] The page jump data processing method described above has at least the following beneficial effects:
[0050] The embodiment provided by the present disclosure can send business data to the relay device, obtain a returned relay number, and the length of the relay number meets a length threshold, and the relevance of the relay number and the business data meets a preset condition. The length of the spliced URL can not change due to different business data, and the difference between different browsers can be ignored for page jump. The embodiment can meet the business data transmission requirement of large amount of business data, and improve the transmission efficiency.
[0051] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and are not limiting to the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the drawings needed to be used in the embodiment or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative labor.
[0053] Figure 1 An application environment diagram of the page jump data processing method in an embodiment;
[0054] Figure 2 A flowchart of the page jump data processing method in an embodiment;
[0055] Figure 3 A flowchart of the page jump data processing method in an embodiment;
[0056] Figure 4 A flowchart of the page jump data processing method in an embodiment;
[0057] Figure 5 A structural block diagram of the page jump data processing device in an embodiment;
[0058] Figure 6 A structural block diagram of the page jump data processing device in an embodiment;
[0059] Figure 7 FIG. 1 is a structural block diagram of a page jump data processing apparatus in one embodiment;
[0060] Figure 8 FIG. 2 is an internal structural diagram of a computer device in one embodiment;
[0061] Figure 9 FIG. 3 is an internal structural diagram of a server in one embodiment. DETAILED DESCRIPTION
[0062] In order to make the ordinary person skilled in the art better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be described clearly and completely below in conjunction with the drawings. The acquisition, storage, use, processing, etc. of data in the technical solutions of the present application all conform to the relevant provisions of national laws and regulations.
[0063] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The implementation described in the following exemplary embodiments does not represent all implementations consistent with the present disclosure. Rather, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims. The terms "include", "contain" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, product or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, product or device. Without more limitations, it does not exclude the presence of other same or equivalent elements in the process, method, product or device including the described elements. For example, if the words first, second, etc. are used to represent names, they do not represent any particular order.
[0064] The embodiments of the present disclosure provide a page jump data processing method, which can be applied to, for example Figure 1In the application environment shown, the first business system 102 can be a B / S business system, which can be a browser or server architecture. The second business system 104 can be a B / S business system with different business functions than the first business system. The first and second business systems are usually business systems from different business parties. The first business system 102 may include a first page, and the second business system 104 may include a second page. The first business system 102 can respond to redirection requests and implement the function of redirecting to the second page of the second business system 104. The relay device 106 can be a transmission path between two switching centers, commonly used for bidirectional forwarding of physical signals between two network nodes, and can perform data storage and transmission functions.
[0065] In some embodiments of this disclosure, such as Figure 2 As shown, a method for processing page redirection data is provided, which can be applied to... Figure 1 The following example illustrates the process of a first business system handling the business data to be transmitted. In some business scenarios, the first business system may be a business system providing function A. Responding to a page request, users can be redirected from the first business system's page to the second business system's page. The second business system may be a business system providing function B. The first and second business systems may be independent systems from different vendors. In one specific embodiment, the method may include the following steps:
[0066] S202: Receive a page redirection request, the page redirection request including redirection from the first page to the second page of the second business system.
[0067] The first page can be the page of the first business system that initiates the page request and requires page redirection. The page of the second business system to which the user needs to redirect can be called the second page. The business system displaying the first page on the user's terminal can be called the first business system, and the business system displaying the second page can be called the second business system. In some implementation scenarios of the method, the first business system and the second business system are usually business system servers of different business parties. For example, the first business system is business system A, which provides home appliances, and the second business system can be business system B, which provides mobile phone products. The page response triggered when the user browses home appliances using the APP on the mobile terminal is handled by business system A. When the user uses the APP, they can trigger a redirection to business system B to view the mobile phone products provided by the second business system. At this time, business system B can respond to the page redirection request, obtain relevant business data from the relay device, and perform subsequent page initialization and other processing. Afterward, the second page displaying the mobile phone products can be displayed on the user's mobile terminal.
[0068] It can be understood that in some application scenarios, the first business system and the second business system can be different business system devices of the same server or server cluster, for example, the first business system receives a page jump request, and can jump from a first page of the first business system to a second page of the second business system.
[0069] S204: Obtain the business data to be transmitted and the address of the second page, transmit the business data to the relay device for storage, and obtain the relay number returned by the relay device, which represents the storage address of the business data in the relay device.
[0070] The business data to be transmitted can be data on the first page or data that needs to be transmitted and can be displayed on the second page through page jump. The address of the second page can be used to locate the second page. The business data can be stored in the relay device, and the relay device outputs the relay number corresponding to the business data. The relay number can represent the storage address of the business data in the relay device. In some embodiments of the present disclosure, the relay device can be used as a storage device, and the relay device includes a plurality of storage units. The storage address can be represented as the number of the storage unit. The business data is stored in the relay device, and the generated relay number is irrelevant to the business data. Therefore, the maximum data amount of 512M can be transmitted under different browser conditions, and the transmission demand of super large data amount can be met.
[0071] S206: Concatenate the address of the second page and the relay number to obtain a concatenated address.
[0072] The concatenated address can be obtained by concatenating the address of the second page and the relay number. The address of the second page can be used to locate the second page, and the relay number can be used to obtain the business data from the relay device. The relay number generated by the relay device is irrelevant to the business data. Therefore, the length of the relay number is irrelevant to the amount of business data, and the length of the concatenated address will not change due to different data amounts. It can not be necessary to reduce the amount of transmitted business data to avoid error prompts caused by different length limits of different versions of browsers.
[0073] S208: Perform page jump according to the concatenated address, wherein the concatenated address is used to instruct the second business system to obtain corresponding business data from the relay device according to the relay number in the concatenated address, and load the second page.
[0074] The second business system can obtain the relay number from the concatenated address and send the relay number to the relay device to instruct the relay device to obtain corresponding business data according to the relay number, and the second page can be loaded according to the business data.
[0075] In the page jump data processing method, the business data can be converted into a relay number, spliced with the second page address to obtain a spliced address, the length of the spliced address can not change due to different business data, and is not limited by different browsers, and can meet the transmission demand of large data volume.
[0076] In some embodiments of the present disclosure, the length of the relay number is less than a set length threshold, and the relevance of the relay number to the business data meets a preset condition.
[0077] Different browsers have different length limits for the address, and the length threshold can be set as the shortest length that can be received by the browser, so that the spliced address can be applied to multiple browsers. The length of the input address is limited by the browser, and when the maximum length is exceeded, the address will be truncated, which may cause the browser to report an error and fail to jump to the page. The length threshold can ignore the differences between browsers. The relay number can be used to represent the storage address of the business data in the relay device, and the length of the relay number will not change due to different business data. Therefore, the length of the spliced address can also not change, and the relevance of the relay number to the business data meets a preset condition.
[0078] In some embodiments of the present disclosure, the length threshold of the relay number is less than or equal to 12 characters.
[0079] The characters can include numbers, letters, symbols, the relay number can be spliced with the second page address to obtain a spliced address, and the length threshold of the relay number can be less than or equal to 12 characters, which meets the length limit of a general browser and can be applied to different browsers.
[0080] In some embodiments of the present disclosure, the relay number includes a randomly generated string of a preset length.
[0081] Generally, the spliced address is composed of the address of the second page and a string, and the string is related to the business data. The larger the amount of business data is, the longer the length of the string is. In some embodiments of the present disclosure, the relay number can represent the storage address of the business data in the relay device, and the relay device includes a plurality of storage units. Therefore, the relay number can be randomly generated and is not related to the amount of business data. The relay number can be a randomly generated string of a preset length, which is not limited by the browser and can transmit a data volume of 512M under different browser conditions.
[0082] In some embodiments of the present disclosure, splicing the address of the second page with the relay number includes splicing the relay number to the tail of the address of the second page.
[0083] The relay number is spliced to the tail of the address of the second page, the relay number can be obtained from the spliced address, and data processing speed can be improved.
[0084] The above embodiment describes a page jump data processing method from the first business system side. Based on the foregoing description and the innovative idea of the present disclosure, the present disclosure further provides a page jump data processing method from the second business system side. As shown in Figure 3 Figure 3 is a flowchart of a page jump data processing method according to an example embodiment. Specifically, the method can be applied to the foregoing second business system and can include the following steps.
[0085] S302: receiving a spliced address sent by a first business system, the spliced address including page jump data transmitted by the first business system in response to a page jump request from a first page to a second page, the page jump data being spliced from a relay number returned by a relay device and an address of the second page, the relay number representing a storage address of the page jump data in the relay device;
[0086] obtaining the relay number in the spliced address, and sending the relay number to the relay device to instruct the relay device to obtain corresponding page jump data according to the relay number;
[0087] S304: receiving page jump data returned by the relay device, and loading the second page according to the page jump data.
[0088] In some embodiments of the present disclosure, the length of the relay number is less than a set length threshold, and the correlation of the relay number and the page jump data meets a preset condition.
[0089] Based on the foregoing description and the innovative idea of the present disclosure, the present disclosure further provides a page jump data processing method from the relay device side. As shown in Figure 4 Figure 4 is a flowchart of a page jump data processing method according to an example embodiment. Specifically, the method can be applied to the foregoing relay device and can include the following steps.
[0090] S402: receiving page jump data to be transmitted sent by a first business system, storing the page jump data to be transmitted, and generating a relay number of the page jump data to be transmitted;
[0091] S404: sending the relay number to the first business system, the relay number being used by the first business system to splice an address of the second page with the relay number to obtain a spliced address, the second page being a page of a second business system jumped to from a first page by the first business system;
[0092] S406: receiving the relay number sent by the second service system, and obtaining the corresponding service data according to the relay number sent by the second service system;
[0093] S408: sending the corresponding service data to the second service system, so as to instruct the second service system to load the second page according to the service data.
[0094] In some embodiments of the present disclosure, the length of the relay number is less than a set length threshold, and the correlation between the relay number and the service data meets a preset condition.
[0095] It should be understood that, although each step in the flowchart involved in each embodiment as described above is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other sequences. Moreover, at least part of the steps in the flowchart involved in each embodiment as described above can include multiple steps or stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or stages in other steps.
[0096] Based on the same inventive concept, the present disclosure also provides a page jump data processing apparatus for implementing the above-mentioned page jump data processing method. The problem-solving implementation scheme of the apparatus is similar to that described in the above-mentioned method, and therefore the specific limitations in the following page jump apparatus embodiments can refer to the limitations of the page jump data processing method described above, which will not be repeated here.
[0097] The apparatus can include a system (including a distributed system), software (application), module, component, server, client, etc. using the method described in the embodiments of the present disclosure, and an apparatus combined with necessary implementation hardware. Based on the same innovative concept, the apparatus in one or more embodiments provided by the present disclosure is described in the following embodiments. Since the problem-solving implementation scheme of the apparatus is similar to that of the method, the specific implementation of the apparatus in the embodiments of the present disclosure can refer to the implementation of the foregoing method, and the repeated parts will not be repeated. The term "unit" or "module" used below can be a combination of software and / or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, the implementation of hardware or a combination of software and hardware is also possible and is conceived.
[0098] In one embodiment, as Figure 5As shown, a page jump data processing apparatus 500 is provided, which can be a server or a module, component, device, unit, etc. integrated in the server. The apparatus 500 can include:
[0099] A request receiving module 502 is configured to receive a page jump request, wherein the page jump request comprises a jump from a first page to a second page;
[0100] A data sending module 504 is configured to acquire service data of the first page and an address of the second page, transmit the service data to a relay device, acquire a relay number returned by the relay device, splice the address of the second page and the relay number to obtain a spliced address;
[0101] A jump module 506 is configured to perform page jump according to the spliced address, so as to instruct a target terminal to acquire service data from the relay device according to the relay number for loading of the second page.
[0102] In one embodiment, the length of the relay number is less than a set length threshold, and the correlation between the relay number and the service data meets a preset condition.
[0103] In one embodiment, the length threshold of the relay number is less than or equal to 12 characters.
[0104] In one embodiment, the relay number comprises a randomly generated string of a preset length.
[0105] In one embodiment, splicing the address of the second page and the relay number comprises splicing the relay number to the tail of the address of the second page.
[0106] Figure 6 A page jump data processing apparatus diagram according to an exemplary embodiment is shown. The apparatus 600 includes:
[0107] An address request module 602 is configured to receive a spliced address sent by a first service system, wherein the spliced address is obtained by splicing a relay number returned by a relay device and an address of a second page, and the relay number is used to represent a storage address of service data in the relay device, and the first service system transmits the service data to be transmitted to the relay device in response to a page jump request from a first page to the second page;
[0108] A number sending module 604 is configured to acquire the relay number in the spliced address, and send the relay number to the relay device, so as to instruct the relay device to acquire corresponding service data according to the relay number.
[0109] The data receiving module 606 is configured to receive the service data returned by the relay device, and perform second page loading according to the service data.
[0110] In one embodiment, the length of the relay number is less than a set length threshold, and the correlation between the relay number and the service data meets a preset condition.
[0111] Figure 7 is a page jump data processing device block diagram according to an exemplary embodiment. The device 700 comprises:
[0112] The number generating module 702 is configured to receive the to-be-transferred service data sent by a first service system, store the to-be-transferred service data, and generate a relay number of the to-be-transferred service data.
[0113] The address splicing module 704 is configured to send the relay number to the first service system, wherein the relay number is used by the first service system to splice the address of the second page with the relay number to obtain a spliced address, and the second page is a page of a second service system to which the first service system jumps from a first page.
[0114] The data obtaining module 706 is configured to receive the relay number sent by the second service system, and obtain corresponding service data according to the relay number sent by the second service system.
[0115] The indication module 708 is configured to send the corresponding service data to the second service system, so as to instruct the second service system to load the second page according to the service data.
[0116] In one embodiment, the length of the relay number is less than a set length threshold, and the correlation between the relay number and the service data meets a preset condition.
[0117] As to the device in the above embodiments, the specific manners in which various modules perform operations have been described in detail in the embodiments of the method, and will not be described here in detail.
[0118] The various modules in the above page jump device can be realized by software, hardware, and combinations thereof, in whole or in part. The various modules can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a memory in a computer device in software form, so as to be called and executed by a processor to perform the operations corresponding to the various modules.
[0119] In one embodiment, a computer device is provided, which can be a server, and an internal structure diagram of the computer device can be as shown in Figure 8As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores business data. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a page-jumping data processing method.
[0120] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 9 As shown, the computer device includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements page navigation data processing methods. The display screen can be an LCD screen or an e-ink display screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad located on the computer device's casing, or an external keyboard, touchpad, or mouse.
[0121] Those skilled in the art will understand that Figure 8 , Figure 9 The structure shown is merely a block diagram of a portion of the structure related to the present disclosure and does not constitute a limitation on the computer device to which the present disclosure is applied. A specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0122] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the methods described in any embodiment of this disclosure.
[0123] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the methods described in any embodiment of this disclosure.
[0124] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, databases or other media used in the embodiments provided by the present disclosure can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided by the present disclosure can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided by the present disclosure can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.
[0125] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist, it should be considered as the scope of the present disclosure.
[0126] The above-described embodiments only express several implementation manners of the present disclosure, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present disclosure. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present disclosure, a number of modifications and improvements can be made, which are within the scope of protection of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the appended claims.
Claims
1. A method for processing page redirection data, characterized in that, The method is applied to a first business system, which establishes a data transmission path with a second business system via a relay device. The first and second business systems are B / S (Browser / Server) business systems with different business functions. The method includes: Receive a page redirection request, the page redirection request including redirection from the first page to the second page of the second business system; Obtain the business data to be transmitted and the address of the second page, transmit the business data to the relay device for storage, obtain the relay number returned by the relay device, and the relay number represents the storage address of the business data on the relay device; The address of the second page is concatenated with the relay number to obtain the concatenated address; Page redirection is performed based on the concatenated address, wherein the concatenated address is used to instruct the second business system to obtain the corresponding business data from the relay device according to the relay number in the concatenated address, and to load the second page.
2. The method according to claim 1, characterized in that, The length of the relay number is less than the set length threshold, and the correlation between the relay number and the service data meets the preset conditions.
3. The method according to claim 2, characterized in that, The length threshold of the relay number is less than or equal to 12 characters.
4. The method according to claim 2, characterized in that, The relay number includes a randomly generated string of a preset length.
5. The method according to claim 1, characterized in that, Concatenating the address of the second page with the relay number includes: The relay number is appended to the end of the address of the second page.
6. A method for processing page redirection data, characterized in that, The method is applied to a second business system, which establishes a data transmission path with the first business system via a relay device. The first and second business systems are B / S (Browser / Server) business systems with different business functions. The method includes: The system receives a concatenated address sent by the first business system. The concatenated address includes the data of the business data to be transmitted to the relay device in response to the page jump request from the first page to the second page. The data is obtained by concatenating the relay number returned by the relay device with the address of the second page. The relay number represents the storage address of the business data in the relay device. Obtain the relay number from the spliced address, and send the relay number to the relay device to instruct the relay device to obtain the corresponding service data based on the relay number; Receive service data returned by the relay device, and load the second page based on the service data.
7. The method according to claim 6, characterized in that, The length of the relay number is less than the set length threshold, and the correlation between the relay number and the service data meets the preset conditions.
8. A method for processing page redirection data, characterized in that, The method is applied to relay equipment, which is used to establish a transmission path for service data between a first service system and a second service system, wherein the first service system and the second service system are B / S service systems with different service functions. The method includes: Receive the business data to be transmitted sent by the first business system, store the business data to be transmitted, and generate the relay number of the business data to be transmitted; The relay number is sent to the first business system. The relay number is used by the first business system to concatenate the address of the second page with the relay number to obtain the concatenated address. The second page is the page of the second business system that the first business system jumps to from the first page. Receive the relay number sent by the second business system, and obtain the corresponding business data based on the relay number sent by the second business system; The corresponding business data is sent to the second business system to instruct the second business system to load the second page based on the business data.
9. The method according to claim 8, characterized in that, The length of the relay number is less than the set length threshold, and the correlation between the relay number and the service data meets the preset conditions.
10. A page redirection data processing device, characterized in that, The device is applied to a first business system, which establishes a data transmission path with a second business system via a relay device. The first and second business systems are B / S business systems with different business functions. The device includes: A request receiving module is used to receive page redirection requests, wherein the page redirection requests include redirection from the first page to the second page of the second business system; The data sending module is used to obtain the business data of the first page and the address of the second page, transmit the business data to the relay device, obtain the relay number returned by the relay device, and concatenate the address of the second page with the relay number to obtain the concatenated address. The redirection module is used to redirect pages based on the concatenated address, wherein the concatenated address is used to instruct the second business system to obtain the corresponding business data from the relay device based on the relay number in the concatenated address and load the second page.
11. The apparatus according to claim 10, characterized in that, The length of the relay number is less than the set length threshold, and the correlation between the relay number and the service data meets the preset conditions.
12. The apparatus according to claim 11, characterized in that, The length threshold of the relay number is less than or equal to 12 characters.
13. The apparatus according to claim 11, characterized in that, The relay number includes a randomly generated string of a preset length.
14. The apparatus according to claim 10, characterized in that, Concatenating the address of the second page with the relay number includes: The relay number is appended to the end of the address of the second page.
15. A page navigation data processing device, characterized in that, The device is applied to a second business system, which establishes a data transmission path with the first business system through a relay device. The first and second business systems are B / S business systems with different business functions. The device includes: The address request module is used to receive the concatenated address sent by the first business system. The concatenated address includes the business data to be transmitted to the relay device in response to the page jump request from the first page to the second page. It is obtained by concatenating the relay number returned by the relay device with the address of the second page. The relay number represents the storage address of the business data in the relay device. The number sending module is used to obtain the relay number in the concatenated address and send the relay number to the relay device to instruct the relay device to obtain the corresponding service data according to the relay number; The data receiving module is used to receive service data returned by the relay device and load the second page based on the service data.
16. The apparatus according to claim 15, characterized in that, The length of the relay number is less than the set length threshold, and the correlation between the relay number and the service data meets the preset conditions.
17. A page navigation data processing device, characterized in that, An application is made in relay equipment, which is used to establish a transmission path for service data between a first service system and a second service system, wherein the first service system and the second service system are B / S service systems with different service functions, and the device includes: The number generation module is used to receive the business data to be transmitted sent by the first business system, store the business data to be transmitted, and generate the relay number of the business data to be transmitted. The address splicing module is used to send the relay number to the first business system. The relay number is used by the first business system to splice the address of the second page with the relay number to obtain the spliced address. The second page is the page of the second business system that the first business system jumps to from the first page. The data acquisition module is used to receive the relay number sent by the second business system and obtain the corresponding business data according to the relay number sent by the second business system. The instruction module is used to send the corresponding business data to the second business system to instruct the second business system to load the second page according to the business data.
18. The apparatus according to claim 17, characterized in that, The length of the relay number is less than the set length threshold, and the correlation between the relay number and the service data meets the preset conditions.
19. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 9.
20. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 9.
21. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 9.
22. A page redirection data processing system, characterized in that, The system includes a first business system, a second business system, and a relay device. The processor of the first business system executes a computer program stored in a memory to implement the page jump data processing method according to any one of claims 1-5. The second business system includes the page jump data processing method according to any one of claims 6-7. The relay device includes the page jump data processing method according to any one of claims 8-9. Alternatively, the first business system includes the page jump data processing device as described in claims 10-14, the second business system includes the page jump data processing device as described in claims 15-16, and the relay device includes the page jump data processing device as described in claims 17-18.
Citation Information
Patent Citations
Cross-chain data transfer method and device based on relay device network
CN112804358A
Page display method and device, storage medium and electronic device
CN114090921A