CN106484370B - view system generation method, device and system - Google Patents

view system generation method, device and system Download PDF

Info

Publication number
CN106484370B
CN106484370B CN201510523017.XA CN201510523017A CN106484370B CN 106484370 B CN106484370 B CN 106484370B CN 201510523017 A CN201510523017 A CN 201510523017A CN 106484370 B CN106484370 B CN 106484370B
Authority
CN
China
Prior art keywords
file
executable code
view
generating
operating system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510523017.XA
Other languages
Chinese (zh)
Other versions
CN106484370A (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.)
Banma Zhixing Network Hongkong Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510523017.XA priority Critical patent/CN106484370B/en
Publication of CN106484370A publication Critical patent/CN106484370A/en
Application granted granted Critical
Publication of CN106484370B publication Critical patent/CN106484370B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the application provides a method, a device and a system for generating view systems, and the method comprises the steps of obtaining a system executable code file for generating the view system, executing the system executable code file and generating the view system, wherein the system executable code file is obtained by converting a structural language file.

Description

view system generation method, device and system
Technical Field
The present application relates to computer technologies, and in particular, to a method, an apparatus, and a system for generating view systems.
Background
When designing a mobile terminal application, an MVC (Model View Controller) framework mode is generally adopted. Wherein a model is the portion of an application that handles application data logic, typically responsible for accessing data in a database; views are created from the model data for processing the data display; the controller is the part of the application that handles user interaction, and is responsible for reading data from the view, controlling user input, and sending data to the model.
For the construction of views in MVC mode, the important part is how to quickly construct the corresponding view layout structure of the corresponding operating system.
The construction of the view system refers to drawing a UI (User Interface) on a distributed window, wherein UI interfaces comprise a plurality of controls, the controls are laid out in a parent-child-sibling relationship, and finally view systems are formed.
The second scheme is that the attributes of each control and the relations between the father and the son of the control and the relative positions are represented by a structural language file (such as extensible markup language xml) and the file is analyzed during operation to generate the size of the control in each view in the view system and the relations between the father and the son of the control and the positions of the control.
By adopting the two schemes in the prior art, the scheme cannot clearly know the relationship among the control nodes when the control nodes are numerous, so that the user such as a research and development personnel is inconvenient to design a view, and the second scheme needs to firstly analyze the structural language file into the system executable code file when running, so that the efficiency is low.
Disclosure of Invention
The embodiment of the application provides a generation method, a generation device and a generation system of view systems, which are used for solving the problems that a user is inconvenient to design views and the operation efficiency is low in the prior art.
According to an th aspect of the embodiment of the application, a view system generating method is provided and includes the steps of obtaining a system executable code file for generating a view system, wherein the system executable code file is obtained by converting a structural language file, executing the system executable code file, and generating the view system.
According to a second aspect of the embodiment of the application, a method for generating view systems is provided, which includes generating a structural language file for generating a view system, converting the structural language file into a system executable code file of a script-type operating system, and sending the structural language file or the system executable code file to a terminal according to an operating system type of the terminal of the view system to be generated, wherein the operating system type includes a script-type operating system and a compilation-type operating system.
According to a third aspect of the embodiments of the present application, there is provided an kinds of view system generation apparatus, including an obtaining module, configured to obtain a system executable code file for generating a view system, where the system executable code file is obtained by converting a structural language file, an executing module, configured to execute the system executable code file, and a system view generating module, configured to generate the view system.
According to a fourth aspect of the embodiments of the present application, there is provided an kinds of view system generation apparatus, including a file generation module configured to generate a structural language file for generating a view system, a conversion module configured to convert the structural language file into a system executable code file of a script-type operating system, and a transmission module configured to transmit the structural language file or the system executable code file to a terminal according to an operating system type of the terminal of the view system to be generated, where the operating system type includes the script-type operating system and a compilation-type operating system.
According to a fifth aspect of the embodiments of the present application, there is provided an kinds of view system generation system, including a terminal including the view system generation apparatus as described above, and a server including the view system generation apparatus as described above.
By adopting the method, the device and the system for generating the view system in the embodiment of the application, the system executable code file obtained by converting the structural language file can be obtained, and the system executable code is operated to generate the view system, so that the terminal can directly operate the system executable code to generate the view system when operating, and the efficiency is higher; and the user can use the structural language file to design the view system, thereby being convenient for the user.
Drawings
The accompanying drawings, which are incorporated herein and constitute part of this application and are included to provide a further understanding of the application, section of the application, illustrate embodiments of the application and together with the description serve to explain the application and not to limit the application.
FIG. 1 is a flowchart of a method for generating a view system according to embodiment of the present application;
FIG. 2 is a flowchart of a method for generating a view system according to a second embodiment of the present application;
fig. 3 is a schematic structural diagram of a generating device of a view system shown in the third embodiment of the present application;
FIG. 4 is a schematic structural diagram of a generating apparatus of a view system according to the fourth embodiment of the present application;
FIG. 5 is a schematic structural diagram of a generating system of a view system shown in the fifth embodiment of the present application;
fig. 6 is a flowchart illustrating a method for generating a view system according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions and advantages of the embodiments of the present application more apparent, the following detailed description is made for the exemplary embodiments of the present application with reference to the accompanying drawings, and it is obvious that the described embodiments are only some embodiments of the present application, but not all embodiments are exhaustive.
In the process of implementing the application, the inventor finds that two methods are available for generating a view system in the related art, wherein controls are arranged one by one through system executable codes, and the attributes of the controls and the relationships between the controls and other controls are set, but because the codes are written not intuitively, the relationships between the controls are easy to be confused when the controls are more, which brings great trouble to programming work, and the codes are also not beneficial to reading of other developers, and the second scheme is that the structural language is defined, the structural language can better reflect the relationships between the controls, so that the display effect of the controls on a terminal is convenient to know, the codes developed by other developers are easy to others, but the problem exists that the structural language file needs to be analyzed during running, which has great influence on the efficiency of the codes, particularly, java and javascript, the efficiency of the codes is low, and the running effect of the program is influenced if the analysis needs to be performed during running.
In view of the above problems, the present application provides a method and an apparatus for generating kinds of view systems, and a core idea is that when a user designs a view on a server side, a structural language is used, and then before a program runs on a terminal side, a structural language file is converted into a code file that can be directly executed by an operating system in advance, so that when a view system is generated, a system executable code file can be directly obtained and run, thereby achieving the effects of facilitating the user and improving the generation efficiency of the view system.
The scheme in the embodiment of the present application may be applied to generating a view system of an application of a mobile terminal such as an internet automobile, for example, generating a view system of a music player, and may also be applied to generating a view system of an application of another terminal, which is not limited in this application.
Fig. 1 is a flowchart of a method for generating a view system according to embodiment of the present application.
As shown in fig. 1, the method for generating a view system according to the embodiment of the present application includes the following steps:
s102, obtaining a system executable code file for generating a view system, wherein the system executable code file is obtained by converting a structural language file;
s104, executing the system executable code file;
and S106, generating a view system.
In specific implementation, the conversion mode of converting the structural language file into the system executable code file may be that the background server executes the structural language file in advance to analyze the structural language file into the system executable code file; the system executable code file may also be a system executable code file saved as a running result after the terminal executes the structural language file to generate the view system, which is not limited in the present application.
In particular implementations, the system executable code may be a system programming language such as java, javascript, python, etc.; or may be binary code; this is not limited by the present application.
In particular, the structured language may be a structured language such as xml, json (javascript object Notation), and the like.
Taking an operating system as an example of javascript, a user of view design, for example, a developer designs a view system in a json language at a server, and then reads a json file in an IDE (Integrated Development Environment) background, analyzes the json file to obtain a corresponding javascript file, and when the terminal needs to display a view corresponding to the json file, the terminal directly obtains the corresponding javascript file from the server.
Preferably, before obtaining the system executable code file for generating the view system, the method further comprises: and judging whether a system executable code file for generating the view system exists locally.
Preferably, if the view system exists, the obtaining of the system executable code file for generating the view system specifically includes: the system executable code file is obtained locally.
Preferably, if not, then is a step for determining the type of native operating system, including script-type operating system and compiled operating system.
If the system is a script operating system, acquiring a system executable code file for generating a view system specifically includes: sending a file acquisition request to a server, wherein the request carries the type of a local operating system; a system executable code file is received from a server.
In specific implementation, for a script type operating system, such as javascript, python, and the like; the server may convert a user-written structural language file for generating a view architecture into a system executable code file in advance. For example, after acquiring a json file of a structural language designed by a user, the IDE background runs the json file in advance to convert the json file into a javascript file, and when a subsequent terminal needs to generate a view, the IDE background directly requests the server to acquire the javascript file.
In specific implementation, for a script type operating system, such as javascript, the system executable code file in the embodiment of the present application may be a javascript file; if the system executable code file is python, the system executable code file in the embodiment of the application may be a python file; for a compiled operating system, such as an android, the system executable code file in the embodiment of the present application may be a binary code file, which is not limited in the present application.
Preferably, if the view system is a compiled operating system, acquiring the system executable code file for generating the view system specifically includes: sending a file acquisition request to a server, wherein the request carries the type of a local operating system; receiving a structural language file for generating a view architecture from a server; and calling a local analysis program to analyze the structural language file to obtain a system executable code file.
In specific implementation, for a compiled system, the server may not be able to directly convert the structural language file into the system executable code file, and therefore, the terminal needs to run the structural language file, invoke the local parsing program to parse the structural language file, and then execute the parsed system executable code file to generate the view system.
Preferably, after generating the view system, the method further comprises: the system executable code file is saved.
The script type operating system and the compiling type operating system can store the system executable code file for generating the view system, then directly obtain the system executable code file from the local and generate the corresponding view system when the system runs next time, and therefore the efficiency of generating the view system is improved.
Preferably, the structured language file is an xml or json file.
In an electronic computer, the markup refers to information symbols understood by the computer, through which various information such as articles and the like can be processed between computers, it can be used to mark data, define data types, source languages that allow users to define their own markup languages.
json is an lightweight data exchange format, based on subsets of ECMAScript, json employs a text format that is completely language independent, but also uses conventions similar to the C language family (including C, C + +, C #, Java, JavaScript, Perl, Python, etc.) these properties make json an ideal data exchange language.
Preferably, the system executable code file is a javascript file.
JavaScript is transliterated scripting languages, dynamic type, weak type, prototype-based languages, built-in support types, and its interpreter is called JavaScript engine, which is part of the browser, is universal scripting language for clients.
Besides javascript, the system executable code file may also be a python file, a java file, a binary code file, and the like, which is not limited in this application.
By adopting the view system generation method in the embodiment of the application, if the structural language file is converted into the system executable code file, the system executable code file can be directly executed to obtain a corresponding view system; otherwise, the structural language file is analyzed to obtain a corresponding view system, and the analysis result is stored, so that the generated system executable code file can be directly executed to obtain the corresponding view system when the second time of execution is carried out.
By adopting the view system generation method in the embodiment of the application, the system executable code file obtained by converting the structural language file is firstly obtained, and the system executable code is operated to generate the view system, so that the terminal side can directly operate the system executable code to generate the view system, and the efficiency is higher; and the user can use the structural language file to design a view system at the server side, thereby being convenient for the user.
Fig. 2 is a flowchart of a method for generating a view system according to the second embodiment of the present application.
As shown in fig. 2, the method for generating a view system according to the second embodiment of the present application includes the following steps:
s202, generating a structural language file for generating a view system;
s204, converting the structural language file into a system executable code file of a script type operating system;
and S206, sending the structural language file or the system executable code file to the terminal according to the operating system type of the terminal of the view system to be generated, wherein the operating system type comprises a script type operating system and a compiling type operating system.
In specific implementation, for a script type operating system, such as javascript, python, and the like; the server may convert a user-written structural language file for generating a view architecture into a system executable code file in advance. For example, after acquiring a json file of a structural language designed by a user, the IDE background runs the json file in advance to convert the json file into a javascript file, and when a view needs to be generated at a subsequent terminal, the json file is directly sent to the terminal to be executed.
In specific implementation, for a script type operating system, such as javascript, the system executable code file in the embodiment of the present application may be a javascript file; if the system executable code file is python, the system executable code file in the embodiment of the application may be a python file; for a compiled operating system, such as an android, the system executable code file in the embodiment of the present application may be a binary code file, which is not limited in the present application.
In specific implementation, the sending of the structural language file or the system executable code file to the terminal may be sending the structural language file to a compiled operating system and sending the system executable code file to a script operating system according to an operating system type of the terminal of the view system to be generated.
Preferably, the converting the structured language file into a system executable code file of the script-type operating system specifically includes: calling an analysis program corresponding to the script type operating system; and triggering an analysis program to analyze the structural language file to obtain a system executable code file corresponding to the operating system.
Taking an operating system as an example of javascript, a user of view design designs a view system by using a json language, an IDE background reads a json file, and an analysis program of the javascript is called to obtain a corresponding javascript file through analysis.
In specific implementation, when the structural language file is converted into the system executable code file, the structural language file can also be converted into the system executable code files of various script type operating systems; for example, the json file is respectively converted into a javascript file, a python file, a java file, a binary code file and the like; if the operating system of the view system to be generated is a python platform, sending a python file; if the operating system of the view system to be generated is a javascript platform, transmitting a javascript file; if the operating system of the view system to be generated is a java platform, transmitting a java file; if the operating system of the view system to be generated is an android platform, sending a binary code file; it will be appreciated by persons skilled in the art that the foregoing is for purposes of illustration only and is not intended to limit the present application.
Preferably, before sending the structural language file or the system executable code file to the terminal, the method further comprises: and receiving a file acquisition request of the terminal, wherein the request carries the type of the terminal operating system.
In specific implementation, the server may send the file to the terminal according to the file acquisition request of the terminal, and send the system executable code file or the structural language file according to the terminal operating system type carried in the file acquisition request.
In the implementation, the server may also actively send the system executable code file or the structural language file to the terminal.
By adopting the view system generation method in the embodiment of the application, the server generates a structural language file for generating the view system; converting the structured language file into a system executable code file of a script-type operating system; according to the operating system type of the terminal of the view system to be generated, the structural language file or the system executable code file is sent to the terminal, so that a user can design the view system by using the structural language file at a server side, and convenience is brought to the user; and the terminal side can directly run the system executable code to generate the view system, so that the efficiency is high.
Based on the same concept as , the embodiment of the present application further provides a device for generating view systems, and since the principle of the device for solving the problem is similar to the method provided in the embodiment of the present application, the implementation of the device may refer to the implementation of the method, and repeated details are not repeated.
Fig. 3 is a schematic structural diagram of a generating device of a view system shown in the third embodiment of the present application.
As shown in fig. 3, the apparatus 300 for generating a view system according to the third embodiment of the present application includes: an obtaining module 302, configured to obtain a system executable code file for generating a view system, where the system executable code file is obtained by converting a structural language file; an execution module 304 for executing the system executable code file; and a view generating module 306 for generating a view system.
Preferably, the generating apparatus 300 of the view system shown in the second embodiment of the present application further includes: and the judging module is used for judging whether a system executable code file for generating the view system exists locally.
Preferably, if the determination result of the determining module is existence, the obtaining module is specifically configured to obtain the system executable code file from the local.
Preferably, if the determination result of the determining module is that the os is not present, the determining module is further configured to determine the type of the local os, where the type includes a script os and a compiled os.
Preferably, if the local operating system is a script-type operating system, the obtaining module specifically includes a request sending submodule for sending a file obtaining request to the server, where the request carries the type of the local operating system, and an -th file receiving submodule for receiving the system executable code file from the server.
Preferably, if the local operating system is a compiled operating system, the obtaining module specifically includes: the request sending submodule is used for sending a file obtaining request to the server, and the request carries the type of a local operating system; the second file receiving submodule is used for receiving the structural language file for generating the view system from the server; and the analysis submodule is used for calling a local analysis program to analyze the structural language file to obtain a system executable code file.
Preferably, the generating device of the view system shown in the second embodiment of the present application further includes: and the storage module is used for storing the system executable code file.
Preferably, the structured language file is an xml or json file.
Preferably, the system executable code file is a javascript file.
For convenience of description, each part of the above devices is separately described as functionally divided into various parts or units, it is a matter of course that the functions of each part or unit may be implemented in or more pieces of software or hardware in implementing the present application.
By adopting the view system generating device in the embodiment of the application, the system executable code file obtained by converting the structural language file is firstly obtained, and the system executable code is operated to generate the view system, so that the terminal side can directly operate the system executable code to generate the view system, and the efficiency is higher; and the user can use the structural language file to design a view system at the server side, thereby being convenient for the user.
Fig. 4 is a schematic structural diagram of a generating apparatus of a view system according to the fourth embodiment of the present application.
As shown in fig. 4, the generation apparatus 400 of the view system according to the fourth embodiment of the present application includes: a file generation module 402, configured to generate a structural language file for generating a view architecture; a conversion module 404, configured to convert the structured language file into a system executable code file of a script-type operating system; the sending module 406 is configured to send the structural language file or the system executable code file to the terminal according to an operating system type of the terminal of the view system to be generated, where the operating system type includes a script-type operating system and a compilation-type operating system.
Preferably, the conversion module specifically includes: the calling submodule is used for calling an analysis program corresponding to the script type operating system; and the triggering submodule is used for triggering an analysis program to analyze the structural language file to obtain a system executable code file corresponding to the operating system.
Preferably, the generating device of the view system shown in the fourth embodiment of the present application further includes: and the request receiving module is used for receiving a file acquisition request of the terminal, and the request carries the terminal operating system type.
By adopting the view system generation device in the embodiment of the application, the structural language file can be converted into a system executable code file of a script type operating system; then, according to the type of an operating system of the terminal of the view system to be generated, the structural language file or the system executable code file is sent to the terminal, so that a user can design the view system by using the structural language file at a server side, and convenience is brought to the user; and the terminal side can directly run the system executable code to generate the view system, so that the efficiency is high.
Based on the same concept as , the embodiment of the present application further provides a generation system of view systems, and since the principle of solving the problem by the system is similar to the method provided by the embodiment of the present application, the implementation of the system may refer to the implementation of the method, and repeated details are not repeated.
Fig. 5 is a schematic structural diagram of a generating system of a view system shown in the fifth embodiment of the present application.
As shown in fig. 5, a system 500 for generating a view system according to an embodiment of the present application includes: a terminal 502 including the view system generating apparatus 300; the server 504 includes a view hierarchy generating apparatus 400.
By adopting the view system generation system in the embodiment of the application, a user can design a view system by using a structural language file at a server side, so that convenience is brought to the user; and the terminal side can directly run the system executable code to generate the view system, so that the efficiency is high.
Fig. 6 is a flowchart illustrating a method for generating a view system according to an embodiment of the present application.
As shown in fig. 6, the method for generating the view system according to the sixth embodiment of the present application includes the following steps:
s602, compiling structural layout files such as xml/json and the like by a user;
s604, the IDE background judges whether a corresponding system executable code file can be generated, if so, S606 is executed, and if not, S608 is executed;
s606, generating a corresponding system executable code file, and executing S608; for example, when the system development language is javascript, the view system is expressed in a json object mode, and the json file is read by a programming software IDE background and converted into a javascript code file;
s608, packaging into an installation file; if the corresponding system executable code file cannot be generated, directly packaging the system executable code file into an installation file;
s610, when the installation file is executed for th time, firstly, judging whether the structural language file is converted into a system executable code file, if so, executing S612, and if not, executing S614;
s612, executing the generated system executable code file to obtain a corresponding view system;
s614, the operating system calls an analysis program to analyze the structural language file;
and S616, storing the analysis result.
By adopting the view system generation method in the embodiment of the application, a user can design a view system by using the structural language file, so that convenience is brought to the user; and when the system runs, the system executable code can be directly run to generate the view system, so that the efficiency is high.
Moreover, the present application may take the form of a computer program product embodied on or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
It is to be understood that each flow and/or block in the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions which can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flow diagram flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Having thus described the preferred embodiments of the present application, additional variations and modifications of these embodiments, notwithstanding the basic inventive concepts may occur to those skilled in the art .
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (21)

  1. The method for generating the view system of the types is characterized by comprising the following steps:
    a terminal acquires a system executable code file for generating a view system, wherein the system executable code file is obtained by converting a structural language file in a server; the view system is a user interface drawn on a distributed window when a mobile terminal application is designed, the user interface comprises a plurality of controls, and the controls are arranged in a father-son-brother relationship;
    the terminal executes the system executable code file;
    and generating a view system at the terminal.
  2. 2. The method of claim 1, prior to obtaining the system executable code file for generating the view hierarchy, further comprising:
    and judging whether a system executable code file for generating the view system exists locally.
  3. 3. The method of claim 2, wherein obtaining the system executable code file for generating the view hierarchy, if any, comprises:
    and locally acquiring the system executable code file.
  4. 4. The method of claim 2, wherein if not present, determining a native operating system type, the type comprising a scripting type operating system and a compilation type operating system.
  5. 5. The method according to claim 4, wherein, in the case of a script-type operating system, the obtaining the system executable code file for generating the view hierarchy specifically comprises:
    sending a file acquisition request to a server, wherein the request carries a local operating system type;
    the system executable code file is received from a server.
  6. 6. The method of claim 4, wherein, if the operating system is a compiled operating system, the obtaining the system executable code file for generating the view system specifically comprises:
    sending a file acquisition request to a server, wherein the request carries a local operating system type;
    receiving a structural language file for generating a view architecture from a server;
    and calling a local analysis program to analyze the structural language file to obtain the system executable code file.
  7. 7. The method of claim 1, further comprising, after generating the view hierarchy:
    and saving the system executable code file.
  8. The method for generating the view system of 8 and is characterized by comprising the following steps:
    the server generates a structural language file for generating a view system; the view system is a user interface drawn on a distributed window when a mobile terminal application is designed, the user interface comprises a plurality of controls, and the controls are arranged in a father-son-brother relationship;
    the server converts the structural language file into a system executable code file of a script type operating system;
    and the server sends the structural language file or the system executable code file to the terminal according to the operating system type of the terminal of the view system to be generated, wherein the operating system type comprises a script type operating system and a compiling type operating system.
  9. 9. The method of claim 8, wherein converting the structured language file into a system executable code file of a script-type operating system comprises:
    calling an analysis program corresponding to the script type operating system;
    and triggering the analysis program to analyze the structural language file to obtain a system executable code file corresponding to the operating system.
  10. 10. The method according to claim 8, further comprising, before sending the structured language file or system executable code file to the terminal:
    and receiving a file acquisition request of a terminal, wherein the request carries the type of the terminal operating system.
  11. An apparatus for generating a view system of , comprising:
    the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a system executable code file for generating a view system in a terminal, and the system executable code file is obtained by converting a structural language file in a server; the view system is a user interface drawn on a distributed window when a mobile terminal application is designed, the user interface comprises a plurality of controls, and the controls are arranged in a father-son-brother relationship;
    the execution module is used for executing the system executable code file in the terminal;
    and the system view generating module is used for generating a view system in the terminal.
  12. 12. The apparatus of claim 11, further comprising:
    and the judging module is used for judging whether a system executable code file for generating the view system exists locally.
  13. 13. The apparatus according to claim 12, wherein if the determination result of the determining module is existence, the obtaining module is specifically configured to obtain the system executable code file from a local location.
  14. 14. The apparatus of claim 12, wherein if the determination result of the determining module is non-existent, the determining module is further for determining a type of a local operating system, wherein the type includes a script type operating system and a compiled type operating system.
  15. 15. The apparatus of claim 14, wherein if the local os is a script os, the obtaining module specifically comprises:
    the request sending submodule is used for sending a file obtaining request to a server, and the request carries the type of a local operating system;
    file receiving submodule for receiving said system executable code file from a server.
  16. 16. The apparatus of claim 14, wherein if the native os is a compiled os, the obtaining module specifically comprises:
    the request sending submodule is used for sending a file obtaining request to a server, and the request carries the type of a local operating system;
    the second file receiving submodule is used for receiving the structural language file for generating the view system from the server;
    and the analysis submodule is used for calling a local analysis program to analyze the structural language file to obtain the system executable code file.
  17. 17. The apparatus of claim 11, further comprising:
    and the storage module is used for storing the system executable code file.
  18. 18, view system generation device, comprising:
    the file generation module is used for generating a structural language file for generating a view system in the server; the view system is a user interface drawn on a distributed window when a mobile terminal application is designed, the user interface comprises a plurality of controls, and the controls are arranged in a father-son-brother relationship;
    the conversion module is used for converting the structural language file into a system executable code file of a script type operating system in the server;
    and the sending module is used for sending the structural language file or the system executable code file to the terminal in the server according to the operating system type of the terminal of the view system to be generated, wherein the operating system type comprises a script type operating system and a compiling type operating system.
  19. 19. The apparatus of claim 18, wherein the conversion module specifically comprises:
    the calling submodule is used for calling an analysis program corresponding to the script type operating system;
    and the triggering submodule is used for triggering the analysis program to analyze the structural language file to obtain a system executable code file corresponding to the operating system.
  20. 20. The apparatus of claim 18, further comprising:
    and the request receiving module is used for receiving a file acquisition request of the terminal, wherein the request carries the type of the terminal operating system.
  21. The system for generating view system of 21, , comprising:
    a terminal comprising the view architecture generating apparatus of any of claims 11-17;
    a server comprising the view architecture generating apparatus of any of claims 18-20.
CN201510523017.XA 2015-08-24 2015-08-24 view system generation method, device and system Active CN106484370B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510523017.XA CN106484370B (en) 2015-08-24 2015-08-24 view system generation method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510523017.XA CN106484370B (en) 2015-08-24 2015-08-24 view system generation method, device and system

Publications (2)

Publication Number Publication Date
CN106484370A CN106484370A (en) 2017-03-08
CN106484370B true CN106484370B (en) 2020-01-31

Family

ID=58234400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510523017.XA Active CN106484370B (en) 2015-08-24 2015-08-24 view system generation method, device and system

Country Status (1)

Country Link
CN (1) CN106484370B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615121A (en) * 2009-07-22 2009-12-30 福州星网视易信息系统有限公司 The style editor of BS platform information delivery system
CN104111827A (en) * 2013-04-22 2014-10-22 腾讯科技(深圳)有限公司 Application matching method and device
CN104317587A (en) * 2014-10-22 2015-01-28 中国人民解放军国防科学技术大学 Automatic android mobile device oriented application generation method
CN104572092A (en) * 2014-12-26 2015-04-29 北京奇虎科技有限公司 Method and device for webpage making

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8443345B2 (en) * 2008-11-26 2013-05-14 International Business Machines Corporation Dynamic processing of embedded compiled programming language code

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615121A (en) * 2009-07-22 2009-12-30 福州星网视易信息系统有限公司 The style editor of BS platform information delivery system
CN104111827A (en) * 2013-04-22 2014-10-22 腾讯科技(深圳)有限公司 Application matching method and device
CN104317587A (en) * 2014-10-22 2015-01-28 中国人民解放军国防科学技术大学 Automatic android mobile device oriented application generation method
CN104572092A (en) * 2014-12-26 2015-04-29 北京奇虎科技有限公司 Method and device for webpage making

Also Published As

Publication number Publication date
CN106484370A (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN110990731B (en) Rendering method, device and equipment of static webpage and computer storage medium
US9442744B2 (en) Multilingual build integration for compiled applications
US9823908B2 (en) Apparatus for providing framework to develop client application executed on multiple platforms, and method using the same
EP2524306B1 (en) Execution of dynamic languages via metadata extraction
RU2643484C2 (en) Generation of own code from code in intermediate language for application
KR101645052B1 (en) Debugging pipeline
EP2827244A1 (en) Extension mechanism for scripting language compiler
US20130227522A1 (en) Integrated Application Localization
EP2782008A1 (en) Java application server and web service processing method
CN111381817A (en) Method, device, medium and electronic equipment for realizing cross-platform multi-language development
US20170123764A1 (en) Method for operating tool in working environment and machine using such method
US20160321055A1 (en) Mapping between local and remote for seamless build and design time experience
CN111736840A (en) Compiling method and running method of applet, storage medium and electronic equipment
US10635421B2 (en) Electronic device, compiling method and computer-readable recording medium
CN116069325B (en) Front-end project construction method, device, equipment and computer readable storage medium
Bellucci et al. Automatic reverse engineering of interactive dynamic web applications to support adaptation across platforms
US9396007B2 (en) Cache management in a multi-threaded environment
CN105786465A (en) Scripting language execution method and device
CN110362317B (en) Code conversion method, device and storage medium
CN106484370B (en) view system generation method, device and system
CN112947912A (en) Method and device for generating code, electronic equipment and storage medium
CN111539200B (en) Method, device, medium and electronic equipment for generating rich text
US9389838B2 (en) Method for creating a computer software compiler for client server computing
CN113778451A (en) File loading method and device, computer system and computer readable storage medium
CN111782196A (en) MVP architecture-based development method and device

Legal Events

Date Code Title Description
C06 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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201228

Address after: Room 603, 6 / F, Roche Plaza, 788 Cheung Sha Wan Road, Kowloon, China

Patentee after: Zebra smart travel network (Hong Kong) Limited

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before: Alibaba Group Holding Ltd.