CN110187931A - The operation method and device of small routine - Google Patents

The operation method and device of small routine Download PDF

Info

Publication number
CN110187931A
CN110187931A CN201910415325.9A CN201910415325A CN110187931A CN 110187931 A CN110187931 A CN 110187931A CN 201910415325 A CN201910415325 A CN 201910415325A CN 110187931 A CN110187931 A CN 110187931A
Authority
CN
China
Prior art keywords
file
implementing result
small routine
page
presented
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
CN201910415325.9A
Other languages
Chinese (zh)
Other versions
CN110187931B (en
Inventor
陈都
吴宇伦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910415325.9A priority Critical patent/CN110187931B/en
Publication of CN110187931A publication Critical patent/CN110187931A/en
Application granted granted Critical
Publication of CN110187931B publication Critical patent/CN110187931B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application proposes the operation method and device of a kind of small routine, wherein, this method comprises: in the trigger event for receiving small routine, determine the page to be presented corresponding with trigger event, from the packaging file of small routine, obtain business logic codes file corresponding with the page to be presented, and from small routine front end frame code packaging file, obtain small routine skeleton code file corresponding with the page to be presented, then, it is obtained and business logic codes file and the corresponding implementing result file of small routine skeleton code file from caching, according to business logic codes file and the corresponding implementing result file of small routine skeleton code file, show the page to be presented.Thus, business logic codes file and the corresponding implementing result file of small routine skeleton code file are directly acquired in the buffer, the time required for recompilating code file is reduced, small routine is reduced and shows the time required for the page to be presented, improve the Experience Degree of user.

Description

The operation method and device of small routine
Technical field
This application involves field of computer technology more particularly to the operation methods and device of a kind of small routine.
Background technique
Small routine refers to that a kind of developed based on certain programmed language is completed, without downloading and installation, so that it may the shifting used Moved end APP.The maximum feature of small routine be it is easy to use, without being installed in the operating system of mobile terminal manually, usual little Cheng Sequence rely on large-scale APP as carrier carry out using.
With the development of mobile network's technology, user browse small routine when experience requirements it is higher and higher.In the related technology, When small routine is again turned on page jump, JS engine needs the service logic source code to corresponding business to recompilate And run, the operation result of service logic source code is obtained, so that the view layer of small routine carries out respective handling, is recompilated simultaneously Operation, and the corresponding page is shown according to operation result, affect the starting efficiency of small routine and the efficiency of page jump, little Cheng The white screen time of sequence, or check that the time of the page after jumping is longer, seriously affect user experience.
Summary of the invention
The application is intended to solve at least some of the technical problems in related technologies.
For this purpose, first purpose of the application is to propose a kind of operation method of small routine.
Second purpose of the application is to propose a kind of running gear of small routine.
The third purpose of the application is to propose a kind of electronic equipment.
The 4th purpose of the application is to propose a kind of computer readable storage medium.
In order to achieve the above object, the application first aspect embodiment proposes a kind of operation method of small routine, comprising: response The trigger event of small routine determines the page to be presented corresponding with the trigger event, from the packaging file of the small routine, Obtain business logic codes file corresponding with the page to be presented;From small routine front end frame code packaging file, obtain Take small routine skeleton code file corresponding with the page to be presented;It is obtained and the business logic codes file from caching Corresponding first implementing result file, and obtain the second implementing result file corresponding with the small routine skeleton code file; According to the first implementing result file and the second implementing result file, the page to be presented is shown.
The operation method of small routine provided by the embodiments of the present application, in the trigger event for receiving small routine, determine with The corresponding page to be presented of trigger event obtains service logic corresponding with the page to be presented from the packaging file of small routine Code file, and from small routine front end frame code packaging file, obtain small routine frame generation corresponding with the page to be presented Then code file obtains and business logic codes file and small routine skeleton code file is corresponding holds from caching Row destination file, according to business logic codes file and the corresponding implementing result file of small routine skeleton code file, Show the page to be presented.Directly acquire business logic codes file and small routine skeleton code file in the buffer as a result, respectively Corresponding implementing result file reduces the time required for recompilating code file, and it is to be presented to reduce small routine displaying Time required for the page improves displaying efficiency, improves the response efficiency of small routine, improves the Experience Degree of user.
In order to achieve the above object, the application second aspect embodiment proposes a kind of running gear of small routine, comprising: first Module is obtained, for responding the trigger event of small routine, determines the page to be presented corresponding with the trigger event, from described small In the packaging file of program, business logic codes file corresponding with the page to be presented is obtained;Second obtains module, is used for From small routine front end frame code packaging file, small routine skeleton code file corresponding with the page to be presented is obtained; Third obtains module, for obtaining the first implementing result file corresponding with the business logic codes file from caching, and Obtain the second implementing result file corresponding with the small routine skeleton code file;Display module, for according to described first Implementing result file and the second implementing result file show the page to be presented.
The running gear of small routine provided by the embodiments of the present application, in the trigger event for receiving small routine, determine with The corresponding page to be presented of trigger event obtains service logic corresponding with the page to be presented from the packaging file of small routine Code file, and from small routine front end frame code packaging file, obtain small routine frame generation corresponding with the page to be presented Then code file obtains and business logic codes file and small routine skeleton code file is corresponding holds from caching Row destination file, according to business logic codes file and the corresponding implementing result file of small routine skeleton code file, Show the page to be presented.Directly acquire business logic codes file and small routine skeleton code file in the buffer as a result, respectively Corresponding implementing result file reduces the time required for recompilating code file, and it is to be presented to reduce small routine displaying Time required for the page improves displaying efficiency, improves the response efficiency of small routine, improves the Experience Degree of user.
In order to achieve the above object, the application third aspect embodiment proposes a kind of electronic equipment, including memory, processor And the computer program that can be run on a memory and on a processor is stored, the processor is realized such as when executing described program The operation method of the upper small routine.
To achieve the goals above, the application fourth aspect embodiment proposes a kind of computer readable storage medium, when When instruction in the storage medium is executed by processor, the operation method of small routine as described above is realized.
The additional aspect of the application and advantage will be set forth in part in the description, and will partially become from the following description It obtains obviously, or recognized by the practice of the application.
Detailed description of the invention
The application is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is a kind of flow diagram of the operation method of small routine provided by the embodiments of the present application;
Fig. 2 is the flow diagram of the operation method of another small routine provided by the embodiments of the present application;
Fig. 3 is the interaction schematic diagram of view layer and JS engine in the operation frame of small routine;
Fig. 4 is the flow diagram of the operation method of another small routine provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of the running gear of small routine provided by the embodiments of the present application;
Fig. 6 is the structural schematic diagram of the running gear of another small routine provided by the embodiments of the present application;
Fig. 7 is the structural schematic diagram of the running gear of another small routine provided by the embodiments of the present application;
Fig. 8 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the application, and should not be understood as the limitation to the application.
In the related technology, the operation frame of small routine, usually will not front end frame runtime code to small routine and Developer's service code caches, and is again turned in small routine or when page jump, and the operation frame of small routine needs pair The service logic source code of corresponding business is recompilated and is run, for example, the JS engine pair in the operation frame of small routine The service logic source code of corresponding business is recompilated and is run, and then, obtains the operation result of service logic source code, So that the view layer of small routine carries out respective handling.Small routine is recompilated and is run every time, affects the starting of small routine The efficiency of efficiency and page jump, the white screen time of small routine and the time for showing the page after jumping are longer, seriously affect User experience.
For this purpose, this method is in the trigger event for receiving small routine this application provides a kind of operation method of small routine When, from the packaging file of small routine, obtain corresponding with trigger event business logic codes file, and from small routine front end frame In frame code packaging file, obtain corresponding with the page to be presented small routine skeleton code file, then, obtained from caching and Business logic codes file and the corresponding implementing result file of small routine skeleton code file, according to business logic codes File and the corresponding implementing result file of small routine skeleton code file, show the page to be presented.As a result, in the buffer Business logic codes file and the corresponding implementing result file of small routine skeleton code file are directly acquired, is reduced again Time required for compiled code file, when reducing required for processing result corresponding to small routine displaying trigger event Between, displaying efficiency is improved, the response efficiency of small routine is improved, improves the Experience Degree of user.
Below with reference to the accompanying drawings the operation method, device and electronic equipment of the small routine of the embodiment of the present application are described.
Fig. 1 is a kind of flow diagram of the operation method of small routine provided by the embodiments of the present application.
As shown in Figure 1, the operation method of the small routine may include:
Step 101, the trigger event of small routine is responded, the page to be presented corresponding with trigger event is determined, from small routine Packaging file in, obtain corresponding with the page to be presented business logic codes file.
Wherein, it should be noted that the operation method of the small routine of the embodiment of the present application can be only fitted to the fortune of small routine Luggage is set, and the running gear of the small routine can be set in the electronic device or in server.
It is described so that the running gear of small routine is arranged in electronic equipment as an example in the embodiment of the present application.
Wherein, electronic equipment may include personal computing devices, smart phone, portable device etc., and the embodiment is to this It is not construed as limiting.
It is understood that the trigger event of small routine can be user by triggering corresponding control or voice mode Triggering mode then triggers the starting event of small routine for example, user clicks small routine icon, that is, trigger event is starting thing Part, which does not limit the triggering mode of trigger event and this.
Wherein, it not only may include business logic codes file in the packaging file of small routine, can also include pattern text Part, configuration file etc..
In the present embodiment, it determines the page to be presented corresponding with trigger event, from the packaging file of small routine, obtains Business logic codes file corresponding with the page to be presented, is accomplished by the following way:
Can corresponding relationship between trigger event according to the pre-stored data and interface to be presented, obtain corresponding with trigger event Interface to be presented, then, according to the corresponding relationship at the interface to be presented that prestores and business logic codes file, from small routine In packaging file, business logic codes file corresponding with interface to be presented is obtained.
Step 102, from small routine front end frame code packaging file, small routine frame corresponding with the page to be presented is obtained Frame code file.
In the present embodiment, it from small routine front end frame code packaging file, obtains corresponding with the page to be presented small Program frame code file can be accomplished in the following manner:
According to the corresponding relationship at the interface to be presented and small routine skeleton code file that prestore, from small routine front end frame generation In code packaging file, small routine skeleton code file corresponding with interface to be presented is obtained.
Step 103, corresponding with business logic codes file the first implementing result file is obtained from caching, and obtain and The corresponding second implementing result file of small routine skeleton code file.
Specifically, it can search whether to exist from caching and be patrolled with business according to the routing information of business logic codes file Collect the corresponding implementing result file of code file;If finding implementing result corresponding with business logic codes file from caching File then obtains the first implementing result file corresponding with business logic codes file from caching.
In the present embodiment, the second implementing result file corresponding with small routine skeleton code file is obtained from caching Detailed process can be with are as follows: the routing information of small routine skeleton code file searches whether to exist from caching and service logic generation The corresponding implementing result file of code file;If finding implementing result text corresponding with business logic codes file from caching Part then obtains the second implementing result file corresponding with business logic codes file from caching.
It is understood that many files usually can be stored in caching, in order to improve the efficiency of the locating file from caching, The embodiment of property as an example can pre-establish caching index file in the buffer, and according to caching index file, fastly Whether stored in fast query caching with the matched implementing result file of the routing information of business logic codes file, be matched to The corresponding first implementing result file of implementing result file, as business logic codes file.
Wherein, it according to the caching index file pre-established, obtains corresponding with business logic codes file second and executes The process of the process of destination file, the first implementing result file corresponding with above-mentioned acquisition business logic codes file is similar, this Place repeats no more.
The embodiment of property as an example is cached multifile and accounts for electronic equipment memory space to reduce With, the data cached of caching can also be monitored, determine caching it is data cached reach cache threshold when, can will cache In target implementing result file delete, wherein target implementing result file is that access times are minimum, and most apart from current time Long implementing result file.
As another illustrative embodiment, it is cached multifile in order to reduce electronic equipment memory space is accounted for With can also be monitored to the quantity of documents of caching, if monitoring the quantity of documents that stores in caching reaches preset quantity When, it can be minimum by access times in caching, and deleted apart from the implementing result file of current time at most, to reduce access times At least, and apart from the file of current time at most to the occupancy of electronic equipment memory space.
In addition, if implementing result file corresponding with business logic codes file is not found from caching, to business Logical code file is compiled and executes, to obtain third implementing result file corresponding with business logic codes file.
In one embodiment of the application, in order to improve the displaying efficiency of the small routine page, in acquisition and service logic After the corresponding third implementing result file of code file, third implementing result file can be stored into caching.
It is understood that in practical applications, not only can store implementing result file in caching, volume can also be stored Translate destination file.
Wherein, compiling destination file is obtained machine code text after being compiled to corresponding business logic codes Part.As another illustrative embodiment, if not finding execution corresponding with business logic codes file from caching Destination file can also determine in caching with the presence or absence of compiling destination file corresponding with business logic codes file;If it exists, Compiling destination file corresponding with business logic codes file is then obtained from caching.
After obtaining compiling destination file corresponding with business logic codes file, compiling destination file can also be performed, To obtain the corresponding first implementing result file of business logic codes file.
It is understood that after obtaining the corresponding first implementing result file of business logic codes file, it can be by industry The storage of logical code file corresponding first implementing result file be engaged in the buffer, subsequent can directly be obtained from caching with facilitating The corresponding implementing result file of the business logic codes file.
Step 104, according to the first implementing result file and the second implementing result file, the page to be presented is shown.
According to the first implementing result file and the second implementing result file, the page to be presented is shown, can pass through following manner It realizes:
According to the first implementing result file and the second implementing result file, the static resource of the page to be presented is determined;It obtains The dynamic resource of the page to be presented;According to static resource and dynamic resource, the page to be presented is generated, and shows the page to be presented.
Wherein, static resource refers to the data for not needing to obtain from server, for example, the page of local cache storage will be opened up Text, picture and CSS file for showing etc..
It is understood that the corresponding dynamic resource of the page to be presented, is to execute the corresponding service logic of page to be presented When, from server request to.
Wherein, dynamic resource refers to the resource for needing to obtain from server, for example, the number that the page will be requested from server According to, such as picture, video etc..The operation method of the small routine of the embodiment of the present application, in the trigger event for receiving small routine, It determines the page to be presented corresponding with trigger event, from the packaging file of small routine, obtains industry corresponding with the page to be presented Business logical code file, and from small routine front end frame code packaging file, obtain small routine corresponding with the page to be presented Skeleton code file, then, it is respectively right with business logic codes file and small routine skeleton code file to obtain from caching The implementing result file answered, according to business logic codes file and the corresponding implementing result of small routine skeleton code file File shows the page to be presented.Directly acquire business logic codes file and small routine skeleton code file in the buffer as a result, Corresponding implementing result file, reduce recompilate code file required for the time, reduce small routine show to Time required for displayed page improves displaying efficiency, improves the response efficiency of small routine, improves the experience of user Degree.
Fig. 2 is the flow diagram of the operation method of another small routine provided by the embodiments of the present application.Wherein, it needs Bright, the present embodiment is described so that trigger event is starting event as an example.
As shown in Fig. 2, the operation method of the small routine may include:
Step 201, the starting event of small routine is responded, first page to be presented corresponding with starting event is obtained.
Wherein, the page that first page to be presented is presented after being started by small routine.
Step 202, from the packaging file of small routine, it is literary that business logic codes corresponding with first page to be presented are obtained Part.
Wherein, business logic codes file is the service logic generation corresponding with first page to be presented that developer is write Code file.
Step 203, from small routine front end frame code packaging file, small routine frame corresponding with starting event is obtained Code file.
Wherein, it should be noted that the execution of step 202 and step 203 in no particular order sequence.
Wherein, small routine skeleton code file may include small routine frame logic code file and small routine frame wash with watercolours Contaminate code file.
Wherein, small routine front end frame code packaging file is the small routine front end frame code developing small routine and being relied on Packaging file.
It should be noted that for the various small routines developed dependent on the same application platform, each Small routine front end frame code packaging file is identical corresponding to small routine.
Step 204, the first implementing result file corresponding with business logic codes file is obtained from caching.
Step 205, from caching, the 4th implementing result file corresponding with small routine frame logic code file is obtained, And obtain the 5th implementing result file corresponding with small routine frame rendering code file.
Wherein, it should be noted that the execution of step 204 and step 205 in no particular order sequence.
It should be understood that for multiple small routines in the same application platform, as long as one of them is small For program after application platform starting, the corresponding implementing result file of small routine skeleton code file will be stored in caching In, in the starting of other small routines, implementing result text corresponding with small routine skeleton code file can be obtained directly from caching Part.
In one embodiment of the application, held in determining caching there is no corresponding with small routine skeleton code file When row destination file, small routine skeleton code file can be compiled and be executed, to obtain small routine skeleton code file pair The 6th implementing result file answered.
In order to improve the starting efficiency of subsequent small routine, the embodiment of property, is obtaining small routine frame as an example The corresponding 6th implementing result file of frame code file can store the 6th implementing result file in the buffer.
Step 206, it according to the first implementing result file, the 4th implementing result file and the 5th implementing result file, determines The static resource of first page to be presented, and obtain the dynamic resource of first page to be presented.
Wherein, dynamic resource is in the corresponding service logic of the page to be presented of execution first, from server request It arrives, dynamic resource is stored in the first implementing result file.
Step 207, it according to the static resource and dynamic resource of first page to be presented, generates and shows the first page to be presented Face.
In order to enable those skilled in the art fully understand the technical solution of the application, below with reference to Fig. 3 to small routine When trigger event is the starting event of small routine, show that the process of the starting page of small routine is described.
It is understood that the operation frame of small routine includes view layer and logical layer, in general, the logical layer of small routine is It is executed by JS engine.
Wherein, it should be noted that the electronic equipment comprising small routine is arranged in the JS engine in the embodiment, for pair Logical code file in small routine operational process is compiled and executes.
The present embodiment is extended the cache manager in JS engine, by the cache manager after extension to needing JS The implementing result for the local logical code file that engine is compiled and executed is cached.That is, the JS engine in this implementation The corresponding implementing result of logical code file can also be cached.
Specifically, after receiving user and starting small routine, by the view layer of small routine by the starting event of small routine JS engine is fed back to, and the business logic codes file of the corresponding starting page of the event that starts and small routine skeleton code is literary Part, then, JS engine is after obtaining business logic codes file and small routine skeleton code file, it may be determined that slow in JS engine Depositing manager whether there is and business logic codes file and the corresponding implementing result file of small routine skeleton code file.
Wherein, the business logic codes file in this implementation each means the local logic business code file of small routine.
Wherein, it should be noted that the local script in Fig. 3 includes business logic codes file and small routine skeleton code File.
If the cache manager in JS engine has cached business logic codes file and small routine skeleton code file is each Self-corresponding implementing result file, then JS engine is corresponding by business logic codes file and small routine skeleton code file Implementing result file returns to view layer, the implementing result data that view layer is returned according to JS engine, to the starting page of small routine Face is rendered.
Wherein, implementing result file includes JSON data.
Wherein, the starting page for the implementing result file rendering small routine that view layer is returned according to JS engine and displaying start The process of the page can be achieved by the prior art, and details are not described herein again.
It is understood that may may require that the operation knot using online script in the starting page for showing small routine Fruit, wherein online script is located in long-range equipment.
Wherein, long-range equipment is also that online script is compiled and is run by way of JS engine, and is carried out Caching.The operation method of the small routine of the embodiment of the present application determines and starting event after receiving the starting event of small routine Corresponding first page to be presented, and obtain business logic codes file corresponding with first page to be presented, and from small routine In front end frame code packaging file, small routine skeleton code file corresponding with starting event is obtained, and obtain in the buffer Small routine skeleton code file and the corresponding implementing result file of business logic codes file, then, according to small routine frame The corresponding implementing result file of frame code file, determines the static resource of first page to be presented, then, according to first to The static resource and dynamic resource of displayed page generate first page to be presented, and show first page to be presented.Exist as a result, During the starting of small routine, small routine skeleton code file and business logic codes file in binding cache are respectively corresponded to Implementing result file carry out starting event response, reduce recompilate code file required for the time, reduce little Cheng Sequence shows the time required for startup interface, reduces the white screen time of small routine, improves displaying efficiency, improve small routine Response efficiency, improve the Experience Degree of user.
Fig. 4 is the flow diagram of the operation method of another small routine provided by the embodiments of the present application.Wherein, it needs Bright, the present embodiment is described so that trigger event is page jump event as an example.
As shown in figure 4, the operation method of the small routine may include:
Step 401, the page jump event of small routine is responded, determines second page to be presented after jumping.
In the present embodiment, page jump can be determined according to the current page and page jump event shown by small routine Corresponding second displayed page of event.For example, small routine is a small routine of hiring a car, clicked in small routine homepage of hiring a car in user Vehicle details button after, a page jump event will be triggered, the page jump event, the page after jumping is vehicle details The page.
Step 402, from the packaging file of small routine, it is literary that business logic codes corresponding with second page to be presented are obtained Part.
Wherein, business logic codes file is the service logic generation corresponding with second page to be presented that developer is write Code file.
Step 403, from small routine front end frame code packaging file, small routine frame corresponding with the page to be presented is obtained Frame code file.
Wherein, small routine skeleton code file includes small routine frame logic code file.
Step 404, corresponding with business logic codes file the first implementing result file is obtained from caching, and from caching In, obtain the second implementing result file corresponding with small routine frame logic code file.
Step 405, according to the first implementing result file and the second implementing result file, the quiet of second page to be presented is determined State resource, and obtain the dynamic resource of the second displayed page.
Wherein, dynamic resource is in the corresponding service logic of the page to be presented of execution second, from server request It arrives.
Step 406, according to static resource and dynamic resource, second page to be presented is generated, and shows the second page to be presented Face.
The operation method of the small routine of the embodiment of the present application, in the trigger event for receiving small routine, from small routine In packaging file, business logic codes file corresponding with trigger event is obtained, and be packaged text from small routine front end frame code In part, small routine skeleton code file corresponding with the page to be presented is obtained, then, acquisition and business logic codes from caching File and the corresponding implementing result file of small routine skeleton code file, according to business logic codes file and little Cheng The corresponding implementing result file of sequence skeleton code file, shows the page to be presented.Directly acquire business in the buffer as a result, Logical code file and the corresponding implementing result file of small routine skeleton code file, reduce recompility code file The required time reduces small routine and shows the time required for processing result corresponding to trigger event, improves displaying Efficiency improves the response efficiency of small routine, improves the Experience Degree of user.
Fig. 5 is a kind of structural schematic diagram of the running gear of small routine provided by the embodiments of the present application.
Shown in Fig. 5, the running gear of the small routine includes that the first acquisition module 110, second obtains module 120, third obtains Modulus block 130, display module 140, in which:
First obtains module 110, for responding the trigger event of small routine, determines page to be presented corresponding with trigger event Face obtains business logic codes file corresponding with the page to be presented from the packaging file of small routine;
Second obtains module 120, for obtaining and the page pair to be presented from small routine front end frame code packaging file The small routine skeleton code file answered;
Third obtains module 130, for obtaining the first implementing result corresponding with business logic codes file from caching File, and obtain the second implementing result file corresponding with small routine skeleton code file;
Display module 140, for showing page to be presented according to the first implementing result file and the second implementing result file Face.
In the application one embodiment, third obtains module 130, is specifically used for: according to business logic codes file Routing information searches whether there is implementing result file corresponding with business logic codes file from caching;If from caching Implementing result file corresponding with business logic codes file is found, then is obtained and business logic codes file pair from caching The the first implementing result file answered.
In the application one embodiment, on the basis of embodiment as shown in Figure 5, as shown in fig. 6, the device also wraps It includes:
First processing module 150, if corresponding with business logic codes file executing knot for not finding from caching Fruit file is then compiled and executes to business logic codes file, to obtain third corresponding with business logic codes file Implementing result file;
First memory module 160, for storing third implementing result file into caching.
In the application one embodiment, on the basis of embodiment as shown in Figure 5, as shown in fig. 7, the device also wraps It includes:
Determining module 170, if for not finding implementing result text corresponding with business logic codes file from caching Part, it is determined that whether there is compiling destination file corresponding with business logic codes file in caching;If it exists, then from caching Obtain compiling destination file corresponding with business logic codes file;
In the application one embodiment, as shown in fig. 7, the device further include:
Execution module 180, for executing compiling destination file, to obtain the first implementing result file.
In the application one embodiment, as shown in fig. 7, the device further include:
Second memory module 190, for storing the first implementing result file into caching.
In the application one embodiment, display module 140 is specifically used for: according to the first implementing result file and second Implementing result file determines the static resource of the page to be presented;Obtain the dynamic resource of the page to be presented;According to static resource and Dynamic resource generates the page to be presented, and shows the page to be presented.
In the application one embodiment, when trigger event is starting event, small routine skeleton code file includes small Program frame logical code file and small routine frame render code file.
Third obtains module 130, is specifically used for: from caching, obtaining corresponding with small routine frame logic code file 4th implementing result file, and obtain the 5th implementing result file corresponding with small routine frame rendering code file.
In the present embodiment, display module 140 are specifically used for: according to the first implementing result file, the 4th implementing result text Part and the 5th implementing result file determine the static resource of first page to be presented;Obtain the dynamic money of first page to be presented Source;According to the static resource and dynamic resource of first page to be presented, generates and show first page to be presented.
In the application one embodiment, when trigger event is page jump event, small routine skeleton code file packet Small routine frame logic code file is included, first obtains module 110, is specifically used for: according to page jump event, determining after jumping Second page to be presented;From the packaging file of small routine, business logic codes corresponding with second page to be presented are obtained File.
Third obtains module 130, is specifically used for: corresponding with small routine frame logic code file the is obtained from caching Two implementing result files.
In the application one embodiment, as shown in fig. 7, the device further include:
Second processing module 200, for execution corresponding with small routine skeleton code file to be not present in determining caching When destination file, small routine skeleton code file is compiled and is executed, it is corresponding to obtain small routine skeleton code file 6th implementing result file;
Third memory module 210, for storing in the buffer the 6th implementing result file.
Wherein, it should be noted that the explanation of the aforementioned operation method embodiment to small routine is also applied for the reality The running gear of the small routine of example is applied, details are not described herein again.
The running gear of small routine provided by the embodiments of the present application, in the trigger event for receiving small routine, determine with The corresponding page to be presented of trigger event obtains service logic corresponding with the page to be presented from the packaging file of small routine Code file, and from small routine front end frame code packaging file, obtain small routine frame generation corresponding with the page to be presented Then code file obtains and business logic codes file and small routine skeleton code file is corresponding holds from caching Row destination file, according to business logic codes file and the corresponding implementing result file of small routine skeleton code file, Show the page to be presented.Directly acquire business logic codes file and small routine skeleton code file in the buffer as a result, respectively Corresponding implementing result file reduces the time required for recompilating code file, and it is to be presented to reduce small routine displaying Time required for the page improves displaying efficiency, improves the response efficiency of small routine, improves the Experience Degree of user.
Fig. 8 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application.The electronic equipment includes:
Memory 1001, processor 1002 and it is stored in the calculating that can be run on memory 1001 and on processor 1002 Machine program.
Processor 1002 realizes the operation method of the small routine provided in above-described embodiment when executing program.
Further, electronic equipment further include:
Communication interface 1003, for the communication between memory 1001 and processor 1002.
Memory 1001, for storing the computer program that can be run on processor 1002.
Memory 1001 may include high speed RAM memory, it is also possible to further include nonvolatile memory (non- Volatile memory), a for example, at least magnetic disk storage.
Processor 1002 realizes the operation method of the small routine of above-described embodiment when for executing program.
If memory 1001, processor 1002 and the independent realization of communication interface 1003, communication interface 1003, memory 1001 and processor 1002 can be connected with each other by bus and complete mutual communication.Bus can be Industry Standard Architecture Structure (Industry Standard Architecture, referred to as ISA) bus, external equipment interconnection (Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, referred to as EISA) bus etc..Bus can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, Fig. 8, it is not intended that an only bus or a type of bus.
Optionally, in specific implementation, if memory 1001, processor 1002 and communication interface 1003, are integrated in one It is realized on block chip, then memory 1001, processor 1002 and communication interface 1003 can be completed mutual by internal interface Communication.
Processor 1002 may be a central processing unit (Central Processing Unit, referred to as CPU), or Person is specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC) or quilt It is configured to implement one or more integrated circuits of the embodiment of the present application.
The present embodiment also provides a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that The program realizes the operation method of small routine as above when being executed by processor.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application Type.

Claims (20)

1. a kind of operation method of small routine, which is characterized in that the described method includes:
The trigger event of small routine is responded, the page to be presented corresponding with the trigger event is determined, from beating for the small routine In APMB package, business logic codes file corresponding with the page to be presented is obtained;
From small routine front end frame code packaging file, it is literary to obtain small routine skeleton code corresponding with the page to be presented Part;
The first implementing result file corresponding with the business logic codes file is obtained from caching, and is obtained and the little Cheng The corresponding second implementing result file of sequence skeleton code file;
According to the first implementing result file and the second implementing result file, the page to be presented is shown.
2. the method as described in claim 1, which is characterized in that described to be obtained and the business logic codes file from caching Corresponding first implementing result file, comprising:
According to the routing information of the business logic codes file, search whether exist and the service logic from the caching The corresponding implementing result file of code file;
If implementing result file corresponding with the business logic codes file is found from the caching, from the caching It is middle to obtain the first implementing result file corresponding with the business logic codes file.
3. method according to claim 2, which is characterized in that the method also includes:
If implementing result file corresponding with the business logic codes file is not found from the caching, to the industry Business logical code file is compiled and executes, to obtain third implementing result text corresponding with the business logic codes file Part;
By third implementing result file storage into the caching.
4. method according to claim 2, which is characterized in that the method also includes:
If not finding implementing result file corresponding with the business logic codes file from the caching, it is determined that described It whether there is compiling destination file corresponding with the business logic codes file in caching;
If it exists, then compiling destination file corresponding with the business logic codes file is obtained from the caching;
Described according to the first implementing result file and the second implementing result file, show the page to be presented it Before, further includes:
The compiling destination file is executed, to obtain the first implementing result file.
5. method as claimed in claim 4, which is characterized in that the method also includes:
By the first implementing result file storage into the caching.
6. the method as described in claim 1, which is characterized in that described according to the first implementing result file and described second Implementing result file shows the page to be presented, comprising:
According to the first implementing result file and the second implementing result file, the static money of the page to be presented is determined Source;
Obtain the dynamic resource of the page to be presented;
According to the static resource and the dynamic resource, the page to be presented is generated, and shows the page to be presented.
7. the method as described in claim 1, which is characterized in that when the trigger event is starting event, the small routine Skeleton code file includes small routine frame logic code file and small routine frame renders code file, described to obtain from caching Take the second implementing result file corresponding with the small routine skeleton code file, comprising:
From the caching, the 4th implementing result file corresponding with the small routine frame logic code file is obtained, and obtain Take the 5th implementing result file corresponding with small routine frame rendering code file;
It is described that the page to be presented is shown according to the first implementing result file and the second implementing result file, it wraps It includes:
According to the first implementing result file, the 4th implementing result file and the 5th implementing result file, determine The static resource of first page to be presented;
Obtain the dynamic resource of described first page to be presented;
According to the static resource and dynamic resource of described first page to be presented, generates and show described first page to be presented.
8. the method as described in claim 1, which is characterized in that described small when the trigger event is page jump event Program frame code file includes small routine frame logic code file, and the page to be presented is the page to be presented after jumping Face.
9. the method according to claim 1, which is characterized in that the method also includes:
When implementing result file corresponding with the small routine skeleton code file being not present in determining the caching, to described Small routine skeleton code file is compiled and executes, and executes knot to obtain the small routine skeleton code file the corresponding 6th Fruit file;
The 6th implementing result file is stored in the caching.
10. a kind of running gear of small routine, which is characterized in that described device includes:
First obtains module, for responding the trigger event of small routine, determines the page to be presented corresponding with the trigger event, From the packaging file of the small routine, business logic codes file corresponding with the page to be presented is obtained;
Second obtains module, for obtaining corresponding with the page to be presented from small routine front end frame code packaging file Small routine skeleton code file;
Third obtains module, for obtaining the first implementing result text corresponding with the business logic codes file from caching Part, and obtain the second implementing result file corresponding with the small routine skeleton code file;
Display module, for showing described wait open up according to the first implementing result file and the second implementing result file Show the page.
11. device as claimed in claim 10, which is characterized in that the third obtains module, is specifically used for:
According to the routing information of the business logic codes file, search whether exist and the service logic from the caching The corresponding implementing result file of code file;
If implementing result file corresponding with the business logic codes file is found from the caching, from the caching It is middle to obtain the first implementing result file corresponding with the business logic codes file.
12. device as claimed in claim 11, which is characterized in that described device further include:
First processing module, if corresponding with the business logic codes file executing knot for not finding from the caching Fruit file is then compiled and executes to the business logic codes file, to obtain and the business logic codes file pair The third implementing result file answered;
First memory module, for storing the third implementing result file into the caching.
13. device as claimed in claim 11, which is characterized in that described device further include:
Determining module, if for not finding implementing result text corresponding with the business logic codes file from the caching Part, it is determined that whether there is compiling destination file corresponding with the business logic codes file in the caching;
If it exists, then compiling destination file corresponding with the business logic codes file is obtained from the caching;
Described device further include:
Execution module, for executing the compiling destination file, to obtain the first implementing result file.
14. device as claimed in claim 13, which is characterized in that described device further include:
Second memory module, for storing the first implementing result file into the caching.
15. device as claimed in claim 10, which is characterized in that the display module is specifically used for:
According to the first implementing result file and the second implementing result file, the static money of the page to be presented is determined Source;
Obtain the dynamic resource of the page to be presented;
According to the static resource and the dynamic resource, the page to be presented is generated, and shows the page to be presented.
16. device as claimed in claim 10, which is characterized in that when the trigger event is starting event, the little Cheng Sequence skeleton code file includes small routine frame logic code file and small routine frame rendering code file, and the third obtains Module is specifically used for:
From the caching, the 4th implementing result file corresponding with the small routine frame logic code file is obtained, and obtain Take the 5th implementing result file corresponding with small routine frame rendering code file;
The display module, is specifically used for:
According to the first implementing result file, the 4th implementing result file and the 5th implementing result file, determine The static resource of first page to be presented;
Obtain the dynamic resource of described first page to be presented;
According to the static resource and dynamic resource of described first page to be presented, generates and show described first page to be presented.
17. device as claimed in claim 10, which is characterized in that described when the trigger event is page jump event Small routine skeleton code file includes small routine frame logic code file, and the page to be presented is the page to be presented after jumping Face.
18. such as the described in any item devices of claim 10-17, which is characterized in that described device further include:
Second processing module, for execution corresponding with the small routine skeleton code file to be not present in determining the caching When destination file, the small routine skeleton code file is compiled and is executed, to obtain the small routine skeleton code text The corresponding 6th implementing result file of part;
Third memory module, for the 6th implementing result file to be stored in the caching.
19. a kind of electronic equipment, comprising:
Memory, processor and storage are on a memory and the computer program that can run on a processor, which is characterized in that institute State the operation method that the small routine as described in any in claim 1-9 is realized when processor executes described program.
20. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The operation method of the small routine as described in any in claim 1-9 is realized when execution.
CN201910415325.9A 2019-05-17 2019-05-17 Method and device for running small program Active CN110187931B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910415325.9A CN110187931B (en) 2019-05-17 2019-05-17 Method and device for running small program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910415325.9A CN110187931B (en) 2019-05-17 2019-05-17 Method and device for running small program

Publications (2)

Publication Number Publication Date
CN110187931A true CN110187931A (en) 2019-08-30
CN110187931B CN110187931B (en) 2022-05-17

Family

ID=67716789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910415325.9A Active CN110187931B (en) 2019-05-17 2019-05-17 Method and device for running small program

Country Status (1)

Country Link
CN (1) CN110187931B (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110879728A (en) * 2019-11-18 2020-03-13 口碑(上海)信息技术有限公司 Method and device for starting small program
CN110888643A (en) * 2019-11-29 2020-03-17 北京奇艺世纪科技有限公司 Page processing method and device
CN110941429A (en) * 2019-10-23 2020-03-31 东软集团股份有限公司 Method, device and equipment for processing business script of webpage
CN111008019A (en) * 2019-12-06 2020-04-14 北京百度网讯科技有限公司 Web running method, device, equipment and medium of small program
CN111338633A (en) * 2020-02-10 2020-06-26 Oppo(重庆)智能科技有限公司 Installation-free file generation method and device and electronic equipment
CN111367623A (en) * 2020-03-10 2020-07-03 Oppo广东移动通信有限公司 Map display method and related product
CN111580879A (en) * 2020-04-30 2020-08-25 北京字节跳动网络技术有限公司 Applet running method and device, electronic equipment and computer storage medium
CN111858303A (en) * 2020-06-05 2020-10-30 百度在线网络技术(北京)有限公司 Method, device, equipment and medium for controlling page of applet
CN112416321A (en) * 2020-11-18 2021-02-26 青岛海尔科技有限公司 Application generation method and device, storage medium and electronic device
CN112579096A (en) * 2020-12-18 2021-03-30 北京百度网讯科技有限公司 Method, device, equipment and medium for compiling and loading small program starting file
CN112579048A (en) * 2019-09-30 2021-03-30 腾讯科技(深圳)有限公司 Applet integration method, device, electronic equipment and storage medium
CN113190367A (en) * 2021-07-02 2021-07-30 成都数联铭品科技有限公司 Cross-system data interaction method and device based on browser and electronic equipment
CN113205304A (en) * 2021-04-23 2021-08-03 平安科技(深圳)有限公司 Business process configuration method, device, equipment and storage medium
CN113326539A (en) * 2021-06-23 2021-08-31 支付宝(杭州)信息技术有限公司 Method, device and system for private data leakage detection aiming at applet
WO2021174538A1 (en) * 2020-03-06 2021-09-10 深圳市欢太科技有限公司 Application processing method and related apparatus
CN113434173A (en) * 2021-06-24 2021-09-24 青岛海尔科技有限公司 Data processing method, data processing device, storage medium and electronic equipment
CN113553133A (en) * 2021-07-26 2021-10-26 上海哔哩哔哩科技有限公司 Page display method and system
CN113805882A (en) * 2021-09-18 2021-12-17 上海波顿诺华智能科技有限公司 Method and device for developing application program, electronic equipment and storage medium
CN113849248A (en) * 2021-09-28 2021-12-28 北京京东振世信息技术有限公司 Applet loading method, apparatus, storage medium and program product
CN114578727A (en) * 2022-01-29 2022-06-03 深圳市云鼠科技开发有限公司 Service logic control method for cleaning robot

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6266056B1 (en) * 1998-11-30 2001-07-24 Sun Microsystems, Inc. Display widget interaction in embedded systems using child graphics contexts
CN107678745A (en) * 2017-09-25 2018-02-09 南京中新赛克科技有限责任公司 System and method based on page assembly
CN109375918A (en) * 2018-11-23 2019-02-22 天津字节跳动科技有限公司 Interface rendering method, device, electronic equipment and the storage medium of small routine
CN109669736A (en) * 2018-12-18 2019-04-23 北京城市网邻信息技术有限公司 A kind of loading method of small routine, device, terminal device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6266056B1 (en) * 1998-11-30 2001-07-24 Sun Microsystems, Inc. Display widget interaction in embedded systems using child graphics contexts
CN107678745A (en) * 2017-09-25 2018-02-09 南京中新赛克科技有限责任公司 System and method based on page assembly
CN109375918A (en) * 2018-11-23 2019-02-22 天津字节跳动科技有限公司 Interface rendering method, device, electronic equipment and the storage medium of small routine
CN109669736A (en) * 2018-12-18 2019-04-23 北京城市网邻信息技术有限公司 A kind of loading method of small routine, device, terminal device and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
XIJIE WANG ET AL.: "《Implementation of Elementary Chinese Language Learning Application in WeChat Mini Programs》", 《 2019 IEEE 4TH INTERNATIONAL CONFERENCE ON BIG DATA ANALYTICS (ICBDA)》 *
朱培源: "《一种新型的Web应用程序框架的设计与实现》", 《万方》 *
陈伟: "《微信小程序开发实战》", 30 September 2017, 人民邮电出版社 *

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579048A (en) * 2019-09-30 2021-03-30 腾讯科技(深圳)有限公司 Applet integration method, device, electronic equipment and storage medium
CN112579048B (en) * 2019-09-30 2023-09-08 腾讯科技(深圳)有限公司 Applet integration method, device, electronic equipment and storage medium
CN110941429A (en) * 2019-10-23 2020-03-31 东软集团股份有限公司 Method, device and equipment for processing business script of webpage
CN110941429B (en) * 2019-10-23 2023-03-31 东软集团股份有限公司 Method, device and equipment for processing business script of webpage
CN110879728A (en) * 2019-11-18 2020-03-13 口碑(上海)信息技术有限公司 Method and device for starting small program
CN110888643A (en) * 2019-11-29 2020-03-17 北京奇艺世纪科技有限公司 Page processing method and device
CN111008019A (en) * 2019-12-06 2020-04-14 北京百度网讯科技有限公司 Web running method, device, equipment and medium of small program
CN111338633A (en) * 2020-02-10 2020-06-26 Oppo(重庆)智能科技有限公司 Installation-free file generation method and device and electronic equipment
CN111338633B (en) * 2020-02-10 2023-08-15 Oppo(重庆)智能科技有限公司 Method and device for generating installation-free file and electronic equipment
WO2021174538A1 (en) * 2020-03-06 2021-09-10 深圳市欢太科技有限公司 Application processing method and related apparatus
CN111367623B (en) * 2020-03-10 2023-10-03 Oppo广东移动通信有限公司 Map display method and related products
CN111367623A (en) * 2020-03-10 2020-07-03 Oppo广东移动通信有限公司 Map display method and related product
CN111580879A (en) * 2020-04-30 2020-08-25 北京字节跳动网络技术有限公司 Applet running method and device, electronic equipment and computer storage medium
CN111858303A (en) * 2020-06-05 2020-10-30 百度在线网络技术(北京)有限公司 Method, device, equipment and medium for controlling page of applet
CN111858303B (en) * 2020-06-05 2023-12-01 百度在线网络技术(北京)有限公司 Page control method, device, equipment and medium for applet
CN112416321B (en) * 2020-11-18 2023-06-16 青岛海尔科技有限公司 Application generation method and device, storage medium and electronic device
CN112416321A (en) * 2020-11-18 2021-02-26 青岛海尔科技有限公司 Application generation method and device, storage medium and electronic device
CN112579096B (en) * 2020-12-18 2024-03-19 北京百度网讯科技有限公司 Method, device, equipment and medium for compiling and loading applet startup file
CN112579096A (en) * 2020-12-18 2021-03-30 北京百度网讯科技有限公司 Method, device, equipment and medium for compiling and loading small program starting file
CN113205304A (en) * 2021-04-23 2021-08-03 平安科技(深圳)有限公司 Business process configuration method, device, equipment and storage medium
CN113205304B (en) * 2021-04-23 2023-06-23 平安科技(深圳)有限公司 Business process configuration method, device, equipment and storage medium
CN113326539A (en) * 2021-06-23 2021-08-31 支付宝(杭州)信息技术有限公司 Method, device and system for private data leakage detection aiming at applet
CN113326539B (en) * 2021-06-23 2022-05-17 支付宝(杭州)信息技术有限公司 Method, device and system for private data leakage detection aiming at applet
CN113434173A (en) * 2021-06-24 2021-09-24 青岛海尔科技有限公司 Data processing method, data processing device, storage medium and electronic equipment
CN113434173B (en) * 2021-06-24 2023-06-09 青岛海尔科技有限公司 Data processing method, device, storage medium and electronic equipment
CN113190367A (en) * 2021-07-02 2021-07-30 成都数联铭品科技有限公司 Cross-system data interaction method and device based on browser and electronic equipment
CN113553133A (en) * 2021-07-26 2021-10-26 上海哔哩哔哩科技有限公司 Page display method and system
CN113805882A (en) * 2021-09-18 2021-12-17 上海波顿诺华智能科技有限公司 Method and device for developing application program, electronic equipment and storage medium
CN113849248A (en) * 2021-09-28 2021-12-28 北京京东振世信息技术有限公司 Applet loading method, apparatus, storage medium and program product
CN113849248B (en) * 2021-09-28 2023-09-26 北京京东振世信息技术有限公司 Applet loading method, device, storage medium and program product
CN114578727A (en) * 2022-01-29 2022-06-03 深圳市云鼠科技开发有限公司 Service logic control method for cleaning robot

Also Published As

Publication number Publication date
CN110187931B (en) 2022-05-17

Similar Documents

Publication Publication Date Title
CN110187931A (en) The operation method and device of small routine
CN108228305A (en) Display methods, device, storage medium and the electronic equipment of five application page
CN110287432A (en) Network information processing method and device and electronic equipment
US20170329862A1 (en) Infinite Scrolling
CN105009070B (en) Computer application promotes
CN104881318B (en) A kind of interface call method, device and terminal
CN107948314A (en) Method for processing business, device and the server of rule-based file
CN108391009A (en) Display methods, device, storage medium and the electronic equipment of five application page
CN106294372A (en) Application program page quick access method and apply its mobile terminal
CN107463627A (en) A kind of picture loading method and terminal
CN108363528A (en) Startup method, apparatus, storage medium and the electronic equipment of five application page
JP2012501507A (en) New tab page and bookmark toolbar in browser
CN108363792A (en) Link generation method, device, storage medium and the electronic equipment of five application page
CN104035753A (en) Double-WebView customized page display method and system
CN109408136A (en) Information processing method, device, storage medium and electronic equipment
CN110333912A (en) A kind of method, apparatus and computer readable storage medium of small routine data pre-fetching
CN108282518A (en) A kind of customer terminal webpage generation method and device
CN108549562A (en) A kind of method and device of image load
CN108287917A (en) file open method, device, storage medium and electronic equipment
CN108549568A (en) Using entrance processing method, apparatus, storage medium and electronic equipment
CN110069739A (en) The page preloads method and device
CN105956030A (en) WEB system and WEB request processing method
CN110365724A (en) Task processing method, device and electronic equipment
CN109933381A (en) A kind of loading method and device of kernel
CN107203372A (en) Control shows method and device

Legal Events

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