CN110531962A - Development process method, equipment and the computer readable storage medium of small routine - Google Patents

Development process method, equipment and the computer readable storage medium of small routine Download PDF

Info

Publication number
CN110531962A
CN110531962A CN201910723027.6A CN201910723027A CN110531962A CN 110531962 A CN110531962 A CN 110531962A CN 201910723027 A CN201910723027 A CN 201910723027A CN 110531962 A CN110531962 A CN 110531962A
Authority
CN
China
Prior art keywords
small routine
exploitation
source code
realizing
initial configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910723027.6A
Other languages
Chinese (zh)
Other versions
CN110531962B (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

Abstract

The application provides development process method, equipment and the computer readable storage medium of a kind of small routine.The application is used to indicate the exploitation environment to small routine and carries out initial configuration by receiving exploitation context initialization order, the exploitation context initialization order;Based on the exploitation context initialization order, initial configuration is carried out to the exploitation environment of the small routine;After the completion of the exploitation context initialization configuration to the small routine, export the prompting message that initial configuration is completed, so that the exploitation environment based on small routine carries out the business development of small routine, in this way, configure the exploitation environment of small routine one by one manually without user, the initial configuration that small routine exploitation environment can be completed, to improve the development efficiency of small routine.

Description

Development process method, equipment and the computer readable storage medium of small routine
[technical field]
This application involves software technology more particularly to a kind of development process methods of small routine, equipment and computer-readable Storage medium.
[background technique]
With the popularization of intelligent terminals, the application software (APP) of various functions gradually increases, and the function of application software Also in lasting upgrading update.It is generally necessary to which application software is downloaded to terminal and installed by user, then run.In order to adapt to Different functional requirements, has also appeared small routine at present.The characteristics of small routine is to can be realized certain business function, but little Cheng Sequence does not need the independent application software of user's downloading and reuses to local, installation.Small routine is usually with some application software It is realized as operation platform, the application software of support small routine operation is known as host, and application software is what small routine provided Environment is known as host environment, and it is impossible can to complete many generic web pages for the ability that small routine is provided by host environment Function.For example, the small routine of wechat is realized using wechat as operation platform, wechat is the place of the small routine of the wechat It is main.The developer of small routine completes to develop by each page of displaying needed for exploitation small routine.
Currently, mainly carrying out small routine exploitation using Baidu's small routine development platform, developer needs to take a significant amount of time The many data of manual configuration are prepared for the exploitation environment of small routine, just can be carried out the exploitation of small routine;It is developed in small routine After the completion, the file of the source code of small routine is read manually and is packaged, and is then sent out by Baidu's small routine development platform Cloth is audited to Baidu's small routine management platform, is issued, and is small routine due to needing many data of developer's manual configuration Exploitation environment is prepared, and causes the development efficiency of small routine low.Therefore, it is urgent to provide a kind of development process method of small routine, To improve the development efficiency of small routine.
[summary of the invention]
The many aspects of the application provide development process method, equipment and the computer-readable storage medium of a kind of small routine Matter, to improve the development efficiency of small routine.
The one side of the application provides a kind of development process method of small routine, comprising:
Exploitation context initialization order is received, the exploitation context initialization order is used to indicate the exploitation ring to small routine Border carries out initial configuration;
Based on the exploitation context initialization order, initial configuration is carried out to the exploitation environment of the small routine;
After the completion of the exploitation context initialization configuration to the small routine, the prompt that output initial configuration is completed disappears Breath, so that the exploitation environment based on small routine carries out the business development of small routine.
The another aspect of the application, provides a kind of equipment, and the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing The development process method of device realization small routine as provided by above-mentioned one side.
The another aspect of the application provides a kind of computer readable storage medium, is stored thereon with computer program, the journey The development process method of the small routine as provided by above-mentioned one side is realized when sequence is executed by processor.
As shown from the above technical solution, the embodiment of the present application is carried out by receiving the exploitation environment being used to indicate to small routine The exploitation context initialization order of initial configuration can be realized the exploitation environment to small routine and carry out initial configuration, in this way, The initial configuration of small routine exploitation environment can be completed in the exploitation environment for configuring small routine one by one manually without user, thus Improve the development efficiency of small routine.
In addition, using technical solution provided herein, can be realized pair by an exploitation context initialization order Small routine develops the initial configuration of environment, easy to operate, improves the development efficiency of small routine.
In addition, using technical solution provided herein, after the completion of the exploitation context initialization configuration to small routine, Can export initial configuration completion prompting message, in this way, developer see the initial configuration complete prompting message after, The business development that small routine can be carried out based on the exploitation environment of small routine, realizes good, the quick interaction between man-machine, The exploitation duration for facilitating shortening small routine, to realize the quick exploitation of small routine.
In addition, the experience of small routine developer can be effectively improved using technical solution provided herein.
[Detailed description of the invention]
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is some realities of the application Example is applied, it for those of ordinary skill in the art, without any creative labor, can also be attached according to these Figure obtains other attached drawings.
Fig. 1 is the flow diagram of the development process method for the small routine that one embodiment of the application provides;
Fig. 2 is the flow diagram of the development process method for the small routine that another embodiment of the application provides;
Fig. 3 is an interface schematic diagram of host's configuration in the embodiment of the present application;
Fig. 4 is the block diagram suitable for being used to realize the exemplary computer system/server 12 of the application embodiment.
[specific embodiment]
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Whole other embodiments obtained without creative efforts, shall fall in the protection scope of this application.
It should be noted that terminal involved in the embodiment of the present application can include but is not limited to mobile phone, individual digital Assistant (Personal Digital Assistant, PDA), radio hand-held equipment, tablet computer (Tablet Computer), PC (Personal Computer, PC), MP3 player, MP4 player, wearable device (for example, intelligent glasses, Smartwatch, Intelligent bracelet etc.) etc..
In addition, the terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates may exist Three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Separately Outside, character "/" herein typicallys represent the relationship that forward-backward correlation object is a kind of "or".
As described in the background art, Baidu's small routine development platform is currently mainly used and carries out small routine exploitation, developer It needs to take a significant amount of time many data of manual configuration to prepare for the exploitation environment of small routine, just can be carried out opening for small routine Hair;After the completion of small routine exploitation, the file of the source code of small routine is read manually and is packaged, it is then small by Baidu Program development platform is published to Baidu's small routine management platform and is audited, issued, due to needing developer's manual configuration many Data are that the exploitation environment of small routine is prepared, and cause the development efficiency of small routine low.
Therefore, it is urgent to provide a kind of development process method of small routine, the development efficiency of Lai Tigao small routine.
Fig. 1 is the flow diagram of the development process method for the small routine that one embodiment of the application provides, as shown in Figure 1.
101, exploitation context initialization order is received, which is used to indicate the exploitation to small routine Environment carries out initial configuration.
102, it is based on the exploitation context initialization order, initial configuration is carried out to the exploitation environment of small routine.
103, after the completion of the exploitation context initialization configuration to small routine, the prompt that output initial configuration is completed disappears Breath, so that the exploitation environment based on small routine carries out the business development of small routine.
It should be noted that some or all of 101~103 executing subject can be answering positioned at user local terminal It with software, or can also be the plug-in unit being arranged in the application software of user local terminal or Software Development Kit Functional units such as (Software Development Kit, SDK), or can also be the processing in network side server Engine, perhaps can also for positioned at network side distributed system for example, network side social platform in processing engine or Distributed system etc., the present embodiment is to this without being particularly limited to.
It is understood that the application software can be mounted in the local program (nativeApp) in terminal, or Person can also be a web page program (webApp) of the browser in terminal, and the present embodiment is to this without limiting.
In the embodiment of the present application, the exploitation of small routine is properly termed as realizing the device of the development process method of small routine Processing unit, wherein 101~103 executing subject can realize by a module in the development process device of small routine, It is properly termed as context initialization module.Optionally, the development process device of small routine can be used based on Chrome V8 engine Scripting language (JavaScript, JS) --- Node.js develops to obtain, and it is defeated can to obtain user by parsing process.argv The order and parameter entered, and then corresponding instruction is called to complete each task.Wherein, Node is one JavaScript is allowed to operate in The development platform of server-side, it makes JavaScript flat as having put down with service end instructions such as PHP, Python, Perl, Ruby The scripting language of seat.JS is a kind of regime type, weak type, the language based on prototype, built-in support type, its interpreter quilt Referred to as JavaScript engine is a part of browser, is widely used in the scripting language of client, can make on html web page With for giving HTML webpage to increase dynamic function.
Optionally, in a possible implementation of the present embodiment, third-party node package manager can be passed through (Node Package Manager, NPM) downloads and installs in advance the development process device of small routine, wherein the main function of NMP It can be exactly to manage Node packet, management therein includes: peace loading, unloading, updates, checks, searching for, issuing.
The development process device of small routine can be run in any operating system in the present embodiment, such as can be It is run on the operating systems such as Windows, Mac, Linux, to the development process device of operation small routine in the embodiment of the present application Operating system with no restrictions.
In this way, by receiving the exploitation context initialization for being used to indicate the environment of the exploitation to small routine and carrying out initial configuration Order can be realized the exploitation environment to small routine and carry out initial configuration, in this way, configuring small routine one by one manually without user Exploitation environment, can be completed small routine exploitation environment initial configuration, to improve the development efficiency of small routine.
Optionally, in a possible implementation of the present embodiment, exploitation context initialization order can be user (developer) enters and sends in terminal command line input interface, therefore, in 101, receives exploitation context initialization order It can be and receive the exploitation context initialization order that the operating system of terminal is sent.
Alternatively, exploitation context initialization order can be user in another possible implementation of the present embodiment (developer) is transmitted directly to the development process device for carrying out small routine, therefore, in 101, at the beginning of receiving exploitation environment Beginningization order can be the exploitation context initialization order for receiving user's input.
Optionally, in a possible implementation of the present embodiment, the exploitation context initialization order includes just Beginningization parameter, the initiation parameter are some configuration informations specified by exploitation context initialization of the developer for small routine, Such as the predeterminated position for creating initial configuration file, instruction creation simulator catalogue, creation compiler catalogue, creation Extend soft chain etc..Correspondingly, in 102, initial configuration file can be created by predeterminated position at the terminal;It is then based on described Initiation parameter, creation simulator catalogue, creation compiler catalogue, creation extension are soft in the initial configuration file Chain, to realize the initial configuration of the exploitation environment to small routine.Predeterminated position therein, can be home directory, It can be any other position, the present embodiment is without limitation.Simulator therein can be used for the development process in small routine In, according to the running environment for the debugging instruction simulation small routine that developer sends;Compiler can be used for the exploitation in small routine Cheng Zhong is compiled the source code of small routine;Extending soft chain can be used in the development process of small routine, call the expansion of host Exhibition method and attribute.
For example, the exploitation context initialization order can indicate are as follows: wifikey init-env swan, wherein Wifikey is the development process device of small routine, and init-env is exploitation context initialization order, and swan is initiation parameter, Init-env swan, which is used to indicate, carries out initial configuration by exploitation environment of the wifikey to small routine.The exploitation of small routine When processing unit is developed to obtain based on Node.js, in a possible implementation of the present embodiment, it can be used Fs.mkdir function creation simulator catalogue in Node.js is expanded using the fs.symlinkSync function creation in Node.js Open up soft chain.
As follows, the exploitation context initialization order of initial configuration is carried out for the exploitation environment to Baidu's small routine Partial code example:
In addition, those skilled in the art know, the initial configuration of the exploitation environment of small routine is initialized in addition to creating Configuration folder and in the initial configuration file create simulator catalogue, creation compiler catalogue, creation extension it is soft Outside chain, otherwise initial configuration can also be carried out, specific requirements when can specifically be developed according to small routine determine, this Embodiment is without limitation.
After the completion of the exploitation context initialization configuration to small routine, the prompt that can export initial configuration completion disappears Breath is completed for prompting the exploitation context initialization of developer's small routine to configure, in this way, developer is seeing the initial configuration After the prompting message of completion, can based on small routine exploitation environment carry out small routine business development, realize it is man-machine it Between good, quick interaction, facilitate shorten small routine exploitation duration, to realize the quick exploitation of small routine.
Optionally, initial in 103 outputs in the development process method for the small routine that another embodiment of the application provides After changing the prompting message that configuration is completed, it can also include: 104, host's configuration is carried out to small routine.For as shown in Fig. 2, being this Apply for the flow diagram of the development process method for the small routine that another embodiment provides.
In a possible implementation of the present embodiment, carrying out host's configuration to small routine may include:
It receives host and selects instruction message;
Determine the software that the host selects the software identification in instruction message (ID) to be identified for the host of small routine, In software I D uniquely indicate that a software, software I D can be the identification number of software, title etc.;
Receive host's configuration instruction message, include specified directory in host's configuration instruction message, the specified directory be The catalogue created during carrying out initial configuration to the exploitation environment of small routine, such as the mould in initial configuration file Quasi- device catalogue, compiler catalogue etc.;
According to host's configuration instruction message, the corresponding folder of host is loaded under the specified directory.
104 executing subject can be small routine development platform, such as Baidu's developer's tool, skeleton key (wifi) Developer's platform etc..Small routine development platform is the simulator, compiler and debugger of small routine development phase, and developer can be with Host's configuration is carried out to small routine by host's configuration interface in small routine development platform, selection loads the file of host, To complete host's configuration work.
As shown in figure 3, for an interface schematic diagram of host's configuration in the embodiment of the present application.Fig. 3 is Baidu's developer's work The part example screenshot of host's configuration interface on tool, the screenshot are a boundaries for having configured host's master key of selection Face shows that the certain methods that can call host and attribute carry out the business development of small routine, passes through " host's pipe therein Reason " button can send host's configuration instruction message and carry out host's configuration or the configuration of more new host.
The present embodiment realizes host's configuration of small routine, host environment has been configured, just in the business development of small routine In the process, the business development for calling the extended method of host and attribute to carry out small routine by extending soft chain.
It through the foregoing embodiment, can be based on the exploitation environment of small routine after the completion of carrying out host's configuration to small routine Carry out the business development of small routine.Optionally, in a possible implementation of the present embodiment, the exploitation based on small routine Environment carries out the business development of small routine, may include:
Receive the source code for realizing small routine;
According to the business development instruction message of input, to the source code or part of original code progress mould for realizing small routine Quasi-, compiling, debugging processing.
Optionally, may be used also in the development process method for the small routine that the another embodiment of the application provides referring back to Fig. 2 To include:
105, after the business development of small routine is completed, the two dimensional code based on user generates instruction, by for realizing small The source code of program generates two dimensional code, so as to based on the source code that the two dimensional code of generation is scanned carry out preview and/ Or debugging, or further modify to for realizing the source code of small routine.
105 executing subject can be small routine development platform, such as Baidu's developer's tool, skeleton key developer are put down Platform etc..
Due to during the business development of small routine, in fact it could happen that source code syntax mistake, logic error etc., this implementation Example is after the business development of small routine is completed, by generating two dimensional code for realizing the source code of small routine, in this way, developer exists The business development stage can by scanning the two dimensional code come the source code of preview small routine and carrying out debugging small routine, so as to and When find the problem, correct.
Optionally, it is based in the development process method for the small routine that the application another embodiment provides referring back to Fig. 2 After the exploitation environment of small routine carries out the business development of small routine, can also include:
106, it receives and is packaged order, which is used to indicate is packaged to for realizing the source code of small routine.
107, it is ordered based on the packing, is packaged to for realizing the source code of small routine.
The present embodiment beats the source code of small routine by being packaged order after the completion of the business development of small routine Packet issue online, is packaged manually without user, improves business development effect to upload to small routine management platform Rate.
It optionally,, can be based on order be packaged, to creation in 107 in a possible implementation of the present embodiment In the pre-set business development position, source code for realizing small routine is packaged, is compressed, and a compressed package is obtained, such as The compressed package of zip format.
It optionally, may include target position in the packing order in a possible implementation of the present embodiment Confidence breath.Correspondingly, in 107, can based on be packaged order, to be created in target position information corresponding position for realizing small The source code of program is packaged, is compressed, and a compressed package, such as the compressed package of zip format are obtained.
It is, for example, possible to use the exec methods of Node.js sub-process module to be packaged to source code, is ordered using zip Order is compressed.Wherein, exec method is the matched method for regular expression in searching character string.
As follows, the partial code example to be packaged order:
Wherein, " catalogue where small routine project " the i.e. target position information of the source code of small routine in above-mentioned code.
In addition, in the development process method for the small routine that the application a further embodiment provides, by 107 pairs for real After the source code of existing small routine is packaged, upload instruction message can also be received, includes little Cheng in the upload instruction message Sequence manages the information of platform, such as the small routine management title of platform, identification number, position etc., and small routine management therein is flat Platform for example can be Baidu's small routine management platform, skeleton key small routine management platform etc. arbitrarily can manage and issue it is small The management platform of program;Based on the upload instruction message, by what is be packaged to the source code for realizing small routine Small routine, which is wrapped, passes to small routine management platform.
Wherein, 106~107 executing subject can be realized by a module in the development process device of small routine, It is properly termed as packetization module.
Based on the above embodiment, the exploitation environment that small routine can be got out by developing one key of context initialization order, Start the host's configuration and business development of small routine;After the completion of business development, then by being packaged order one key packing small routine Source code generates compressed package and uploads to small routine management platform, online to issue.Compared with the existing technology, it is not only promoted The development efficiency of small routine, may also speed up linear velocity, release quickly product, to realize the effect of acceleration business iteration Fruit.
The technical solution of the embodiment of the present application can be adapted for any operating system, such as Windows, Mac, Linux Deng.
The technical solution of the embodiment of the present application can be adapted for arbitrarily small program development platform, such as Baidu's developer's work Tool, skeleton key developer's platform etc..
The technical solution of the embodiment of the present application can be adapted for any host, such as wechat APP, QQ APP, Slack APP, Whats APP, Telegram APP, Line APP, more sudden strain of a muscle APP etc..
The embodiment of the present application is by receiving the exploitation ring for being used to indicate the environment of the exploitation to small routine and carrying out initial configuration Border initialization command can be realized the exploitation environment to small routine and carry out initial configuration, in this way, matching one by one manually without user The initial configuration of small routine exploitation environment can be completed, to improve the exploitation of small routine in the exploitation environment for setting small routine Efficiency.
In addition, using technical solution provided herein, can be realized pair by an exploitation context initialization order Small routine develops the initial configuration of environment, easy to operate, improves the development efficiency of small routine.
In addition, using technical solution provided herein, after the completion of the exploitation context initialization configuration to small routine, Can export initial configuration completion prompting message, in this way, developer see the initial configuration complete prompting message after, The business development that small routine can be carried out based on the exploitation environment of small routine, realizes good, the quick interaction between man-machine, The exploitation duration for facilitating shortening small routine, to realize the quick exploitation of small routine.
In addition, the source code of small routine is packaged by being packaged order using technical solution provided herein, Issue online to upload to small routine management platform, is packaged manually without user, improves business development efficiency.
In addition, the experience of small routine developer can be effectively improved using technical solution provided herein.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
Fig. 4 shows the frame for being suitable for the exemplary computer system/server 12 for being used to realize the application embodiment Figure.The computer system/server 12 that Fig. 4 is shown is only an example, should not function and use to the embodiment of the present application Range band carrys out any restrictions.
As shown in figure 4, computer system/server 12 is showed in the form of universal computing device.Computer system/service The component of device 12 can include but is not limited to: one or more processor perhaps 16 storage device of processing unit or system Memory 28 connects the bus 18 of different system components (including system storage 28 and processing unit 16).
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Computer system/server 12 typically comprises a variety of computer system readable media.These media, which can be, appoints What usable medium that can be accessed by computer system/server 12, including volatile and non-volatile media, it is moveable and Immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Computer system/server 12 may further include other removable Dynamic/immovable, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for Read and write immovable, non-volatile magnetic media (Fig. 4 do not show, commonly referred to as " hard disk drive ").Although not showing in Fig. 4 Out, the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided, and to removable The CD drive of anonvolatile optical disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, Each driver can be connected by one or more data media interfaces with bus 18.System storage 28 may include to A few program product, the program product have one group of (for example, at least one) program module, these program modules are configured to Execute the function of each embodiment of the application.
Program/utility 40 with one group of (at least one) program module 42 can store and store in such as system In device 28, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other It may include the realization of network environment in program module and program data, each of these examples or certain combination.Journey Sequence module 42 usually executes function and/or method in embodiments described herein.
Computer system/server 12 can also be (such as keyboard, sensing equipment, aobvious with one or more external equipments 14 Show device 24 etc.) communication, it is logical that the equipment interacted with the computer system/server 12 can be also enabled a user to one or more Letter, and/or with the computer system/server 12 any is set with what one or more of the other calculating equipment was communicated Standby (such as network interface card, modem etc.) communicates.This communication can be carried out by input/output (I/O) interface 44.And And computer system/server 12 can also pass through network adapter 20 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown, network adapter 20 passes through bus 18 communicate with other modules of computer system/server 12.It should be understood that although not shown in the drawings, computer can be combined Systems/servers 12 use other hardware and/or software module, including but not limited to: microcode, device driver, at redundancy Manage unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and Data processing, such as realize instant communicating method provided by embodiment any embodiment corresponding to Fig. 1.
Another embodiment of the application additionally provides a kind of computer readable storage medium, is stored thereon with computer program, The program realizes instant communicating method provided by embodiment any embodiment corresponding to Fig. 1 when being executed by processor.
It specifically, can be using any combination of one or more computer-readable media.Computer-readable medium It can be computer-readable signal media or computer readable storage medium.Computer readable storage medium for example can be with System, device or the device of --- but being not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or it is any more than Combination.The more specific example (non exhaustive list) of computer readable storage medium includes: to have one or more conducting wires Electrical connection, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable type can compile Journey read-only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, Magnetic memory device or above-mentioned any appropriate combination.In this document, computer readable storage medium can be any packet Contain or store the tangible medium of program, which can be commanded execution system, device or device use or in connection It uses.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium other than computer readable storage medium, which can send, propagate or Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with one or more programming languages or combinations thereof come write for execute the application operation computer Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.In Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or Wide area network (WAN) --- it is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or the page Component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point is shown The mutual coupling, direct-coupling or communication connection shown or discussed can be through some interfaces, between device or unit Coupling or communication connection are connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the application The part steps of a embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various It can store the medium of program code.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although The application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (12)

1. a kind of development process method of small routine characterized by comprising
Receive exploitation context initialization order, the exploitation context initialization order be used to indicate the exploitation environment to small routine into Row initial configuration;
Based on the exploitation context initialization order, initial configuration is carried out to the exploitation environment of the small routine;
After the completion of the exploitation context initialization configuration to the small routine, the prompting message that output initial configuration is completed, with Just the exploitation environment based on small routine carries out the business development of small routine.
2. the method according to claim 1, wherein context initialization order is developed in the reception, comprising:
Receive the exploitation context initialization order that operating system is sent;Alternatively,
Receive the exploitation context initialization order of user's input.
3. the method according to claim 1, wherein the exploitation context initialization order includes initialization ginseng Number;
It is described to be based on the exploitation context initialization order, initial configuration is carried out to the exploitation environment of the small routine, comprising:
Predeterminated position creates initial configuration file at the terminal;
Based on the initiation parameter, created in the initial configuration file simulator catalogue, creation compiler catalogue, Creation extends soft chain.
4. method described in any claim according to claim 1~3, which is characterized in that the output initial configuration is complete At prompting message after, further includes:
It receives host and selects instruction message;
Determine the software that the host selects the software identification in instruction message to be identified for the host of the small routine;
Receive host's configuration instruction message, include specified directory in host's configuration instruction message, the specified directory be The catalogue created during carrying out initial configuration to the exploitation environment of the small routine;
According to host's configuration instruction message, the corresponding folder of the host is loaded under the specified directory.
5. according to the method described in claim 4, it is characterized in that, the exploitation environment based on small routine carries out small routine Business development, comprising:
Receive the source code for realizing the small routine;
According to the business development instruction message of input, to the source code for realizing the small routine or part of original code into Row simulation, compiling, debugging processing.
6. according to the method described in claim 5, it is characterized by further comprising:
After the business development of the small routine is completed, the two dimensional code based on user generates instruction, by described for realizing institute The source code for stating small routine generates two dimensional code, to carry out preview based on the source code being scanned to the two dimensional code of generation And/or debugging, or further modify to the source code for realizing the small routine.
7. according to the method described in claim 4, it is characterized in that, the exploitation environment based on small routine carries out small routine After business development, further includes:
It receives and is packaged order, the packing order, which is used to indicate, is packaged the source code for realizing the small routine;
It is ordered based on the packing, the source code for realizing the small routine is packaged.
8. the method according to the description of claim 7 is characterized in that it is described based on packings order, to it is described for realizing The source code of the small routine is packaged, comprising:
It is ordered based on the packing, to being created in described in pre-set business development position for realizing the source code of the small routine It is packaged, compressed.
9. the method according to the description of claim 7 is characterized in that including target position information in packing order;
It is described to be ordered based on the packing, the source code for realizing the small routine is packaged, comprising:
It is ordered based on the packing, to being created in described in the target position information corresponding position for realizing the small routine Source code be packaged, compressed.
10. the method according to the description of claim 7 is characterized in that it is described based on packings order, to it is described for realizing After the source code of the small routine is packaged, further includes:
It receives and uploads instruction message, the information uploaded including small routine management platform in instruction message;
Based on the upload instruction message, the little Cheng that the source code for realizing the small routine will be packaged Sequence, which is wrapped, passes to the small routine management platform.
11. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now method as described in claim 1~10 any claim.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The method as described in claim 1~10 any claim is realized when execution.
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 true CN110531962A (en) 2019-12-03
CN110531962B 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)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078260A (en) * 2019-12-23 2020-04-28 焦点科技股份有限公司 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
CN111766992A (en) * 2020-05-29 2020-10-13 维沃移动通信有限公司 Information display method and device, electronic equipment and storage medium
CN112527252A (en) * 2020-11-30 2021-03-19 北京百度网讯科技有限公司 Applet management method and device, applet platform, electronic device and medium
CN113238738A (en) * 2021-06-16 2021-08-10 杭州遥望网络科技有限公司 Automatic generation method, device, equipment and medium for small program two-dimensional code
CN113783966A (en) * 2021-09-23 2021-12-10 北京火山引擎科技有限公司 Data transmission method and device, readable medium and electronic equipment
CN114253621A (en) * 2020-09-11 2022-03-29 深圳Tcl数字技术有限公司 Method for configuring operating environment of terminal, computer device and readable storage medium
CN115396343A (en) * 2022-09-09 2022-11-25 深圳复临科技有限公司 Front-end page performance detection method and device, computer equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090119638A1 (en) * 2007-11-05 2009-05-07 International Business Machines Corporation Method and apparatus for providing project development environment and project development system
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

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090119638A1 (en) * 2007-11-05 2009-05-07 International Business Machines Corporation Method and apparatus for providing project development environment and project development system
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

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078260A (en) * 2019-12-23 2020-04-28 焦点科技股份有限公司 WeChat applet third-party platform management method and system
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
CN111766992A (en) * 2020-05-29 2020-10-13 维沃移动通信有限公司 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
CN112527252A (en) * 2020-11-30 2021-03-19 北京百度网讯科技有限公司 Applet management method and device, applet platform, electronic device and 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
CN113783966A (en) * 2021-09-23 2021-12-10 北京火山引擎科技有限公司 Data transmission method and device, readable medium and electronic equipment
CN115396343A (en) * 2022-09-09 2022-11-25 深圳复临科技有限公司 Front-end page performance detection method and device, computer equipment and storage medium
CN115396343B (en) * 2022-09-09 2023-11-10 深圳复临科技有限公司 Front-end page performance detection method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN110531962B (en) 2023-11-17

Similar Documents

Publication Publication Date Title
CN110531962A (en) Development process method, equipment and the computer readable storage medium of small routine
CN110795195B (en) Webpage rendering method and device, electronic equipment and storage medium
US11762634B2 (en) Systems and methods for seamlessly integrating multiple products by using a common visual modeler
CN109739478A (en) Front end project automated construction method, device, storage medium and electronic equipment
CN102819461B (en) Desktop synchronous method, device, equipment and system
CN109358858A (en) Automatically dispose method, apparatus, medium and electronic equipment
CN109034907A (en) Ad data put-on method and device, electronic equipment, storage medium
CN104636139A (en) Visualized cross-platform mobile application development and generation system
JP2019532414A (en) Kernel module loading method and apparatus
CN110119294A (en) The generation method of menu page, apparatus and system
CN109710333A (en) Processing method, equipment and the computer readable storage medium of boarding application
CN111427569B (en) Method and device for adapting installation-free program, electronic equipment and storage medium
CN110096424A (en) Processing method, device, electronic equipment and the storage medium of test
CN109992284A (en) Method and device for providing hot update program and electronic equipment
WO2019029451A1 (en) Method for publishing mobile applications and electronic apparatus
CN111145745A (en) Conversation process customizing method and device
CN111176629A (en) Application development method and device
CN109448727A (en) Voice interactive method and device
CN110389755A (en) Code process method and device, electronic equipment and computer readable storage medium
CN109582317A (en) Method and apparatus for debugging boarding application
CN109522010A (en) Initial code adding method and device, storage medium, electronic equipment
CN105893235B (en) A kind of emulation test method, device and server
CN110868324A (en) Service configuration method, device, equipment and storage medium
CN110851211A (en) Method, apparatus, electronic device, and medium for displaying application information
CN111459506B (en) Deep learning platform cluster deployment method and device, medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant