CN110531962B - Development processing method and device for applet and computer readable storage medium - Google Patents

Development processing method and device for applet and computer readable storage medium Download PDF

Info

Publication number
CN110531962B
CN110531962B CN201910723027.6A CN201910723027A CN110531962B CN 110531962 B CN110531962 B CN 110531962B CN 201910723027 A CN201910723027 A CN 201910723027A CN 110531962 B CN110531962 B CN 110531962B
Authority
CN
China
Prior art keywords
applet
development
development environment
command
initialization
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
CN201910723027.6A
Other languages
Chinese (zh)
Other versions
CN110531962A (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.)
Shanghai Lianshang Network Technology Co Ltd
Original Assignee
Shanghai Lianshang Network 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 Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Priority to CN201910723027.6A priority Critical patent/CN110531962B/en
Publication of CN110531962A publication Critical patent/CN110531962A/en
Application granted granted Critical
Publication of CN110531962B publication Critical patent/CN110531962B/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/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a development processing method, equipment and a computer readable storage medium for an applet. The method comprises the steps of receiving a development environment initialization command, wherein the development environment initialization command is used for indicating the development environment of the applet to be initialized and configured; initializing and configuring the development environment of the applet based on the development environment initialization command; after the initial configuration of the development environment of the applet is completed, a prompt message of the completion of the initial configuration is output so as to carry out the business development of the applet based on the development environment of the applet, thus the initial configuration of the development environment of the applet can be completed without manually configuring the development environments of the applet one by a user, and the development efficiency of the applet is improved.

Description

Development processing method and device for applet and computer readable storage medium
[ field of technology ]
The present application relates to software technology, and in particular, to a development processing method and apparatus for an applet and a computer readable storage medium.
[ background Art ]
With the popularization of intelligent terminals, application software (APP) of various functions is gradually increased, and the functions of the application software are also continuously updated. It is often necessary for a user to download application software to a terminal and install it and then run it. In order to accommodate different functional requirements, applets are also currently available. The applet is characterized in that it can realize a certain business function, but the applet does not need the user to download independent application software to local and install and reuse. The applet is usually implemented by taking a certain application software as an operation platform, the application software supporting the applet to operate is called a host, the environment provided by the application software for the applet is called a host environment, and the applet can complete functions which cannot be completed by a plurality of common webpages by means of the capability provided by the host environment. For example, the applet of the WeChat is implemented by taking the WeChat as an operating platform, and the WeChat is a host of the applet of the WeChat. The developer of the applet completes the development by developing each page that the applet needs to present.
Currently, a hundred-degree applet development platform is mainly used for applet development, and a developer needs to spend a great deal of time to manually configure a lot of data to prepare for the development environment of the applet so as to develop the applet; after the development of the applet is completed, the folder of the source code of the applet is manually read and packaged, and then the applet is released to a hundred-degree applet management platform for auditing and release through the hundred-degree applet development platform. Therefore, it is desirable to provide a development processing method for an applet to improve the development efficiency of the applet.
[ application ]
Aspects of the present application provide a development processing method, apparatus, and computer-readable storage medium for an applet to improve development efficiency of the applet.
In one aspect of the present application, there is provided a development processing method of an applet, including:
receiving a development environment initialization command, wherein the development environment initialization command is used for indicating the initialization configuration of the development environment of the applet;
initializing and configuring the development environment of the applet based on the development environment initialization command;
and after the development environment initialization configuration of the applet is completed, outputting a prompt message for completing the initialization configuration so as to carry out the service development of the applet based on the development environment of the applet.
In another aspect of the present application, there is provided an apparatus comprising:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the development processing method for applets as provided in the aspect above.
In another aspect of the present application, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the development processing method of the applet as provided in the above aspect.
According to the technical scheme, the development environment initialization command for indicating the development environment of the applet to be initialized can be received, so that the development environment of the applet can be initialized, the development environment of the applet is not required to be manually configured one by a user, the initialization configuration of the development environment of the applet can be completed, and the development efficiency of the applet is improved.
In addition, by adopting the technical scheme provided by the application, the initialization configuration of the applet development environment can be realized through one development environment initialization command, the operation is simple, and the development efficiency of the applet is improved.
In addition, after the initialization configuration of the development environment of the applet is completed, the technical scheme provided by the application can output the prompt message of the completion of the initialization configuration, so that after the developer sees the prompt message of the completion of the initialization configuration, the developer can develop the service of the applet based on the development environment of the applet, thereby realizing good and rapid interaction between human and machine, being beneficial to shortening the development time of the applet, and further realizing rapid development of the applet.
In addition, by adopting the technical scheme provided by the application, the experience of the applet developer can be effectively improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
FIG. 1 is a flowchart of an applet development processing method according to an embodiment of the application;
FIG. 2 is a flowchart illustrating a development processing method of an applet according to another embodiment of the application;
FIG. 3 is a schematic diagram of an interface of a host configuration in an embodiment of the application;
fig. 4 is a block diagram of an exemplary computer system/server 12 suitable for use in implementing embodiments of the present application.
[ detailed description ] of the application
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that, the terminal according to the embodiments of the present application may include, but is not limited to, a mobile phone, a personal digital assistant (Personal Digital Assistant, PDA), a wireless handheld device, a Tablet Computer (Tablet Computer), a personal Computer (Personal Computer, PC), an MP3 player, an MP4 player, a wearable device (e.g., smart glasses, smart watches, smart bracelets, etc.), and so on.
In addition, the term "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
As described in the background art, currently, a hundred-degree applet development platform is mainly used for applet development, and a developer needs to spend a lot of time to manually configure a lot of data to prepare for the development environment of the applet, so that the applet can be developed; after the development of the applet is completed, the folder of the source code of the applet is manually read and packaged, and then the applet is released to a hundred-degree applet management platform for auditing and release through the hundred-degree applet development platform.
Therefore, it is desirable to provide a development processing method for an applet to improve the development efficiency of the applet.
Fig. 1 is a flow chart of a development processing method of an applet according to an embodiment of the application, as shown in fig. 1.
101. A development environment initialization command is received, the development environment initialization command being used to instruct an initial configuration of the development environment of the applet.
102. And initializing and configuring the development environment of the applet based on the development environment initialization command.
103. After the initialization configuration of the development environment of the applet is completed, a prompt message of the completion of the initialization configuration is output so as to carry out the service development of the applet based on the development environment of the applet.
The execution subjects 101 to 103 may be part or all of the application software located in the user local terminal, or may be functional units such as a plug-in unit or a software development kit (Software Development Kit, SDK) provided in the application software located in the user local terminal, or may be a processing engine located in a server on the network side, or may be a distributed system located on the network side, for example, a processing engine or a distributed system in a social platform on the network side, which is not particularly limited in this embodiment.
It will be appreciated that the application software may be a native program (native app) installed on the terminal, or may also be a web page program (webApp) of a browser on the terminal, which is not limited in this embodiment.
In the embodiment of the present application, the device for implementing the development processing method of the applet may be referred to as an applet development processing device, where the execution subjects of 101 to 103 may be implemented by one module in the applet development processing device, and may be referred to as an environment initialization module. Optionally, the development processing device of the applet can be developed by using a script language (JavaScript, JS) -node JS based on the Chrome V8 engine, and can acquire commands and parameters input by a user by analyzing process. The Node is a development platform for enabling JavaScript to run on a server, and enables JavaScript to be a script language which is level with a server language such as PHP, python, perl, ruby. JS is a dynamic type, weak type, prototype-based language, built-in support type, its interpreter is called JavaScript engine, which is a part of browser, widely used in client-side scripting language, and can be used on HTML web pages to add dynamic functions to HTML web pages.
Alternatively, in one possible implementation manner of this embodiment, the development processing apparatus of the applet may be downloaded and installed in advance by a Node package manager (Node Package Manager, NPM) of a third party, wherein the main function of the NMP is to manage the Node package, and wherein the management includes: install, uninstall, update, view, search, publish, etc.
In this embodiment, the development processing device of the applet may be run on any operating system, for example, may be run on an operating system such as Windows, mac, linux, and in this embodiment, the operating system of the development processing device running the applet is not limited.
In this way, the development environment of the applet can be initialized and configured by receiving the development environment initialization command for indicating the development environment of the applet to be initialized and configured, so that the development environment of the applet can be initialized and configured without manually configuring the development environments of the applet one by a user, and the development efficiency of the applet is improved.
Alternatively, in one possible implementation of the present embodiment, the development environment initialization command may be input and transmitted by the user (developer) at the terminal command line input interface, and thus, in 101, the reception development environment initialization command may be a development environment initialization command transmitted by the operating system of the reception terminal.
Alternatively, in another possible implementation of the present embodiment, the development environment initialization command may be directly transmitted to the development processing apparatus for performing the applet by the user (developer), and thus, in 101, the reception of the development environment initialization command may be the reception of the development environment initialization command input by the user.
Optionally, in a possible implementation of this embodiment, the development environment initialization command includes an initialization parameter, where the initialization parameter is some configuration information specified by a developer for development environment initialization of the applet, such as a preset location for creating an initialization configuration folder, an instruction to create a simulator catalog, create a compiler catalog, create an extended soft chain, etc. Accordingly, in 102, an initialization configuration folder may be created at a preset location on the terminal; and then creating a simulator catalog, a compiler catalog and an extension soft chain in the initialization configuration folder based on the initialization parameters, so as to realize the initialization configuration of the development environment of the applet. The preset position may be a user main directory, or any other position, which is not limited in this embodiment. The simulator can be used for simulating the running environment of the applet according to the debugging instruction sent by the developer in the development process of the applet; the compiler can be used for compiling the source code of the applet in the development process of the applet; the extended soft chain may be used to invoke the extension method and properties of the host during development of the applet.
For example, the development environment initialization command may be expressed as: the method comprises the steps of enabling a wifikey init-env swan to be a development processing device of an applet, enabling init-env to be a development environment initialization command, enabling swan to be an initialization parameter, and enabling the init-env swan to be used for indicating that the development environment of the applet is initialized and configured through the wifikey. When the development processing device of the applet is developed based on node.js, in one possible implementation manner of the embodiment, a simulator catalog can be created by using fs.mkdir function in node.js, and an extended soft chain can be created by using fs.symlinksync function in node.js.
As shown below, a part of code example of a development environment initialization command for initializing and configuring a development environment of a hundred degree applet:
in addition, it is known by those skilled in the art that, in addition to creating an initialization configuration folder, creating a simulator catalog in the initialization configuration folder, creating a compiler catalog, and creating an extended soft chain, the initialization configuration of the development environment of the applet may be performed in other aspects, which may be specifically determined according to the specific requirements during development of the applet, and the embodiment is not limited thereto.
After the development environment initialization configuration of the applet is completed, a prompt message for prompting the developer that the development environment initialization configuration of the applet is completed can be output, so that after the developer sees the prompt message for completing the initialization configuration, the service development of the applet can be performed based on the development environment of the applet, good and rapid interaction between human and machine is realized, the development duration of the applet is shortened, and the rapid development of the applet is realized.
Optionally, in the development processing method of the applet provided in another embodiment of the present application, after outputting the prompt message of completion of initializing the configuration at 103, the method may further include: 104. the applet is host configured. Fig. 2 is a schematic flow chart of a development processing method of an applet according to another embodiment of the application.
In one possible implementation of this embodiment, hosting the applet may include:
receiving a host selection indication message;
determining that the software identified by the software Identification (ID) in the host selection indication message is an applet host, wherein the software ID uniquely represents a software, which may be an identification number, name, etc. of the software;
receiving a host configuration indication message, wherein the host configuration indication message comprises a designated directory, and the designated directory is a directory created in the process of initializing and configuring the development environment of the applet, such as a simulator directory, a compiler directory and the like in an initialization configuration folder;
and loading the corresponding folder of the host under the appointed directory according to the host configuration indication message.
The execution subject of 104 may be an applet development platform, such as a hundred degree developer tool, a master key (wifi) developer platform, or the like. The applet development platform is a simulator, a compiler and a debugger in the applet development stage, and a developer can perform host configuration on the applet through a host configuration interface on the applet development platform and select a folder for loading a host to complete the host configuration work.
FIG. 3 is a schematic diagram of an interface of a host configuration according to an embodiment of the present application. FIG. 3 is an example of a partial screenshot of a host configuration interface on a hundred developer tool, which is one interface configured with a selected host "master key," indicating that a business has been developed that may invoke some methods and properties of the host for applet, through which a "host management" button may send a host configuration indication message for host configuration or update host configuration.
The embodiment realizes the host configuration of the applet and configures the host environment, so that the service development of the applet is carried out by expanding the soft chain to call the expansion method and the attribute of the host in the service development process of the applet.
Through the embodiment, after the host configuration of the applet is completed, the service development of the applet can be performed based on the development environment of the applet. Optionally, in one possible implementation manner of this embodiment, the development of the service based on the development environment of the applet may include:
receiving source code for implementing the applet;
and according to the input service development instruction message, simulating, compiling and debugging the source code or part of the source code for realizing the applet.
Optionally, referring to fig. 2, in the development processing method of the applet provided in another embodiment of the present application, the method may further include:
105. after the development of the service of the applet is completed, generating an indication based on the two-dimensional code of the user, and generating the two-dimensional code by the source code for realizing the applet, so as to preview and/or debug the source code obtained by scanning the generated two-dimensional code, or further modifying the source code for realizing the applet.
The execution subject of 105 may be an applet development platform, such as a hundred degree developer tool, a master key developer platform, or the like.
Because source code grammar errors, logic errors and the like may occur in the process of developing the service of the applet, the two-dimensional code is generated by the source code for realizing the applet after the service of the applet is developed, so that a developer can preview the source code of the applet and debug the applet by scanning the two-dimensional code in the service development stage so as to discover and correct problems in time.
Optionally, referring to fig. 2, in the method for processing development of an applet according to still another embodiment of the present application, after performing service development of the applet based on the development environment of the applet, the method may further include:
106. a packaging command is received, the packaging command being used to instruct packaging of source code for implementing the applet.
107. And packaging source codes for realizing the applet based on the packaging command.
After the development of the small program is completed, the source code of the small program is packaged through the packaging command so as to be uploaded to the small program management platform for release and online, and the user does not need to manually package, so that the service development efficiency is improved.
Optionally, in one possible implementation manner of this embodiment, in 107, the source code for implementing the applet created at the preset service development location may be packaged and compressed based on the packaging command, to obtain a compressed package, for example, a zip format compressed package.
Optionally, in a possible implementation manner of this embodiment, the packing command may include target location information. Accordingly, in 107, the source code for implementing the applet created at the location corresponding to the target location information may be packaged and compressed based on the packaging command, to obtain a compressed package, for example, a zip format compressed package.
For example, the exec method of the node. Js sub-process module may be used to package the source code and compress it using zip commands. The exec method is a method for searching matching of regular expressions in character strings.
Examples of partial codes for packed commands are as follows:
in the code, the "catalog of the applet item" is the target position information of the source code of the applet.
In addition, in the development processing method of the applet provided in the further embodiment of the present application, after the source code for implementing the applet is packaged by 107, an upload instruction message may be received, where the upload instruction message includes information of the applet management platform, for example, a name, an identification number, a location, etc. of the applet management platform, where the applet management platform may be, for example, a hundred-degree applet management platform, a master key applet management platform, etc. any applet management platform may be used to manage and issue the applet; and uploading an applet package obtained by packaging source codes for realizing the applet to an applet management platform based on the uploading indication message.
The execution subjects 106 to 107 may be realized by one module in the development processing apparatus of the applet, and may be referred to as a packaging module.
Based on the above embodiment, the development environment of the applet can be prepared by initializing the command one key through the development environment, and host configuration and service development of the applet can be started; after the service development is completed, the source codes of the applets are packaged by one key through the packaging command, and a compressed package is generated and uploaded to the applet management platform so as to be conveniently released on line. Compared with the prior art, the method not only improves the development efficiency of the applet, but also can accelerate the line-up speed and rapidly release the product, thereby realizing the effect of accelerating the business iteration.
The technical scheme of the embodiment of the application can be applied to any operating system, such as Windows, mac, linux and the like.
The technical scheme of the embodiment of the application can be applied to any small program development platform, such as hundred-degree developer tools, master key developer platforms and the like.
The technical scheme of the embodiment of the application can be applied to any host, such as WeChat APP, QQ APP, slack APP, whats APP, telescope APP, line APP, multi-flash APP and the like.
According to the embodiment of the application, the development environment of the applet can be initialized and configured by receiving the development environment initialization command for indicating the development environment of the applet to be initialized and configured, so that the development environment of the applet is not required to be manually configured one by a user, the initialization and configuration of the development environment of the applet can be completed, and the development efficiency of the applet is improved.
In addition, by adopting the technical scheme provided by the application, the initialization configuration of the applet development environment can be realized through one development environment initialization command, the operation is simple, and the development efficiency of the applet is improved.
In addition, after the initialization configuration of the development environment of the applet is completed, the technical scheme provided by the application can output the prompt message of the completion of the initialization configuration, so that after the developer sees the prompt message of the completion of the initialization configuration, the developer can develop the service of the applet based on the development environment of the applet, thereby realizing good and rapid interaction between human and machine, being beneficial to shortening the development time of the applet, and further realizing rapid development of the applet.
In addition, by adopting the technical scheme provided by the application, the source codes of the applets are packaged through the packaging command so as to be uploaded to the applet management platform for release and online, and the manual packaging of users is not needed, so that the service development efficiency is improved.
In addition, by adopting the technical scheme provided by the application, the experience of the applet developer can be effectively improved.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
Fig. 4 illustrates a block diagram of an exemplary computer system/server 12 suitable for use in implementing embodiments of the present application. The computer system/server 12 shown in FIG. 4 is intended as an example, and should not be taken as limiting the functionality and scope of use of embodiments of the present application.
As shown in fig. 4, the computer system/server 12 is in the form of a general purpose computing device. Components of computer system/server 12 may include, but are not limited to: one or more processors or processing units 16, a storage device or system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer system/server 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer system/server 12 and includes both volatile and non-volatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The computer system/server 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard disk drive"). Although not shown in fig. 4, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the embodiments of the application.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The computer system/server 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the computer system/server 12, and/or any devices (e.g., network card, modem, etc.) that enable the computer system/server 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 44. Also, the computer system/server 12 can communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through a network adapter 20. As shown, network adapter 20 communicates with other modules of computer system/server 12 via bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with computer system/server 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing the instant messaging method provided in any of the embodiments corresponding to fig. 1.
Another embodiment of the present application further provides a computer readable storage medium having a computer program stored thereon, which when executed by a processor implements the instant messaging method provided in any of the embodiments corresponding to fig. 1.
In particular, any combination of one or more computer readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the elements is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple elements or page components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A development processing method of an applet is characterized by comprising the following steps:
receiving a development environment initialization command, wherein the development environment initialization command is used for indicating the initialization configuration of the development environment of the applet, and comprises initialization parameters;
based on the development environment initialization command, initializing and configuring the development environment of the applet, including: creating an initialization configuration folder at a preset position on the terminal; creating a simulator catalog, a compiler catalog and an expansion soft chain in the initialization configuration folder based on the initialization parameters;
after the development environment initialization configuration of the applet is completed, outputting a prompt message of the completion of the initialization configuration;
the development environment based on the applet carries out the service development of the applet, comprising: receiving source codes for realizing the applet, and according to the input service development indication message, performing the following operations on the source codes or part of the source codes for realizing the applet: the method comprises the steps of simulating the running environment of the applet by using a created simulator, compiling source codes of the applet by using a created compiler, and calling extension methods and attributes of a host by using a created extension soft chain.
2. The method of claim 1, wherein receiving a development environment initialization command comprises:
receiving the development environment initialization command sent by an operating system; or,
and receiving the development environment initialization command input by a user.
3. The method according to any one of claims 1-2, wherein after outputting the prompt message for completion of the initialization configuration, further comprising:
receiving a host selection indication message;
determining that the software identified by the software identification in the host selection indication message is the host of the applet;
receiving a host configuration indication message, wherein the host configuration indication message comprises a specified directory which is created in the process of initializing and configuring the development environment of the applet;
and loading the corresponding folder of the host under the appointed directory according to the host configuration indication message.
4. The method as recited in claim 1, further comprising:
after the business development of the applet is completed, generating an instruction based on the two-dimensional code of the user, and generating the two-dimensional code by the source code for realizing the applet so as to preview and/or debug the source code obtained by scanning the generated two-dimensional code or further modify the source code for realizing the applet.
5. The method of claim 3, wherein after the applet-based development environment performs applet business development, further comprising:
receiving a packaging command, wherein the packaging command is used for indicating to package source codes for realizing the applet;
and packaging the source code for realizing the applet based on the packaging command.
6. The method of claim 5, wherein the packaging the source code for implementing the applet based on the packaging command comprises:
and based on the packing command, packing and compressing the source code for realizing the applet, which is created at a preset service development position.
7. The method of claim 5, wherein the packed command includes target location information;
the packaging the source code for implementing the applet based on the packaging command includes:
and based on the packing command, packing and compressing the source code for realizing the applet, which is created at the position corresponding to the target position information.
8. The method of claim 5, wherein said packaging the source code for implementing the applet based on the packaging command further comprises:
receiving an uploading indication message, wherein the uploading indication message comprises information of an applet management platform;
and uploading the applet package obtained by packing the source code for realizing the applet to the applet management platform based on the uploading indication message.
9. An apparatus, the apparatus comprising:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-8.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-8.
CN201910723027.6A 2019-08-06 2019-08-06 Development processing method and device for applet and computer readable storage medium Active CN110531962B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910723027.6A CN110531962B (en) 2019-08-06 2019-08-06 Development processing method and device for applet and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910723027.6A CN110531962B (en) 2019-08-06 2019-08-06 Development processing method and device for applet and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110531962A CN110531962A (en) 2019-12-03
CN110531962B true CN110531962B (en) 2023-11-17

Family

ID=68660464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910723027.6A Active CN110531962B (en) 2019-08-06 2019-08-06 Development processing method and device for applet and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110531962B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078260B (en) * 2019-12-23 2022-08-02 焦点科技股份有限公司 WeChat applet third-party platform management method and system
CN111324335A (en) * 2020-01-04 2020-06-23 厦门二五八网络科技集团股份有限公司 Method and device for creating small program
CN111580879A (en) * 2020-04-30 2020-08-25 北京字节跳动网络技术有限公司 Applet running method and device, electronic equipment and computer storage medium
CN111766992B (en) * 2020-05-29 2022-04-22 维沃移动通信有限公司 Information display method and device, electronic equipment and storage medium
CN114253621A (en) * 2020-09-11 2022-03-29 深圳Tcl数字技术有限公司 Method for configuring operating environment of terminal, computer device and readable storage medium
CN112527252B (en) * 2020-11-30 2024-01-09 北京百度网讯科技有限公司 Applet management method and device, applet platform, electronic equipment and medium
CN113238738A (en) * 2021-06-16 2021-08-10 杭州遥望网络科技有限公司 Automatic generation method, device, equipment and medium for small program two-dimensional code
CN113783966B (en) * 2021-09-23 2023-01-03 北京火山引擎科技有限公司 Data transmission method and device, readable medium and electronic equipment
CN115396343B (en) * 2022-09-09 2023-11-10 深圳复临科技有限公司 Front-end page performance detection method and device, computer equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567198A (en) * 2010-12-30 2012-07-11 中国移动通信集团公司 System and method for testing application program in physical system environment
CN103186376A (en) * 2011-12-30 2013-07-03 百度在线网络技术(北京)有限公司 Method, device and equipment for establishing or updating software development environment
CN106648762A (en) * 2016-11-30 2017-05-10 武汉斗鱼网络科技有限公司 Development environment building method and device
CN108196832A (en) * 2018-01-09 2018-06-22 安徽小马创意科技股份有限公司 It is a kind of to realize the method that wechat small routine is made to support the exploitation of Custom component formula
CN108418717A (en) * 2018-03-02 2018-08-17 平安科技(深圳)有限公司 Android application is packaged method for uploading, device, computer equipment and storage medium
CN109471623A (en) * 2018-11-13 2019-03-15 福建北峰通信科技股份有限公司 A kind of method of rapid deployment CDS exploitation environment
CN109800028A (en) * 2018-12-30 2019-05-24 贝壳技术有限公司 A kind of dispositions method and device of Web environment
US10353798B1 (en) * 2017-07-05 2019-07-16 Amazon Technologies, Inc. Rapid development environment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101430643B (en) * 2007-11-05 2012-06-27 国际商业机器公司 Method and apparatus for providing item development environment, and item development system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567198A (en) * 2010-12-30 2012-07-11 中国移动通信集团公司 System and method for testing application program in physical system environment
CN103186376A (en) * 2011-12-30 2013-07-03 百度在线网络技术(北京)有限公司 Method, device and equipment for establishing or updating software development environment
CN106648762A (en) * 2016-11-30 2017-05-10 武汉斗鱼网络科技有限公司 Development environment building method and device
US10353798B1 (en) * 2017-07-05 2019-07-16 Amazon Technologies, Inc. Rapid development environment
CN108196832A (en) * 2018-01-09 2018-06-22 安徽小马创意科技股份有限公司 It is a kind of to realize the method that wechat small routine is made to support the exploitation of Custom component formula
CN108418717A (en) * 2018-03-02 2018-08-17 平安科技(深圳)有限公司 Android application is packaged method for uploading, device, computer equipment and storage medium
CN109471623A (en) * 2018-11-13 2019-03-15 福建北峰通信科技股份有限公司 A kind of method of rapid deployment CDS exploitation environment
CN109800028A (en) * 2018-12-30 2019-05-24 贝壳技术有限公司 A kind of dispositions method and device of Web environment

Also Published As

Publication number Publication date
CN110531962A (en) 2019-12-03

Similar Documents

Publication Publication Date Title
CN110531962B (en) Development processing method and device for applet and computer readable storage medium
TWI453603B (en) Platform independent information handling system, communication method, and computer program product thereof
Meier et al. Professional Android
CN110543297B (en) Method and apparatus for generating source code
CN109873735B (en) Performance test method and device for H5 page and computer equipment
CN111740948B (en) Data packet issuing method, dynamic updating method, device, equipment and medium
CN111176629A (en) Application development method and device
CN111026439B (en) Application program compatibility method, device, equipment and computer storage medium
CN111338623A (en) Method, device, medium and electronic equipment for developing user interface
CN111506300A (en) Applet generation method, device, equipment and storage medium
CN111045675A (en) Page generation method, device, equipment and storage medium based on Flutter
CN110960855A (en) Communication protocol code updating method and device, electronic equipment and storage medium
CN110020370B (en) Method and device for realizing animation in client application and framework of animation script
CN112988588A (en) Client software debugging method and device, storage medium and electronic equipment
CN113329087A (en) Method and device for acquiring information
You et al. A comparative study of cross-platform mobile application development
CN112379885B (en) Applet compiling method, device, equipment and readable storage medium
CN109582338A (en) BIOS option amending method, device, equipment and storage medium
CN112199270B (en) Program testing method, device, equipment and medium
CN114741294A (en) Page debugging method, device, equipment and storage medium
CN114296718A (en) Setting method and device of Windows system component
CN114035804A (en) Code conversion method, device, medium and electronic equipment
CN111782196A (en) MVP architecture-based development method and device
US9250870B2 (en) Automated creation of shim programs and interfaces
CN116466958B (en) Construction method and device of An Zhuo Rongqi, electronic equipment 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
GR01 Patent grant