WO2018228211A1 - Procédé de conversion d'application, appareil et dispositif associés - Google Patents
Procédé de conversion d'application, appareil et dispositif associés Download PDFInfo
- Publication number
- WO2018228211A1 WO2018228211A1 PCT/CN2018/089363 CN2018089363W WO2018228211A1 WO 2018228211 A1 WO2018228211 A1 WO 2018228211A1 CN 2018089363 W CN2018089363 W CN 2018089363W WO 2018228211 A1 WO2018228211 A1 WO 2018228211A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- file
- application
- web
- sub
- code
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/44—Encoding
- G06F8/447—Target code generation
Definitions
- the embodiments of the present invention relate to the field of computer technologies, and in particular, to an application conversion method, apparatus, and device.
- the embodiment of the present application provides an application conversion method, device, and device, which are used to solve the problem that the code reuse rate of the related art is low, and the manpower and time cost are large.
- the technical solution is as follows:
- an embodiment of the present application provides an application conversion method, where the method includes:
- the sub-application is an application running by the parent application, the file of the sub-application includes: a first entry file, a global configuration file, and a logical code file of each page;
- an embodiment of the present application provides an application conversion method, where the method includes:
- the computer device acquires a file of the sub-application, the sub-application is an application that depends on the parent application, the file of the sub-application includes: a first entry file, a global configuration file, and a logical code file of each page ;
- the computer device generates an executable file that is run on a webpage webpage according to a file of the sub-application
- the computer device generates a file of the web application according to the executable file and a second entry file supported on the web end, and the executable file is referenced in the second entry file.
- an embodiment of the present application provides an application conversion apparatus, where the apparatus includes:
- a file obtaining module configured to acquire a file of a sub-application, the sub-application is an application that depends on the parent application, and the file of the sub-application includes: a first entry file, a global configuration file, and each page Logical code file;
- a first generating module configured to support an executable file running on the web end according to the file of the sub-application
- a second generating module configured to generate a file of the web application according to the executable file and a second import file that supports running on the web end, where the executable file is referenced in the second entry file.
- an embodiment of the present application provides a computer device, where the computer device includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or a set of instructions, the at least one instruction, The at least one program, the set of codes, or a set of instructions is loaded and executed by the processor to implement an application conversion method as described in the first aspect.
- an embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores at least one instruction, at least one program, a code set, or a set of instructions, the at least one instruction, the at least one instruction A program, the set of codes, or a set of instructions is loaded and executed by a processor to implement the application conversion method as described in the first aspect.
- an embodiment of the present application provides a computer program product for performing the application conversion method described in the above first aspect when the computer program product is executed.
- the web application having the same function as the sub-application does not need to be separately developed, thereby saving the labor and time cost required for developing the above-mentioned web application.
- FIG. 2 is a schematic diagram of a syntax structure provided by an embodiment of the present application.
- FIG. 3 is a schematic diagram of generating an executable file supporting the running of a web terminal according to an embodiment of the present application
- FIG. 4 is a schematic diagram of generating a second view file code provided by an embodiment of the present application.
- FIG. 5A is a flowchart of an application conversion method according to another embodiment of the present application.
- FIG. 5B is a flowchart of an application conversion method according to another embodiment of the present application.
- FIG. 6 is a schematic diagram of multiple public interfaces provided by an embodiment of the present application.
- FIG. 7 is a block diagram of an application conversion apparatus according to an embodiment of the present application.
- FIG. 8 is a structural block diagram of an application conversion device according to an embodiment of the present application.
- a sub-application is an application that depends on the parent application to run.
- the sub-application may specifically be a social application, a file management application, a mail application, or a game application.
- the above sub-applications can be called applets.
- the user can directly open the sub-application by scanning the QR code corresponding to the sub-application or searching for the name of the sub-application.
- Sub-applications can be easily accessed and propagated in the parent application.
- the developer completes the development, debugging, previewing, and uploading of the sub-applications in the sub-application development tool.
- the above sub-application development tool can be called WePY.
- WePY is a componentized development framework. All the business and functions of a component are implemented in the component itself, and the components and components are isolated from each other.
- the parent application can request the file of the sub-application from the server through an HTTP (HyperText Transfer Protocol) request or a WebSocket request, and then the parent application passes Load the above file to display the page of the sub-application.
- HTTP HyperText Transfer Protocol
- a parent application is an application that hosts a child application, providing an environment for the implementation of the child application.
- the parent application is a native application.
- Native applications are applications that run directly on the operating system.
- the parent application can be a social application, a dedicated application that specifically supports the sub-application, a file management application, a mail application, or a game application.
- Social applications include instant messaging applications, SNS (Social Network Service) applications, or live applications.
- a web application is an application that can be accessed via the web. Its typical architecture is the browser/server architecture. The web application runs on the server, and the browser of the terminal can obtain the functions provided by the web application from the server through the HTTP request.
- Web application development frameworks include the React framework, the Vue.js framework, and more.
- sub-applications are implemented based on the client/server architecture, and the web applications are implemented based on the browser/server architecture. So the sub-application can't run directly on the web side.
- a technical solution for converting a file of a sub-application into a file of a web application is provided, so that the web version of the application does not need to be separately developed, thereby saving the manpower required for developing the web version of the application.
- the execution subject of each step is an application conversion device, which is also a computer device.
- the application conversion device may be a computer, a server, or the like.
- FIG. 1 is a flowchart of an application conversion method provided by an embodiment of the present application.
- the method can include the following steps.
- Step 101 Acquire a file of the sub-application.
- a sub-application is an application that depends on the parent application to run.
- the sub-application depends on the parent application running, which means that the sub-application cannot run directly in the operating system, but runs in the environment provided by the parent application. That is, the sub-application cannot run independently, but must rely on the parent application to run.
- the parent application obtains the logical code file of the sub-application, parses the logical code file, and displays the page of the sub-application.
- the sub-application files include: a first entry file, a global configuration file, and a logical code file for each page.
- the first entry file is used to listen for and process the lifecycle functions of the sub-application and declare global variables.
- the first entry file is a file with a suffix of .js.
- the first entry file is app.js.
- a global configuration file is a file that configures a sub-application as a whole. It can configure global configuration information such as the path of the sub-application page configuration file, the sub-application window representation, and the network timeout threshold of the sub-application.
- the global configuration file is a file with a suffix of .json, and illustratively, the global configuration file is app.json.
- the global profile supply is read by the conversion device so that the application conversion device can determine which pages of the sub-application need to be converted by the logical code files.
- the above global configuration file is not needed, so there is no need to convert the global configuration file.
- each page corresponds to a logical code file.
- Logic code is recorded in the logic code file, and the logic code can be used to process events triggered in the corresponding sub-application page, and can also be used for other logic processing including data processing.
- the logic code file can be a script file, such as a JavaScript script file.
- the logical code file is a file with a suffix of .js.
- the logical code file is page.js.
- the sub-application's file also includes a global style file and a style file for each page.
- the global style file includes the page's overall style data.
- the page overall style data may include at least one of a page size of the corresponding sub-application page and an attribute such as a page background color.
- the inline style corresponding to each page supports the style of the component using the style and class attributes.
- the global style file is a file with a .wxss suffix, and illustratively, the global style file is app.wxss.
- the style file for each page is used to configure the presentation of the page.
- the style file includes component style data for the public components rendered by the page.
- the component style data may include at least one of attributes such as position, size, color, font, and font size of the corresponding common component in the sub-application page to which it belongs.
- attributes such as position, size, color, font, and font size of the corresponding common component in the sub-application page to which it belongs.
- the style file is a file with a .wxss suffix.
- the style file is page.wxss.
- the sub-application's file also includes a view file for each page.
- View files are used to configure the structure of common components in this page.
- the view file is a file with a .wxml suffix.
- the view file is page.wxml.
- the sub-application's file also includes a configuration file for each page.
- the configuration file is used to configure the file for the page, such as configuring the window behavior of the page.
- the configuration file can be source code or a file obtained by compiling the source code.
- the configuration file is a file with a .json suffix, and illustratively, the configuration file is page.json.
- Step 102 Support an executable file running on the web side according to the file of the sub-application.
- Executable files that support running on the web include script logic that supports execution on the web.
- the executable file running on the web side is a file with a .js suffix.
- the executable file is all.js.
- the executable file supported on the web side is converted by the file of the sub-application, and the labor and time cost required for developing the web application having the same function as the sub-application is saved compared with the related technology.
- the executable file running on the web side can directly implement the operation on the view, and the file of the sub-application realizes the operation on the view through data binding.
- data binding refers to a method of binding the attributes of a user interface element (control) to an attribute on a type instance. Therefore, when generating an executable that supports running on the web, you need to simulate data binding.
- data binding is simulated by introducing a view layer framework.
- the above view layer framework may be a Vue.js framework.
- the Vue.js framework provides efficient data binding and flexible component systems through a simple Application Programming Interface (API). Since the WePY framework is very similar to the syntax and functional features of the Vue.js framework, it is possible to make the sub-application files written in the WePY framework compatible with the Vue.js framework by simply encapsulating the WePY framework.
- FIG. 2 a schematic diagram of a syntax architecture shown by an exemplary embodiment of the present application is shown.
- the file of the sub-application is written by using the WePY framework.
- the file of the above sub-application supports running on the server of the related application (such as the open platform server of the social application), and is also compatible by converting the file of the sub-application.
- the file of the web application of the Vue.js framework and having the same function as the sub-application, the file support of the above web application is run on the web side.
- step 102 includes the following sub-step 102a.
- Step 102a Generate logic code supporting execution on the web end according to a logic code file of each page in the file of the sub-application;
- logic code of the web application The above-mentioned logic code (hereinafter referred to as "logic code of the web application") supported on the web side is used to implement the function of the target application.
- the difference between the logic code of the web application and the logic code of the sub-application is that the logic code of the sub-application supports the require function, and the logic code of the web application does not support the require function.
- the require function refers to the function that can be called between each logic code module.
- the logic code of the web application may be obtained by: obtaining, for each page, a plurality of logic code modules included in the logic code file of the page, and calling relationships between the respective logic code modules; The logic code modules are sequentially added to the executable file, and numbers are added to the respective logic code modules of the page; the entry code of the page is added to the executable file according to the calling relationship and number between the respective logic code modules of the page.
- the entry code of the page is used to indicate the calling relationship between the various logical code modules of the page.
- the calling relationship between the above various logic code modules can be called a dependency relationship, and the dependency relationship can be directly read from the logical code files of each page of the sub-application.
- adding each logical code module of the page to the executable file in order refers to adding each logical code module of the page to the executable file in the form of a queue.
- a logic code module needs to be called, it is only necessary to read the entry code of the page from the executable file to obtain the number of the logic code module, and call the above logic code module from the queue according to the number.
- the require function is simulated on the web side.
- Part (a) of Figure 3 illustrates the dependencies between the various logical code modules of a page in the sub-application's file. Among them, page.js depends on a.js and e.js, a.js depends on b.js, e.js depends on d.js and f.js, b.js depends on c.js, and c.js depends on d.js. Part (b) of Figure 3 is the logical code of the generated web side.
- Step 102 can also include the following step 102b.
- Step 102b generating a second style file code that supports recognition on the web end according to the global style file in the file of the sub-application and the style file of each page;
- the second style file code is used to configure the presentation form of each page when the target application is running on the web side.
- the difference between the style file code of a web application and the style file code of a sub-application is that the size units used are different. Therefore, the style file code of the web application can be obtained by converting the size unit used by the sub-application's style file code.
- the second style file code is obtained by: obtaining a global style file and a first style file code included in a style file of each page; and the size unit in the first style file code is determined by the first unit Convert to the second unit and get the second style file code.
- the first unit refers to the unit of size identified by the parent application
- the second unit refers to the unit of size identified on the web side.
- the size unit identified by the parent application is rpx.
- the unit of size recognized by the web side is px.
- an input box is 100 rpx in length, and after conversion, the input box is 50 px in the web application.
- the file of the sub-application further includes a page view file of each page, and the executable file includes a second view file code that supports recognition on the web side.
- Step 102 can also include the following step 102c.
- Step 102c Generate, according to the view file of each page in the file of the sub-application, a second view file code that supports identification on the web end;
- the second view file code is used to describe the structure of the common components of each page when the target application runs on the web side.
- the difference between the view file code of a web application and the view file code of a sub-application is that the syntax for writing the view file code is different. Therefore, the view file code of the web application can be obtained by converting the writing syntax adopted by the view code file in the file of the sub-application.
- the second view file code is obtained by: obtaining a first view file code included in a view file of each page and written according to a syntax of the sub-application; converting the first view file code into a web according to the web The second view file code written by the end-supported syntax.
- the application conversion device pre-stores a mapping relationship between the syntax of the sub-application and the syntax supported by the web, and the application conversion device can search for the mapping relationship, thereby implementing the first view file code and the second view file code. Conversion between. Illustratively, the "view" in the first view file code is replaced with "div”.
- FIG. 4 a schematic diagram of generating a second view file code, shown by an exemplary embodiment of the present application, is shown. Wherein (a) in FIG. 4 is the first view file code written in accordance with the syntax of the sub-application, and part (b) in FIG. 4 is the second view file code written in accordance with the syntax supported by the web-side.
- step 102 further includes the following step 102d.
- Step 102d the foregoing supporting the logic code executed on the web side, the second style file code supported on the web end, and the first item or the first item in the second view file code supported on the web end and any other one
- a combination of items or multiples is added to a file in a preset format to generate an executable file that supports running on the web side.
- the file in the preset format may be a file in the format of js (JavaScript).
- Step 103 Generate a file of the web application according to the executable file and a second entry file that supports running in the web application, and reference the executable file in the second entry file.
- the web application's files are all the files needed to support the application running on the web.
- the sub-application has the same function as the web application, that is, the function implemented by the logic code of the sub-application is the same as the function implemented by the logic code of the web application.
- both the sub-application and the web application have the function of refilling the mobile phone number.
- the files of the sub-application and the files of the web application have the function of purchasing movie tickets online.
- the files of the web application include: a second entry file and an executable file supported on the web side, and the executable file is referenced in the second entry file.
- the second entry file in the web application's file is a file with a .html extension.
- the explanation in step 101 mentions that the first entry file in the file of the sub-application is a file with a suffix of .js.
- the file identifier of the executable file is written into the template file of the second entry file, thereby generating a second entry file.
- the file identifier of the executable file may be a file name.
- the method provided by the embodiment of the present application provides a technical solution for converting a file of a sub-application into a file of a web application, so that the web application having the same function as the sub-application does not need to be separately developed. It saves the manpower and time cost required to develop the above-mentioned web application, improves development efficiency, and enables a web application and a sub-application that implement the same function to share a basic source code and improve the code reuse rate.
- the parent application provides a library of common component libraries and application programming interfaces.
- the common component library includes a rich set of common components.
- the application programming interface library includes a rich application programming interface (which can be called a public interface) for developers. Used when developing sub-applications. However, web applications are not able to invoke the above common components and public interfaces. Therefore, in addition to the conversion of the sub-application's files, the common components and public interfaces referenced by the sub-application's files need to be converted. The conversion method of the common component and the common interface will be described in detail below with reference to FIGS. 5A and 5B.
- the application conversion method further includes the following steps.
- Step 501 Select a Web component for implementing the first function from the Web component set for the common component referenced in the file of the sub-application for implementing the first function.
- a common component is a component that can be shared by different sub-applications, has a visual form, and is a component of a sub-application page.
- the common component can also be packaged with logic code for handling events triggered for the common component.
- Different sub-applications share common components, which can be called the same common component at the same time or at different times.
- Common components include, but are not limited to, a button component, a progress component, a text component, a form component, a slider component, and the like.
- the web component set includes at least one component that is supported on the web side. There are no components on the web side, and the parent application provides a large number of components for developers to use when developing sub-applications.
- a plurality of Web components for implementing different functions are written by using the Vue.js framework.
- the above Web components may also be referred to as Vue components, and are added to the WePY framework, using Vue.
- the component emulates the functionality of the common component so that the web application runtime with the same functionality as the sub-application can reference the Vue component to implement the functionality of the common component.
- Step 502 changing the reference relationship from a common component for implementing the first function to a Web component for implementing the first function.
- the web application cannot implement the first function when it runs. Therefore, it is necessary to change the reference relationship in the file of the sub-application so that the reference relationship in the file of the web application generated according to the file of the sub-application refers to the component in the set of the Web component, not the parent application.
- the method provided by the embodiment of the present application can implement the common component of the web application by adding a web component in the sub-application development framework and modifying the reference relationship in the file of the sub-application.
- the application conversion method further includes the following steps.
- Step 503 Select, for the public interface for implementing the second function, in the file of the sub-application, select a web interface for implementing the second function from the web interface set.
- the public interface is an interface that can be shared by different sub-applications.
- the public interface can be used for network operations, data processing, media operations, operating terminal hardware, or operating sub-application pages.
- the page logic code in the page logic code file may record the correspondence between the event type and the public interface, or the correspondence between the event type, the common component identifier, and the public interface, so that it may be recorded according to the page logic code in the page logic code file.
- Correspondence select the public required to process the event in the public interface library. Referring to Figure 6, there is shown a plurality of common interfaces shown by embodiments of the present application.
- the web interface set includes at least one interface supported on the web side. There is no interface on the web side, and the parent application or operating system provides a large number of public interfaces for developers to use when developing sub-applications.
- a Web interface supported by the Web is used to write a plurality of Web interfaces for implementing different functions, and is added to the WePY framework, and the Web interface is used to simulate the functions of the public interface.
- Step 504 changing the reference relationship from a public interface for implementing the second function to a web interface for implementing the second function.
- the web application cannot implement the second function when it runs. Therefore, it is necessary to change the reference relationship in the file of the sub-application so that the reference relationship in the file of the web application generated according to the file of the sub-application refers to the interface in the set of the web interface, and is not provided by the parent application.
- the method provided by the embodiment of the present application can implement a public interface by supporting a web application runtime by adding a web interface in a sub-application development framework and modifying a reference relationship in a sub-application file.
- FIG. 7 shows a block diagram of an application conversion apparatus provided by an embodiment of the present application.
- the apparatus has a function of implementing the above-described method examples, and the functions may be implemented by hardware or by hardware to execute corresponding software.
- the apparatus may include a file obtaining module 701, a first generating module 702, and a second generating module 703.
- the file obtaining module 701 is configured to acquire a file of the sub-application.
- the sub-application is an application that depends on the parent application; the files of the sub-application include: a first entry file, a global configuration file, and a logical code file for each page.
- the first generation module 702 is configured to support an executable file running on the web end according to the file of the sub-application.
- the second generation module 703 is configured to generate a file of the web application according to the executable file and a second entry file that is supported to run on the web end, where the executable file is referenced in the second entry file.
- the executable file includes logic code that supports execution on the web side
- the first generating module 702 is specifically configured to:
- the file of the sub-application further includes a global style file and a style file of each page, and the executable file further includes a second style file code that supports recognition on the web side;
- the first generating module 702 is specifically configured to:
- the second unit refers to a unit of size identified on the web side.
- the file of the sub-application further includes a view file of each page, where the executable file further includes a second view file code that supports recognition on the web end;
- the first generating module 702 is specifically configured to:
- the device further includes: a component selection module and a first modification module (not shown).
- a component selection module configured to select a web component for implementing the first function from a set of web components for a common component referenced in a file of the sub-application for implementing the first function, where the web component set includes At least one component that is supported on the web side.
- a first change module for changing a reference relationship from a common component for implementing the first function to a web component for implementing the first function.
- the device further includes: an interface selection module and a second modification module (not shown).
- An interface selection module configured to select, from a web interface set, a web interface for implementing the second function, for the public interface referenced in the file of the sub-application for implementing the second function, where the web interface includes At least one interface supported on the web side.
- a second change module configured to change the reference relationship from a public interface for implementing the second function to a web interface for implementing the second function.
- the method provided by the embodiment of the present application provides a technical solution for converting a file of a sub-application into a file of a web application, so that the web application having the same function as the sub-application does not need to be separately developed, thereby It saves the manpower and time cost required for web applications, improves development efficiency, and enables web applications and sub-applications to share a basic set of source code to improve code reuse rate.
- FIG. 8 is a structural block diagram of an application conversion device 800 (hereinafter referred to as “device 800 ”) provided by an embodiment of the present application.
- the apparatus 800 includes a central processing unit (CPU) 801, a system memory 804 including a random access memory (RAM) 802 and a read only memory (ROM) 803, and a system bus 805 that connects the system memory 804 and the central processing unit 801.
- the apparatus 800 also includes a basic input/output system (I/O system) 806 that facilitates transfer of information between various devices within the computer, and mass storage for storing the operating system 813, applications 814, and other program modules 815.
- I/O system basic input/output system
- the basic input/output system 806 includes a display 808 for displaying information and an input device 809 such as a mouse or keyboard for user input of information.
- the display 808 and input device 809 are both connected to the central processing unit 801 via an input and output controller 810 that is coupled to the system bus 805.
- the basic input/output system 806 can also include an input output controller 810 for receiving and processing input from a plurality of other devices, such as a keyboard, mouse, or electronic stylus.
- input and output controller 810 also provides output to a display screen, printer, or other type of output device.
- the mass storage device 807 is connected to the central processing unit 801 by a mass storage controller (not shown) connected to the system bus 805.
- the mass storage device 807 and its associated computer readable medium provide non-volatile storage for the device 800. That is, the mass storage device 807 can include a computer readable medium (not shown) such as a hard disk or a CD-ROM drive.
- the computer readable medium can include computer storage media and communication media.
- Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data.
- Computer storage media include RAM, ROM, EPROM, EEPROM, flash memory or other solid state storage technologies, CD-ROM, DVD or other optical storage, tape cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices.
- RAM random access memory
- ROM read only memory
- EPROM Erasable programmable read-only memory
- EEPROM electrically erasable programmable read-only memory
- the apparatus 800 can also be operated by a remote computer connected to the network via a network such as the Internet. That is, the device 800 can be connected to the network 812 through a network interface unit 811 connected to the system bus 805, or can be connected to other types of networks or remote computer systems (not shown) using the network interface unit 811. .
- a computer readable storage medium having stored therein at least one instruction, at least one program, a code set or a set of instructions, the at least one instruction, the at least one program
- the code set or instruction set is loaded and executed by a processor of the application conversion device to implement the various steps in the above method embodiments.
- the computer readable storage medium described above may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
- a plurality as referred to herein means two or more.
- "and/or” describing the association relationship of the associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately.
- the character “/” generally indicates that the contextual object is an “or” relationship.
- the words “first,” “second,” and similar terms used herein do not denote any order, quantity, or importance, but are used to distinguish different components.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
La présente invention fournit un procédé de conversion d'application, ainsi qu'un appareil et un dispositif associés. Le procédé comprend : l'acquisition d'un fichier d'un sous-programme d'application, le sous-programme d'application étant un programme d'application reposant sur l'exécution d'un programme d'application principal ; la génération, selon le fichier du sous-programme d'application, d'un fichier exécutable qui peut s'exécuter sur un terminal Web ; et la génération d'un fichier de l'application Web selon le fichier exécutable et un second fichier d'entrée qui peut s'exécuter sur le terminal Web, le fichier exécutable étant cité dans le second fichier d'entrée. La présente invention fournit une solution technique pour convertir le fichier d'un sous-programme d'application en un fichier d'une application Web de sorte qu'il n'est pas nécessaire de développer de manière indépendante une application Web ayant la même fonction que le sous-programme d'application, ce qui économise des coûts de main-d'œuvre et le temps requis pour le développement de l'application Web, améliore l'efficacité du développement, permet à l'application Web et au sous-programme d'application qui ont la même fonction de partager un ensemble de codes source de base, et améliore la réutilisabilité des codes.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710443627.8 | 2017-06-13 | ||
CN201710443627.8A CN107239318B (zh) | 2017-06-13 | 2017-06-13 | 应用转换方法、装置及设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018228211A1 true WO2018228211A1 (fr) | 2018-12-20 |
Family
ID=59986267
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/089363 WO2018228211A1 (fr) | 2017-06-13 | 2018-05-31 | Procédé de conversion d'application, appareil et dispositif associés |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107239318B (fr) |
WO (1) | WO2018228211A1 (fr) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3955107A4 (fr) * | 2019-04-09 | 2022-06-15 | Tencent Technology (Shenzhen) Company Limited | Procédé de développement de sous-application, appareil, dispositif informatique et support d'informations |
Families Citing this family (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107239318B (zh) * | 2017-06-13 | 2018-09-04 | 腾讯科技(深圳)有限公司 | 应用转换方法、装置及设备 |
CN107911482B (zh) * | 2017-12-11 | 2021-07-23 | 北京小米移动软件有限公司 | 目标应用打开方法及装置 |
CN108268262A (zh) * | 2017-12-27 | 2018-07-10 | 广东耐思尼克信息技术有限公司 | 实现将html转换为微信小程序的方法、装置及系统 |
CN110347562B (zh) * | 2018-04-08 | 2022-02-25 | 腾讯科技(深圳)有限公司 | 数据采集方法、装置、计算机可读介质及智能终端设备 |
CN110362317B (zh) * | 2018-04-09 | 2021-07-06 | 腾讯科技(深圳)有限公司 | 一种代码转换方法、装置和存储介质 |
CN108664248A (zh) * | 2018-05-14 | 2018-10-16 | 北京汉能光伏投资有限公司 | 一种微信小程序的生成方法及装置 |
CN109542460A (zh) * | 2018-10-15 | 2019-03-29 | 深圳点猫科技有限公司 | 一种基于教育操作系统的vue中接入typescript的方法及电子设备 |
CN109597950A (zh) * | 2018-10-25 | 2019-04-09 | 北京辰森世纪科技股份有限公司 | 应用程序的网页处理、网页数据提供方法及装置 |
CN110032358B (zh) * | 2019-01-03 | 2022-08-09 | 创新先进技术有限公司 | 一种应用程序生成方法、装置、设备及系统 |
CN111427569B (zh) * | 2019-01-10 | 2024-01-23 | 北京嘀嘀无限科技发展有限公司 | 免安装程序适配方法、装置、电子设备及存储介质 |
CN109918073A (zh) * | 2019-01-29 | 2019-06-21 | 维沃移动通信有限公司 | 一种源码文件的生成方法、装置以及终端 |
CN109800020B (zh) * | 2019-02-02 | 2023-02-10 | 北京字节跳动网络技术有限公司 | 一种程序开发的代码自动调整方法、装置、设备和介质 |
CN111625830B (zh) * | 2019-02-27 | 2023-04-14 | 阿里巴巴集团控股有限公司 | 数据处理方法、数据展示方法、系统及设备 |
CN109918166B (zh) * | 2019-03-12 | 2022-04-01 | 天津字节跳动科技有限公司 | 小程序处理方法、装置及电子设备 |
CN112114890A (zh) * | 2019-06-20 | 2020-12-22 | 腾讯科技(深圳)有限公司 | 小程序的处理方法、装置、设备及存储介质 |
CN110362792B (zh) * | 2019-07-05 | 2023-05-23 | 五八有限公司 | 将rn文件转换为小程序文件的方法、装置及转换设备 |
CN110704053B (zh) * | 2019-09-03 | 2023-05-23 | 五八有限公司 | 一种样式信息的处理方法及装置 |
CN112579048B (zh) * | 2019-09-30 | 2023-09-08 | 腾讯科技(深圳)有限公司 | 小程序集成方法、装置、电子设备及存储介质 |
CN110888645A (zh) * | 2019-10-12 | 2020-03-17 | 贝壳技术有限公司 | 一种转换为小程序的方法、装置和存储介质 |
CN113220374A (zh) * | 2020-01-21 | 2021-08-06 | 腾讯科技(深圳)有限公司 | 软件处理方法和装置 |
CN111381825B (zh) * | 2020-03-06 | 2021-04-09 | 北京五八信息技术有限公司 | 一种小程序的生成方法和装置 |
CN112860255A (zh) * | 2021-02-08 | 2021-05-28 | 无线生活(杭州)信息科技有限公司 | 页面适配方法及装置 |
CN113010207A (zh) * | 2021-03-18 | 2021-06-22 | 挂号网(杭州)科技有限公司 | 资源配置方法、装置、电子设备及存储介质 |
CN113296841A (zh) * | 2021-04-13 | 2021-08-24 | 京东数字科技控股股份有限公司 | 应用程序处理方法、装置、设备及介质 |
CN113127361B (zh) * | 2021-04-23 | 2024-02-23 | 中国工商银行股份有限公司 | 应用程序的开发方法、装置、电子设备和存储介质 |
CN114115895A (zh) * | 2021-11-23 | 2022-03-01 | 深圳Tcl新技术有限公司 | 一种代码查询方法、装置、电子设备和存储介质 |
CN114185551B (zh) * | 2022-02-17 | 2022-06-21 | 浙江口碑网络技术有限公司 | 小程序的编译方法、小程序的运行方法及装置、存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101996093A (zh) * | 2009-08-10 | 2011-03-30 | 日电(中国)有限公司 | 将桌面应用转换为网络应用的方法和系统 |
CN102591647A (zh) * | 2010-12-27 | 2012-07-18 | 微软公司 | 将桌面应用转换成web应用 |
US20150058831A1 (en) * | 2013-08-22 | 2015-02-26 | Peter Warren | Web application development platform with relationship modeling |
CN107239318A (zh) * | 2017-06-13 | 2017-10-10 | 腾讯科技(深圳)有限公司 | 应用转换方法、装置及设备 |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW501043B (en) * | 2000-10-19 | 2002-09-01 | Shinewave Int Inc | Method to implant Java program to embedded system |
US8244774B2 (en) * | 2004-05-21 | 2012-08-14 | Ca, Inc. | Automated creation of web GUI for XML servers |
US20140143761A1 (en) * | 2012-04-18 | 2014-05-22 | Natalio Fridman | Method and system for database conversion |
US8883646B2 (en) * | 2012-08-06 | 2014-11-11 | Taiwan Semiconductor Manufacturing Co., Ltd. | Self-assembled monolayer for pattern formation |
CN103051864B (zh) * | 2012-12-26 | 2016-08-17 | 浙江元亨通信技术股份有限公司 | 移动视频会议方法 |
CN106502736B (zh) * | 2016-10-18 | 2018-04-06 | 腾讯科技(深圳)有限公司 | 应用程序处理方法和装置 |
CN106569900B (zh) * | 2016-10-28 | 2019-08-23 | 腾讯科技(深圳)有限公司 | 应用程序处理方法和装置 |
-
2017
- 2017-06-13 CN CN201710443627.8A patent/CN107239318B/zh active Active
-
2018
- 2018-05-31 WO PCT/CN2018/089363 patent/WO2018228211A1/fr active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101996093A (zh) * | 2009-08-10 | 2011-03-30 | 日电(中国)有限公司 | 将桌面应用转换为网络应用的方法和系统 |
CN102591647A (zh) * | 2010-12-27 | 2012-07-18 | 微软公司 | 将桌面应用转换成web应用 |
US20150058831A1 (en) * | 2013-08-22 | 2015-02-26 | Peter Warren | Web application development platform with relationship modeling |
CN107239318A (zh) * | 2017-06-13 | 2017-10-10 | 腾讯科技(深圳)有限公司 | 应用转换方法、装置及设备 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3955107A4 (fr) * | 2019-04-09 | 2022-06-15 | Tencent Technology (Shenzhen) Company Limited | Procédé de développement de sous-application, appareil, dispositif informatique et support d'informations |
Also Published As
Publication number | Publication date |
---|---|
CN107239318B (zh) | 2018-09-04 |
CN107239318A (zh) | 2017-10-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018228211A1 (fr) | Procédé de conversion d'application, appareil et dispositif associés | |
US10977010B2 (en) | Development environment for real-time dataflow programming language | |
US10705942B1 (en) | Simulated testing of API | |
US11561846B2 (en) | API notebook tool | |
EP3605324B1 (fr) | Procédé de développement d'application et outil et support de stockage associés | |
US11797273B2 (en) | System and method for enhancing component based development models with auto-wiring | |
Meier et al. | Professional Android | |
Hansson et al. | Effects on performance and usability for cross-platform application development using React Native | |
US9645814B1 (en) | Generating and publishing applications for multiple platforms | |
CN111324833A (zh) | 页面展示方法、装置、电子设计及计算机可读介质 | |
CN101965561A (zh) | 用于异步方法的声明性支持 | |
EP2951678B1 (fr) | Exécution à distance d'opérations d'une application en utilisant un schéma qui fournit des scripts exécutables dans une hiérarchie nodale | |
US11604662B2 (en) | System and method for accelerating modernization of user interfaces in a computing environment | |
Kim et al. | X-droid: A quick and easy android prototyping framework with a single-app illusion | |
CN118259906A (zh) | 一种基于PaaS框架的多端页面适配方法、设备及介质 | |
WO2021129812A1 (fr) | Procédé et système d'exécution d'application d'intelligence artificielle, et dispositif | |
Khanna et al. | Ionic: Hybrid Mobile App Development | |
US20220413813A1 (en) | Method and system for automating development of white labeled measurement application | |
Dokuka et al. | Hands-on reactive programming in Spring 5: build cloud-ready, reactive systems with Spring 5 and Project Reactor | |
CN111880775A (zh) | 多模块分层架构实现方法、装置、电子设备、存储介质 | |
Wadia et al. | Mastering AWS Lambda | |
CN112882698A (zh) | 开发环境的生成方法及装置、计算机存储介质及电子设备 | |
Khanna | Getting Started with Ionic | |
Egwim | A cloud-based C/C++ compiler for smart devices | |
Martini | Using Django and JavaScript to implement Model-Based Performance Testing as a Service with the MBPeT tool |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18818020 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18818020 Country of ref document: EP Kind code of ref document: A1 |