CN111045707B - Method, apparatus, computer device and storage medium for updating applet - Google Patents

Method, apparatus, computer device and storage medium for updating applet Download PDF

Info

Publication number
CN111045707B
CN111045707B CN201911318479.2A CN201911318479A CN111045707B CN 111045707 B CN111045707 B CN 111045707B CN 201911318479 A CN201911318479 A CN 201911318479A CN 111045707 B CN111045707 B CN 111045707B
Authority
CN
China
Prior art keywords
component
style data
data
applet
page writing
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
CN201911318479.2A
Other languages
Chinese (zh)
Other versions
CN111045707A (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.)
Shenzhen Zhenai Jieyun Information Technology Co ltd
Original Assignee
Shenzhen Zhenai Jieyun Information 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 Shenzhen Zhenai Jieyun Information Technology Co ltd filed Critical Shenzhen Zhenai Jieyun Information Technology Co ltd
Priority to CN201911318479.2A priority Critical patent/CN111045707B/en
Publication of CN111045707A publication Critical patent/CN111045707A/en
Application granted granted Critical
Publication of CN111045707B publication Critical patent/CN111045707B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The application relates to an updating method, device, computer equipment and storage medium of an applet. The method comprises the following steps: acquiring service requirements, and determining a first component to be updated in the applet according to the service requirements through a page writing platform; acquiring a first component through a page writing platform; updating the first component through the page writing platform to generate a second component; the second component and the corresponding component style data are bound and stored through the page writing platform, so that the first component in the applet is updated to the second component, the updating mode of the applet does not need to be changed by technicians, the code is not required to be packaged naturally, the updated applet is submitted to a third party platform for checking and online, the updating mode is good in adaptability and strong in flexibility, meanwhile, the code is not required to be checked every time of changing, the iteration period is shortened, and the labor cost is saved.

Description

Method, apparatus, computer device and storage medium for updating applet
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an applet updating method, apparatus, computer device, and storage medium.
Background
With the development of computer technology, the application of the applet is more and more popular, in the industry, for the modification of the applet page, a developer is required to write codes and debug based on a compiler of the applet, and then each time the codes are updated, the codes are required to be reviewed and finally released on line to be effective, and at present, the applet for realizing the same or similar effects in the industry has the following three methods: (1) the product or operation presents an operation page, development is carried out according to a design draft, then the code package is submitted, and the code package is passed and then is put on line; meanwhile, when the page is required to be offline, the page configuration is modified by development to carry out the page offline; (2) the whole page of the applet is a picture, the applet is only responsible for receiving and displaying the picture transmitted by the server, and the server is responsible for generating the picture; (3) the small program arranges page layout in advance, monitors the events of the specific dom nodes, notifies the server after triggering, and returns a result to inform the small program of the interaction operation to be performed.
However, in the above scheme, a large amount of development manpower resources are required for scheme one, and code review is also required for issuing the applet, and the online can be issued after the review passes. Meanwhile, based on design and development, only some simple and redundant works are simply performed; the workload of the second scheme is completely on the body of the server, and the picture generated by the server is limited and has poor effect; the third scheme can reduce the workload of the front end and the server, but because the page is well controlled in advance and laid out rather than dynamically generated, the flexibility is insufficient, only single requirement can be met, and the expansibility is weak.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an applet updating method, apparatus, computer device, and storage medium that can accelerate the online efficiency and save the labor cost.
A method of updating an applet, the method comprising:
acquiring a service demand, and determining a first component to be updated in an applet according to the service demand through a page writing platform;
acquiring the first component through a page writing platform;
updating the first component through the page writing platform to generate a second component;
binding and storing the second component and the corresponding component style data through a page writing platform so as to update the first component in the applet to the second component.
An apparatus for updating an applet, the apparatus comprising:
the system comprises a component acquisition module, a page writing platform and a program updating module, wherein the component acquisition module is used for acquiring service requirements and determining a first component to be updated in an applet according to the service requirements through the page writing platform; acquiring the first component through a page writing platform;
the assembly updating module is used for updating the first assembly through the page writing platform to generate a second assembly; binding and storing the second component and the corresponding component style data through a page writing platform so as to update the first component in the applet to the second component.
A computer device comprising a memory, a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring a service demand, and determining a first component to be updated in an applet according to the service demand through a page writing platform;
acquiring the first component through a page writing platform;
updating the first component through the page writing platform to generate a second component;
binding and storing the second component and the corresponding component style data through a page writing platform so as to update the first component in the applet to the second component.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
acquiring a service demand, and determining a first component to be updated in an applet according to the service demand through a page writing platform;
acquiring the first component through a page writing platform;
updating the first component through the page writing platform to generate a second component;
binding and storing the second component and the corresponding component style data through a page writing platform so as to update the first component in the applet to the second component.
According to the method, the device, the computer equipment and the storage medium for updating the small program, the variable components and the non-variable components in the small program are determined, the component style data corresponding to the variable components and the non-variable components are determined and stored in the server, the corresponding visual page writing platform is generated according to the component style data stored in the server, the first components to be updated in the small program are determined according to service requirements through the page writing platform, the first components are acquired through the page writing platform, the first components are updated through the page writing platform, the second components are generated, the second components and the corresponding component style data are bound and stored through the page writing platform, so that the first components in the small program are updated into the second components.
Drawings
FIG. 1 is a diagram of an application environment for a method of updating a applet in one embodiment;
FIG. 2 is a flow chart of a method for updating a applet in one embodiment;
FIG. 3 is a block diagram of a device for updating a applet in one embodiment;
fig. 4 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The method for updating the applet can be applied to an application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smartphones, tablet computers, and portable wearable devices, and the server 104 may be implemented by a stand-alone server or a server cluster composed of a plurality of servers.
In one embodiment, as shown in fig. 2, an update method of an applet is provided, and the method is applied to the terminal in fig. 1 for illustration, and includes the following steps:
step 201, obtaining service requirements, and determining a first component to be updated in the applet according to the service requirements through the page writing platform.
When the applet needs to be updated, the service requirement can be acquired first, then the component needing to be updated is determined according to the service requirement, and the component to be updated can be called as a first component. On the terminal, a user can acquire a first component to be updated in the applet through the page writing platform, namely, can acquire component style data of the first component through the page writing platform.
In one embodiment, the method comprises: determining variable components and non-variable components in the applet; determining component style data corresponding to the variable components and the non-variable components, and storing the component style data into a server; and generating a corresponding visual page writing platform according to each component style data stored in the server.
In the process of developing the applet by a developer, the applet page can be disassembled in a componentization manner, and the component is disassembled into a variable component and an immutable component. The variable component may be a component corresponding to a page component dom structure or the like, further, component style data included in each component may be determined, and component style data included in each component may be divided into non-variable data and variable data. The non-variable data part can be packaged into a business general component in advance, and the variable data part can be obtained from the server dynamically, namely, the variable data part can be correspondingly displayed according to the data returned by the server. Therefore, in the development process of the applet, the development can determine the variable components and the non-variable components, and the variable data portions and the non-variable data portions in the applet in advance, and can determine the component style data corresponding to the respective components and save the component style data to the server. Meanwhile, a corresponding visual page writing platform can be created, the page writing platform effectively displays the data stored in the server database in a visual mode, and non-technicians are supported to edit and modify the component style data stored in the database in a non-programming mode.
Step 202, acquiring a first component through a page writing platform.
And 203, updating the first component through the page writing platform to generate a second component.
The non-technical personnel can acquire the first component to be updated through the page writing platform and acquire the component style data of the first component, so that the first component can be updated through the page writing platform, and a second component is generated. The updating operation of the first component is actually that the component style data of the first component is modified and updated, and the new component style data obtained after updating can be considered to form a new component, namely, a second component.
In one embodiment, updating the first component through the page writing platform to generate the second component includes: acquiring component style data of a first component through a page writing platform; the method comprises the steps of carrying out a non-programming editing mode on a first component through a page writing platform, modifying component style data, and generating component style data of a second component; and storing the component style data of the second component to generate a corresponding second component.
When the first component is modified by the page writing platform to generate the second component, the page writing platform is actually used for acquiring the component style data of the first component, and the page writing platform is used for modifying the component style data by adopting a non-programming editing mode for the component style data corresponding to the first component. The component style data refers to data such as a style corresponding to each component, for example, the component style data may include data such as a color, a font size, a font family, an icon size, a frame size, a distance, a height, and the like of the component, and after the component style data of the first component is edited and modified, new component style data is obtained, that is, component style data of the second component is generated. That is, after the component style data of the first component is modified and updated, new component style data is obtained, that is, component style data corresponding to a new component, that is, component style data of the second component is obtained. And storing the component style data of the second component, and storing the component style data of the second component into a database, namely generating a corresponding second component.
In one embodiment, the component style data includes trigger mode data for the component style; the method further comprises the following steps: and modifying the triggering mode data in the component style data of the first component to generate triggering mode data of the second component so as to update the triggering mode of the second component in the applet.
Further, the component style data may further include trigger mode data of a component style, where the trigger mode data refers to data such as an interaction mode of the component, that is, in which trigger mode the component may enter a jump link or a function page corresponding to the component, and an interaction effect after triggering the component. For example, the long-press component a can display a function list, the continuous double-click component a can screen-capture a current page, or the long-press component a can display interactive animation of snowflakes, etc., and the different triggering modes correspond to different functions, and different interaction effects generated by the different triggering modes can be set according to requirements.
Therefore, when the non-technician modifies the component style data of the first component through the page writing platform, the triggering mode data contained in the component style data of the first component can be modified, and when the triggering mode data is modified, the interaction mode data of the first component is modified, so that new triggering mode data is obtained, and the triggering mode data of the second component is generated. After the triggering mode data of the second component is stored in the database, the triggering mode data representing the second component is updated, so that when the user reenters the applet, the triggering mode of the second component is updated, the user can interact with the component according to the updated triggering mode, and the corresponding function is triggered or the corresponding interaction effect is generated according to different triggering modes.
In one embodiment, modifying trigger mode data in component style data of a first component includes: acquiring triggering mode data in the component style data of the first component; and modifying each triggering mode and corresponding function contained in the triggering mode data.
When the non-technician modifies the component style data of the first component through the page writing platform, the triggering mode data in the component style data of the first component can be modified. Specifically, a non-technician can acquire trigger mode data in the component style data of the first component through the page writing platform, and modify each trigger mode and corresponding function contained in the trigger mode data. When modifying, each trigger mode contained in the trigger mode data, and the function, interaction effect and the like corresponding to each trigger mode can be modified. In general, the development may define a plurality of component triggering modes in advance, and the function and the triggering effect corresponding to each triggering mode may set a switch for each component triggering mode. The non-technician can acquire all trigger mode data corresponding to the first component through the page writing platform, and can change the trigger mode data of the first component by changing the switches of various trigger modes.
And 204, binding and storing the second component and the corresponding component style data through the page writing platform so as to update the first component in the applet to the second component.
After the first component is updated through the page writing platform, the newly generated second component and the component style data corresponding to the newly generated second component can be bound and stored in the database, the stored component style data representing the second component is effective, and when a user reenters the applet, the newly generated second component and the component style data of the second component can be obtained.
In one embodiment, the method further comprises: creating a second component through the page writing platform; and editing the component style data of the second component, binding and storing the second component and the corresponding component style data so as to update the first component in the applet to the second component.
In the above method, the second component is generated after editing the first component, that is, the component style data of the first component is edited and updated, and the new component style data obtained after modification is regarded as the component style data of the second component. That is, the second component is generated based on the first component, and when the second component is generated, the second component represents the disappearance of the first component. In this embodiment, a non-technician may directly create a second component through the page writing platform without modifying the first component, and the first component remains after the second component is generated. And the second assembly can be edited through the page writing platform, the second assembly and the assembly style data corresponding to the second assembly are bound and stored in the database, namely, the generation operation of the second assembly is confirmed, in this way, the first assembly can be replaced by the second assembly, the first assembly is reserved, and the second assembly can be directly switched to the first assembly when required.
In the prior art, for modification of the applet page, a developer is required to write codes and debug based on a compiler of the applet, and then each time the codes are updated, the codes are required to be reviewed and finally released on line to be effective. The modification mode has long period, consumes a great amount of manpower and material resources and has low benefit. In the method for updating the applet, the variable component and the non-variable component in the applet are determined, the component style data corresponding to the variable component and the non-variable component are determined and stored in the server, a corresponding visual page writing platform is generated according to each component style data stored in the server, a first component to be updated in the applet is determined according to service requirements through the page writing platform, the first component is acquired through the page writing platform, the first component is updated through the page writing platform, a second component is generated, the second component and the corresponding component style data are bound and stored through the page writing platform, so that the first component in the applet is updated into the second component.
It should be understood that, although the steps in the flowchart of fig. 2 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 2 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
In one embodiment, as shown in fig. 3, there is provided an updating apparatus of an applet, comprising: component acquisition module and component update module, wherein:
the component acquisition module 301 is configured to acquire a service requirement, and determine a first component to be updated in the applet according to the service requirement through the page writing platform; and acquiring the first component through the page writing platform.
The component updating module 302 is configured to update the first component through the page writing platform to generate a second component; binding and storing the second component and the corresponding component style data through the page writing platform so as to update the first component in the applet to the second component.
In one embodiment, the apparatus further includes a component style data determining module (not shown) for determining variable components and non-variable components in the applet; determining component style data corresponding to the variable components and the non-variable components, and storing the component style data into a server; and generating a corresponding visual page writing platform according to each component style data stored in the server.
In one embodiment, the component update module 302 is further configured to obtain, by the page writing platform, component style data of the first component; the method comprises the steps of carrying out a non-programming editing mode on a first component through a page writing platform, modifying component style data, and generating component style data of a second component; and storing the component style data of the second component to generate a corresponding second component.
In one embodiment, the component style data includes trigger mode data for the component style; the component update module 302 is further configured to modify trigger mode data in the component style data of the first component, and generate trigger mode data for obtaining the second component, so that the trigger mode of the second component in the applet is updated.
In one embodiment, the component update module 302 is further configured to obtain trigger mode data in the component style data of the first component; and modifying each triggering mode and corresponding function contained in the triggering mode data.
In one embodiment, the component update module 302 is further configured to create a second component through the page writing platform; and editing the component style data of the second component, binding and storing the second component and the corresponding component style data so as to update the first component in the applet to the second component.
For specific limitations of the update means of the applet, reference is made to the above limitation of the update method of the applet, and no further description is given here. The various modules in the applet updating means described above may be implemented in whole or in part by software, hardware or a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 4. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method of updating an applet. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the structures shown in FIG. 4 are block diagrams only and do not constitute a limitation of the computer device on which the present aspects apply, and that a particular computer device may include more or less components than those shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of: acquiring service requirements, and determining a first component to be updated in the applet according to the service requirements through a page writing platform; acquiring a first component through a page writing platform; updating the first component through the page writing platform to generate a second component; binding and storing the second component and the corresponding component style data through the page writing platform so as to update the first component in the applet to the second component.
In one embodiment, the processor when executing the computer program further performs the steps of: determining variable components and non-variable components in the applet; determining component style data corresponding to the variable components and the non-variable components, and storing the component style data into a server; and generating a corresponding visual page writing platform according to each component style data stored in the server.
In one embodiment, updating the first component through the page writing platform to generate the second component includes: acquiring component style data of a first component through a page writing platform;
the method comprises the steps of carrying out a non-programming editing mode on a first component through a page writing platform, modifying component style data, and generating component style data of a second component; and storing the component style data of the second component to generate a corresponding second component.
In one embodiment, the component style data includes trigger mode data for the component style, and the processor when executing the computer program further performs the steps of: and modifying the triggering mode data in the component style data of the first component to generate triggering mode data of the second component so as to update the triggering mode of the second component in the applet.
In one embodiment, modifying trigger mode data in component style data of a first component includes: acquiring triggering mode data in the component style data of the first component; and modifying each triggering mode and corresponding function contained in the triggering mode data.
In one embodiment, the processor when executing the computer program further performs the steps of: creating a second component through the page writing platform; and editing the component style data of the second component, binding and storing the second component and the corresponding component style data so as to update the first component in the applet to the second component.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring service requirements, and determining a first component to be updated in the applet according to the service requirements through a page writing platform; acquiring a first component through a page writing platform; updating the first component through the page writing platform to generate a second component; binding and storing the second component and the corresponding component style data through the page writing platform so as to update the first component in the applet to the second component.
In one embodiment, the computer program when executed by the processor further performs the steps of: determining variable components and non-variable components in the applet; determining component style data corresponding to the variable components and the non-variable components, and storing the component style data into a server; and generating a corresponding visual page writing platform according to each component style data stored in the server.
In one embodiment, updating the first component through the page writing platform to generate the second component includes: acquiring component style data of a first component through a page writing platform;
the method comprises the steps of carrying out a non-programming editing mode on a first component through a page writing platform, modifying component style data, and generating component style data of a second component; and storing the component style data of the second component to generate a corresponding second component.
In one embodiment, the component style data includes trigger mode data for the component style, and the computer program when executed by the processor further performs the steps of: and modifying the triggering mode data in the component style data of the first component to generate triggering mode data of the second component so as to update the triggering mode of the second component in the applet.
In one embodiment, the computer program when executed by the processor further performs the steps of: creating a second component through the page writing platform; and editing the component style data of the second component, binding and storing the second component and the corresponding component style data so as to update the first component in the applet to the second component.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples represent only a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (5)

1. A method of updating an applet, the method comprising:
obtaining service requirements, wherein a variable component and a non-variable component in an applet are determined, component style data corresponding to the variable component and the non-variable component are determined and stored in a server, and a corresponding page writing platform is generated according to each component style data stored in the server;
determining a first component to be updated in the applet according to the service requirement through the page writing platform;
acquiring the first component through a page writing platform;
updating the first component through the page writing platform to generate a second component;
binding and storing the second component and corresponding component style data through a page writing platform so as to update the first component in the applet to the second component;
the updating the first component through the page writing platform to generate a second component includes:
acquiring the component style data of the first component through a page writing platform;
the page writing platform is used for carrying out a non-programming editing mode on the first component, modifying the component style data and generating component style data of a second component;
storing the component style data of the second component to generate a corresponding second component;
the component style data comprises triggering mode data of a component style;
the method further comprises the steps of: modifying the triggering mode data in the component style data of the first component to generate triggering mode data of the second component so as to update the triggering mode of the second component in the applet;
the modification of the triggering mode data in the component style data of the first component comprises the following steps:
acquiring triggering mode data in the component style data of the first component, wherein the triggering mode data comprises a plurality of predefined component triggering modes, functions and triggering effects corresponding to the component triggering modes and a plurality of switches corresponding to the component triggering modes;
modifying each trigger mode and corresponding function contained in the trigger mode data, wherein the trigger mode data of the first component is changed by changing the switches of the trigger modes of the various components;
the updating of the first component through the page writing platform to generate a second component further comprises: binding the second component with the component style data, and storing the second component and the component style data into a database, namely confirming that the generation operation of the second component is completed.
2. The method according to claim 1, wherein the method further comprises:
creating a second component through the page writing platform;
and editing the component style data of the second component, binding and storing the second component and the corresponding component style data so as to update the first component in the applet to the second component.
3. An applet updating apparatus, said apparatus comprising:
the system comprises a component acquisition module, a server and a page writing platform, wherein the component acquisition module is used for acquiring service requirements, determining variable components and non-variable components in an applet, determining component style data corresponding to the variable components and the non-variable components, storing the component style data into the server, generating a corresponding page writing platform according to each component style data stored in the server, and determining a first component to be updated in the applet according to the service requirements through the page writing platform;
the assembly updating module is used for updating the first assembly through the page writing platform to generate a second assembly; binding and storing the second component and corresponding component style data through a page writing platform so as to update the first component in the applet to the second component;
the first component is updated through the page writing platform, and a second component is generated, and the component updating module is specifically configured to:
acquiring the component style data of the first component through a page writing platform;
the page writing platform is used for carrying out a non-programming editing mode on the first component, modifying the component style data and generating component style data of a second component;
storing the component style data of the second component to generate a corresponding second component;
the component style data comprises triggering mode data of a component style;
the component update module is further configured to: modifying the triggering mode data in the component style data of the first component to generate triggering mode data of the second component so as to update the triggering mode of the second component in the applet;
the component updating module is specifically configured to obtain trigger mode data in the component style data of the first component in terms of modifying the trigger mode data in the component style data of the first component, where the trigger mode data includes predefined multiple component trigger modes, functions and trigger effects corresponding to the multiple component trigger modes, and multiple switches corresponding to the multiple component trigger modes; modifying each trigger mode and corresponding function contained in the trigger mode data, wherein the trigger mode data of the first component is changed by changing the switches of the trigger modes of the various components;
and the component updating module is further used for binding the second component with the component style data and storing the second component into a database, namely confirming that the generation operation of the second component is completed.
4. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 2 when the computer program is executed.
5. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 2.
CN201911318479.2A 2019-12-20 2019-12-20 Method, apparatus, computer device and storage medium for updating applet Active CN111045707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911318479.2A CN111045707B (en) 2019-12-20 2019-12-20 Method, apparatus, computer device and storage medium for updating applet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911318479.2A CN111045707B (en) 2019-12-20 2019-12-20 Method, apparatus, computer device and storage medium for updating applet

Publications (2)

Publication Number Publication Date
CN111045707A CN111045707A (en) 2020-04-21
CN111045707B true CN111045707B (en) 2024-04-09

Family

ID=70237914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911318479.2A Active CN111045707B (en) 2019-12-20 2019-12-20 Method, apparatus, computer device and storage medium for updating applet

Country Status (1)

Country Link
CN (1) CN111045707B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113238770B (en) * 2021-04-13 2023-09-15 中车工业研究院有限公司 Product platform updating method and device, electronic equipment and storage medium
CN113419710B (en) * 2021-06-25 2024-03-15 北京悟空出行科技有限公司 Development method and device of applet, electronic equipment and medium
CN115357283A (en) * 2022-08-19 2022-11-18 京东方科技集团股份有限公司 Service package configuration method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144615A (en) * 2018-09-29 2019-01-04 北京城市网邻信息技术有限公司 A kind of information issuing method, device, equipment and storage medium
CN109947433A (en) * 2019-03-28 2019-06-28 优信拍(北京)信息科技有限公司 A kind of generation method of small routine, update method and device
CN110007917A (en) * 2019-03-08 2019-07-12 国电南瑞科技股份有限公司 A kind of visual page generation and browsing method based on browser
CN110069269A (en) * 2019-04-16 2019-07-30 北京字节跳动网络技术有限公司 Update method, apparatus, electronic equipment and the storage medium of the small routine page
CN110569050A (en) * 2019-08-01 2019-12-13 阿里巴巴集团控股有限公司 Applet updating method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144615A (en) * 2018-09-29 2019-01-04 北京城市网邻信息技术有限公司 A kind of information issuing method, device, equipment and storage medium
CN110007917A (en) * 2019-03-08 2019-07-12 国电南瑞科技股份有限公司 A kind of visual page generation and browsing method based on browser
CN109947433A (en) * 2019-03-28 2019-06-28 优信拍(北京)信息科技有限公司 A kind of generation method of small routine, update method and device
CN110069269A (en) * 2019-04-16 2019-07-30 北京字节跳动网络技术有限公司 Update method, apparatus, electronic equipment and the storage medium of the small routine page
CN110569050A (en) * 2019-08-01 2019-12-13 阿里巴巴集团控股有限公司 Applet updating method and device

Also Published As

Publication number Publication date
CN111045707A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
CN109901834B (en) Document page generation method, device, computer equipment and storage medium
CN111045707B (en) Method, apparatus, computer device and storage medium for updating applet
CN111930370A (en) Visualized page processing method and device, computer equipment and storage medium
CN111522552B (en) Sub-application generation method and device, computer equipment and storage medium
CN110955418A (en) Code generation method and device, computer equipment and storage medium
CN111008132B (en) Application debugging method and device for Android system, computer equipment and storage medium
CN104704468A (en) Cross system installation of WEB applications
CN111796799B (en) Sub-application development method and device, computer equipment and storage medium
CN111061475A (en) Software code generation method and device, computer equipment and storage medium
CN108170497A (en) A kind of method and device of page rendering
CN109828809B (en) Information visualization method and device for billboard, computer equipment and storage medium
CN111596911A (en) Method and device for generating control, computer equipment and storage medium
CN108255566B (en) Data entry optimization processing method and device, computer equipment and storage medium
CN110597552B (en) Configuration method, device, equipment and storage medium of project continuous integrated pipeline
CN117093316B (en) Cross-platform page rendering system, electronic equipment and storage medium
CN112613275A (en) Receipt generation method and device, computer equipment and storage medium
US20180267782A1 (en) Development platform of mobile native applications
CN111857782B (en) Interface updating method and device, computer equipment and storage medium
CN111159796B (en) Method and device for generating beam of building, computer equipment and storage medium
JP2007080049A (en) Built-in program generation method, built-in program development system and information table section
CN109542559B (en) Billboard card processing method and device, computer equipment and storage medium
CN113569176A (en) Portal layout method and device, computer equipment and storage medium
CN112162743A (en) Driver generation method, device, computer equipment and storage medium
CN117251661B (en) Webpage file generation method, device, computer equipment and storage medium
CN114661301B (en) Graphics processing unit compiling method, device, compiling acceleration library and storage medium

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