[go: up one dir, main page]

CN110795085A - Visual editing methods and tools for mobile applications - Google Patents

Visual editing methods and tools for mobile applications Download PDF

Info

Publication number
CN110795085A
CN110795085A CN201910994361.5A CN201910994361A CN110795085A CN 110795085 A CN110795085 A CN 110795085A CN 201910994361 A CN201910994361 A CN 201910994361A CN 110795085 A CN110795085 A CN 110795085A
Authority
CN
China
Prior art keywords
mobile application
control
instruction
module
editing
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
Application number
CN201910994361.5A
Other languages
Chinese (zh)
Inventor
郭盛
李京峰
刘蔚
李天昊
刘钊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Netemployment Consulting Co Ltd
Original Assignee
Beijing Netemployment Consulting Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Netemployment Consulting Co Ltd filed Critical Beijing Netemployment Consulting Co Ltd
Priority to CN201910994361.5A priority Critical patent/CN110795085A/en
Publication of CN110795085A publication Critical patent/CN110795085A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a visual editing method for mobile application, which comprises the following steps: acquiring a page screenshot and control information of the mobile application to form a preview window, and displaying the interface screenshot and the control level information of the mobile application in real time in an editable state; acquiring data of a user editing control, generating corresponding instructions, summarizing all the instructions to form an instruction file, and sending the instruction file to a mobile application; analyzing the instruction file received by the mobile application, searching the control corresponding to each instruction, and editing the corresponding control on the mobile application according to the instruction. The method has the advantages that the page display effect can be modified on the visual editing webpage, the instruction file is automatically generated, the resources of developers are saved, and the development period is greatly shortened. The invention also provides a visual editing tool for the mobile application, electronic equipment and a storage medium.

Description

移动应用可视化编辑方法及工具Visual editing methods and tools for mobile applications

技术领域technical field

本发明涉及移动应用开发领域。更具体地说,本发明涉及一种移动应用可视化编辑方法及工具。The invention relates to the field of mobile application development. More specifically, the present invention relates to a method and tool for visual editing of mobile applications.

背景技术Background technique

为给移动应用app软件做ABTest测试,需要开发人员根据测试平台服务器返回的不同变量开发不同的行为代码,然后将开发完的新版本软件发布,分析新版本软件的用户使用数据,得出测试结果,然后开发人员再根据测试结果撤销效果不好的实验组的对应代码,再次发布新版本。In order to do ABTest for mobile application software, developers need to develop different behavior codes according to different variables returned by the test platform server, and then release the developed new version of the software, analyze the user usage data of the new version of the software, and obtain the test results. , and then the developer revokes the corresponding code of the experimental group that did not perform well according to the test results, and releases a new version again.

因为每次进行ABTest测试,都需要开发人员开发新代码,且效果不好的实验组对应的代码会被废弃,所以以上技术流程会浪费大量开发资源,延长开发周期。Because every time an ABTest test is performed, developers are required to develop new code, and the code corresponding to the experimental group with poor performance will be discarded, so the above technical process will waste a lot of development resources and prolong the development cycle.

发明内容SUMMARY OF THE INVENTION

本发明的一个目的是解决至少上述问题,并提供至少后面将说明的优点。An object of the present invention is to solve at least the above-mentioned problems and to provide at least the advantages which will be explained later.

本发明还有一个目的是提供一种移动应用可视化编辑方法,修改移动App客户端界面显示效果可以不经过程序开发人员,完全由非技术人员在可视化编辑网页上修改页面展示效果,自动生成指令文件,节省开发人员资源,大幅度缩短开发周期。Another object of the present invention is to provide a mobile application visual editing method, which can modify the display effect of the mobile App client interface without the program developer, and completely modify the page display effect on the visual editing web page by non-technical personnel, and automatically generate an instruction file , saving developer resources and greatly shortening the development cycle.

提供一种移动应用可视化编辑工具,以实现在可视化编辑网页上修改页面展示效果,自动生成指令文件,节省开发人员资源,大幅度缩短开发周期。A visual editing tool for mobile applications is provided, so as to modify the page display effect on the visual editing web page, automatically generate instruction files, save developer resources, and greatly shorten the development cycle.

为了实现根据本发明的这些目的和其它优点,提供了一种移动应用可视化编辑方法,包括:In order to achieve these objects and other advantages according to the present invention, a method for visual editing of mobile applications is provided, including:

获取移动应用的页面截图和控件信息形成预览窗口,实时展示该移动应用的界面截图及控件层级信息呈可编辑状态;Obtain page screenshots and control information of the mobile application to form a preview window, and display the interface screenshots and control level information of the mobile application in an editable state in real time;

获取用户编辑控件的数据,生成对应的指令,将所有指令汇总形成指令文件,发送至移动应用;Obtain the data of the user edit control, generate the corresponding instructions, aggregate all the instructions into an instruction file, and send it to the mobile application;

解析移动应用接收的指令文件,查找每条指令对应的控件,并按指令执行编辑移动应用上对应的控件。Parse the command file received by the mobile application, find the control corresponding to each command, and execute and edit the corresponding control on the mobile application according to the command.

优选的是,控件按照树形结构堆叠,任意一个控件从根节点控件开始依照规则寻找,生成字符串型的查找路径,即得控件地址编码。Preferably, the controls are stacked according to a tree structure, and any control starts from the root node control and searches according to the rules to generate a string-type search path, that is, to obtain the control address code.

优选的是,将指令文件上传至外网服务器储存。Preferably, the instruction file is uploaded to an external network server for storage.

优选的是,从所述外网服务器下载指令文件至移动应用。Preferably, the instruction file is downloaded from the external network server to the mobile application.

提供一种移动应用可视化编辑工具,包括:Provide a visual editing tool for mobile applications, including:

网页端,其包括:web page, which includes:

移动应用界面预览模块,其用于根据接收到的移动应用的页面截图和控件信息,形成预览窗口,实时展示该移动应用的界面截图及控件层级信息;A mobile application interface preview module, which is used to form a preview window according to the received page screenshots and control information of the mobile application, and display the interface screenshots and control level information of the mobile application in real time;

控件编辑模块,其用于识别被选中控件,展示被选中控件的所有修改项,识别被选中的修改项及对应的修改数据,形成指令,将所有指令汇总形成指令文件;The control editing module is used to identify the selected control, display all the modification items of the selected control, identify the selected modification item and the corresponding modification data, form an instruction, and aggregate all the instructions to form an instruction file;

第一网络通信模块,其用于发送和接收信息;a first network communication module for sending and receiving information;

客户端,其包括:client, which includes:

信息收集模块,其用于收集当前正在展示的移动应用的页面截图和控件信息;An information collection module, which is used to collect page screenshots and control information of the mobile application currently being displayed;

指令解析模块,其用于解析接收到的指令文件,形成指令执行模块的可读形式的指令,所述指令执行模块用于根据解析后的指令中的信息找到需要编辑的目标控件,以及对目标控件按指令执行编辑;The instruction parsing module is used for parsing the received instruction file to form an instruction in a readable form of the instruction execution module, and the instruction execution module is used for finding the target control to be edited according to the information in the parsed instruction, and for the target control. The control executes editing according to the instruction;

第二网络通信模块,其用于发送和接收信息。The second network communication module is used for sending and receiving information.

优选的是,所述网页端还包括:修改历史列表展示模块,其用于列出所有指令及对应数据。Preferably, the webpage terminal further comprises: a modification history list display module, which is used for listing all the instructions and corresponding data.

优选的是,所述网页端还包括:文件上传模块,其用于将所述控件编辑模块汇总形成指令文件发送至外网服务器。Preferably, the webpage terminal further comprises: a file uploading module, which is configured to aggregate the control editing module to form an instruction file and send it to an external network server.

优选的是,所述客户端还包括:指令文件下载模块,其用于线上环境中,下载外网服务器中存放的指令文件。Preferably, the client further includes: an instruction file downloading module, which is used in an online environment to download the instruction files stored in the external network server.

提供一种电子设备,包括:至少一个处理器,以及与所述至少一个处理器通信连接的存储器,其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行权利要求1~4中任一项所述的方法。An electronic device is provided, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor The at least one processor executes, so that the at least one processor executes the method of any one of claims 1-4.

提供一种存储介质,其上存储有计算机程序,该程序被处理器执行时,实现权利要求1~4中任一项所述的方法。A storage medium is provided on which a computer program is stored, and when the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.

本发明至少包括以下有益效果:The present invention includes at least the following beneficial effects:

第一、修改移动App客户端界面显示效果可以不经过程序开发人员,完全由非技术人员在可视化编辑网页上修改页面展示效果,本发明工具会自动生成指令文件上传到服务器,节省开发人员资源,大幅度缩短开发周期。First, modifying the display effect of the mobile App client interface can be completely modified by non-technical personnel on the visual editing webpage without program developers. The tool of the present invention will automatically generate an instruction file and upload it to the server, saving developer resources. Significantly shorten the development cycle.

第二、修改移动App客户端界面显示效果不需要重新打包软件提交到应用商店,等待审核,而是直接通过服务器动态下发的方式让旧版本软件也能完成界面改动,大幅度节省开发时间缩短开发周期。Second, modifying the display effect of the mobile app client interface does not need to repackage the software and submit it to the app store and wait for review, but directly through the server to dynamically deliver the interface changes to the old version of the software, which greatly saves development time and shortens. Development cycle.

第三、因为本工具可以不需要重新提交新版本就能修改应用程序的显示效果,因此本工具可以用于移动端App的热更新,热修复,快速便捷的修复已经发布给用户的软件上面的bug。Third, because this tool can modify the display effect of the application without resubmitting a new version, this tool can be used for hot update and hot repair of mobile apps, and quickly and easily repair the software that has been released to users. bug.

本发明的其它优点、目标和特征将部分通过下面的说明体现,部分还将通过对本发明的研究和实践而为本领域的技术人员所理解。Other advantages, objects, and features of the present invention will appear in part from the description that follows, and in part will be appreciated by those skilled in the art from the study and practice of the invention.

附图说明Description of drawings

图1为本发明的其中一种技术方案的所述可视化编辑工具的内各模块交互示意图;1 is a schematic diagram of the interaction of each module in the visual editing tool according to one of the technical solutions of the present invention;

图2为本发明的其中一种技术方案的所述可视化编辑工具的各模块交互全景示意图;FIG. 2 is a schematic diagram of the interactive panorama of each module of the visual editing tool according to one of the technical solutions of the present invention;

图3为本发明的其中一种技术方案的所述控件地址编码结构图。FIG. 3 is a structural diagram of the control address coding according to one of the technical solutions of the present invention.

具体实施方式Detailed ways

下面结合附图对本发明做进一步的详细说明,以令本领域技术人员参照说明书文字能够据以实施。The present invention will be further described in detail below with reference to the accompanying drawings, so that those skilled in the art can implement it with reference to the description.

如图1~3所示,本发明提供一种移动应用可视化编辑方法,包括:As shown in Figures 1-3, the present invention provides a method for visual editing of mobile applications, including:

获取移动应用的页面截图和控件信息形成预览窗口,实时展示该移动应用的界面截图及控件层级信息呈可编辑状态;Obtain page screenshots and control information of the mobile application to form a preview window, and display the interface screenshots and control level information of the mobile application in an editable state in real time;

获取用户编辑控件的数据,生成对应的指令,将所有指令汇总形成指令文件,发送至移动应用;Obtain the data of the user edit control, generate the corresponding instructions, aggregate all the instructions into an instruction file, and send it to the mobile application;

解析移动应用接收的指令文件,查找每条指令对应的控件,并按指令执行编辑移动应用上对应的控件。Parse the command file received by the mobile application, find the control corresponding to each command, and execute and edit the corresponding control on the mobile application according to the command.

在上述技术方案中,可以设计为按照以下方式执行:In the above technical solution, it can be designed to be performed in the following manner:

1.使用本方法的服务器软件包开启服务;1. Use the server software package of this method to start the service;

2.手机App集成本方法提供的iOS或Android端SDK;2. The mobile App integrates the iOS or Android SDK provided by this method;

3.用浏览器访问服务提供的可视化编辑网址;3. Use a browser to access the visual editing URL provided by the service;

4.打开手机App,用手机App扫描可视化编辑网页中的二维码,此时手机App和网页建立了实时连接;4. Open the mobile app and use the mobile app to scan the QR code in the visual editing web page. At this time, the mobile app and the web page establish a real-time connection;

5.在网页上出现了手机App的实时预览界面,及各个控件的属性;5. The real-time preview interface of the mobile App and the properties of each control appear on the webpage;

6.使用者在网页端点选某个控件,弹出编辑面板,编辑控件属性;6. The user selects a control at the endpoint of the web page, and the editing panel pops up to edit the properties of the control;

7.编辑后保存,手机App中实时响应上一步用户发出的修改指令,手机App页面样式改变,网页端预览界面也随即改变;7. After editing and saving, the mobile app responds in real time to the modification instructions sent by the user in the previous step, the page style of the mobile app changes, and the preview interface on the webpage also changes immediately;

8.重复6~7步骤,直至使用者完成了所有修改需求,点击生成按钮,生成最终的指令文件,上传至服务端备用;8. Repeat steps 6 to 7 until the user has completed all modification requirements, click the Generate button to generate the final instruction file and upload it to the server for backup;

9.开发者按照一定的规则将指令文件下发到某个范围(可以是全部)内的线上用户App中,线上用户的App响应修改,界面改变。9. The developer sends the instruction file to the online user App in a certain range (it can be all) according to certain rules, and the online user's App responds to modification and the interface changes.

从而实现修改移动App客户端界面显示效果可以不经过程序开发人员,完全由非技术人员在可视化编辑网页上修改页面展示效果,本发明工具会自动生成指令文件上传到服务器,节省开发人员资源,大幅度缩短开发周期。Therefore, it is possible to modify the display effect of the mobile App client interface without program developers, and completely by non-technical personnel to modify the page display effect on the visual editing web page. Significantly shorten the development cycle.

不需要重新打包软件提交到应用商店,等待审核,而是直接通过服务器动态下发的方式让旧版本软件也能完成界面改动,大幅度节省开发时间缩短开发周期。There is no need to repackage the software and submit it to the app store and wait for review. Instead, the old version software can also complete the interface changes through the dynamic distribution of the server, which greatly saves development time and shortens the development cycle.

在另一种技术方案中,控件按照树形结构堆叠,任意一个控件从根节点控件开始依照规则寻找,生成字符串型的查找路径,即得控件地址编码。In another technical solution, the controls are stacked according to a tree structure, and any control starts from the root node control and searches according to the rules, and generates a string-type search path, that is, the control address code is obtained.

比如:App页面控件地址编码规则:For example: App page control address encoding rules:

如图3所示,控件地址编码的规则为:As shown in Figure 3, the control address coding rules are:

从根节点控件出发,沿着箭头走向目标控件,途径的所有控件的索引值串联起来形成一串字符,这串字符就是控件的地址编码。Starting from the root node control, follow the arrow to the target control, the index values of all the controls in the path are concatenated to form a string of characters, and this string of characters is the address code of the control.

索引值的意思是:控件是父控件中的第几个子控件,即图中标注的数字。The index value means: the control is the first child control in the parent control, that is, the number marked in the figure.

比如图3中,viewC的地址编码为0-0-0-2,viewG的地址编码为0-2-1-0For example, in Figure 3, the address code of viewC is 0-0-0-2, and the address code of viewG is 0-2-1-0

为控件进行地址编码的意义在于:在可视化编辑网页上点选手机App中的控件映射,修改他的属性,让后将这个修改指令发送给App,App需要根据指令解析出具体是哪个控件需要被修改,这个解析依据就是地址编码。同样的在线上正式环境下,手机App下载了指令文件,也需要根据指令文件中各条指令所包含的地址编码找到每一条修改对应的具体控件。The meaning of address coding for controls is: click on the control map in the mobile app on the visual editing web page, modify its properties, and then send the modification instruction to the app. Modification, this parsing basis is the address encoding. In the same online formal environment, when the mobile app downloads the instruction file, it is also necessary to find the specific control corresponding to each modification according to the address code contained in each instruction in the instruction file.

在另一种技术方案中于,将指令文件上传至外网服务器储存。可以将在一台移动APP上的指令文件下发到其它线上的千千万万的移动APP中,实现大批量的修改。In another technical solution, the instruction file is uploaded to an external network server for storage. The instruction file on one mobile APP can be sent to thousands of mobile APPs on other lines to realize large-scale modification.

在另一种技术方案中,从所述外网服务器下载指令文件至移动应用。不需要重新对每一个线上的移动APP进行分别修改,只需要从外网服务器下载对应指令文件即可自动完成批量修改。In another technical solution, the instruction file is downloaded from the external network server to the mobile application. There is no need to modify each online mobile APP separately, just download the corresponding instruction file from the external network server to automatically complete the batch modification.

本发明提供一种移动应用可视化编辑工具,包括:The present invention provides a visual editing tool for mobile applications, including:

网页端,其包括:web page, which includes:

移动应用界面预览模块,其用于根据接收到的移动应用的页面截图和控件信息,形成预览窗口,实时展示该移动应用的界面截图及控件层级信息;A mobile application interface preview module, which is used to form a preview window according to the received page screenshots and control information of the mobile application, and display the interface screenshots and control level information of the mobile application in real time;

控件编辑模块,其用于识别被选中控件,展示被选中控件的所有修改项,识别被选中的修改项及对应的修改数据,形成指令,将所有指令汇总形成指令文件;The control editing module is used to identify the selected control, display all the modification items of the selected control, identify the selected modification item and the corresponding modification data, form an instruction, and aggregate all the instructions to form an instruction file;

第一网络通信模块,其用于发送和接收信息;a first network communication module for sending and receiving information;

客户端,其包括:client, which includes:

信息收集模块,其用于收集当前正在展示的移动应用的页面截图和控件信息;An information collection module, which is used to collect page screenshots and control information of the mobile application currently being displayed;

指令解析模块,其用于解析接收到的指令文件,形成指令执行模块的可读形式的指令,所述指令执行模块用于根据解析后的指令中的信息找到需要编辑的目标控件,以及对目标控件按指令执行编辑;The instruction parsing module is used for parsing the received instruction file to form an instruction in a readable form of the instruction execution module, and the instruction execution module is used for finding the target control to be edited according to the information in the parsed instruction, and for the target control. The control executes editing according to the instruction;

第二网络通信模块,其用于发送和接收信息。The second network communication module is used for sending and receiving information.

在上述技术方案中,第一网络通信模块和第二网络通信模块均为双向网络通信模块,客户端和服务端建立通信,由此可以实现双方之间自由通信;In the above technical solution, the first network communication module and the second network communication module are both bidirectional network communication modules, and the client and the server establish communication, thereby enabling free communication between the two parties;

网页端以一定频率向客户端发送请求,索取客户端页面截图及控件信息;The web page sends requests to the client at a certain frequency to obtain screenshots and control information of the client page;

客户端收到网页端的请求,驱动信息收集模块收集页面截图和控件信息,发送给网页端;The client receives the request from the web page, drives the information collection module to collect page screenshots and control information, and sends it to the web page;

网页端收到客户端返回的页面截图信息,驱动界面预览模块,在网页上显示客户端App中的页面截图,并生成编辑板展示页面中控件的修改项;The web page receives the page screenshot information returned by the client, drives the interface preview module, displays the page screenshot in the client App on the web page, and generates the edit panel to display the modification items of the controls in the page;

用户在网页中看到了手机App的实时预览,并可以再编辑板上修改指定控件的样式属性;The user sees the real-time preview of the mobile app on the web page, and can modify the style properties of the specified controls on the editing board;

用户修改了某个控件的样式属性后,网页端驱动控件编辑模块,生成修改指令,通过第一网络通信模块发送给客户端;After the user modifies the style attribute of a certain control, the web page drives the control editing module, generates a modification instruction, and sends it to the client through the first network communication module;

客户端接收到修改指令,驱动指令解析模块,解析出指令中包含的一些参数(目标控件的地址编码,修改哪个属性,修改成什么值),再驱动控件寻址模块根据解析出来的地址编码找到对应的控件,驱动指令执行模块修改找到的控件的对应属性;The client receives the modification instruction, drives the instruction parsing module, parses out some parameters contained in the instruction (address code of the target control, which property to modify, and what value to modify), and then drives the control addressing module to find out according to the parsed address code. Corresponding controls, drive the instruction execution module to modify the corresponding properties of the found controls;

修改成功,App中的界面展示出修改后的样式,网页端可依靠界面预览模块展示出了修改后的预览图;If the modification is successful, the interface in the App displays the modified style, and the web page can rely on the interface preview module to display the modified preview image;

网页端的控件修改模块将刚才的修改项存入历史列表模块,用户由此可以再历史列表中看到刚才的修改项信息;The control modification module on the web page saves the modification item just now into the history list module, so that the user can see the modification item information just now in the history list;

如果用户还有其他需要修改的操作,则循环修改步骤中的流程,待所有修改就完成后,用户在网页端点击生成文件按钮,控件编辑模块将所有的修改指令汇集成一个json文件,并将此文件上传至服务端。If the user has other operations that need to be modified, the process in the modification steps will be cyclically modified. After all modifications are completed, the user clicks the generate file button on the web page, and the control editing module will assemble all modification instructions into a json file, and will Upload this file to the server.

在另一种技术方案中,所述网页端还包括:修改历史列表展示模块,其用于列出所有指令及对应数据。以方便用户查看修改数据。In another technical solution, the webpage terminal further includes: a modification history list display module, which is used for listing all the instructions and corresponding data. In order to facilitate the user to view the modified data.

在另一种技术方案中,所述网页端还包括:文件上传模块,其用于将所述控件编辑模块汇总形成指令文件发送至外网服务器。以供在线上正式环境下,手机App可以从外网服务器下载指令文件,而不需要进行重复编辑修改。In another technical solution, the web page further includes: a file uploading module, which is configured to aggregate the control editing module to form an instruction file and send it to an external network server. For the online formal environment, the mobile app can download the instruction file from the external network server without repeated editing and modification.

在另一种技术方案中,所述客户端还包括:指令文件下载模块,其用于线上环境中,下载外网服务器中存放的指令文件。在线上正式环境下,手机App从外网服务器下载指令文件,驱动指令解析模块逐条解析文件中的修改指令,然后驱动指令执行阶段执行每一条修改,由此完成了动态修改App中原生控件属性的功能。In another technical solution, the client further includes: an instruction file downloading module, which is used in an online environment to download the instruction files stored in the external network server. In the online formal environment, the mobile app downloads the instruction file from the external network server, drives the instruction parsing module to parse the modification instructions in the file one by one, and then drives the instruction execution stage to execute each modification, thus completing the dynamic modification of the native control properties in the App. Function.

提供一种电子设备,包括:至少一个处理器,以及与所述至少一个处理器通信连接的存储器,其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行上述任一种所述的方法。An electronic device is provided, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor The at least one processor executes, so that the at least one processor executes any one of the methods described above.

提供一种存储介质,其上存储有计算机程序,该程序被处理器执行时,实现上述任一种所述的方法。A storage medium is provided on which a computer program is stored, and when the program is executed by a processor, any one of the above-mentioned methods is implemented.

尽管本发明的实施方案已公开如上,但其并不仅仅限于说明书和实施方式中所列运用,它完全可以被适用于各种适合本发明的领域,对于熟悉本领域的人员而言,可容易地实现另外的修改,因此在不背离权利要求及等同范围所限定的一般概念下,本发明并不限于特定的细节和这里示出与描述的图例。Although the embodiment of the present invention has been disclosed as above, it is not limited to the application listed in the description and the embodiment, and it can be applied to various fields suitable for the present invention. For those skilled in the art, it can be easily Therefore, the invention is not limited to the specific details and illustrations shown and described herein without departing from the general concept defined by the appended claims and the scope of equivalents.

Claims (10)

1. The visual editing method for the mobile application is characterized by comprising the following steps:
acquiring a page screenshot and control information of the mobile application to form a preview window, and displaying the interface screenshot and the control level information of the mobile application in real time in an editable state;
acquiring data of a user editing control, generating corresponding instructions, summarizing all the instructions to form an instruction file, and sending the instruction file to a mobile application;
analyzing the instruction file received by the mobile application, searching the control corresponding to each instruction, and editing the corresponding control on the mobile application according to the instruction.
2. The visual editing method for mobile applications according to claim 1, wherein the controls are stacked in a tree structure, and any one of the controls is searched from the root node control according to rules to generate a string-type search path, i.e. a control address code.
3. The visual editing method for mobile applications of claim 1, wherein the instruction file is uploaded to an extranet server for storage.
4. The visual editing method for mobile applications of claim 3, wherein an instruction file is downloaded from the extranet server to a mobile application.
5. A mobile application visualization editing tool, comprising:
the webpage end comprises:
the mobile application interface preview module is used for forming a preview window according to the received page screenshot and control information of the mobile application and displaying the interface screenshot and the control level information of the mobile application in real time;
the control editing module is used for identifying the selected control, displaying all the modification items of the selected control, identifying the selected modification items and the corresponding modification data to form an instruction, and summarizing all the instructions to form an instruction file;
a first network communication module for transmitting and receiving information;
a client, comprising:
the information collection module is used for collecting the page screenshot and the control information of the mobile application which is currently displayed;
the instruction analysis module is used for analyzing the received instruction file to form an instruction in a readable form of the instruction execution module, and the instruction execution module is used for finding a target control to be edited according to information in the analyzed instruction and executing editing on the target control according to the instruction;
a second network communication module for sending and receiving information.
6. The mobile application visual editing tool of claim 5, wherein the web site further comprises: and the modification history list display module is used for listing all the instructions and the corresponding data.
7. The mobile application visual editing tool of claim 5, wherein the web site further comprises: and the file uploading module is used for summarizing the control editing modules into an instruction file and sending the instruction file to the external network server.
8. The mobile application visualization editing tool of claim 7, wherein the client further comprises: and the instruction file downloading module is used for downloading the instruction file stored in the external network server in an online environment.
9. An electronic device, comprising: at least one processor, and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method of any of claims 1-4.
10. Storage medium on which a computer program is stored, characterized in that the program, when executed by a processor, implements the method of any one of claims 1 to 4.
CN201910994361.5A 2019-10-18 2019-10-18 Visual editing methods and tools for mobile applications Pending CN110795085A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910994361.5A CN110795085A (en) 2019-10-18 2019-10-18 Visual editing methods and tools for mobile applications

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910994361.5A CN110795085A (en) 2019-10-18 2019-10-18 Visual editing methods and tools for mobile applications

Publications (1)

Publication Number Publication Date
CN110795085A true CN110795085A (en) 2020-02-14

Family

ID=69439615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910994361.5A Pending CN110795085A (en) 2019-10-18 2019-10-18 Visual editing methods and tools for mobile applications

Country Status (1)

Country Link
CN (1) CN110795085A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111399817A (en) * 2020-03-16 2020-07-10 杭州涂鸦信息技术有限公司 Method and system for generating intelligent equipment control panel through real-time preview
CN111538500A (en) * 2020-04-26 2020-08-14 北京思特奇信息技术股份有限公司 Method and system for visually modifying menu
CN111586470A (en) * 2020-05-21 2020-08-25 上海大因多媒体技术有限公司 Multi-image display control method, main control device and control system
CN112486493A (en) * 2020-12-21 2021-03-12 京东方科技集团股份有限公司 Application program management method and device, electronic equipment and readable storage medium
CN113050942A (en) * 2021-03-31 2021-06-29 北京字节跳动网络技术有限公司 Page generation method and device, readable medium and electronic equipment
CN113377366A (en) * 2021-07-09 2021-09-10 北京字跳网络技术有限公司 Control editing method, device, equipment, readable storage medium and product
CN113467756A (en) * 2021-03-05 2021-10-01 北京道亨软件股份有限公司 Cross-platform mobile application generation method and device
CN113778428A (en) * 2020-06-09 2021-12-10 北京小米移动软件有限公司 Application development method and device
WO2022116969A1 (en) * 2020-12-01 2022-06-09 杭州灵伴科技有限公司 General voice instruction generating method and apparatus, and augmented reality display device
CN115220709A (en) * 2021-04-21 2022-10-21 深圳联友科技有限公司 VUE page editing method, system and computer readable storage medium
CN115526347A (en) * 2022-08-29 2022-12-27 广西电网有限责任公司电力科学研究院 A method and system for online editing information processing
US20240111501A1 (en) * 2022-09-30 2024-04-04 Replit, Inc. System and method for software development on mobile devices

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178650A (en) * 2007-06-28 2008-05-14 腾讯科技(深圳)有限公司 Method and device for modifying control property based on response
US20080222618A1 (en) * 2005-08-25 2008-09-11 Corizon Limited Methods for User Interface Generation and Application Modification
CN103164300A (en) * 2011-12-13 2013-06-19 腾讯科技(深圳)有限公司 Mobile terminal touch screen automatic testing method and device
CN103513992A (en) * 2013-10-23 2014-01-15 电子科技大学 Universal development platform for education and entertainment robot application software
CN104572043A (en) * 2013-10-16 2015-04-29 阿里巴巴集团控股有限公司 Method and device for embedding points for controls of client application in real time
CN105549891A (en) * 2016-01-12 2016-05-04 努比亚技术有限公司 Screenshot method based on back pressure sensor and mobile terminal
CN105607931A (en) * 2015-12-23 2016-05-25 北京金山安全软件有限公司 Method and device for optimizing retention rate of application program and electronic equipment
CN105653755A (en) * 2015-07-21 2016-06-08 上海趣驾信息科技有限公司 Automobile navigation interface designing tool based on SGE graphic base
CN109375914A (en) * 2018-09-27 2019-02-22 中国气象科学研究院 Information remote interaction method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080222618A1 (en) * 2005-08-25 2008-09-11 Corizon Limited Methods for User Interface Generation and Application Modification
CN101178650A (en) * 2007-06-28 2008-05-14 腾讯科技(深圳)有限公司 Method and device for modifying control property based on response
CN103164300A (en) * 2011-12-13 2013-06-19 腾讯科技(深圳)有限公司 Mobile terminal touch screen automatic testing method and device
CN104572043A (en) * 2013-10-16 2015-04-29 阿里巴巴集团控股有限公司 Method and device for embedding points for controls of client application in real time
CN103513992A (en) * 2013-10-23 2014-01-15 电子科技大学 Universal development platform for education and entertainment robot application software
CN105653755A (en) * 2015-07-21 2016-06-08 上海趣驾信息科技有限公司 Automobile navigation interface designing tool based on SGE graphic base
CN105607931A (en) * 2015-12-23 2016-05-25 北京金山安全软件有限公司 Method and device for optimizing retention rate of application program and electronic equipment
CN105549891A (en) * 2016-01-12 2016-05-04 努比亚技术有限公司 Screenshot method based on back pressure sensor and mobile terminal
CN109375914A (en) * 2018-09-27 2019-02-22 中国气象科学研究院 Information remote interaction method and system

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111399817A (en) * 2020-03-16 2020-07-10 杭州涂鸦信息技术有限公司 Method and system for generating intelligent equipment control panel through real-time preview
CN111538500A (en) * 2020-04-26 2020-08-14 北京思特奇信息技术股份有限公司 Method and system for visually modifying menu
CN111586470B (en) * 2020-05-21 2022-09-23 上海大因多媒体技术有限公司 Multi-image display control method, main control device and control system
CN111586470A (en) * 2020-05-21 2020-08-25 上海大因多媒体技术有限公司 Multi-image display control method, main control device and control system
CN113778428A (en) * 2020-06-09 2021-12-10 北京小米移动软件有限公司 Application development method and device
WO2022116969A1 (en) * 2020-12-01 2022-06-09 杭州灵伴科技有限公司 General voice instruction generating method and apparatus, and augmented reality display device
CN112486493A (en) * 2020-12-21 2021-03-12 京东方科技集团股份有限公司 Application program management method and device, electronic equipment and readable storage medium
CN112486493B (en) * 2020-12-21 2025-05-23 京东方科技集团股份有限公司 Application management method and device, electronic equipment and readable storage medium
CN113467756A (en) * 2021-03-05 2021-10-01 北京道亨软件股份有限公司 Cross-platform mobile application generation method and device
CN113050942A (en) * 2021-03-31 2021-06-29 北京字节跳动网络技术有限公司 Page generation method and device, readable medium and electronic equipment
CN115220709A (en) * 2021-04-21 2022-10-21 深圳联友科技有限公司 VUE page editing method, system and computer readable storage medium
CN113377366B (en) * 2021-07-09 2024-03-12 北京字跳网络技术有限公司 Control editing method, device, equipment, readable storage medium and product
CN113377366A (en) * 2021-07-09 2021-09-10 北京字跳网络技术有限公司 Control editing method, device, equipment, readable storage medium and product
CN115526347A (en) * 2022-08-29 2022-12-27 广西电网有限责任公司电力科学研究院 A method and system for online editing information processing
US20240111501A1 (en) * 2022-09-30 2024-04-04 Replit, Inc. System and method for software development on mobile devices
US12474896B2 (en) * 2022-09-30 2025-11-18 Replit, Inc. System and method for software development on mobile devices

Similar Documents

Publication Publication Date Title
CN110795085A (en) Visual editing methods and tools for mobile applications
US20020188890A1 (en) System and method for testing an application
CN107291438B (en) Automatic script generation method and device and electronic equipment
CN106997298B (en) Application resource acquisition method and device
CN111930635A (en) Swagger-based rapid automatic testing method and system
CN104536744B (en) A kind of method and server of automation structure and deployment code
CN111832236A (en) A chip regression test method, system, electronic device and storage medium
CN111158656B (en) Test code generation method and device based on fruit tree method
US20060117055A1 (en) Client-based web server application verification and testing system
CN104598232B (en) A kind of Web applications striding equipment catches back method
CN105373478B (en) Automated testing method and system
CN111143228A (en) Test code generation method and device based on decision table method
CN114138244A (en) Method and device for automatically generating model files, storage medium and electronic equipment
CN109992496A (en) A kind of data processing method and device for automatic test
CN113515455A (en) Automatic test method and system
CN108632361A (en) A kind of webpage loading method, server, system and storage medium
CN110543429A (en) Test case debugging method, device and storage medium
CN107038117A (en) It is a kind of based on the web automated testing methods that reference is defined between event handling function
CN112988588B (en) Client software debugging method and device, storage medium and electronic equipment
CN112540925B (en) New feature compatibility detection system and method, electronic device and readable storage medium
CN114428747A (en) User interface testing method, device, server and storage medium
CN120295663A (en) Visualization interface configuration method, device and storage medium
JP4795404B2 (en) Operation verification apparatus and operation verification program
CN110209565A (en) A kind of metadata schema adjustment method and its device
CN117407312A (en) Application testing method, device, computer equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200214