Data transmission method and device

A technology for transmitting data and data, which is applied in the field of data transmission, can solve the problem that the application page and the browser page cannot communicate with each other, and achieve the effect of solving the inability to communicate with each other

Inactive Publication Date: 2018-01-09
BEIJING QUNAR SOFTWARE TECH
View PDF9 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a method and device for transmitting data, so as to at least solve the technical problem in the prior art that the application program page and the browser page cannot communicate with each other

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 transmission method and device
  • Data transmission method and device
  • Data transmission method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] According to an embodiment of the present invention, an embodiment of a method for transmitting data is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, although A logical order is shown in the flowcharts, but in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0025] figure 1 is a flowchart of a method for transmitting data according to an embodiment of the present invention, such as figure 1 As shown, the method includes the following steps:

[0026] Step S102, acquiring the first program on the first page and the second program on the second page, wherein the first page is an application program page, and the second page is a browser page.

[0027] It should be noted that the first program and the second program are installed on the same terminal device, wher...

Embodiment 2

[0092] According to an embodiment of the present invention, an embodiment of an apparatus for transmitting data is also provided.

[0093] Figure 8 is a schematic structural diagram of a device for transmitting data according to an embodiment of the present invention, such as Figure 8 As shown, the device includes: an acquisition module 801 , an establishment module 803 and a transmission module 805 .

[0094] Wherein, the obtaining module 801 is used to obtain the first program of the first page and the second program of the second page, wherein the first page is an application program page, and the second page is a browser page; the establishment module 803 is used to obtain the first program according to The first program and the second program establish a communication bridge; the transmission module 805 is configured to complete data transmission between the first page and the second page based on the communication bridge.

[0095] It should be noted that the acquisit...

Embodiment 3

[0109] According to another aspect of the embodiments of the present invention, there is also provided a storage medium, where the storage medium includes a stored program, where the program executes the method for transmitting data in Embodiment 1.

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 transmission method and device. The method comprises the following steps of: obtaining a first program of a first page and a second program of a second page; and establishing a communication bridge according to the first program and the second program, and completing data transmission between the first page and the second page on the basis of the communication bridge, wherein the first page is an application program page and the second page is a browser page. According to the method and device, the technical problem that application program pages and browser pages cannot mutually communicate in prior art is solved.

Description

technical field [0001] The present invention relates to the field of computer software, in particular to a method and device for transmitting data. Background technique [0002] Currently, when developing applications, software developers need to write different codes for different applications. However, as the number of applications increases, during the process of writing codes, software developers may need to write many repeated codes for different applications. [0003] In view of the above problems, corresponding technologies can be used to simplify the application development process. For example, in the application development process, some pages use HTML5 pages (that is, the fifth generation of hypertext markup language, that is, Web pages), and other pages use Native Page (that is, a local page, a local page developed in a native language, wherein, under the IOS system, the local page is developed using the Objective-C language; under the Android system, the local ...

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
Inventor 姚鑫曾沛彧叶礼伟
Owner BEIJING QUNAR SOFTWARE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products