CN113783966A - Data transmission method and device, readable medium and electronic equipment - Google Patents

Data transmission method and device, readable medium and electronic equipment Download PDF

Info

Publication number
CN113783966A
CN113783966A CN202111117221.3A CN202111117221A CN113783966A CN 113783966 A CN113783966 A CN 113783966A CN 202111117221 A CN202111117221 A CN 202111117221A CN 113783966 A CN113783966 A CN 113783966A
Authority
CN
China
Prior art keywords
information
applet
data
data transmission
context information
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.)
Granted
Application number
CN202111117221.3A
Other languages
Chinese (zh)
Other versions
CN113783966B (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 Volcano Engine Technology Co Ltd
Original Assignee
Beijing Volcano Engine 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 Volcano Engine Technology Co Ltd filed Critical Beijing Volcano Engine Technology Co Ltd
Priority to CN202111117221.3A priority Critical patent/CN113783966B/en
Publication of CN113783966A publication Critical patent/CN113783966A/en
Priority to PCT/CN2022/114874 priority patent/WO2023045694A1/en
Application granted granted Critical
Publication of CN113783966B publication Critical patent/CN113783966B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

The disclosure relates to a data transmission method, a device, a readable medium and an electronic device, the method sets a first SDK module at an applet end, sets a second SDK module at a webpage end, the proxy server receives the first context information sent by the first SDK module and the second context information sent by the second SDK module, establishing a data transmission duct between the applet end and the webpage end according to the first context information and the second context information, realizing data transmission between the applet end and the webpage end through the data transmission duct, therefore, resource sharing between the small program end and the webpage end can be effectively realized, the effect of directly displaying the content of the webpage end on the small program end is achieved, the difficulty of reconstructing the content of the webpage end on the small program platform can be effectively reduced, the reconstruction efficiency is favorably improved, and the reconstruction cost is reduced.

Description

Data transmission method and device, readable medium and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a data transmission method, an apparatus, a readable medium, and an electronic device.
Background
Since the birth of the formal applet, more and more manufacturers and traffic carriers in the market provide an open platform of the applet system, and more CP (Content Provider) transform and reconstruct the original H5Web product to the applet system platform. In the reconfiguration process, an existing H5Web product cannot be directly moved to an applet system platform, secondary development and reconfiguration of codes are required to be performed according to ecological features of an applet, and in the reconfiguration process, the ecological capabilities of the applet provided by different open platforms are not aligned, for example, the development capability provided by the platform a is not necessarily provided on the platform B, so that a corresponding program is generally required to be developed in a customized manner according to the different applet system open platforms, which undoubtedly results in the problems of low reconfiguration efficiency and high reconfiguration cost of reconfiguring the applet according to the H5Web product.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
The purpose of the disclosure is to provide a data transmission method, a data transmission device, a readable medium and an electronic device.
In a first aspect, the present disclosure provides a data transmission method applied to a proxy server, where the method includes:
receiving first context information sent by a first SDK (Software Development Kit) module at an applet end, wherein the first context information is used for representing a first association relationship between the first SDK module and the applet end;
receiving second context information sent by a second SDK module of a webpage end, wherein the second context information is used for representing a second association relation between the second SDK module and the webpage end;
establishing a data transmission duct between the applet end and the webpage end according to the first context information and the second context information;
and carrying out data transmission between the applet end and the webpage end through the data transmission duct.
In a second aspect, the present disclosure provides a data transmission method applied to an applet end, where the applet end includes a first SDK module, and the method includes:
acquiring first context information of an applet terminal through the first SDK module, wherein the first context information is used for representing a first association relation between the first SDK module and the applet terminal;
sending the first context information to a proxy server so that the proxy server establishes a data transmission duct between the applet terminal and the webpage terminal according to the first context information and second context information sent by the webpage terminal;
and carrying out data transmission with the webpage end through the data transmission duct.
In a third aspect, the present disclosure provides a data transmission method applied to a web page side, where the web page side includes a second SDK module, and the method includes:
acquiring second context information of the webpage end through the second SDK module, wherein the second context information is used for representing a second association relation between the second SDK module and the webpage end;
sending the second context information to a proxy server so that the proxy server establishes a data transmission duct between the webpage end and the applet end according to the second context information and the first context information sent by the applet end;
and carrying out data transmission with the small program end through the data transmission duct.
In a fourth aspect, the present disclosure provides a data transmission apparatus, applied to a proxy server, the apparatus including:
the system comprises a first receiving module, a first sending module and a second receiving module, wherein the first receiving module is used for receiving first context information sent by a first SDK module of an applet terminal, and the first context information is used for representing a first association relation between the first SDK module and the applet terminal;
the second receiving module is used for receiving second context information sent by a second SDK module of the webpage end, and the second context information is used for representing a second association relation between the second SDK module and the webpage end;
the duct establishing module is used for establishing a data transmission duct between the applet end and the webpage end according to the first context information and the second context information;
and the data transmission module is used for transmitting data between the applet end and the webpage end through the data transmission duct.
In a fifth aspect, the present disclosure provides a data transmission apparatus, applied to an applet end, where the applet end includes a first SDK module, and the apparatus includes:
a first obtaining module, configured to obtain first context information of an applet terminal through the first SDK module, where the first context information is used to represent a first association relationship between the first SDK module and the applet terminal;
the first sending module is used for sending the first context information to a proxy server so that the proxy server establishes a data transmission duct between the applet terminal and the webpage terminal according to the first context information and second context information sent by the webpage terminal;
and the first transmission module is used for carrying out data transmission with the webpage end through the data transmission duct.
In a sixth aspect, the present disclosure provides a data transmission device, which is applied to a web page side, where the web page side includes a second SDK module, and the device includes:
a second obtaining module, configured to obtain, by using the second SDK module, second context information of the web page end, where the second context information is used to represent a second association relationship between the second SDK module and the web page end;
a third sending module, configured to send the second context information to a proxy server, so that the proxy server establishes a data transmission duct between the web page end and the applet end according to the second context information and the first context information sent by the applet end;
and the third transmission module is used for transmitting data with the small program end through the data transmission duct.
In a seventh aspect, the present disclosure provides a computer readable medium having stored thereon a computer program which, when executed by a processing apparatus, performs the steps of the method of the first, second or third aspect above.
In an eighth aspect, the present disclosure provides an electronic device comprising:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to implement the steps of the method of the first, second or third aspect above.
According to the technical scheme, the data transmission method comprises the steps that a first SDK module is arranged at an applet end, a second SDK module is arranged at a webpage end, a proxy server receives first context information sent by the first SDK module and second context information sent by the second SDK module, a data transmission duct between the applet end and the webpage end is established according to the first context information and the second context information, and data transmission between the applet end and the webpage end is achieved through the data transmission duct, so that resource sharing between the applet end and the webpage end can be effectively achieved, the effect of directly displaying the content of the webpage end on the applet end is achieved, the difficulty of reconstructing the content of the webpage end on an applet system platform can be effectively reduced, the reconstruction efficiency can be improved, and the reconstruction cost is reduced.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale. In the drawings:
fig. 1 is a flow chart illustrating a data transmission method according to an exemplary embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a data transmission method shown in an exemplary embodiment of the present disclosure;
fig. 3 is a flow chart illustrating a data transmission method according to another exemplary embodiment of the present disclosure;
FIG. 4 is a flow chart illustrating a method of data transmission in accordance with yet another exemplary embodiment of the present disclosure;
FIG. 5 is a flow chart of a data transmission method shown in yet another exemplary embodiment of the present disclosure;
fig. 6 is a block diagram of a data transmission apparatus according to an exemplary embodiment of the present disclosure;
fig. 7 is a block diagram of a data transmission apparatus according to another exemplary embodiment of the present disclosure;
fig. 8 is a block diagram of a data transmission apparatus according to yet another exemplary embodiment of the present disclosure;
fig. 9 is a block diagram of an electronic device shown in an exemplary embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Before introducing a specific embodiment of the present disclosure, first, the following description is made on an Application scenario of the present disclosure, and the disclosure may be applied to a process of generating an applet content according to a webpage content, for example, in a process of content reconfiguration on an applet platform according to an existing H5Web product, when the existing H5Web product is reconfigured to an applet system platform, a code compiling method is usually used, that is, differences between Application Programming Interfaces (APIs) of each applet are aligned by a compiling tool, and then compatibility with the H5Web is implemented by floating through a general js runtime, or a general js runtime frame is provided by directly providing the general js runtime frame based on a pure runtime bottom API, so as to implement compatibility with the H5 Web. However, in any of the above two ways, it is inevitable to perform CSS (Cascading Style Sheets) degradation processing on the existing H5Web product due to the function loss of the applet, and for a development team of the service, there are certain reconstruction costs, and compatibility tests and BUG repair pressure caused by a large number of container differences between different applets, which may cause problems of low reconstruction efficiency and high reconstruction costs.
In order to solve the above technical problems, the present disclosure provides a data transmission method, an apparatus, a readable medium and an electronic device, the method includes setting a first SDK module at an applet end, setting a second SDK module at a webpage end, receiving first context information sent by the first SDK module and second context information sent by the second SDK module by a proxy server, establishing a data transmission duct between the applet end and the webpage end according to the first context information and the second context information, and implementing data transmission between the applet end and the webpage end through the data transmission duct, so as to effectively implement resource sharing between the applet end and the webpage end, achieve an effect of directly displaying contents of the webpage end on the applet end, effectively reduce difficulty of reconstructing contents of the webpage end on an applet platform, and facilitate improvement of reconstruction efficiency, the reconstruction cost is reduced.
Specific embodiments of the present disclosure are described in detail below with reference to specific examples.
Fig. 1 is a flow chart illustrating a data transmission method according to an exemplary embodiment of the present disclosure; referring to fig. 1, the method applied to the proxy server may include the following steps:
step 101, receiving first context information sent by a first SDK module of an applet terminal.
The first context information is used to characterize a first association relationship between the first SDK module and the applet end, where the first SDK module is a first software development kit preset in the applet end, and the first software development kit includes a kit used to obtain the first context information of the applet end, and may be, for example, a related program loaded in a starting process or a related program pre-placed before starting.
It should be noted that the first context information may include first data identification information of an applet end where the first SDK module is located, context variable information of a current running process of the applet end, available interface information of the applet end, and information of an initiation function and a docking function of the first context information.
And 102, receiving second context information sent by a second SDK module of the webpage end.
The second context information is used for representing a second association relationship between the second SDK module and the web page, the second SDK module includes a preset second software development kit, and the second software development kit includes a kit for acquiring the second context information of the web page.
It should be noted that the second SDK module may be loaded to a web page, and the content of the web page may be loaded by a Webview (screen rendering) control of the applet terminal, so as to be displayed on the applet terminal. The second context information may include second data identification information of the web page end where the second SDK module is located, context variable information of a current running process of the web page end, available interface information of the web page end, and information of an initiation function and a docking function of the second context information.
Step 103, establishing a data transmission duct between the applet terminal and the webpage terminal according to the first context information and the second context information.
In this step, first data identification information in the first context information and second data identification information in the second context information may be obtained; under the condition that the first data identification information is consistent with the second data identification information, acquiring first available interface information in the first context information and second available interface information in the second context information; and establishing a target association relation between the first available interface information and the second available interface information according to the first available interface information and the second available interface information to form a data transmission duct comprising the target association relation.
It should be noted that the first data identification information and the second data identification information are identification information of content provided by a content provider, the first data identification information is the same as the second data identification information, and can characterize that the first SDK module and the second SDK module are an applet end and a web page end from the same content, and in the case that the first data identification information is consistent with the second data identification information, a target association relationship can be established between available interface information (i.e., first available interface information) of the applet end in the first context information and available interface information (i.e., second available interface information) of the web page end in the second context information, where the target association relationship can be a function registry, so as to form a data transmission duct including the target association relationship (e.g., the function registry), and the function registry can be in a form of a Windows-like registry, the form of the registry is common in the prior art, and the details of the present disclosure are not repeated herein.
And 104, transmitting data between the applet end and the webpage end through the data transmission duct.
In this step, on one hand, the proxy server may receive first encrypted data sent by the first SDK module of the applet, and determine the first target interface of the web page from the second available interface information according to the target association relationship; and sending the first encrypted data to the webpage end through the first target interface so that a second SDK module of the webpage end decrypts the first encrypted data to obtain first transmission data corresponding to the first encrypted data.
On the other hand, the proxy server can also receive second encrypted data sent by a second SDK module of the webpage end; determining a second target interface of the applet terminal from the first available interface information according to the target association relation; and sending the second encrypted data to the applet terminal through the second target interface so that the first SDK module of the applet terminal decrypts the second encrypted data to obtain second transmission data corresponding to the second encrypted data.
It should be noted that the applet end and the web page end may mutually transmit encryption and decryption keys through the proxy server, so that the applet end and the web page end can mutually decrypt encrypted data sent by each other, that is, the web page end can decrypt first encrypted data sent by the applet end, and the applet end can decrypt second encrypted data sent by the web page end, thereby ensuring data transmission validity and improving data transmission security.
Optionally, the method may further include: receiving a first heartbeat signal sent by the applet terminal and a second heartbeat signal sent by the webpage terminal; under the condition that the first heartbeat signal or the second heartbeat signal is determined not to be received, sending prompt information of interruption of a data transmission duct to the small program end and the webpage end so that a first SDK (software development kit) module of the small program end responds to the received prompt information, if a first instruction for transmitting data to the webpage end is received, the first instruction comprises third transmission data, generating first hash information corresponding to the third transmission data, acquiring first website information of the webpage end, adding the first hash information to the first website information to generate second website information, acquiring the first hash information in the second website information when the second website information is intercepted by the webpage end, and determining the third transmission data according to the first hash information; and enabling a second SDK module of the webpage end to respond to the received prompt message, generating second hash information corresponding to fourth transmission data if a second instruction for transmitting data to the applet end is received, controlling a preset interface of the applet end to acquire third website information of the webpage end, adding the second hash information to the third website information to generate fourth website information, acquiring second hash information in the fourth website information when the applet end loads the fourth website information, and determining the fourth transmission data according to the second hash information.
It should be noted that, when the proxy server determines that the first heartbeat signal is received, it is determined that the connection between the applet end and the proxy server is normal, when the proxy server determines that the second heartbeat signal sent by the web page end is received, it is determined that the connection between the web page end and the proxy server is normal, when it is determined that the connections between the applet end and the web page end and the proxy server are both normal, it is determined that the data transmission duct is not interrupted, and when it is determined that the connection between the applet end and the proxy server is abnormal or the connection between the web page end and the proxy server is abnormal, it is determined that the data transmission duct is interrupted.
For example, fig. 2 is a schematic diagram of a data transmission method according to an exemplary embodiment of the disclosure, as shown in fig. 2, in a case that it is determined that the data gateway formed by the proxy server proxy is abnormal (that is, the applet end receives a prompt message indicating that the data transmission gateway sent by the proxy server proxy is interrupted), if the applet end wants to transmit data to the H5web page end, the applet end may obtain a URL of the H5web page (that is, first website information) through its webview, generate first hash information according to data to be transmitted to the applet end (that is, third transmission data), generate a new one (that is, second website information according to the first website information and the first hash information (that is, for example, the URL may be spliced with the first hash information to form the second website information), the applet end may pass through a new webview, and opening the second website information, intercepting params information of the URL transmitted when a new page corresponding to the second website information of the applet terminal is loaded by a second SDK module of the H5 webpage terminal, so as to read the third transmission data, and processing the third transmission data through a corresponding callback function in the registration function list after reading the third transmission data.
In the case that it is determined that the data gateway formed by the proxy server proxy is abnormal (i.e. the web page receives the prompt message of interruption of the data transmission gateway sent by the proxy server proxy), if the H5web page sends data to the applet, the H5web page may call the API wx. navigator to interface of jsbridge SDK in the applet, control the applet to open the current URL (i.e. the third website information) of the H5web page, and obtain the hash value (i.e. the second hash information) corresponding to the data to be transmitted, generate the target URL according to the current URL and the hash value (e.g. the current URL and the hash value may be spliced to form the target URL, i.e. form the fourth website information), the applet loads a new webview, opens the target URL by the new webview (the fourth website information may be read by way of page, for example), so that the first URL of the applet can obtain the target URL from the hijacking function, the hash value is parsed to obtain data to be transmitted (i.e., fourth transmission data) from the H5web page to the applet.
The technical proposal provides a data transmission method, which is applied to a proxy server and comprises the steps of setting a first SDK module at an applet terminal and a second SDK module at a webpage terminal, the proxy server receives the first context information sent by the first SDK module and the second context information sent by the second SDK module, establishing a data transmission duct between the applet end and the webpage end according to the first context information and the second context information, realizing data transmission between the applet end and the webpage end through the data transmission duct, therefore, resource sharing between the small program end and the webpage end can be effectively realized, the effect of directly displaying the content of the webpage end on the small program end is achieved, the difficulty of reconstructing the content of the webpage end on the small program platform can be effectively reduced, the reconstruction efficiency is favorably improved, and the reconstruction cost is reduced.
Fig. 3 is a flow chart illustrating a data transmission method according to another exemplary embodiment of the present disclosure; referring to fig. 3, the data transmission method is applied to an applet terminal, where the applet terminal includes a first SDK module, and the method may include the following steps:
step 301, obtaining the first context information of the applet terminal through the first SDK module.
Wherein, the first context information is used for representing a first association relation between the first SDK module and the applet terminal; the first SDK module comprises a preset software development kit and is used for acquiring first context information of the applet terminal.
It should be noted that the first context information may include first data identification information of the applet end where the first SDK module is located, context variable information of a current running process of the applet end, available interface information of the applet end, and information of an initiation function and a docking function of the first context information, where the first context information may characterize a first association relationship between the first SDK module and the applet end because it may be determined that the first SDK module is from the applet end according to the initiation function of the first context information.
Step 302, sending the first context information to a proxy server, so that the proxy server establishes a data transmission duct between the applet terminal and the webpage terminal according to the first context information and second context information sent by the webpage terminal.
After receiving first context information sent by a first SDK module of an applet terminal and second context information sent by a second SDK module of the webpage terminal, the proxy server acquires first available interface information in the first context information and second available interface information in the second context information under the condition that the first data identification information is consistent with the second data identification information; and establishing a target association relationship between the first available interface information and the second available interface information to form a data transmission duct comprising the target association relationship, wherein the target association relationship can be a function registration list.
Step 303, performing data transmission with the web page end through the data transmission duct.
In this step, when transmission data needs to be sent to the web page, first encrypted data corresponding to the transmission data may be sent to the proxy server through the first SDK module, and the proxy server determines a first target interface corresponding to the first encrypted data from the second available interface information according to the pre-generated target association relationship, and sends the first encrypted data to the web page through the first target interface, so that the second SDK module of the web page decrypts the first encrypted data to obtain first transmission data corresponding to the first encrypted data. Before the first encrypted data is sent to the web page, the key may be sent to the web page, or an encrypted/decrypted key may be predefined, and the predefined key is stored in the proxy server, and then the proxy server distributes the key to the applet end and the web page, where the encryption mode may be any encryption mode in the prior art, which is not limited by the disclosure.
In addition, when the first SDK module receives second encrypted data sent by the proxy server, the second encrypted data may be decrypted by the received key to obtain second transmission data corresponding to the second encrypted data, so as to implement a receiving process of the data sent by the web page end through the data transmission duct by the applet end.
Further, the method may further include: and sending a first heartbeat signal to the proxy server so that the proxy server determines whether the data transmission duct is interrupted according to the first heartbeat signal, and sending prompt information of interruption of the data transmission duct to the small program terminal under the condition of determining that the data duct is interrupted.
In addition, the method further comprises: under the condition of receiving prompt information of interruption of a data transmission duct sent by the proxy server, if a first instruction for transmitting data to a webpage end is received, wherein the first instruction comprises third transmission data, first hash information corresponding to the third transmission data is generated, first website information of the webpage end is acquired, the first hash information is added to the first website information to generate second website information, when the webpage end intercepts the second website information, the first hash information in the second website information is acquired, and the third transmission data is determined according to the first hash information.
The embodiment of determining, by the proxy server, whether the data transmission duct is interrupted according to the first heartbeat signal may be: and under the condition that the proxy server determines that the first heartbeat signal is received, determining that the connection between the applet end and the proxy server is normal, under the condition that the proxy server determines that the second heartbeat signal sent by the webpage end is received, determining that the connection between the webpage end and the proxy server is normal, under the condition that the connection between the applet end and the connection between the webpage end and the proxy server end are both normal, determining that the data transmission channel is not interrupted, and under the condition that the connection between the applet end and the proxy server end is abnormal or the connection between the webpage end and the proxy server end is abnormal, determining that the data transmission channel is interrupted. In the case that the data transmission duct is unstable, the process of transmitting the data to be transmitted through the hash information may refer to the specific process in the embodiment shown in fig. 2, and this disclosure is not repeated herein.
According to the technical scheme, the first SDK module is arranged at the applet end, the first context information is sent to the proxy server, so that the proxy server establishes a data transmission duct between the applet end and the webpage end according to the first context information and the second context information sent by the webpage end, and data transmission is carried out between the data transmission duct and the webpage end, so that resource sharing between the applet end and the webpage end can be effectively realized, the effect of directly displaying the content of the webpage end on the applet end is achieved, the difficulty of reconstructing the content of the webpage end on the applet platform can be effectively reduced, the reconstruction efficiency can be improved, and the reconstruction cost can be reduced; and under the condition that the data transmission duct is unstable, the data to be transmitted is generated into hash information, the generated hash information is added to the website of the webpage end content, so that new website information is formed, the hash information in the new website information is intercepted through the process that the website information of the webpage end is loaded by the Webview control in the small program, so that the hash information is analyzed to obtain the data to be transmitted, and the reliability of data transmission under the condition that the data transmission duct is unstable can be ensured.
FIG. 4 is a flow chart illustrating a method of data transmission in accordance with yet another exemplary embodiment of the present disclosure; referring to fig. 4, the data transmission method is applied to a web page side, where the web page side includes a second SDK module, and the method may include the following steps:
step 401, obtaining second context information of the web page end through the second SDK module.
The second context information is used for representing a second association relation between the second SDK module and the webpage end; the second SDK module is a preset second software development kit, and the second software development kit includes a kit for acquiring second context information of the web page.
Step 402, sending the second context information to a proxy server, so that the proxy server establishes a data transmission duct between the web page side and the applet side according to the second context information and the first context information sent by the applet side.
The process of the proxy server establishing the data transmission duct between the web page end and the applet end according to the second context information and the first context information sent by the applet end may refer to the specific implementation manner shown in step 103 in fig. 1, and details of the present disclosure are not repeated herein.
And 403, performing data transmission with the applet end through the data transmission duct.
In this step, the second SDK module of the web page end may send the second encrypted data to the proxy server, so that after receiving the second encrypted data sent by the second SDK module of the web page end, the proxy server determines the second target interface of the applet end from the first available interface information according to the target association relationship; and sending the second encrypted data to the applet end through the second target interface so that the first SDK module of the applet end decrypts the second encrypted data to obtain second transmission data corresponding to the second encrypted data, thereby realizing that the webpage end sends data to the applet end through the data transmission duct. In the above process, before sending the second encrypted data to the applet terminal, the key may be sent to the applet terminal, or an encrypted and decrypted key may be predefined, and the predefined key is stored in the proxy server, and then the proxy server distributes the key to the applet terminal and the webpage terminal, where the encryption mode may be any encryption mode in the prior art, and the disclosure is not limited thereto.
In addition, when the second SDK module receives the first encrypted data sent by the proxy server, the first encrypted data may be decrypted by the received key to obtain first transmission data corresponding to the first encrypted data, so as to implement a receiving process of the data sent by the applet terminal through the data transmission duct by the web page terminal.
Further, the method further comprises:
and sending a second heartbeat signal to the proxy server so that the proxy server determines whether the data transmission duct is interrupted according to the second heartbeat signal, and sending prompt information of interruption of the data transmission duct to the webpage end under the condition of determining that the data duct is interrupted.
In addition, the method further comprises: under the condition of receiving prompt information of data transmission duct interruption sent by a proxy server, if a second instruction for transmitting data to an applet terminal is received, the second instruction comprises fourth transmission data, second hash information corresponding to the fourth transmission data is generated, a preset interface of the applet terminal is controlled to acquire third website information of the webpage terminal, the second hash information is added to the third website information to generate fourth website information, when the applet terminal loads the fourth website information, the second hash information in the fourth website information is acquired, and the fourth transmission data is determined according to the second hash information.
It should be noted that, the implementation manner of the proxy server determining whether the data transmission duct is interrupted according to the second heartbeat signal may be: and under the condition that the proxy server determines that the first heartbeat signal is received, determining that the connection between the applet end and the proxy server is normal, under the condition that the proxy server determines that the second heartbeat signal sent by the webpage end is received, determining that the connection between the webpage end and the proxy server is normal, under the condition that the connection between the applet end and the connection between the webpage end and the proxy server end are both normal, determining that the data transmission channel is not interrupted, and under the condition that the connection between the applet end and the proxy server end is abnormal or the connection between the webpage end and the proxy server end is abnormal, determining that the data transmission channel is interrupted. In the case that the data transmission duct is unstable, the process of transmitting the data to be transmitted through the hash information may refer to the specific process in the embodiment shown in fig. 2, and this disclosure is not repeated herein.
According to the technical scheme, the second SDK module is arranged at the webpage end, the second context information is sent to the proxy server, so that the proxy server establishes a data transmission duct between the applet end and the webpage end according to the second context information and the first context information sent by the applet end, and performs data transmission with the webpage end through the data transmission duct, so that resource sharing between the applet end and the webpage end can be effectively realized, the effect of directly displaying the content of the webpage end on the applet end is achieved, the difficulty of reconstructing the content of the webpage end on the applet platform can be effectively reduced, the reconstruction efficiency can be improved, and the reconstruction cost can be reduced; and under the condition that a data transmission duct is unstable, second hash information is generated by data to be transmitted, a preset interface of the small program end is controlled to obtain third website information of the webpage end, the second hash information is added to the third website information to form fourth website information, and then the small program end is enabled to identify the second hash information through the process that the fourth website information is loaded by the small program end, so that the second hash information is analyzed to obtain the data to be transmitted, and the reliability of data transmission under the condition that the data transmission duct is unstable can be guaranteed.
FIG. 5 is a flow chart of a data transmission method shown in yet another exemplary embodiment of the present disclosure; referring to fig. 5, the method may include the steps of:
in step 501, the applet obtains the first context information of the applet through the first SDK module.
Wherein, the first context information is used for representing a first association relation between the first SDK module and the applet terminal; the first SDK module is a software development kit preset in the applet terminal, and may be loaded during the startup process or a related program pre-installed before the startup, for example.
The specific implementation manner in this step can be referred to the content shown in step 301 in fig. 3, and the disclosure is not repeated herein.
Step 502, the web page obtains second context information of the web page through the second SDK module.
The second SDK module is a software development kit preset in the web page, and the second context information is used for representing a second association relationship between the second SDK module and the web page.
The specific implementation manner in this step can be the content shown in step 401 in fig. 4 and is not described herein again.
Step 503, the proxy server responds to the received first context information sent by the first SDK module of the applet terminal and the received second context information sent by the second SDK module of the web page terminal, and establishes a data transmission duct between the applet terminal and the web page terminal according to the first context information and the second context information.
The specific implementation manner in this step can refer to what is shown in step 101 to step 103 in fig. 1, and this disclosure is not repeated here.
Step 504, the applet terminal sends a first heartbeat signal to the proxy server, and the webpage terminal sends a second heartbeat signal to the proxy server.
In step 505, the proxy server determines whether a first heartbeat signal sent by the applet terminal and a second heartbeat signal sent by the web page terminal are received.
In this step, when it is determined that the first heartbeat signal and the second heartbeat signal are received, step 506 is executed; in case it is determined that the first heartbeat signal or the second heartbeat signal is not received, step 507 is performed.
Step 506, the proxy server performs data transmission between the applet end and the webpage end through the data transmission duct.
The specific implementation in this step can be referred to the specific implementation shown in step 104 in fig. 1, and the details of this disclosure are not repeated here.
And 507, sending a prompt message of data transmission duct interruption to the small program end and the webpage end.
Wherein, the prompt message is used for representing the interruption of the data transmission duct.
Step 508, in response to receiving the prompt message, if a first instruction for transmitting data to the web page is received, where the first instruction includes third transmission data, a first SDK module of the applet generates first hash information corresponding to the third transmission data, acquires first website information of the applet, adds the first hash information to the first website information to generate second website information, and when the applet intercepts the second website information, acquires the first hash information of the second website information, and determines the third transmission data according to the first hash information.
For example, as shown in fig. 2, in a case that it is determined that the data gateway formed by the proxy server proxy is abnormal (i.e. receiving a prompt message that the data transmission gateway sent by the proxy server proxy is interrupted), if the applet terminal wants to transmit data to the H5 webpage terminal, the applet may obtain the URL of the H5 webpage (i.e. first website information) through its webview, generate first hash information according to the data to be transmitted (i.e. third transmission data) to be transmitted to the webpage terminal, generate a new URL (i.e. second website information, for example, the first website information and the first hash information may be spliced to form the second website information) according to the first website information and the first hash information, the applet terminal may open the second website information through the new webview, the second SDK module of the H5 webpage terminal may intercept the params information of the URL transmitted when the new webpage corresponding to the second website information is loaded, and after the third transmission data are read, the third transmission data can be processed through the corresponding callback function in the registration function list.
In step 509, in response to receiving the prompt message, if a second instruction for transmitting data to the applet is received, where the second instruction includes fourth transmission data, second hash information corresponding to the fourth transmission data is generated, a preset interface of the applet is controlled to obtain third website information of the applet, and the second hash information is added to the third website information to generate fourth website information, when the applet loads the fourth website information, second hash information in the fourth website information is obtained, and the fourth transmission data is determined according to the second hash information.
For example, as shown in fig. 2, in a case that it is determined that the data gateway formed by the proxy server proxy is abnormal (i.e. receiving a prompt message that the data transmission gateway sent by the proxy server proxy is interrupted), if the H5 webpage sends data to the applet, the H5 webpage may call an API wx.navigato interface of a jsbridge SDK in the applet, control the applet to open a current URL (i.e. third website information) of the H5 webpage, obtain a hash value (i.e. second hash information) corresponding to the data to be transmitted, generate a target URL according to the current URL and the hash value (e.g. the current URL and the hash value may be spliced to form the target URL, i.e. form fourth website information), load the applet loads a new webview, open the target URL by the new webview (the fourth website information, e.g. the target URL may be read by way of page), so that the first URL of the applet can obtain a callback from the target URL The hash value is parsed to obtain data to be transmitted (i.e., fourth transmission data) from the H5web page to the applet.
According to the technical scheme, the data transmission method comprises the steps that a first SDK module is arranged at an applet end, a second SDK module is arranged at a webpage end, a proxy server receives first context information sent by the first SDK module and second context information sent by the second SDK module, a data transmission duct between the applet end and the webpage end is established according to the first context information and the second context information, and data transmission between the applet end and the webpage end is realized through the data transmission duct, so that resource sharing between the applet end and the webpage end can be effectively realized, the effect of directly displaying the content of the webpage end on the applet end is achieved, the difficulty of reconstructing the content of the webpage end on an applet platform can be effectively reduced, the reconstruction efficiency is improved, and the reconstruction cost is reduced; and moreover, under the condition that the data transmission duct is unstable, the data to be transmitted can be generated into hash information, the generated hash information is added to the website of the webpage end content, so that new website information is formed, the hash information is identified in the process of acquiring the new website information, and then the hash information is analyzed to obtain the data to be transmitted, so that the reliability of data transmission under the condition that the data transmission duct is unstable can be ensured.
Fig. 6 is a block diagram of a data transmission apparatus according to an exemplary embodiment of the present disclosure; as shown in fig. 6, the data transmission apparatus, applied to the proxy server, may include:
a first receiving module 601, configured to receive first context information sent by a first SDK module at an applet end, where the first context information is used to represent a first association relationship between the first SDK module and the applet end;
a second receiving module 602, configured to receive second context information sent by a second SDK module of the web page end, where the second context information is used to represent a second association relationship between the second SDK module and the web page end;
a duct establishing module 603, configured to establish a data transmission duct between the applet end and the web page end according to the first context information and the second context information;
a data transmission module 604, configured to perform data transmission between the applet end and the web page end through the data transmission duct.
According to the technical scheme, the first SDK module is arranged at the applet end, the second SDK module is arranged at the webpage end, the proxy server establishes a data transmission duct between the applet end and the webpage end according to the first context information and the second context information by receiving the first context information sent by the first SDK module and the second context information sent by the second SDK module, and data transmission between the applet end and the webpage end is realized through the data transmission duct, so that resource sharing between the applet end and the webpage end can be effectively realized, the effect of directly displaying the content of the webpage end on the applet end is achieved, the difficulty of reconstructing the content of the webpage end on the applet platform can be effectively reduced, reconstruction efficiency is improved, and reconstruction cost is reduced.
Optionally, the duct establishing module 603 is configured to:
acquiring first data identification information in the first context information and second data identification information in the second context information;
under the condition that the first data identification information is consistent with the second data identification information, acquiring first available interface information in the first context information and second available interface information in the second context information;
and establishing a target association relation between the first available interface information and the second available interface information according to the first available interface information and the second available interface information to form a data transmission duct comprising the target association relation.
Optionally, the data transmission module 604 is configured to:
receiving first encrypted data sent by the first SDK module at the applet end,
determining a first target interface of the webpage end from the second available interface information according to the target association relation;
and sending the first encrypted data to the webpage end through the first target interface so that a second SDK module of the webpage end decrypts the first encrypted data to obtain first transmission data corresponding to the first encrypted data.
Optionally, the data transmission module 604 is configured to:
receiving second encrypted data sent by a second SDK module of the webpage end;
determining a second target interface of the applet terminal from the first available interface information according to the target association relation;
and sending the second encrypted data to the applet terminal through the second target interface so that the first SDK module of the applet terminal decrypts the second encrypted data to obtain second transmission data corresponding to the second encrypted data.
Optionally, the apparatus further comprises:
a third receiving module 605, configured to receive the first heartbeat signal sent by the applet terminal and the second heartbeat signal sent by the web page terminal;
a determining module 606, configured to send, under a condition that it is determined that the first heartbeat signal or the second heartbeat signal is not received, prompt information that a data transmission duct is interrupted to the applet terminal and the web page terminal, so that the first SDK module of the applet terminal responds to receiving the prompt information, if a first instruction for transmitting data to the web page terminal is received, where the first instruction includes third transmission data, generate first hash information corresponding to the third transmission data, acquire first website information of the web page terminal, add the first hash information to the first website information to generate second website information, and when the web page terminal intercepts the second website information, acquire the first hash information in the second website information, and determine the third transmission data according to the first hash information; and enabling a second SDK module of the webpage end to respond to the received prompt message, generating second hash information corresponding to fourth transmission data if a second instruction for transmitting data to the applet end is received, controlling a preset interface of the applet end to acquire third website information of the webpage end, adding the second hash information to the third website information to generate fourth website information, acquiring second hash information in the fourth website information when the applet end loads the fourth website information, and determining the fourth transmission data according to the second hash information.
According to the technical scheme, under the condition that a data transmission duct is unstable, the data to be transmitted can be generated into the hash information, the generated hash information is added to the website of the webpage end content, so that new website information is formed, the hash information in the new website information is intercepted through the process that the webpage end website information is loaded by the Webview control in the small program, the hash information is analyzed to obtain the data to be transmitted, and the reliability of data transmission under the condition that the data transmission duct is unstable can be guaranteed.
Fig. 7 is a block diagram of a data transmission apparatus according to another exemplary embodiment of the present disclosure; referring to fig. 7, the data transmission apparatus is applied to an applet terminal, the applet terminal includes a first SDK module, and the apparatus may include:
a first obtaining module 701, configured to obtain first context information of an applet terminal through the first SDK module, where the first context information is used to represent a first association relationship between the first SDK module and the applet terminal;
a first sending module 702, configured to send the first context information to a proxy server, so that the proxy server establishes a data transmission duct between the applet end and the web page end according to the first context information and second context information sent by the web page end;
the first transmission module 703 is configured to perform data transmission with the web page end through the data transmission duct.
According to the technical scheme, the first SDK module is arranged at the applet terminal, the first context information is sent to the proxy server, so that the proxy server establishes a data transmission duct between the applet terminal and the webpage terminal according to the first context information and the second context information sent by the webpage terminal, and data transmission is carried out between the data transmission duct and the webpage terminal, so that resource sharing between the applet terminal and the webpage terminal can be effectively achieved, the effect of directly displaying the content of the webpage terminal on the applet terminal is achieved, the difficulty of reconstructing the content of the webpage terminal on the applet platform can be effectively reduced, the reconstruction efficiency can be improved, and the reconstruction cost is reduced.
Optionally, the apparatus may further include:
a second sending module 704, configured to send a first heartbeat signal to the proxy server, so that the proxy server determines whether the data transmission duct is interrupted according to the first heartbeat signal, and sends a prompt message of data transmission duct interruption to the applet end when it is determined that the data duct is interrupted.
Optionally, the apparatus may further include:
a second transmission module 705, configured to, when receiving a prompt that a data transmission duct sent by the proxy server is interrupted, generate first hash information corresponding to third transmission data if a first instruction for transmitting data to a web page end is received, where the first instruction includes the third transmission data, acquire first website information of the web page end, add the first hash information to the first website information to generate second website information, acquire the first hash information in the second website information when the web page end intercepts the second website information, and determine the third transmission data according to the first hash information.
According to the technical scheme, under the condition that a data transmission duct is unstable, the data to be transmitted can be generated into the hash information, the generated hash information is added to the website of the webpage end content, so that new website information is formed, the hash information in the new website information is intercepted through the process that the webpage end website information is loaded by the Webview control in the small program, the hash information is analyzed to obtain the data to be transmitted, and the reliability of data transmission under the condition that the data transmission duct is unstable can be guaranteed.
Fig. 8 is a block diagram of a data transmission apparatus according to yet another exemplary embodiment of the present disclosure; referring to fig. 8, the data transmission apparatus is applied to a web page side, where the web page side includes a second SDK module, and the apparatus may include:
a second obtaining module 801, configured to obtain second context information of the web page end through the second SDK module, where the second context information is used to represent a second association relationship between the second SDK module and the web page end;
a third sending module 802, configured to send the second context information to a proxy server, so that the proxy server establishes a data transmission duct between the web page end and the applet end according to the second context information and the first context information sent by the applet end;
and a third transmission module 803, configured to perform data transmission with the applet end through the data transmission duct.
According to the technical scheme, the second SDK module is arranged at the webpage end, the second context information is sent to the proxy server, so that the proxy server establishes a data transmission duct between the applet end and the webpage end according to the second context information and the first context information sent by the applet end, and data transmission is carried out between the data transmission duct and the webpage end, so that resource sharing between the applet end and the webpage end can be effectively achieved, the effect of directly displaying the content of the webpage end on the applet end is achieved, the difficulty of reconstructing the content of the webpage end on the applet platform can be effectively reduced, reconstruction efficiency can be improved, and reconstruction cost is reduced.
Optionally, the apparatus further comprises:
a fourth sending module 804, configured to send a second heartbeat signal to the proxy server, so that the proxy server determines whether the data transmission duct is interrupted according to the second heartbeat signal, and sends a prompt message that the data transmission duct is interrupted to the web page side when it is determined that the data duct is interrupted.
Optionally, the apparatus further comprises:
a fourth transmission module 805, configured to, when receiving a prompt message that a data transmission duct sent by the proxy server is interrupted and when receiving a second instruction for transmitting data to the applet, generate second hash information corresponding to the fourth transmission data, control a preset interface of the applet to obtain third website information of the applet, add the second hash information to the third website information to generate fourth website information, when the applet loads the fourth website information, obtain second hash information in the fourth website information, and determine the fourth transmission data according to the second hash information.
According to the technical scheme, under the condition that a data transmission duct is unstable, the data to be transmitted is generated into the second hash information, the preset interface of the small program end is controlled to obtain the third website information of the webpage end, the second hash information is added to the third website information to form the fourth website information, the small program end is enabled to identify the second hash information through the process that the fourth website information is loaded by the small program end, the second hash information is analyzed to obtain the data to be transmitted, and the reliability of data transmission under the condition that the data transmission duct is unstable can be guaranteed.
Referring now to FIG. 9, shown is a schematic diagram of an electronic device 900 suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 9 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 9, the electronic device 900 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 901 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)902 or a program loaded from a storage means 908 into a Random Access Memory (RAM) 903. In the RAM 903, various programs and data necessary for the operation of the electronic apparatus 900 are also stored. The processing apparatus 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904. An input/output (I/O) interface 905 is also connected to bus 904.
Generally, the following devices may be connected to the I/O interface 905: input devices 906 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 907 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 908 including, for example, magnetic tape, hard disk, etc.; and a communication device 909. The communication device 909 may allow the electronic apparatus 900 to perform wireless or wired communication with other apparatuses to exchange data. While fig. 9 illustrates an electronic device 900 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication device 909, or installed from the storage device 908, or installed from the ROM 902. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing apparatus 901.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the communication may be performed using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving first context information sent by a first SDK module of an applet terminal, wherein the first context information is used for representing a first association relation between the first SDK module and the applet terminal; receiving second context information sent by a second SDK module of the webpage end, wherein the second context information is used for representing a second association relation between the second SDK module and the webpage end; establishing a data transmission duct between the applet end and the webpage end according to the first context information and the second context information; and carrying out data transmission between the applet end and the webpage end through the data transmission duct.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring first context information of an applet terminal through the first SDK module, wherein the first context information is used for representing a first association relation between the first SDK module and the applet terminal; sending the first context information to a proxy server so that the proxy server establishes a data transmission duct between the applet terminal and the webpage terminal according to the first context information and second context information sent by the webpage terminal; and carrying out data transmission with the webpage end through the data transmission duct.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring second context information of the webpage end through the second SDK module, wherein the second context information is used for representing a second association relation between the second SDK module and the webpage end; sending the second context information to a proxy server so that the proxy server establishes a data transmission duct between the webpage end and the applet end according to the second context information and the first context information sent by the applet end; and carrying out data transmission with the small program end through the data transmission duct.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. The name of the module does not in some cases constitute a limitation on the module itself, and for example, the first obtaining module may also be described as a "module that obtains the first context information of the applet terminal through the first SDK module".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. Example 1 provides, according to one or more embodiments of the present disclosure, a data transmission method applied to a proxy server, the method including:
receiving first context information sent by a first SDK module of an applet terminal, wherein the first context information is used for representing a first association relation between the first SDK module and the applet terminal;
receiving second context information sent by a second SDK module of the webpage end, wherein the second context information is used for representing a second association relation between the second SDK module and the webpage end;
establishing a data transmission duct between the applet end and the webpage end according to the first context information and the second context information;
and carrying out data transmission between the applet end and the webpage end through the data transmission duct.
Example 2 provides the method of example 1, the establishing a data transfer duct between the applet end and the webpage end according to the first context information and the second context information, including:
acquiring first data identification information in the first context information and second data identification information in the second context information;
under the condition that the first data identification information is consistent with the second data identification information, acquiring first available interface information in the first context information and second available interface information in the second context information;
and establishing a target association relationship between the first available interface information and the second available interface information to form a data transmission duct comprising the target association relationship.
Example 3 provides the method of example 2, the data transfer between the applet end and the webpage end through the data transfer bypass, comprising:
receiving first encrypted data sent by the first SDK module of the applet end;
determining a first target interface of the webpage end from the second available interface information according to the target association relation;
and sending the first encrypted data to the webpage end through the first target interface so that a second SDK module of the webpage end decrypts the first encrypted data to obtain first transmission data corresponding to the first encrypted data.
Example 4 provides the method of example 2, the data transfer between the applet end and the webpage end via the data transfer gateway, comprising:
receiving second encrypted data sent by a second SDK module of the webpage end;
determining a second target interface of the applet terminal from the first available interface information according to the target association relation;
and sending the second encrypted data to the applet terminal through the second target interface so that the first SDK module of the applet terminal decrypts the second encrypted data to obtain second transmission data corresponding to the second encrypted data.
Example 5 provides the method of any one of examples 1-4, further comprising, in accordance with one or more embodiments of the present disclosure:
receiving a first heartbeat signal sent by the applet terminal and a second heartbeat signal sent by the webpage terminal;
under the condition that the first heartbeat signal or the second heartbeat signal is determined not to be received, sending prompt information of interruption of a data transmission duct to the small program end and the webpage end so that a first SDK (software development kit) module of the small program end responds to the received prompt information, if a first instruction for transmitting data to the webpage end is received, the first instruction comprises third transmission data, generating first hash information corresponding to the third transmission data, acquiring first website information of the webpage end, adding the first hash information to the first website information to generate second website information, acquiring the first hash information in the second website information when the second website information is intercepted by the webpage end, and determining the third transmission data according to the first hash information; and enabling a second SDK module of the webpage end to respond to the received prompt message, generating second hash information corresponding to fourth transmission data if a second instruction for transmitting data to the applet end is received, controlling a preset interface of the applet end to acquire third website information of the webpage end, adding the second hash information to the third website information to generate fourth website information, acquiring second hash information in the fourth website information when the applet end loads the fourth website information, and determining the fourth transmission data according to the second hash information.
Example 6 provides a data transmission method, according to one or more embodiments of the present disclosure, which is applied to an applet terminal including a first SDK module, the method including:
acquiring first context information of an applet terminal through the first SDK module, wherein the first context information is used for representing a first association relation between the first SDK module and the applet terminal;
sending the first context information to a proxy server so that the proxy server establishes a data transmission duct between the applet terminal and the webpage terminal according to the first context information and second context information sent by the webpage terminal;
and carrying out data transmission with the webpage end through the data transmission duct.
Example 7 provides the method of example 6, further comprising, in accordance with one or more embodiments of the present disclosure:
and sending a first heartbeat signal to the proxy server so that the proxy server determines whether the data transmission duct is interrupted according to the first heartbeat signal, and sending prompt information of interruption of the data transmission duct to the small program terminal under the condition of determining that the data duct is interrupted.
Example 8 provides the method of example 6, further comprising, in accordance with one or more embodiments of the present disclosure:
under the condition of receiving prompt information of interruption of a data transmission duct sent by the proxy server, if a first instruction for transmitting data to a webpage end is received, wherein the first instruction comprises third transmission data, first hash information corresponding to the third transmission data is generated, first website information of the webpage end is acquired, the first hash information is added to the first website information to generate second website information, when the webpage end intercepts the second website information, the first hash information in the second website information is acquired, and the third transmission data is determined according to the first hash information.
Example 9 provides a data transmission method, 9 is applied to a web page side including a second SDK module, and the method includes:
acquiring second context information of the webpage end through the second SDK module, wherein the second context information is used for representing a second association relation between the second SDK module and the webpage end;
sending the second context information to a proxy server so that the proxy server establishes a data transmission duct between the webpage end and the applet end according to the second context information and the first context information sent by the applet end;
and carrying out data transmission with the small program end through the data transmission duct.
Example 10 provides the method of example 9, further comprising, in accordance with one or more embodiments of the present disclosure:
and sending a second heartbeat signal to the proxy server so that the proxy server determines whether the data transmission duct is interrupted according to the second heartbeat signal, and sending prompt information of interruption of the data transmission duct to the webpage end under the condition of determining that the data duct is interrupted.
Example 11 provides the method of example 9, further comprising, in accordance with one or more embodiments of the present disclosure:
under the condition of receiving prompt information of data transmission duct interruption sent by a proxy server, if a second instruction for transmitting data to an applet terminal is received, the second instruction comprises fourth transmission data, second hash information corresponding to the fourth transmission data is generated, a preset interface of the applet terminal is controlled to acquire third website information of the webpage terminal, the second hash information is added to the third website information to generate fourth website information, when the applet terminal loads the fourth website information, the second hash information in the fourth website information is acquired, and the fourth transmission data is determined according to the second hash information.
Example 12 provides, in accordance with one or more embodiments of the present disclosure, a data transmission apparatus applied to a proxy server, the apparatus including:
the first receiving module is used for receiving first context information sent by a first SDK module of an applet terminal, wherein the first context information is used for representing a first association relation between the first SDK module and the applet terminal;
the second receiving module is used for receiving second context information sent by a second SDK module of the webpage end, and the second context information is used for representing a second association relation between the second SDK module and the webpage end;
the channel establishing module is used for establishing a data transmission channel between the applet end and the webpage end according to the first context information and the second context information;
and the data transmission module is used for transmitting data between the applet end and the webpage end through the data transmission duct.
Example 13 provides, in accordance with one or more embodiments of the present disclosure, a data transmission apparatus applied to an applet terminal including a first SDK module, the apparatus including:
a first obtaining module, configured to obtain first context information of an applet terminal through the first SDK module, where the first context information is used to represent a first association relationship between the first SDK module and the applet terminal;
the first sending module is used for sending the first context information to a proxy server so that the proxy server establishes a data transmission duct between the applet terminal and the webpage terminal according to the first context information and second context information sent by the webpage terminal;
and the first transmission module is used for transmitting data with the webpage end through the data transmission duct.
Example 14 provides, according to one or more embodiments of the present disclosure, a data transmission apparatus applied to a web page side, where the web page side includes a second SDK module, and the apparatus includes:
a second obtaining module, configured to obtain, by using the second SDK module, second context information of the web page end, where the second context information is used to represent a second association relationship between the second SDK module and the web page end;
a third sending module, configured to send the second context information to a proxy server, so that the proxy server establishes a data transmission duct between the web page end and the applet end according to the second context information and the first context information sent by the applet end;
and the third transmission module is used for transmitting data with the small program end through the data transmission duct.
Example 15 provides a computer-readable medium having stored thereon a computer program that, when executed by a processing apparatus, performs the steps of the method of any of examples 1-11 above, in accordance with one or more embodiments of the present disclosure.
Example 16 provides, in accordance with one or more embodiments of the present disclosure, an electronic device, comprising:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to implement the steps of the method of any of examples 1-11 above.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

Claims (16)

1. A data transmission method applied to a proxy server, the method comprising:
receiving first context information sent by a first SDK module of an applet terminal, wherein the first context information is used for representing a first association relation between the first SDK module and the applet terminal;
receiving second context information sent by a second SDK module of a webpage end, wherein the second context information is used for representing a second association relation between the second SDK module and the webpage end;
establishing a data transmission duct between the applet end and the webpage end according to the first context information and the second context information;
and carrying out data transmission between the applet end and the webpage end through the data transmission duct.
2. The method according to claim 1, wherein the establishing a data transmission duct between the applet terminal and the webpage terminal according to the first context information and the second context information comprises:
acquiring first data identification information in the first context information and second data identification information in the second context information;
under the condition that the first data identification information is consistent with the second data identification information, acquiring first available interface information in the first context information and second available interface information in the second context information;
establishing a target association relationship between the first available interface information and the second available interface information to form a data transfer duct including the target association relationship.
3. The method of claim 2, wherein the data transfer between the applet end and the webpage end via the data transfer gateway comprises:
receiving first encrypted data sent by the first SDK module of the applet terminal;
determining a first target interface of the webpage end from the second available interface information according to the target association relation;
and sending the first encrypted data to a webpage end through the first target interface so that a second SDK module of the webpage end decrypts the first encrypted data to obtain first transmission data corresponding to the first encrypted data.
4. The method of claim 2, wherein the data transfer between the applet end and the webpage end via the data transfer gateway comprises:
receiving second encrypted data sent by a second SDK module of the webpage end;
determining a second target interface of the applet terminal from the first available interface information according to the target association relation;
and sending the second encrypted data to an applet terminal through the second target interface so that a first SDK module of the applet terminal decrypts the second encrypted data to obtain second transmission data corresponding to the second encrypted data.
5. The method according to any one of claims 1-4, further comprising:
receiving a first heartbeat signal sent by the applet terminal and a second heartbeat signal sent by the webpage terminal;
under the condition that the first heartbeat signal or the second heartbeat signal is determined not to be received, sending prompt information of interruption of a data transmission duct to the small program end and the webpage end so that a first SDK (software development kit) module of the small program end responds to the received prompt information, if a first instruction for transmitting data to the webpage end is received, the first instruction comprises third transmission data, generating first hash information corresponding to the third transmission data, acquiring first website information of the webpage end, adding the first hash information to the first website information to generate second website information, and acquiring the first hash information in the second website information when the webpage end intercepts the second website information and determining the third transmission data according to the first hash information; and enabling a second SDK module of the webpage end to respond to the received prompt message, generating second hash information corresponding to fourth transmission data if a second instruction for transmitting data to the small program end is received, controlling a preset interface of the small program end to acquire third website information of the webpage end, adding the second hash information to the third website information to generate fourth website information, acquiring second hash information in the fourth website information when the small program end loads the fourth website information, and determining the fourth transmission data according to the second hash information.
6. A data transmission method is applied to an applet end, wherein the applet end comprises a first SDK module, and the method comprises the following steps:
acquiring first context information of an applet terminal through the first SDK module, wherein the first context information is used for representing a first association relation between the first SDK module and the applet terminal;
sending the first context information to a proxy server so that the proxy server establishes a data transmission duct between the applet terminal and the webpage terminal according to the first context information and second context information sent by the webpage terminal;
and carrying out data transmission with the webpage end through the data transmission duct.
7. The method of claim 6, further comprising:
and sending a first heartbeat signal to the proxy server so that the proxy server determines whether the data transmission duct is interrupted according to the first heartbeat signal, and sending prompt information of interruption of the data transmission duct to the small program terminal under the condition of determining that the data duct is interrupted.
8. The method of claim 6, further comprising:
under the condition of receiving prompt information of interruption of a data transmission duct sent by the proxy server, if a first instruction for transmitting data to a webpage end is received, wherein the first instruction comprises third transmission data, first hash information corresponding to the third transmission data is generated, first website information of the webpage end is acquired, the first hash information is added to the first website information to generate second website information, when the webpage end intercepts the second website information, the first hash information in the second website information is acquired, and the third transmission data is determined according to the first hash information.
9. A data transmission method is applied to a webpage end, the webpage end comprises a second SDK module, and the method comprises the following steps:
acquiring second context information of the webpage end through the second SDK module, wherein the second context information is used for representing a second association relation between the second SDK module and the webpage end;
sending the second context information to a proxy server so that the proxy server establishes a data transmission duct between the webpage end and the applet end according to the second context information and the first context information sent by the applet end;
and carrying out data transmission with the small program end through the data transmission duct.
10. The method of claim 9, further comprising:
and sending a second heartbeat signal to the proxy server so that the proxy server determines whether the data transmission duct is interrupted according to the second heartbeat signal, and sending prompt information of interruption of the data transmission duct to the webpage end under the condition of determining that the data duct is interrupted.
11. The method of claim 9, further comprising:
under the condition of receiving prompt information sent by a proxy server and indicating that a data transmission duct is interrupted, if a second instruction for transmitting data to an applet end is received, the second instruction comprises fourth transmission data, second hash information corresponding to the fourth transmission data is generated, a preset interface of the applet end is controlled to obtain third website information of the webpage end, the second hash information is added to the third website information to generate fourth website information, when the applet end loads the fourth website information, second hash information in the fourth website information is obtained, and the fourth transmission data is determined according to the second hash information.
12. A data transmission apparatus, applied to a proxy server, the apparatus comprising:
the system comprises a first receiving module, a first sending module and a second receiving module, wherein the first receiving module is used for receiving first context information sent by a first SDK module of an applet terminal, and the first context information is used for representing a first association relation between the first SDK module and the applet terminal;
the second receiving module is used for receiving second context information sent by a second SDK module of the webpage end, and the second context information is used for representing a second association relation between the second SDK module and the webpage end;
the duct establishing module is used for establishing a data transmission duct between the applet end and the webpage end according to the first context information and the second context information;
and the data transmission module is used for transmitting data between the applet end and the webpage end through the data transmission duct.
13. A data transmission apparatus, applied to an applet end, where the applet end includes a first SDK module, the apparatus comprising:
a first obtaining module, configured to obtain first context information of an applet terminal through the first SDK module, where the first context information is used to represent a first association relationship between the first SDK module and the applet terminal;
the first sending module is used for sending the first context information to a proxy server so that the proxy server establishes a data transmission duct between the applet terminal and the webpage terminal according to the first context information and second context information sent by the webpage terminal;
and the first transmission module is used for carrying out data transmission with the webpage end through the data transmission duct.
14. A data transmission device is applied to a webpage end, the webpage end comprises a second SDK module, and the device comprises:
a second obtaining module, configured to obtain, by using the second SDK module, second context information of the web page end, where the second context information is used to represent a second association relationship between the second SDK module and the web page end;
a third sending module, configured to send the second context information to a proxy server, so that the proxy server establishes a data transmission duct between the web page end and the applet end according to the second context information and the first context information sent by the applet end;
and the third transmission module is used for transmitting data with the small program end through the data transmission duct.
15. A computer-readable medium, on which a computer program is stored, characterized in that the program, when being executed by processing means, carries out the steps of the method of any one of claims 1-11.
16. An electronic device, comprising:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to carry out the steps of the method according to any one of claims 1 to 11.
CN202111117221.3A 2021-09-23 2021-09-23 Data transmission method and device, readable medium and electronic equipment Active CN113783966B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111117221.3A CN113783966B (en) 2021-09-23 2021-09-23 Data transmission method and device, readable medium and electronic equipment
PCT/CN2022/114874 WO2023045694A1 (en) 2021-09-23 2022-08-25 Data transmission method and apparatus, and readable medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111117221.3A CN113783966B (en) 2021-09-23 2021-09-23 Data transmission method and device, readable medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113783966A true CN113783966A (en) 2021-12-10
CN113783966B CN113783966B (en) 2023-01-03

Family

ID=78852986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111117221.3A Active CN113783966B (en) 2021-09-23 2021-09-23 Data transmission method and device, readable medium and electronic equipment

Country Status (2)

Country Link
CN (1) CN113783966B (en)
WO (1) WO2023045694A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023045694A1 (en) * 2021-09-23 2023-03-30 北京火山引擎科技有限公司 Data transmission method and apparatus, and readable medium and electronic device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108319483A (en) * 2018-01-30 2018-07-24 腾讯科技(深圳)有限公司 Web page processing method, device, terminal and storage medium
CN110531962A (en) * 2019-08-06 2019-12-03 上海连尚网络科技有限公司 Development process method, equipment and the computer readable storage medium of small routine
CN110569078A (en) * 2018-05-18 2019-12-13 广州腾讯科技有限公司 Method and device for preloading webpage-level program
CN110795672A (en) * 2019-10-29 2020-02-14 百度在线网络技术(北京)有限公司 Method, device, equipment and medium for showing content of applet
CN111580997A (en) * 2020-05-20 2020-08-25 长沙米拓信息技术有限公司 Method, system, equipment and storage medium for synchronizing contents of application and website
CN112269959A (en) * 2020-11-19 2021-01-26 北京有竹居网络技术有限公司 Display content control method and device, readable medium and electronic equipment
CN112286656A (en) * 2020-10-21 2021-01-29 百度在线网络技术(北京)有限公司 Applet simulation method, apparatus, electronic device and computer readable storage medium
CN112379863A (en) * 2020-10-12 2021-02-19 杭州易现先进科技有限公司 WebGL development method and device for cross-browser and small program and computer equipment
WO2021051913A1 (en) * 2019-09-17 2021-03-25 创新先进技术有限公司 Method and device for generating applet
CN113297453A (en) * 2021-06-17 2021-08-24 北京有竹居网络技术有限公司 Network request response method and device, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630512A (en) * 2016-02-17 2016-06-01 北京高绎信息技术有限公司 Method and system for implementing mobile device data tracking through software development toolkit
CN111767091B (en) * 2020-07-01 2023-12-05 百度在线网络技术(北京)有限公司 Method, device, electronic equipment and storage medium for acquiring user information by applet
CN113783966B (en) * 2021-09-23 2023-01-03 北京火山引擎科技有限公司 Data transmission method and device, readable medium and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108319483A (en) * 2018-01-30 2018-07-24 腾讯科技(深圳)有限公司 Web page processing method, device, terminal and storage medium
CN110569078A (en) * 2018-05-18 2019-12-13 广州腾讯科技有限公司 Method and device for preloading webpage-level program
CN110531962A (en) * 2019-08-06 2019-12-03 上海连尚网络科技有限公司 Development process method, equipment and the computer readable storage medium of small routine
WO2021051913A1 (en) * 2019-09-17 2021-03-25 创新先进技术有限公司 Method and device for generating applet
CN110795672A (en) * 2019-10-29 2020-02-14 百度在线网络技术(北京)有限公司 Method, device, equipment and medium for showing content of applet
CN111580997A (en) * 2020-05-20 2020-08-25 长沙米拓信息技术有限公司 Method, system, equipment and storage medium for synchronizing contents of application and website
CN112379863A (en) * 2020-10-12 2021-02-19 杭州易现先进科技有限公司 WebGL development method and device for cross-browser and small program and computer equipment
CN112286656A (en) * 2020-10-21 2021-01-29 百度在线网络技术(北京)有限公司 Applet simulation method, apparatus, electronic device and computer readable storage medium
CN112269959A (en) * 2020-11-19 2021-01-26 北京有竹居网络技术有限公司 Display content control method and device, readable medium and electronic equipment
CN113297453A (en) * 2021-06-17 2021-08-24 北京有竹居网络技术有限公司 Network request response method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈思等: "微信小程序开发方式对比", 《电子制作》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023045694A1 (en) * 2021-09-23 2023-03-30 北京火山引擎科技有限公司 Data transmission method and apparatus, and readable medium and electronic device

Also Published As

Publication number Publication date
WO2023045694A1 (en) 2023-03-30
CN113783966B (en) 2023-01-03

Similar Documents

Publication Publication Date Title
CN105718313A (en) Application operation method and device
US20230353515A1 (en) Information display method and apparatus, and electronic device
US20220365985A1 (en) Page jump method and apparatus, electronic device and computer-readable storage medium
CN110377440B (en) Information processing method and device
CN111199037B (en) Login method, system and device
US11861381B2 (en) Icon updating method and apparatus, and electronic device
CN112866385B (en) Interface calling method and device, electronic equipment and storage medium
CN111209306A (en) Business logic judgment method and device, electronic equipment and storage medium
CN113783966B (en) Data transmission method and device, readable medium and electronic equipment
CN111309304A (en) Method, device, medium and electronic equipment for generating IDL file
CN110674481A (en) Account registration method, device, equipment and storage medium of application program
CN111596992B (en) Navigation bar display method and device and electronic equipment
CN112329044A (en) Information acquisition method and device, electronic equipment and computer readable medium
CN110855655B (en) Information verification method, device, equipment and storage medium
CN110619101A (en) Method and apparatus for processing information
CN115374207A (en) Service processing method and device, electronic equipment and computer readable storage medium
CN114780124A (en) Differential upgrading method, device, medium and electronic equipment
CN112905355B (en) Method, apparatus and computer storage medium for information processing
CN114489891A (en) Control method, system, device, readable medium and equipment of cloud application program
CN113778566A (en) Native application calling method and device, electronic equipment and computer readable medium
CN110851754A (en) Webpage access method and system, computer system and computer readable storage medium
CN111240801A (en) Method, device, medium and electronic equipment for generating heap memory snapshot file
CN113391860A (en) Service request processing method and device, electronic equipment and computer storage medium
CN112486826B (en) Test method, test device, electronic equipment and computer readable medium
CN112468470B (en) Data transmission method and device and electronic equipment

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