CN112083924A - Software design interface consistency improving method and tool - Google Patents
Software design interface consistency improving method and tool Download PDFInfo
- Publication number
- CN112083924A CN112083924A CN202010882107.9A CN202010882107A CN112083924A CN 112083924 A CN112083924 A CN 112083924A CN 202010882107 A CN202010882107 A CN 202010882107A CN 112083924 A CN112083924 A CN 112083924A
- Authority
- CN
- China
- Prior art keywords
- software
- target
- tool
- file
- programming language
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
Description
技术领域technical field
本发明属于软件开发技术领域,尤其是涉及一种软件设计界面一致性提升方法及工具。The invention belongs to the technical field of software development, and in particular relates to a method and a tool for improving the consistency of a software design interface.
背景技术Background technique
随着互联网软件产品功能、技术的日趋更新和发展,软件系统随着功能迭代的升级,在用户体验层面(UE)一致性越来越重要,同时也是用户复购、续约软件意愿度的一个重要维度。一个不会随着业务和技术的改造或升级而降低整体用户体验的系统,在该领域会收到人们的青睐。但是目前的现状要快速实现系统整体一致的用户体验、界面设计风格切换,往往是投入投入大量资源重写系统用户体验、见面设计层实现,这是非常低效的方法。As the functions and technologies of Internet software products are increasingly updated and developed, the software system is more and more important at the user experience level (UE) with the iterative upgrade of functions, and it is also an indicator of users' willingness to repurchase and renew software. important dimension. A system that will not degrade the overall user experience with the transformation or upgrade of business and technology will be favored by people in this field. However, in the current situation, to quickly realize the overall consistent user experience and interface design style switching of the system, it is often a very inefficient method to invest a lot of resources to rewrite the system user experience and meet the design layer implementation.
发明内容SUMMARY OF THE INVENTION
本发明旨在解决上述技术问题,提供一种软件设计界面一致性提升方法及工具。The present invention aims to solve the above-mentioned technical problems, and provides a method and a tool for improving the consistency of a software design interface.
为了达到上述目的,本发明采用如下技术方案:In order to achieve the above object, the present invention adopts the following technical solutions:
一种软件设计界面一致性提升方法,包括以下步骤:A method for improving the consistency of a software design interface, comprising the following steps:
S1、初始化目标软件;S1. Initialize the target software;
S2、利用矢量图形制作工具整理目标软件的Sketch文件,并集成至指定目录;S2. Use the vector graphics production tool to organize the Sketch files of the target software and integrate them into the specified directory;
S3、利用Node.js包管理工具建立D2C数据库管理工具所需的依赖包;S3. Use the Node.js package management tool to establish the dependency package required by the D2C database management tool;
S4、利用D2C数据库管理工具,按如下脚本命令,自动运行生成目标编程语言文件:S4. Use the D2C database management tool to automatically run and generate the target programming language file according to the following script command:
s1、读取Sketch文件;s1, read the Sketch file;
s2、解析文件流;s2, parsing the file stream;
s3、依据规则方法映射字段,生成目标编程语言;s3. Map fields according to the rules and methods to generate the target programming language;
S5、利用目标应用系统,将生成的编程语言文件集成到目标软件中运行文件;S5, using the target application system to integrate the generated programming language file into the target software to run the file;
S6、业务升级或者软件风格改版,重新定义Sketch基础元器件,并生成新的编程语言文件,重新集成至目标软件中。S6, business upgrade or software style revision, redefine the basic components of Sketch, and generate new programming language files, which are reintegrated into the target software.
本发明还提供着一种软件设计界面一致性提升工具,包括:The present invention also provides a software design interface consistency improvement tool, including:
矢量图形制作工具,用于生成软件的设计系统元器件集合Sketch文件;Vector graphics production tool, used to generate the Sketch file of the design system component collection of the software;
Node.js包管理工具,用于读取nodejs项目模块的描述文件package.json,并建立依赖包;Node.js package management tool, which is used to read the description file package.json of the nodejs project module and build the dependency package;
D2C数据库管理工具,用于运行生成目标编程语言文件;D2C database management tool for running and generating target programming language files;
目标应用系统,用于集成所需的D2C基础元器件文件,使其运用于目标软件中。The target application system is used to integrate the required D2C basic component files to be used in the target software.
采用上述技术方案后,本发明具有如下优点:After adopting the above-mentioned technical scheme, the present invention has the following advantages:
本发明的软件设计界面一致性提升方法及工具能够提升软件产品多端运用的底层设计风格统一性,进而提升软件产品的整体用户体验;能够帮助设计师规范工作流程,使工具、方法、产出更标准化且高效,进而提升设计思考的工作比例。The method and tool for improving the consistency of software design interface of the present invention can improve the unity of the underlying design style of the multi-terminal application of software products, thereby improving the overall user experience of the software product; it can help designers to standardize the work flow, and make tools, methods and outputs more accurate. Standardized and efficient, thereby increasing the proportion of design thinking work.
附图说明Description of drawings
图1为本发明的一种软件设计界面一致性提升方法的步骤流程图。FIG. 1 is a flow chart of the steps of a method for improving the consistency of a software design interface according to the present invention.
具体实施方式Detailed ways
以下结合附图及具体实施例,对本发明作进一步的详细说明。The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
如图1所示,一种软件设计界面一致性提升方法,包括以下步骤:As shown in Figure 1, a method for improving the consistency of software design interface includes the following steps:
S1、初始化目标软件;S1. Initialize the target software;
S2、利用矢量图形制作工具整理目标软件的Sketch文件,并集成至指定目录;S2. Use the vector graphics production tool to organize the Sketch files of the target software and integrate them into the specified directory;
(Sketch文件是软件的设计系统元器件集合文件,此文件是设计师通过矢量图形制作工具生成)(Sketch file is the design system component collection file of the software, this file is generated by the designer through the vector graphics production tool)
S3、利用Node.js包管理工具建立D2C项目模块所需的依赖包;S3. Use the Node.js package management tool to build the dependency packages required by the D2C project module;
(依赖包是运行D2C数据库管理工具所需要安装的依赖包,具体是利用node.js包管理工具,读取工程中的package.json配置文件,运用npm install命令生成依赖包)(The dependency package is the dependency package that needs to be installed to run the D2C database management tool. Specifically, use the node.js package management tool to read the package.json configuration file in the project, and use the npm install command to generate the dependency package)
S4、利用D2C数据库管理工具,按如下脚本命令,自动运行生成目标编程语言文件:S4. Use the D2C database management tool to automatically run and generate the target programming language file according to the following script command:
(脚本命令是D2C数据库管理工具运行暴露的命令)(The script command is the command exposed by the D2C database management tool running)
s1、读取Sketch文件;s1, read the Sketch file;
s2、解析文件流;通过skecth构造函数库的开源脚本sketch-constructor.js解析文件, 通过用于解析zip文件的javascript的开源脚本jszip.js获取Sketch的文件流,并且通过生成文件的javascript方法jszip.file方法生成目标JSON文件,最后通过javascript解析json文件方法JSON.parse方法生成JSON对象。s2. Parse the file stream; parse the file through the open source script sketch-constructor.js of the sketch constructor library, obtain the file stream of Sketch through the javascript open source script jszip.js used to parse the zip file, and generate the file through the javascript method jszip The .file method generates the target JSON file, and finally the JSON.parse method is used to parse the JSON file through javascript to generate the JSON object.
s3、依据规则方法映射字段,生成目标编程语言;基于生成的JSON对象,依据设计师定义的Sketch的pages ID,此时由于生成的JSON对象的分类key值即为对应的page ID,故可以从对应JSON对象抽取所需的属性重新组成目标所需的JSON对象,比如所需的字体大小、颜色色值等属性,基于用于生成文件的javascript三方脚本node-fs-extra.js生成目标编程语言;s3. Map fields according to the rules and methods to generate the target programming language; based on the generated JSON object, according to the pages ID of Sketch defined by the designer, at this time, since the classification key value of the generated JSON object is the corresponding page ID, it can be obtained from Corresponding to the attributes required for JSON object extraction, recompose the JSON object required by the target, such as the required font size, color value and other attributes, and generate the target programming language based on the javascript tripartite script node-fs-extra.js used to generate the file ;
(目标编程语言是D2C数据库管理工具生成的目标语言文件,支持生成ts,js,less,scss,json文件)(The target programming language is the target language file generated by the D2C database management tool, which supports the generation of ts, js, less, scss, and json files)
S5、利用目标应用系统,将生成的编程语言文件集成到目标软件中运行文件;S5, using the target application system to integrate the generated programming language file into the target software to run the file;
首先把目标文件抽取至软件工程代码库中,通过开源脚本webpack构建工具的loader机制,让目标语言转化为浏览器可以解析的css文件,最后让css样式属性渲染DOM,最后呈现在软件系统中。First, the target file is extracted into the software engineering code base, and the target language is converted into a css file that can be parsed by the browser through the loader mechanism of the open source script webpack construction tool. Finally, the css style attribute is rendered into the DOM, and finally presented in the software system.
(目标应用系统,用于集成所需的D2C基础元器件文件,使其运用于目标软件中)(Target application system, used to integrate the required D2C basic component files to be used in the target software)
S6、业务升级或者软件风格改版,重新定义Sketch基础元器件,并生成新的编程语言文件,重新集成至目标软件中。S6, business upgrade or software style revision, redefine the basic components of Sketch, and generate new programming language files, which are reintegrated into the target software.
本发明还提供着一种软件设计界面一致性提升工具,包括:The present invention also provides a software design interface consistency improvement tool, including:
矢量图形制作工具,用于生成软件的设计系统元器件集合Sketch文件;Vector graphics production tool, used to generate the Sketch file of the design system component collection of the software;
Node.js包管理工具,用于读取nodejs项目模块的描述文件package.json,并建立依赖包;Node.js package management tool, which is used to read the description file package.json of the nodejs project module and build the dependency package;
D2C数据库管理工具,用于运行生成目标编程语言文件;D2C database management tool for running and generating target programming language files;
目标应用系统,用于集成所需的D2C基础元器件文件,使其运用于目标软件中。The target application system is used to integrate the required D2C basic component files to be used in the target software.
本发明的软件设计界面一致性提升方法及工具能够提升软件产品多端运用的底层设计风格统一性,进而提升软件产品的整体用户体验;能够帮助设计师规范工作流程,使工具、方法、产出更标准化且高效,进而提升设计思考的工作比例。The method and tool for improving the consistency of software design interface of the present invention can improve the unity of the underlying design style of the multi-terminal application of software products, thereby improving the overall user experience of the software product; it can help designers to standardize the work flow, and make tools, methods and outputs more accurate. Standardized and efficient, thereby increasing the proportion of design thinking work.
除上述优选实施例外,本发明还有其他的实施方式,本领域技术人员可以根据本发明作出各种改变和变形,只要不脱离本发明的精神,均应属于本发明所附权利要求所定义的范围。In addition to the above-mentioned preferred embodiments, the present invention also has other embodiments, and those skilled in the art can make various changes and modifications according to the present invention, as long as they do not depart from the spirit of the present invention, they shall all belong to the definitions of the appended claims of the present invention scope.
Claims (2)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010882107.9A CN112083924A (en) | 2020-08-28 | 2020-08-28 | Software design interface consistency improving method and tool |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010882107.9A CN112083924A (en) | 2020-08-28 | 2020-08-28 | Software design interface consistency improving method and tool |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN112083924A true CN112083924A (en) | 2020-12-15 |
Family
ID=73728314
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010882107.9A Pending CN112083924A (en) | 2020-08-28 | 2020-08-28 | Software design interface consistency improving method and tool |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112083924A (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105022616A (en) * | 2014-04-23 | 2015-11-04 | 腾讯科技(北京)有限公司 | Method and device for generating web page |
| CN106598556A (en) * | 2015-10-15 | 2017-04-26 | 阿里巴巴集团控股有限公司 | User interface generation method and device |
| US20170123641A1 (en) * | 2015-10-28 | 2017-05-04 | Adobe Systems Incorporated | Automatically generating network applications from design mock-ups |
| CN106843869A (en) * | 2017-01-16 | 2017-06-13 | 百融(北京)金融信息服务股份有限公司 | A kind of front end Development Engineering system and method |
| CN110069257A (en) * | 2019-04-25 | 2019-07-30 | 腾讯科技(深圳)有限公司 | A kind of interface processing method, device and terminal |
| CN110096275A (en) * | 2018-01-30 | 2019-08-06 | 阿里健康信息技术有限公司 | A kind of page processing method and device |
| CN111475163A (en) * | 2020-06-22 | 2020-07-31 | 腾讯科技(深圳)有限公司 | Method, device and equipment for generating code file of view template and storage medium |
-
2020
- 2020-08-28 CN CN202010882107.9A patent/CN112083924A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105022616A (en) * | 2014-04-23 | 2015-11-04 | 腾讯科技(北京)有限公司 | Method and device for generating web page |
| CN106598556A (en) * | 2015-10-15 | 2017-04-26 | 阿里巴巴集团控股有限公司 | User interface generation method and device |
| US20170123641A1 (en) * | 2015-10-28 | 2017-05-04 | Adobe Systems Incorporated | Automatically generating network applications from design mock-ups |
| CN106843869A (en) * | 2017-01-16 | 2017-06-13 | 百融(北京)金融信息服务股份有限公司 | A kind of front end Development Engineering system and method |
| CN110096275A (en) * | 2018-01-30 | 2019-08-06 | 阿里健康信息技术有限公司 | A kind of page processing method and device |
| CN110069257A (en) * | 2019-04-25 | 2019-07-30 | 腾讯科技(深圳)有限公司 | A kind of interface processing method, device and terminal |
| CN111475163A (en) * | 2020-06-22 | 2020-07-31 | 腾讯科技(深圳)有限公司 | Method, device and equipment for generating code file of view template and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Plessers et al. | Accessibility: a web engineering approach | |
| CN108572819A (en) | Page updating method, device, terminal and computer-readable storage medium | |
| US11675870B2 (en) | Automating mapping between content schema and rendered pages | |
| CN113032708A (en) | Code-free Web development system | |
| CN105528418A (en) | Design document generation method and apparatus | |
| CN107943773A (en) | A kind of interactive electronic technical manual development system and method towards space product | |
| CN112905450A (en) | Automatic development system of chip register based on template variable replacement | |
| Wadge et al. | Intensional html | |
| CN112527291A (en) | Webpage generation method and device, electronic equipment and storage medium | |
| CN117908876A (en) | Method, device and equipment for generating system page under complex authority scene in government or enterprise informatization field based on model driving | |
| CN105335161B (en) | It is a kind of from TASM time abstractions state machine to extension NTA automatic machines conversion method | |
| CN103970776B (en) | A kind of method and system of establishment CAN hierarchical trees | |
| CN111506543A (en) | M file generation method and device | |
| CN113655996B (en) | An enterprise-level system generation method based on demand model | |
| CN106383734A (en) | Method for extracting detailed design from codes | |
| CN119440526A (en) | A cross-platform front-end code adaptive generation method and system | |
| CN112083924A (en) | Software design interface consistency improving method and tool | |
| CN110019968B (en) | XML file processing method and device | |
| CN116048584A (en) | A system upgrade method, device, equipment and storage medium | |
| CN1950817A (en) | Document processing device and document processing method | |
| CN116257714A (en) | Method, device, computer equipment and storage medium for generating cascading style sheet | |
| US20130305213A1 (en) | Modularized customization of a model in a model driven development environment | |
| CN115577689A (en) | Table component generation method, device, equipment and medium | |
| US10915599B2 (en) | System and method for producing transferable, modular web pages | |
| CN115048133A (en) | Rule updating method, device, equipment and storage medium of rule engine |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201215 |
|
| RJ01 | Rejection of invention patent application after publication |