CN110083466A - A kind of data transmission method and device of small routine - Google Patents

A kind of data transmission method and device of small routine Download PDF

Info

Publication number
CN110083466A
CN110083466A CN201910351860.2A CN201910351860A CN110083466A CN 110083466 A CN110083466 A CN 110083466A CN 201910351860 A CN201910351860 A CN 201910351860A CN 110083466 A CN110083466 A CN 110083466A
Authority
CN
China
Prior art keywords
small routine
receiving end
data
transport protocol
transmitting terminal
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
CN201910351860.2A
Other languages
Chinese (zh)
Other versions
CN110083466B (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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910351860.2A priority Critical patent/CN110083466B/en
Publication of CN110083466A publication Critical patent/CN110083466A/en
Application granted granted Critical
Publication of CN110083466B publication Critical patent/CN110083466B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/541Client-server

Abstract

The present invention provides the data transmission method and device of a kind of small routine, this method comprises: establishing the transport protocol of object transfer between the transmitting terminal of small routine and receiving end, wherein, a logical layer for the small routine in the receiving end and the transmitting terminal, another is the rendering layer of the small routine;The object information of the object data of the transmitting terminal is sent to the receiving end according to the transport protocol.The embodiment of the present invention is by establishing the transport protocol of object transfer between the rendering layer of small routine and logical layer, it can be realized and directly transmit data between the rendering layer of small routine and logical layer, reduce the data processing amount in data transmission procedure, the burden of system layer is also reduced simultaneously, is conducive to improve data transfer speed.

Description

A kind of data transmission method and device of small routine
Technical field
The present invention relates to field of computer technology more particularly to a kind of data transmission methods of small routine, device, server And storage medium.
Background technique
Small routine is one kind without downloading and installs i.e. workable mobile terminal using (APP), is typically based on other large sizes APP is carrier realization.For example, certain large size APP provide small routine development platform, developer passes through the small routine development platform After the exploitation for completing small routine, it is distributed to the server-side of large-scale APP, user can call small routine by large size APP.
The data of existing small routine need first in transmitting terminal by data sequence between logical layer and rendering layer in transmission process Column turn to character string and are sent to system layer (or NA layers), are then sent to receiving end by system layer, receiving end is receiving Character string is deserialized as data available after character string.As shown in Figure 1, using the logical layer of small routine as transmitting terminal, rendering For layer to illustrate for receiving end, the data for needing to send are JS object, since system layer is only able to achieve the transmitting of character string, It needs that JS object sequence is first turned to character string, character string is then transferred to system layer.It further, then will by system layer The character string is sent to the rendering layer of small routine, and character string, can be by the wash with watercolours of small routine after rendering layer inverted sequence is classified as JS object Layer is contaminated to use.
The data transmission performance of this transmission mode is affected by data volume, when data volume increases, due to needing Largely serialize and unserializing processing, data transmission performance are remarkably decreased, meanwhile, the data in system layer are to pass Defeated to be realized based on queue, the external events such as user's input, interface (UI) response can make the data transmission bauds in system layer At influence, thus data be delivered in data volume it is larger when there is delay.
Summary of the invention
The embodiment of the present invention provides data transmission method, device, server and the storage medium of a kind of small routine, to solve Transmission performance declines and there are problems that delay when the data volume of small routine is larger.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of data transmission methods of small routine, comprising the following steps:
Establish the transport protocol of object transfer between the transmitting terminal of small routine and receiving end, wherein the receiving end and institute The logical layer that one in transmitting terminal is the small routine is stated, another is the rendering layer of the small routine;
The object information of the object data of the transmitting terminal is sent to the receiving end according to the transport protocol.
Optionally, the transport protocol for establishing object transfer between the transmitting terminal of small routine and receiving end, comprising:
The identification number bound with the logical layer and the rendering layer is established respectively;
Establish the transport protocol according to the identification number sending object information.
Optionally, it is described the object information of the object data of the transmitting terminal is sent to according to the transport protocol it is described Receiving end, comprising:
Generate the object information of object data;
Based on the transport protocol, the object information is sent out by the transmitting terminal according to the identification number of the receiving end It send to the receiving end.
Optionally, it is described be based on the transport protocol, according to the identification number of the receiving end by the object information by The transmitting terminal is sent to after the receiving end, the method also includes:
Call the object information of object data described in call back function transparent transmission.
Optionally, the object information for generating object data, comprising:
Replicate the object data and with the preservation of object data copy;Or
Save the memory address of the object data.
Second aspect, the embodiment of the invention also provides a kind of data transmission devices of small routine, comprising:
Module is established, for establishing the transport protocol of object transfer between the transmitting terminal of small routine and receiving end, wherein institute The logical layer that one in receiving end and the transmitting terminal is the small routine is stated, another is the rendering layer of the small routine;
Sending module, for the object information of the object data of the transmitting terminal to be sent to institute according to the transport protocol State receiving end.
Optionally, the sending module includes:
First setting up submodule, for establishing the identification number with the logical layer and rendering layer binding respectively;
Second setting up submodule, for establishing the transport protocol according to the identification number sending object information.
Optionally, the sending module includes:
Submodule is generated, for generating the object information of object data;
Sending submodule believes the object according to the identification number of the receiving end for being based on the transport protocol Breath is sent to the receiving end by the transmitting terminal.
Optionally, the sending module further include:
Transparent transmission submodule, for calling the object information of object data described in call back function transparent transmission.
Optionally, the generation submodule includes:
Copied cells, for replicating the object data and with the preservation of object data copy;Or
Storage unit, for saving the memory address of the object data.
The third aspect the embodiment of the invention also provides a kind of mobile terminal, including processor, memory and is stored in institute The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor The step of realizing the data transmission method of the small routine as described in any of the above item.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes the step of the data transmission method of small routine described in any of the above item when the computer program is executed by processor Suddenly.
The embodiment of the present invention, can by establishing the transport protocol of object transfer between the rendering layer of small routine and logical layer Realization directly transmits data between the rendering layer of small routine and logical layer, reduces the data processing in data transmission procedure Amount, while the burden of system layer is also reduced, be conducive to improve data transfer speed.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is the connection schematic diagram of existing small routine logical layer and rendering layer;
Fig. 2 is a kind of flow chart of the data transmission method of small routine provided in an embodiment of the present invention;
Fig. 3 is the connection schematic diagram of the logical layer of small routine and rendering layer in the embodiment of the present invention;
Fig. 4 is the flow chart of the data transmission method of another small routine provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of the data transmission device of small routine in the embodiment of the present invention;
Fig. 6 is the structural schematic diagram of server in the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The present invention provides a kind of data transmission method of small routine.
As shown in Fig. 2, the data transmission method of the small routine the following steps are included:
Step 201: establishing the transport protocol of object transfer between the transmitting terminal of small routine and receiving end.
A logical layer for small routine in receiving end and transmitting terminal in the present embodiment, another is the wash with watercolours of small routine It contaminates layer (also referred to as view layer).It is to be understood that this method can be used for data being sent to small routine by the logical layer of small routine Rendering layer, the logical layer of small routine can also be sent to by the rendering layer of small routine.
As shown in figure 3, in general, the logical layer 301 of small routine is by independent JS engine (Javascript Core) As running environment, and rendering layer 302 is using WebView (webpage view) as rendering carrier.Architecturally, WebView and JS Engine is all independent module, so data sharing can not be carried out directly.Therefore, it when implementation, can be built based on JS virtual machine 303 Found the transport protocol of the object transfer.
Specifically, the logical layer 301 and rendering layer 302 in small routine respectively include JS virtual machine 303, and each JS virtual machine 303 running environment and handled data are same format and type, so being energy between different JS virtual machines 303 It enough realizes data transmission and shared, therefore, can establish the JS virtual machine 303 of connection logical layer 301 and the JS of rendering layer 302 The transport protocol of object transfer between virtual machine 203.
Step 202: the object information of the object data of the transmitting terminal is sent to by described connect according to the transport protocol Receiving end.
Since the transmitting terminal of small routine and receiving end are to establish the transport protocol of object transfer, it is possible to be based on the biography Defeated agreement completes the transmission of data.Wherein, the object for the object data that the data transmitted here are sent required for referring specifically to Information.
The embodiment of the present invention, can by establishing the transport protocol of object transfer between the rendering layer of small routine and logical layer Realization directly transmits data between the rendering layer of small routine and logical layer, reduces the data processing in data transmission procedure Amount, while the burden of system layer is also reduced, be conducive to improve data transfer speed.
Further referring to Fig. 4, Fig. 4 is the process of the another embodiment of data transmission method of small routine provided by the invention Figure, transport protocol is further defined compared with embodiment illustrated in fig. 2, in the present embodiment establishes mode.As shown in figure 4, should The data transmission method of small routine the following steps are included:
Step 401: establishing the identification number bound with the logical layer and the rendering layer respectively.
In the present embodiment, respectively bound identification number (ID) for logical layer and rendering layer first, the identification number be one only One identification number, using as transmission data when unique identification.When implementation, the identification number of logical layer and rendering layer binding can To be fixed;Obviously, the identification number of the binding be also possible to variation, when needing to carry out data transmission, logical layer and Rendering layer binds unique identification number, and identification number is unbinded after the data transfer ends, after identification number unbundlings, due to not In the presence of the mark of transmission data, so can not continue transmission data binds identification number when needing to transmit data again again ?.
Further, in order to handle the object data of transmission, while corresponding processing letter can also be registered Number, can specifically participate in existing processing function, not be further qualified and describe herein.
Step 402: establishing the transport protocol according to the identification number sending object information.
The transport protocol of foundation carries out data transmission being the identification number progress according to receiving end for realizing data transmission , since identification number is uniquely, so transmitting terminal and receiving end according to determined by identification number are also unique.
In general, small routine is realized based on JS virtual machine, and in this case, the transport protocol established is practical On be one for according to identification number carry out JS object transfer transfer function.Obviously, if having changed the frame of small routine And running environment, the transport protocol established then according to circumstances adjust accordingly.
Step 403: the object information of the object data of the transmitting terminal is sent to by described connect according to the transport protocol Receiving end.
As an optional specific embodiment, which includes:
Generate the object information of object data.
Since the logical layer and rendering layer of small routine are to rely on JS virtual machine to realize, so by sending in the present embodiment The data that end is sent to receiving end are JS object, i.e., the object information of above-mentioned object data is JS object.When implementation, according to required The object data of transmission generates the object information of object data.
In a specific embodiment, it specially replicates object data and is saved with object data copy, saved Object information of the object data copy as object data.In another embodiment, then being will be in object data Deposit object information of the address as object data.
Based on the transport protocol, the object information is sent out by the transmitting terminal according to the identification number of the receiving end It send to the receiving end.
After the unique transmitting terminal of determination and unique receiving end, it can be incited somebody to action based on the transport protocol for realizing transfer function Data are transferred to receiving end by transmitting terminal.Specifically, tune can be passed through in the case where small routine is realized based on JS virtual machine With transfer function, it can be realized and the object information of object data is sent to determining receiving end by the transmitting terminal determined.
Optionally, it is being based on the transport protocol, according to the identification number of the receiving end by the object information by institute It states transmitting terminal to be sent to after the receiving end, this method further include:
Call the object information of object data described in call back function transparent transmission.
The process is that can be improved data pair by way of transparent transmission by the readjustment process that call back function is realized The speed of the transmission of the object information of elephant, meanwhile, it will not be conducive to interference is generated between the transformation task established before The stability of improve data transfer.
The embodiment of the invention also provides a kind of data transmission devices 500 of small routine, as shown in Figure 5, comprising:
Module 501 is established, for establishing the transport protocol of object transfer between the transmitting terminal of small routine and receiving end, In, a logical layer for the small routine in the receiving end and the transmitting terminal, another is the wash with watercolours of the small routine Contaminate layer;
Sending module 502, for being sent the object information of the object data of the transmitting terminal according to the transport protocol To the receiving end.
Optionally, the sending module 502 includes:
First setting up submodule, for establishing the identification number with the logical layer and rendering layer binding respectively;
Second setting up submodule, for establishing the transport protocol according to the identification number sending object information.
Optionally, the sending module 502 includes:
Submodule is generated, for generating the object information of object data;
Sending submodule believes the object according to the identification number of the receiving end for being based on the transport protocol Breath is sent to the receiving end by the transmitting terminal.
Optionally, the sending module 502 further include:
Transparent transmission submodule, for calling the object information of object data described in call back function transparent transmission.
Optionally, the generation submodule includes:
Copied cells, for replicating the object data and with the preservation of object data copy;Or
Storage unit, for saving the memory address of the object data.
The data transmission device of small routine provided in an embodiment of the present invention can be realized small routine shown in above-mentioned Fig. 1 and Fig. 3 Data transmission method embodiment each step, to avoid repeating, which is not described herein again.
Referring to Fig. 6, Fig. 6 is the structure chart of server provided in an embodiment of the present invention, can be realized in above-described embodiment The details of the data transmission method of small routine, and reach identical effect.As shown in fig. 6, server 600 includes: processor 601, transceiver 602, memory 603, user interface 604 and bus interface, in which:
Processor 601 executes following process for reading the program in memory 603:
Establish the transport protocol of object transfer between the transmitting terminal of small routine and receiving end, wherein the receiving end and institute The logical layer that one in transmitting terminal is the small routine is stated, another is the rendering layer of the small routine;
The object information of the object data of the transmitting terminal is sent to the receiving end according to the transport protocol.
In Fig. 6, bus architecture may include the bus and bridge of any number of interconnection, specifically be represented by processor 601 One or more processors and the various circuits of memory that represent of memory 603 link together.Bus architecture can be with Various other circuits of such as peripheral equipment, voltage-stablizer and management circuit or the like are linked together, these are all these Well known to field, therefore, it will not be further described herein.Bus interface provides interface.Transceiver 602 can be Multiple element includes transmitter and receiver, provides the unit for communicating over a transmission medium with various other devices.Needle To different user equipmenies, user interface 604, which can also be, external the interface for needing equipment is inscribed, and the equipment of connection includes But be not limited to keypad, display, loudspeaker, microphone, control stick etc..
Processor 601, which is responsible for management bus architecture and common processing, memory 603, can store processor 601 and is holding Used data when row operation.
Optionally, following steps be can also be achieved when program is executed by processor 601:
Optionally, the transport protocol for establishing object transfer between the transmitting terminal of small routine and receiving end, comprising:
The identification number bound with the logical layer and the rendering layer is established respectively;
Establish the transport protocol according to the identification number sending object information.
Optionally, it is described the object information of the object data of the transmitting terminal is sent to according to the transport protocol it is described Receiving end, comprising:
Generate the object information of object data;
Based on the transport protocol, the object information is sent out by the transmitting terminal according to the identification number of the receiving end It send to the receiving end.
Optionally, it is described be based on the transport protocol, according to the identification number of the receiving end by the object information by The transmitting terminal is sent to after the receiving end, the method also includes:
Call the object information of object data described in call back function transparent transmission.
Optionally, the object information for generating object data, comprising:
Replicate the object data and with the preservation of object data copy;Or
Save the memory address of the object data.
Preferably, the embodiment of the present invention also provides a kind of server, including processor, and memory, storage is on a memory And the computer program that can be run on the processor, the computer program realize above-mentioned small routine when being executed by processor Each process of data transmission method embodiment, and identical technical effect can be reached, to avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each mistake of the data transmission method embodiment of above-mentioned small routine when being executed by processor Journey, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium Matter, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (12)

1. a kind of data transmission method of small routine, which comprises the following steps:
Establish the transport protocol of object transfer between the transmitting terminal of small routine and receiving end, wherein the receiving end and the hair A logical layer for the small routine in sending end, another is the rendering layer of the small routine;
The object information of the object data of the transmitting terminal is sent to the receiving end according to the transport protocol.
2. the data transmission method of small routine as described in claim 1, which is characterized in that the transmitting terminal for establishing small routine The transport protocol of object transfer between receiving end, comprising:
The identification number bound with the logical layer and the rendering layer is established respectively;
Establish the transport protocol according to the identification number sending object information.
3. the data transmission method of small routine as claimed in claim 2, which is characterized in that described to be incited somebody to action according to the transport protocol The object information of the object data of the transmitting terminal is sent to the receiving end, comprising:
Generate the object information of object data;
Based on the transport protocol, the object information is sent to by the transmitting terminal according to the identification number of the receiving end The receiving end.
4. the data transmission method of small routine as claimed in claim 3, which is characterized in that it is described to be based on the transport protocol, After the object information is sent to the receiving end by the transmitting terminal according to the identification number of the receiving end, the side Method further include:
Call the object information of object data described in call back function transparent transmission.
5. the data transmission method of small routine as described in claim 3 or 4, which is characterized in that the generation object data Object information, comprising:
Replicate the object data and with the preservation of object data copy;Or
Save the memory address of the object data.
6. a kind of data transmission device of small routine characterized by comprising
Module is established, for establishing the transport protocol of object transfer between the transmitting terminal of small routine and receiving end, wherein described to connect A logical layer for the small routine in receiving end and the transmitting terminal, another is the rendering layer of the small routine;
Sending module, for the object information of the object data of the transmitting terminal to be sent to described connect according to the transport protocol Receiving end.
7. the data transmission device of small routine as claimed in claim 6, which is characterized in that the sending module includes:
First setting up submodule, for establishing the identification number with the logical layer and rendering layer binding respectively;
Second setting up submodule, for establishing the transport protocol according to the identification number sending object information.
8. the data transmission device of small routine as claimed in claim 7, which is characterized in that the sending module includes:
Submodule is generated, for generating the object information of object data;
Sending submodule, for be based on the transport protocol, according to the identification number of the receiving end by the object information by The transmitting terminal is sent to the receiving end.
9. the data transmission device of small routine as claimed in claim 8, which is characterized in that the sending module further include:
Transparent transmission submodule, for adjusting back the object information of object data described in transparent transmission.
10. the data transmission device of small routine as claimed in claim 8 or 9, which is characterized in that the generation submodule packet It includes:
Copied cells, for replicating the object data and with the preservation of object data copy;Or
Storage unit, for saving the memory address of the object data.
11. a kind of server, which is characterized in that including processor, memory and be stored on the memory and can be described The computer program run on processor is realized when the computer program is executed by the processor as in claim 1 to 5 The step of data transmission method of described in any item small routines.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of data transmission method of small routine described in any one of claims 1 to 5 is realized when being executed by processor.
CN201910351860.2A 2019-04-28 2019-04-28 Data transmission method and device for small program Active CN110083466B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910351860.2A CN110083466B (en) 2019-04-28 2019-04-28 Data transmission method and device for small program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910351860.2A CN110083466B (en) 2019-04-28 2019-04-28 Data transmission method and device for small program

Publications (2)

Publication Number Publication Date
CN110083466A true CN110083466A (en) 2019-08-02
CN110083466B CN110083466B (en) 2021-07-06

Family

ID=67417460

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910351860.2A Active CN110083466B (en) 2019-04-28 2019-04-28 Data transmission method and device for small program

Country Status (1)

Country Link
CN (1) CN110083466B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112506581A (en) * 2020-12-17 2021-03-16 北京百度网讯科技有限公司 Method and device for rendering small program, electronic equipment and readable storage medium
CN112596922A (en) * 2020-12-17 2021-04-02 百度在线网络技术(北京)有限公司 Communication management method, apparatus, device, medium, and program product
CN114035885A (en) * 2021-12-22 2022-02-11 北京百度网讯科技有限公司 Applet page rendering method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110088011A1 (en) * 2009-10-14 2011-04-14 Vermeg Sarl Automated Enterprise Software Development
CN107179923A (en) * 2017-03-31 2017-09-19 腾讯科技(深圳)有限公司 Applied program processing method, device and computer equipment
CN109032691A (en) * 2018-06-25 2018-12-18 腾讯科技(深圳)有限公司 A kind of small routine operation method, device and storage medium
CN109117361A (en) * 2018-06-21 2019-01-01 腾讯科技(深圳)有限公司 A kind of remote debugging method of small routine, relevant device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110088011A1 (en) * 2009-10-14 2011-04-14 Vermeg Sarl Automated Enterprise Software Development
CN107179923A (en) * 2017-03-31 2017-09-19 腾讯科技(深圳)有限公司 Applied program processing method, device and computer equipment
CN109117361A (en) * 2018-06-21 2019-01-01 腾讯科技(深圳)有限公司 A kind of remote debugging method of small routine, relevant device and system
CN109032691A (en) * 2018-06-25 2018-12-18 腾讯科技(深圳)有限公司 A kind of small routine operation method, device and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112506581A (en) * 2020-12-17 2021-03-16 北京百度网讯科技有限公司 Method and device for rendering small program, electronic equipment and readable storage medium
CN112596922A (en) * 2020-12-17 2021-04-02 百度在线网络技术(北京)有限公司 Communication management method, apparatus, device, medium, and program product
CN112506581B (en) * 2020-12-17 2024-03-22 北京百度网讯科技有限公司 Method, apparatus, electronic device and readable storage medium for rendering applet
CN112596922B (en) * 2020-12-17 2024-04-05 百度在线网络技术(北京)有限公司 Communication management method, device, equipment and medium
CN114035885A (en) * 2021-12-22 2022-02-11 北京百度网讯科技有限公司 Applet page rendering method and device and electronic equipment
CN114035885B (en) * 2021-12-22 2023-02-03 北京百度网讯科技有限公司 Applet page rendering method and device and electronic equipment

Also Published As

Publication number Publication date
CN110083466B (en) 2021-07-06

Similar Documents

Publication Publication Date Title
CN110083466A (en) A kind of data transmission method and device of small routine
Kalita Socket programming
CN108369543A (en) The mistake in cloud operation is solved using declaratively configuration data
CN110838954B (en) Lightweight large-scale autonomous network protocol function test method
CN107409359A (en) Autonomous role for dual-role device selects
CN107133109B (en) Method and device for communication between modules and computing equipment
CN103460202A (en) Facilitating, at least in part, by circuitry, accessing of at least one controller command interface
CN112769794B (en) Data conversion method and device
CN110222280A (en) Data processing method and device for sharing
CN105721021A (en) Close Proximity Transport Configuration
CN110149374A (en) A kind of document transmission method, terminal device and computer readable storage medium
CN108664342A (en) Extend method, system and storage medium based on WEB specification small routine operational capabilities
CN107852422A (en) Connected from the server interface with different API to obtain ad data
CN109379269A (en) Virtual swap device data forwarding method, device and computer equipment
CN105245464A (en) Network acceleration method based on Android system
CN112486825A (en) Multi-lane environment architecture system, message consumption method, device, equipment and medium
CN102821055B (en) Method for inter-board communication
CN108170383A (en) A kind of method and relevant apparatus that printing is realized based on terminal device
CN110380930A (en) A kind of test method, device and server, computer storage medium
CN109104292A (en) Update deployment processing method, relevant device and computer readable storage medium
CN108874699B (en) Method and device for using MTP (Multi-time transfer protocol) function by multiple systems and electronic equipment
CN103841139A (en) Data transmission method, device and system
CN101577599B (en) Embedded two-computer synchronizing method
CN112433900B (en) Method, system, device and storage medium for chip verification
CN110175139A (en) A kind of the Universal debugging method and USB device of USB device

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