Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data cross-domain transmission method and device and computer equipment

A cross-domain and data technology, applied in the field of data cross-domain transmission methods, devices and computer equipment, can solve the problems of complicated processes, poor execution efficiency, and long time consumption

Active Publication Date: 2021-05-18
SHANGHAI BILIBILI TECH CO LTD
View PDF10 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This application proposes a data cross-domain transfer method, device and computer equipment, which can solve the problems of complicated, time-consuming and poor execution efficiency in the process of data cross-domain transfer in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data cross-domain transmission method and device and computer equipment
  • Data cross-domain transmission method and device and computer equipment
  • Data cross-domain transmission method and device and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] figure 2 It is a schematic flowchart of an embodiment of the data cross-domain transfer method in this application. It can be understood that the flowchart in this method embodiment is not used to limit the sequence of execution steps. An exemplary description is given below taking the computer device 1 as the execution subject.

[0032] Such as figure 2 As shown, the data cross-domain transfer method may include steps S200-S210.

[0033] Step S200, receiving a display request directed to a second page of a second website triggered by a first page of a first website, wherein the first website and the second website are websites of different domains.

[0034] Step S202, acquiring the display configuration parameters in the display request of the second page and the resource address of the second page.

[0035] Step S204, creating a blank iframe according to the display configuration parameters.

[0036] Specifically, when the computer device 1 displays the first pag...

Embodiment 2

[0057] Image 6 Schematically shows a block diagram of a data cross-domain transfer device according to Embodiment 2 of the present application, the data cross-domain transfer device can be divided into one or more program modules, one or more program modules are stored in a storage medium, and executed by one or more processors to complete the embodiments of the present application. The program modules referred to in the embodiments of the present application refer to a series of computer program instruction segments capable of accomplishing specific functions. The following description will specifically introduce the functions of each program module in this embodiment.

[0058] like Image 6 As shown, the data cross-domain transfer device 400 may include a receiving module 410, an obtaining module 420, a loading module 430 and a display module 440, wherein:

[0059] The receiving module 410 is configured to receive a display request directed to a second page of a second we...

Embodiment 3

[0070] Figure 7 A schematic diagram of a hardware architecture of a computer device 1 suitable for implementing a data cross-domain transfer method according to Embodiment 3 of the present application is schematically shown. In this embodiment, the computer device 1 is a device capable of automatically performing numerical calculation and / or information processing according to preset or stored instructions. For example, it may be a rack server with a gateway function, a blade server, a tower server, or a cabinet server (including an independent server, or a server cluster composed of multiple servers) and the like. like Figure 7 As shown, the computer device 1 at least includes but is not limited to: a memory 510 , a processor 520 , and a network interface 530 that can communicate with each other through a system bus. in:

[0071] The memory 510 includes at least one type of computer-readable storage medium, and the readable storage medium includes flash memory, hard disk...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a data cross-domain transmission method and device and computer equipment, and the method comprises the steps: receiving a display request which is triggered by a first page of a first website and points to a second page of a second website, with the first website and the second website being websites of different domains; obtaining a display configuration parameter in the display request of the second page and a resource address of the second page; creating a blank inline framework according to the display configuration parameters; obtaining second page content corresponding to the second page according to the resource address of the second page; loading the second page content to the blank inline framework to obtain an embedded page; and embedding and displaying the embedded page in the first page. The invention further provides a computer readable storage medium. The cross-domain data transmission is performed through the inline framework of the front-end page, so that the cross-domain data transmission time is effectively saved, cross-domain data interaction is more convenient and efficient, and the user experience is improved.

Description

technical field [0001] The present application relates to the technical field of the Internet, and in particular to a data cross-domain transfer method, device and computer equipment. Background technique [0002] At present, due to the consideration of security level and other aspects, the page redirection and calling of the website using javascript language programming framework all follow the same-origin policy. The so-called same-origin policy is to prevent the javascript script of one domain from interacting with the content of another domain. Interaction; for two pages of different origins, no interaction is possible. [0003] Of course, in the prior art, a web proxy is usually used to solve the problem of interaction between two pages from different sources. The way of Web proxy, that is, the cross-domain access requests to the B website generated when the user visits the A website are submitted to the designated page of the A website, and this page replaces the use...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/957G06F16/958G06F16/955
CPCG06F16/957G06F16/972G06F16/9566
Inventor 梁勇
Owner SHANGHAI BILIBILI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products