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

Cross-application communication method and device

A communication method and communication device technology, applied in the field of cross-application communication and cross-application communication device, can solve problems such as increased complexity, high server pressure, and inability to transmit large data, so as to ensure communication needs, reduce server pressure, and meet business requirements. The effect of development needs

Pending Publication Date: 2022-04-29
CHINA TELECOM CORP LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the prior art, using URL jumps between different websites to realize cross-domain communication, each data communication needs to go back and forth to the server multiple times, the server is under a lot of pressure and the efficiency is low, and the attacker can see it from the address bar of the browser. The data information transmitted by the URL has security risks, and due to the length limit of the URL, large data cannot be transmitted; using cross-domain script references to achieve cross-domain communication, each communication needs to request the server to generate a new script, which increases the complexity, and one party The script that completely exposes its own data to the other party has potential security risks; the method of using the security loopholes of the browser to realize cross-domain communication requires continuous mining of the security loopholes of the browser to achieve cross-domain access and data exchange, but malicious websites also Security vulnerabilities can be used to attack, and with the patching and upgrading of browsers, it is more troublesome to find new vulnerabilities; at the same time, with the trend of front-end microservices, the scene where multiple front-end teams conduct collaborative development and call each other is becoming more and more Therefore, there is an urgent need for a front-end communication solution that is universally applicable to various browsers while taking into account security and efficiency to meet the needs of business development

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
  • Cross-application communication method and device
  • Cross-application communication method and device
  • Cross-application communication method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0079] In order to make the above objects, features and advantages of the present invention more clearly understood, the present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.

[0080] In the prior art, secure communication between different domain names is realized by embedding the receiving page and the response page, but the embedding of the two pages reduces the interaction efficiency, and it relies heavily on the server, which cannot be implemented in the front end alone; Page feature data, from the combined cross-domain communication technologies, select a cross-domain communication method that is most suitable for the current operating environment, make up for the shortcoming of cross-domain communication due to the browser's same-origin policy, and can automatically identify the operating environment. It also provides processing of cross-domain communication capabilities, but it is only applicabl...

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 embodiment of the invention provides a cross-application communication method and device.The method comprises the steps that a main application and a plurality of sub-applications are created at the front end, all the applications correspond to different pages, and when message sending operation is carried out, the first sub-application sends a message to the main application according to application data stored locally; judging whether a target channel corresponding to the message and a corresponding second sub-application exist or not; under the condition that the second sub-application and the target channel exist, the first sub-application broadcasts and sends a message; and the second sub-application receives the message and sends the message to a page corresponding to the second sub-application through the target channel. The real cross-page communication is realized instead of father and child page communication, the communication requirements among a plurality of front-end pages of a large enterprise can be ensured, the pressure of a server is reduced, and the method has the characteristics of wide applicability, safety and high efficiency. Meanwhile, the method also conforms to the trend of front-end micro-services, is suitable for collaborative development and mutual calling of a plurality of front-end teams, and meets the requirements of business development.

Description

technical field [0001] The present invention relates to the front-end field and the technical field of message queues, in particular to a cross-application communication method and a cross-application communication device. Background technique [0002] In the prior art, the method of implementing cross-domain communication by using URL jumps between different websites requires multiple round trips to the server for each data communication. The server is under great pressure and is inefficient. Attackers can see from the address bar of the browser. The data information transmitted by the URL has security risks, and due to the limitation of URL length, large data cannot be transmitted; using cross-domain script references to achieve cross-domain communication, each communication needs to request the server to generate a new script, which increases the complexity and increases the complexity of one party. Completely exposing one's own data to the script of the other party has p...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/54
CPCG06F9/542G06F9/541
Inventor 徐冬冬刘营付迎鑫闫永德高乐刘桥王健徐锐槐正
Owner CHINA TELECOM CORP 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