Nothing Special   »   [go: up one dir, main page]

CN110083466B - Data transmission method and device for small program - Google Patents

Data transmission method and device for small program Download PDF

Info

Publication number
CN110083466B
CN110083466B CN201910351860.2A CN201910351860A CN110083466B CN 110083466 B CN110083466 B CN 110083466B CN 201910351860 A CN201910351860 A CN 201910351860A CN 110083466 B CN110083466 B CN 110083466B
Authority
CN
China
Prior art keywords
applet
data
transmission
sending
establishing
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.)
Active
Application number
CN201910351860.2A
Other languages
Chinese (zh)
Other versions
CN110083466A (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 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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a data transmission method and a device of an applet, wherein the method comprises the following steps: establishing a transmission protocol for object transmission between a sending end and a receiving end of an applet, wherein one of the receiving end and the sending end is a logic layer of the applet, and the other one is a rendering layer of the applet; and sending the object information of the object data of the sending end to the receiving end according to the transmission protocol. According to the embodiment of the invention, by establishing the transmission protocol for object transmission between the rendering layer and the logic layer of the applet, data can be directly transmitted between the rendering layer and the logic layer of the applet, so that the data processing amount in the data transmission process is reduced, the burden of a system layer is reduced, and the data transmission speed is improved.

Description

Data transmission method and device for small program
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data transmission method and apparatus for an applet, a server, and a storage medium.
Background
An applet is a mobile Application (APP) that can be used without downloading and installation, and is typically implemented based on other large APPs as carriers. For example, some large APPs provide an applet development platform, developers complete development of applets through the applet development platform and then publish the applets to a server of the large APP, and users can call applets through the large APP.
In the process of transmitting data of the existing small program between a logic layer and a rendering layer, a sending end needs to serialize the data into character strings and send the character strings to a system layer (or called NA layer), then the character strings are sent to a receiving end by the system layer, and the receiving end deserializes the character strings into available data after receiving the character strings. As shown in fig. 1, taking a logic layer of an applet as a sending end and a rendering layer as a receiving end as an example, data to be sent is a JS object, and since a system layer can only implement transfer of a character string, the JS object needs to be serialized into the character string first, and then the character string needs to be transferred to the system layer. Further, the system layer then sends the character string to the rendering layer of the applet, and the character string can be used by the rendering layer of the applet after the rendering layer is inversely sequenced into the JS object.
The data transmission performance of the transmission mode is greatly influenced by the data volume, when the data volume is increased, the data transmission performance is remarkably reduced due to the fact that a large amount of serialization and deserialization processing needs to be carried out, meanwhile, data in the system layer are transmitted based on the queue, external events such as user input and interface (UI) response can affect the data transmission speed in the system layer, and therefore delay exists when the data volume is large in data transmission.
Disclosure of Invention
The embodiment of the invention provides a data transmission method, a data transmission device, a server and a storage medium of an applet, and aims to solve the problems of reduction of transmission performance and delay of the applet when the data volume is large.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a data transmission method for an applet, including the following steps:
establishing a transmission protocol for object transmission between a sending end and a receiving end of an applet, wherein one of the receiving end and the sending end is a logic layer of the applet, and the other one is a rendering layer of the applet;
and sending the object information of the object data of the sending end to the receiving end according to the transmission protocol.
Optionally, the establishing a transmission protocol for object transmission between a sending end and a receiving end of the applet includes:
respectively establishing identity numbers bound with the logic layer and the rendering layer;
and establishing a transmission protocol for sending the object information according to the identity number.
Optionally, the sending, according to the transmission protocol, object information of the object data at the sending end to the receiving end includes:
generating object information of the object data;
and based on the transmission protocol, the object information is sent to the receiving end by the sending end according to the identity number of the receiving end.
Optionally, after the object information is sent from the sending end to the receiving end according to the identity number of the receiving end based on the transmission protocol, the method further includes:
and calling a callback function to transparently transmit the object information of the object data.
Optionally, the generating object information of the object data includes:
copying the object data and storing the object data as an object data copy; or
And storing the memory address of the object data.
In a second aspect, an embodiment of the present invention further provides a data transmission apparatus for an applet, including:
the system comprises an establishing module, a transmitting module and a receiving module, wherein the establishing module is used for establishing a transmission protocol for object transmission between a transmitting end and a receiving end of an applet, one of the receiving end and the transmitting end is a logic layer of the applet, and the other one is a rendering layer of the applet;
and the sending module is used for sending the object information of the object data of the sending end to the receiving end according to the transmission protocol.
Optionally, the sending module includes:
the first establishing submodule is used for respectively establishing the identity numbers bound with the logic layer and the rendering layer;
and the second establishing submodule is used for establishing a transmission protocol for sending the object information according to the identity number.
Optionally, the sending module includes:
a generation submodule for generating object information of the object data;
and the sending submodule is used for sending the object information to the receiving end from the sending end according to the identity number of the receiving end based on the transmission protocol.
Optionally, the sending module further includes:
and the transparent transmission sub-module is used for calling a callback function to transparently transmit the object information of the object data.
Optionally, the generating sub-module includes:
the copying unit is used for copying the object data and storing the object data in an object data copy; or
And the storage unit is used for storing the memory address of the object data.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the data transmission method for the applet described in any one of the above.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the data transmission method of the applet described in any one of the above.
According to the embodiment of the invention, by establishing the transmission protocol for object transmission between the rendering layer and the logic layer of the applet, data can be directly transmitted between the rendering layer and the logic layer of the applet, so that the data processing amount in the data transmission process is reduced, the burden of a system layer is reduced, and the data transmission speed is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a schematic diagram of the connection of a conventional applet logic layer to a rendering layer;
fig. 2 is a flowchart of a data transmission method of an applet according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the connection between the logic layer and the rendering layer of an applet in an embodiment of the present invention;
fig. 4 is a flowchart of a data transmission method of another applet according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a data transmission apparatus of an applet in an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a server in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a data transmission method of an applet.
As shown in fig. 2, the data transmission method of the applet includes the following steps:
step 201: and establishing a transmission protocol for object transmission between a sending end and a receiving end of the small program.
In this embodiment, one of the receiving end and the transmitting end is a logic layer of the applet, and the other is a rendering layer (also referred to as a view layer) of the applet. It will be appreciated that the method may be used to send data from and to the logic layer of the applet.
As shown in fig. 3, in general, the logic layer 301 of the applet is executed by a separate JS engine (Javascript Core), and the rendering layer 302 takes WebView (web page view) as a rendering carrier. In terms of architecture, the WebView and the JS engine are independent modules, so that data sharing cannot be directly carried out. Thus, when implemented, the transport protocol for this object transport can be established based on the JS virtual machine 303.
Specifically, the logic layer 301 and the rendering layer 302 of the applet each include a JS virtual machine 303, and the execution environment and the processed data of each JS virtual machine 303 are of the same format and type, so that data transmission and sharing can be realized between different JS virtual machines 303, and therefore, a transmission protocol for object transmission between the JS virtual machine 303 of the logic layer 301 and the JS virtual machine 203 of the rendering layer 302 can be established.
Step 202: and sending the object information of the object data of the sending end to the receiving end according to the transmission protocol.
Since the sending end and the receiving end of the applet establish a transmission protocol for object transmission, data transmission can be completed based on the transmission protocol. The data to be transmitted here specifically refers to object information of object data to be transmitted.
According to the embodiment of the invention, by establishing the transmission protocol for object transmission between the rendering layer and the logic layer of the applet, data can be directly transmitted between the rendering layer and the logic layer of the applet, so that the data processing amount in the data transmission process is reduced, the burden of a system layer is reduced, and the data transmission speed is improved.
Referring to fig. 4, fig. 4 is a flowchart of another embodiment of a data transmission method for an applet according to the present invention, which further defines a method for establishing a transmission protocol in the embodiment, compared with the embodiment shown in fig. 2. As shown in fig. 4, the data transmission method of the applet includes the following steps:
step 401, respectively establishing identity numbers bound with the logic layer and the rendering layer.
In this embodiment, first, an identity number (ID) is bound to each of the logic layer and the rendering layer, and the identity number is a unique identity number and is used as a unique identifier when data is transmitted. In implementation, the identity number bound between the logic layer and the rendering layer may be fixed; obviously, the bound identity number may also be changed, when data transmission is required, the logic layer and the rendering layer are bound with a unique identity number, the identity number is unbound after the data transmission is finished, after the identity number is unbound, data transmission cannot be continued because of the absence of an identifier for transmitting data, and when data transmission is required again, the identity number is bound again.
Further, in order to process the transmitted object data and register a corresponding processing function, the processing function may specifically participate in the existing processing function, which is not further limited and described herein.
Step 402: and establishing a transmission protocol for sending the object information according to the identity number.
The established transmission protocol is used for realizing data transmission, the data transmission is carried out according to the identity number of the receiving end, and the sending end and the receiving end which are determined according to the identity number are unique because the identity number is unique.
Generally, applets are implemented based on a JS virtual machine, in which case the established transport protocol is effectively a transport function for JS object transport based on identity number. Obviously, if the framework and the running environment of the applet are changed, the established transmission protocol can be adjusted according to the situation.
Step 403: and sending the object information of the object data of the sending end to the receiving end according to the transmission protocol.
As an alternative specific implementation, the step 403 includes:
object information of the object data is generated.
Since the logic layer and the rendering layer of the applet are both realized by relying on the JS virtual machine, in this embodiment, the data sent by the sending end to the receiving end is a JS object, that is, the object information of the object data is a JS object. In implementation, object information of the object data is generated according to the object data needing to be transmitted.
In one embodiment, the object data is copied and stored as an object data copy, and the stored object data copy is used as object information of the object data. In another embodiment, the memory address of the target data is used as the target information of the target data.
And based on the transmission protocol, the object information is sent to the receiving end by the sending end according to the identity number of the receiving end.
After determining the unique transmitting end and the unique receiving end, the data can be transmitted from the transmitting end to the receiving end based on the transmission protocol implementing the transmission function. Specifically, in the case where the applet is implemented based on the JS virtual machine, it is possible to transmit the object information of the object data from the determined transmitting end to the determined receiving end by calling the transfer function.
Optionally, after the object information is sent from the sending end to the receiving end according to the identity number of the receiving end based on the transmission protocol, the method further includes:
and calling a callback function to transparently transmit the object information of the object data.
The process is a callback process realized by a callback function, the transmission speed of the object information of the data object can be improved in a transparent transmission mode, meanwhile, interference between the transmission task and a transmission task established before is avoided, and the stability of data transmission is improved.
An embodiment of the present invention further provides a data transmission apparatus 500 of an applet, as shown in fig. 5, including:
an establishing module 501, configured to establish a transmission protocol for object transmission between a sending end and a receiving end of an applet, where one of the receiving end and the sending end is a logic layer of the applet and the other is a rendering layer of the applet;
a sending module 502, configured to send object information of the object data of the sending end to the receiving end according to the transmission protocol.
Optionally, the sending module 502 includes:
the first establishing submodule is used for respectively establishing the identity numbers bound with the logic layer and the rendering layer;
and the second establishing submodule is used for establishing a transmission protocol for sending the object information according to the identity number.
Optionally, the sending module 502 includes:
a generation submodule for generating object information of the object data;
and the sending submodule is used for sending the object information to the receiving end from the sending end according to the identity number of the receiving end based on the transmission protocol.
Optionally, the sending module 502 further includes:
and the transparent transmission sub-module is used for calling a callback function to transparently transmit the object information of the object data.
Optionally, the generating sub-module includes:
the copying unit is used for copying the object data and storing the object data in an object data copy; or
And the storage unit is used for storing the memory address of the object data.
The data transmission device of the applet provided in the embodiment of the present invention can implement the steps of the data transmission method embodiments of the applet shown in fig. 1 and fig. 3, and in order to avoid repetition, details are not described here again.
Referring to fig. 6, fig. 6 is a structural diagram of a server according to an embodiment of the present invention, which can implement details of a data transmission method of an applet in the foregoing embodiments and achieve the same effects. As shown in fig. 6, the server 600 includes: a processor 601, a transceiver 602, a memory 603, a user interface 604, and a bus interface, wherein:
the processor 601, configured to read the program in the memory 603, executes the following processes:
establishing a transmission protocol for object transmission between a sending end and a receiving end of an applet, wherein one of the receiving end and the sending end is a logic layer of the applet, and the other one is a rendering layer of the applet;
and sending the object information of the object data of the sending end to the receiving end according to the transmission protocol.
In fig. 6, the bus architecture may include any number of interconnected buses and bridges, with one or more processors represented by processor 601 and various circuits of memory represented by memory 603 being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 602 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium. The user interface 604 may also be an interface capable of interfacing with a desired device for different user devices, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 601 is responsible for managing the bus architecture and general processing, and the memory 603 may store data used by the processor 601 in performing operations.
Optionally, the program when executed by the processor 601 may further implement the following steps:
optionally, the establishing a transmission protocol for object transmission between a sending end and a receiving end of the applet includes:
respectively establishing identity numbers bound with the logic layer and the rendering layer;
and establishing a transmission protocol for sending the object information according to the identity number.
Optionally, the sending, according to the transmission protocol, object information of the object data at the sending end to the receiving end includes:
generating object information of the object data;
and based on the transmission protocol, the object information is sent to the receiving end by the sending end according to the identity number of the receiving end.
Optionally, after the object information is sent from the sending end to the receiving end according to the identity number of the receiving end based on the transmission protocol, the method further includes:
and calling a callback function to transparently transmit the object information of the object data.
Optionally, the generating object information of the object data includes:
copying the object data and storing the object data as an object data copy; or
And storing the memory address of the object data.
Preferably, an embodiment of the present invention further provides a server, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the data transmission method embodiment of the applet, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the data transmission method embodiment of the applet, and can achieve the same technical effect, and in order to avoid repetition, the computer program is not described herein again. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (12)

1. A data transmission method for an applet, comprising the steps of:
establishing a transmission protocol for object transmission between a sending end and a receiving end of an applet, wherein one of the receiving end and the sending end is a logic layer of the applet, and the other one is a rendering layer of the applet;
sending the object information of the object data of the sending end to the receiving end according to the transmission protocol;
wherein, the establishing of the transmission protocol of the object transmission between the sending end and the receiving end of the small program comprises the following steps:
and establishing a transmission protocol for object transmission between the JS virtual machines of the logic layer and the JS virtual machines of the rendering layer.
2. The data transmission method of an applet according to claim 1, characterized in that the establishing of the transmission protocol for the object transmission between the sending and receiving ends of the applet comprises:
respectively establishing identity numbers bound with the logic layer and the rendering layer, wherein the identity numbers are bound with the logic layer and the rendering layer;
and establishing a transmission protocol for sending the object information according to the identity number.
3. The data transmission method of the applet according to claim 2, wherein the sending the object information of the object data of the sending end to the receiving end according to the transmission protocol comprises:
generating object information of the object data;
and based on the transmission protocol, the object information is sent to the receiving end by the sending end according to the identity number of the receiving end.
4. The applet data transmission method according to claim 3, wherein after the object information is sent from the sender to the receiver according to the identity number of the receiver based on the transmission protocol, the method further comprises:
and calling a callback function to transparently transmit the object information of the object data.
5. The data transmission method of an applet according to claim 3 or 4, wherein the generating of the object information of the object data includes:
copying the object data and storing the object data as an object data copy; or
And storing the memory address of the object data.
6. An apparatus for data transmission of an applet, comprising:
the system comprises an establishing module, a transmitting module and a receiving module, wherein the establishing module is used for establishing a transmission protocol for object transmission between a transmitting end and a receiving end of an applet, one of the receiving end and the transmitting end is a logic layer of the applet, and the other one is a rendering layer of the applet;
a sending module, configured to send object information of the object data of the sending end to the receiving end according to the transmission protocol;
wherein, the establishing of the transmission protocol of the object transmission between the sending end and the receiving end of the small program comprises the following steps:
and establishing a transmission protocol for object transmission between the JS virtual machines of the logic layer and the JS virtual machines of the rendering layer.
7. The applet data transmission device according to claim 6, characterized in that the sending module comprises:
the first establishing submodule is used for respectively establishing identity numbers bound with the logic layer and the rendering layer, and the logic layer and the rendering layer are both bound with the identity numbers;
and the second establishing submodule is used for establishing a transmission protocol for sending the object information according to the identity number.
8. The applet data transfer device according to claim 7, characterized in that the sending module comprises:
a generation submodule for generating object information of the object data;
and the sending submodule is used for sending the object information to the receiving end from the sending end according to the identity number of the receiving end based on the transmission protocol.
9. The applet data transfer device according to claim 8, wherein the sending module further comprises:
and the transparent transmission sub-module is used for calling back the object information of the object data which is transmitted transparently.
10. The applet data transmission device according to claim 8 or 9, wherein the generating submodule comprises:
the copying unit is used for copying the object data and storing the object data in an object data copy; or
And the storage unit is used for storing the memory address of the object data.
11. A server, characterized in that it comprises a processor, a memory and a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the data transmission method of an applet according to any one of claims 1 to 5.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the data transmission method of an applet according to one of claims 1 to 5.
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 CN110083466A (en) 2019-08-02
CN110083466B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN114035885B (en) * 2021-12-22 2023-02-03 北京百度网讯科技有限公司 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

Also Published As

Publication number Publication date
CN110083466A (en) 2019-08-02

Similar Documents

Publication Publication Date Title
CN110083466B (en) Data transmission method and device for small program
CN111177617A (en) Web direct operation and maintenance method and device based on operation and maintenance management system and electronic equipment
CN111857733B (en) Construction method, device and system of service environment and readable storage medium
CN111163130A (en) Network service system and data transmission method thereof
AU2019256257A1 (en) Processor core scheduling method and apparatus, terminal, and storage medium
CN108712320A (en) Information push method and device
CN112689012A (en) Cross-network proxy communication method and device
CN111371695B (en) Service flow limiting method and device
CN116860391A (en) GPU computing power resource scheduling method, device, equipment and medium
CN109343970B (en) Application program-based operation method and device, electronic equipment and computer medium
CN109725887B (en) Data interaction method and device based on message research and development framework and terminal equipment
CN109388388B (en) Information interaction method, device, equipment and storage medium between function modules
CN114222003A (en) Service calling method, system, device, equipment and storage medium
CN113050985A (en) Front-end engineering dependence automatic registration method and device
CN112486825A (en) Multi-lane environment architecture system, message consumption method, device, equipment and medium
CN109032693A (en) Method and device for loading display information, electronic equipment and readable storage medium
CN112714146B (en) Resource scheduling method, device, equipment and computer readable storage medium
KR100609667B1 (en) Renewal system for Graphical User Interface
CN108874699B (en) Method and device for using MTP (Multi-time transfer protocol) function by multiple systems and electronic equipment
CN111813407A (en) Game development method, game running device and electronic equipment
CN112380411B (en) Sensitive word processing method, device, electronic equipment, system and storage medium
JP2006277204A (en) Portable communication terminal device
CN115629809A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN112817701B (en) Timer processing method, device, electronic equipment and computer readable medium
CN114237819A (en) Method and device for processing based on Java virtual machine 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