WO2012106901A1 - 基于web的脚本语言编辑方法、系统和web客户端 - Google Patents

基于web的脚本语言编辑方法、系统和web客户端 Download PDF

Info

Publication number
WO2012106901A1
WO2012106901A1 PCT/CN2011/077285 CN2011077285W WO2012106901A1 WO 2012106901 A1 WO2012106901 A1 WO 2012106901A1 CN 2011077285 W CN2011077285 W CN 2011077285W WO 2012106901 A1 WO2012106901 A1 WO 2012106901A1
Authority
WO
WIPO (PCT)
Prior art keywords
script
content
module
prompt
attribute
Prior art date
Application number
PCT/CN2011/077285
Other languages
English (en)
French (fr)
Inventor
杨永立
卢玮
南万青
Original Assignee
华为技术有限公司
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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=46638128&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=WO2012106901(A1) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2011/077285 priority Critical patent/WO2012106901A1/zh
Priority to CN201180001596.1A priority patent/CN103109289B/zh
Priority to US13/552,424 priority patent/US8839195B2/en
Publication of WO2012106901A1 publication Critical patent/WO2012106901A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • G06F9/45508Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation
    • G06F9/45512Command shells
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code

Definitions

  • the invention relates to communication technology, in particular to a WEB-based script language editing method, system and WEB client.
  • BACKGROUND With the development of a telecommunication service service, a more flexible data and process control capability needs to be implemented through a WEB management terminal, and a rich expression of a scripting language can achieve this purpose.
  • a script running engine can be implemented on the business side, and the management side is The script is edited and managed.
  • custom expression editing scripts are commonly used.
  • the format of custom expressions is fixed, the representation is single, and only simple logical operations such as size comparison can be performed. Function and flow control are not supported. Summary of the invention
  • a WEB-based scripting language editing method including: querying a server for an available object in a current script usage scenario, and attributes and methods of the available object; Generating a script editing interface by using the available objects and available objects in the current script usage scenario, and displaying the script content input by the input device in the editing interface; obtaining the confirmation identifier of the edited content, and checking the Determining whether the content of the script before the identifier is a prompt object that can be automatically prompted, and if so, obtaining attributes and methods related to the prompt object from attributes and methods of the available object, and obtaining the obtained and the
  • the attributes and methods related to the prompt object are displayed for selection by a prompt box formed in the script editing interface; the attributes and methods of the prompt object selected in the prompt box are appended to the prompt object.
  • a WEB-based script language editing system which includes a WEB client and a WEB server, and the WEB server includes a storage module: the WEB client package
  • the attribute and method query module is configured to query, to the storage module of the WEB server, the available objects in the current script usage scenario, and the attributes and methods of the available objects;
  • the display module is configured to be used according to the queryed Generating a script editing interface by using the available objects and available objects in the current script usage scenario, and displaying the script content input by the input device in the editing interface;
  • the attribute and method prompting module for acquiring Determining an identification identifier of the edited content, and checking whether the script content before the confirmation identifier is a prompt object that can be automatically prompted, and if so, obtaining attributes and methods related
  • a WEB client including a display module, an attribute and method query module, an attribute and method prompt module, and an attribute and method additional module: the attribute and method query a module, configured to query, to a storage module of the WEB server, an available object in a current script usage scenario, and an attribute and a method of the available object; the display module, configured to use, according to the queryed current script usage scenario Generating a script editing interface by using an object and an attribute of the available object, and displaying the script content input by the input device in the editing interface; the attribute and method prompting module, configured to obtain the confirmation identifier of the edited content, And checking whether the content of the script before the confirmation identifier is a prompt object that can be automatically prompted, and if yes, obtaining attributes and methods related to the prompt object from attributes and methods of the available object, and acquiring the obtained Attributes and methods related to the prompt object are formed in the script Balloon within the interface displayed for selection; additional properties and methods
  • FIG. 1 is a flow chart of a first embodiment of a WEB-based script language editing method according to the present invention
  • FIG. 2 is a schematic diagram of an application of the method shown in FIG. 1;
  • FIG. 3 is a flow chart of a second embodiment of a WEB-based script language editing method according to the present invention.
  • FIG. 5 is a flowchart of a third embodiment of a WEB-based script language editing method according to the present invention.
  • FIG. 6 is a schematic diagram of an application of the method shown in FIG. 5;
  • FIG. 7 is a flowchart of a fourth embodiment of a WEB-based script language editing method according to the present invention.
  • Figure 8 is a schematic diagram of an application of the method shown in Figure 7;
  • FIG. 9 is a flowchart of a fifth embodiment of a WEB-based script language editing method according to the present invention.
  • FIG. 10 is a schematic diagram of a first embodiment of a WEB-based scripting language editing system according to the present invention.
  • FIG. 11 is a schematic diagram of a second embodiment of a WEB-based scripting language editing system according to the present invention.
  • FIG. 12 is a schematic diagram of a third embodiment of a WEB-based scripting language editing system according to the present invention.
  • FIG. 13 is a schematic diagram of a fourth embodiment of a WEB-based scripting language editing system according to the present invention.
  • FIG. 15 is a schematic diagram of a first embodiment of a WEB client according to the present invention.
  • FIG. 16 is a schematic diagram of a second embodiment of a WEB client according to the present invention.
  • FIG. 17 is a schematic diagram of a third embodiment of a WEB client according to the present invention.
  • FIG. 18 is a schematic diagram of a fourth embodiment of a WEB client according to the present invention.
  • BEST MODE FOR CARRYING OUT THE INVENTION The WEB-based script language editing method, system and apparatus will be described in detail below.
  • the WEB-based scripting language editing based on the B/S (browser/server) architecture provides a web-based script management capability for the user through a browser-based rich client.
  • FIG. 1 A first embodiment of a WEB-based scripting language editing method is shown in FIG.
  • Step 11 Query the server for available objects in the current script usage scenario, and attributes and methods of the available objects.
  • Step 12 Generate a script editing interface according to the queried attributes and methods of the available objects and available objects in the current script usage scenario, and display the script content input by the input device in the editing interface.
  • Step 13 Obtain a confirmation identifier of the edited content, and check whether the script content before the confirmation identifier is a prompt object that can be automatically prompted, and if yes, obtain the prompt object from the attributes and methods of the available object. Related attributes and methods, and displaying the acquired attributes and methods related to the prompt object through a prompt box formed in the script editing interface for selection; if not, waiting for the next confirmation identifier.
  • the confirmation is identified as a delimiter between the object and the object attribute or method. If the script is a Python script, the confirmation is identified as a dot.
  • the WEB client detects the input confirmation flag, perform step 13 above. As shown in Fig. 2, the properties and methods of the object are displayed in the automatic prompt box 201 for the user to select.
  • the automatic prompt box is inconvenient to display.
  • the string that continues to be input is obtained in the script content, and the method name in the prompt box can be filtered to reduce the option.
  • the embodiment may further obtain a character string in the script content that is continuously input in the script editing interface, and use the string to filter the attributes and methods displayed in the prompt box, and reduce the bar for displaying attributes and methods in the automatic prompt box. Number, convenient for users to view.
  • Step 14 Append the attributes and methods of the prompt object selected in the prompt box to the prompt object.
  • the attributes and methods of the available objects are dynamically prompted according to the usage scenario of the script, and the automatically selected attributes and methods are added to the edited script object, thereby improving user convenience and reducing the user's memory burden.
  • FIG. 1 A second embodiment of a WEB-based scripting language editing method is shown in FIG.
  • This embodiment is a complementary method of the first embodiment shown in Fig. 1, and in a specific application, it can be performed in synchronization with the first embodiment shown in Fig. 1.
  • Step 31 Obtain the script content in the editing interface.
  • Step 32 Parse the script content, and obtain keywords, strings, and comments in the script content.
  • the keywords include but are not limited to "de, "if, “elif, “else”, “and”, “or”, “not”, “pass”, “True”, “False”, “None”, “return”, “is”. Get the keyword by querying the above words in the script content.
  • strings are usually indexed with single or double quotes. You can extract single or double quotes. Script content, get a string.
  • comments generally begin with a # sign and occupy a single line. Extract the part starting with the # sign to the end of the line in the script content, and get the comment in the script.
  • Step 33 Assign the obtained keywords, characters, and comments in the script content to the identifiable visual features.
  • the visual features include color, brightness, font size, or a combination of any two or three of color, brightness, and font size. See Figure 4, using blue to label keywords, using purple to label strings, and using green to label comments.
  • This embodiment also provides real-time brightness display of keywords, strings, and comments in the script editing area to prompt the user in a more conspicuous manner.
  • FIG. 1 A third embodiment of a WEB-based scripting language editing method is shown in FIG. This embodiment is a complementary method to the first embodiment shown in Fig. 1. In a specific application, it can be performed in synchronization with the first embodiment shown in Fig. 1 and the second embodiment shown in Fig. 3.
  • Step 51 Determine whether the input script content is a line feed, and if so, add a level of indentation to the input script content; if not, make the indentation of the script content of the previous line of the input script content consistent.
  • Step 52 After the line feed, insert the space required for the indentation and move the cursor to the indented position.
  • scripting language is a Python script, see Figure 6.
  • Python scripts need to use indentation to divide code blocks, and automatic indentation by line breaks can reduce the chance of users making mistakes in indentation and improve the user experience when editing scripts.
  • FIG. 1 A fourth embodiment of a WEB-based scripting language editing method is shown in FIG. This embodiment is a complementary method of the first embodiment shown in FIG. 1. In a specific application, it can be synchronized with the first embodiment shown in FIG. 1, the second embodiment shown in FIG. 3, and the third embodiment shown in FIG. 5. get on.
  • Step 71 Check whether the content of the script conforms to the grammar. If it does not match, return the error type, error prompt information, and/or error location information, and highlight the error location with a red background in the script editing area. See Figure 8.
  • Step 72 Depending on the usage scenario, check whether the service characteristic of the script content satisfies the corresponding service specification U. If no, return the error type, the error prompt information, and/or the error location information, and use the red in the script editing area. The color background highlights the wrong location; if it matches, the prompt script content conforms to the business characteristics and is saved.
  • the scripting language is a Python script
  • the error type is consistent with the Python standard.
  • click the Check or Save button on the keyboard to perform a grammar check.
  • the grammar check may be performed after the entire editing of the script is completed, or may be performed in real time during the editing process, which is included in the disclosure of the embodiment of the present invention.
  • FIG. 7 A fifth embodiment of a WEB-based scripting language editing method is shown in FIG. This embodiment is a complementary method of the first embodiment shown in FIG. 1.
  • the first embodiment shown in FIG. 1, the second embodiment shown in FIG. 3, and the third embodiment shown in FIG. 5 may be used.
  • the fourth embodiment shown in Fig. 7 is performed simultaneously.
  • Step 91 Copy the existing script content into the script editor
  • Step 92 Filter additional data such as DOM nodes and pictures in the copied script content, extract the plain text content, and paste it into a new script content. After pasting, the new script content is syntax-synthesized according to the embodiment steps shown in Figure 2.
  • the copying of the script content can be done at any time during the script editing process, for example, during the input of the code block, or after the completion of the input of the complete code block, and so on. Embodiments of the present invention are not limited thereto.
  • the online script IDE function provided by the embodiment of the invention strongly supports the development and extensibility of the system. It can support complex traffic and QOS control and multiple user requirements for flexible and complex control scenarios. Improve the system's customization capabilities, and many customer requirements can be customized through scripts to reduce system version requirements.
  • the embodiments of the present invention can be applied to various scenarios of a Web system. For example, it cooperates with the background business engine to improve the openness and extensibility of the system; modify the system script, complete the function update of the system through the Web; implement online debugging and execution functions, and complete the test verification and execution of the business function.
  • the embodiment of the invention further provides a WEB-based script language editing system.
  • FIG. 1 A first embodiment of a WEB-based scripting language editing system is shown in FIG. This embodiment corresponds to the first embodiment of the script language editing method shown in Fig. 1.
  • the script language editing system includes a WEB client 1 and a WEB server 2, and the WEB server 2 includes a storage module 21:
  • the WEB client 1 includes a display module 10, an attribute and method query module 11, attributes, and methods.
  • the attribute and method querying module 11 is configured to query, to the storage module of the WEB server, the available objects in the current script usage scenario, and the attributes and methods of the available objects.
  • the display module 10 is configured to use the current script according to the query. Generating a script editing interface using the available objects and available objects in the scene, and displaying the script content input by the input device in the editing interface; the property and method prompting module 12 is configured to be acquired in the script editing area After confirming the identifier, checking whether the content of the script before the identifier is an object that can be automatically prompted, and if so, obtaining the attribute and method of the object from the attribute and method query module 11, and associating the acquired object related to the prompt object The attributes and methods are displayed for selection by a prompt box formed in the script editing interface; the attribute and method appending module 13 is configured to attach the attributes and methods of the prompt object selected in the prompt box to the After the object is prompted.
  • FIG. 3 A second embodiment of a WEB-based scripting language editing system is shown in FIG. This embodiment corresponds to the second embodiment of the script language editing method shown in Fig. 3.
  • the script language editing system includes a WEB client 1 and a WEB server 2, and the WEB server 2 includes a storage module 21:
  • the WEB client 1 includes a display module 10, an attribute and method query module 11, an attribute and method prompt module 12, and an attribute and method additional module.
  • the script content obtaining module 14 is configured to obtain the script content in the editing interface, and the script content parsing module 15 is configured to parse the script content, and obtain keywords, strings, and annotations in the script content;
  • the feature assigning module 16 is configured to assign keywords, character strings, and annotations in the acquired script content to the identifiable visual features.
  • the other modules included in the WEB client 1 and the WEB server 2 are the same as those in the embodiment shown in FIG. 10 and will not be described again.
  • FIG. A third embodiment of a WEB-based scripting language editing system is shown in FIG. This embodiment corresponds to the third embodiment of the script language editing method shown in Fig. 5.
  • the script language editing system includes a WEB client 1 and a WEB server 2, and the WEB server 2 includes a storage module 21:
  • the WEB client 1 includes a display module 10, an attribute and method query module 11, an attribute and method prompt module 12, and an attribute and method additional module. 13 and line feed indentation module 17.
  • the line feed indenting module 17 is configured to determine whether the input script content is wrapped, and if so, add a level of indentation to the input script content; if not, the indentation of the script content of the input script content is consistent ; After wrapping, insert the space required for indentation and move the cursor to the indented position.
  • the other modules included in the WEB client 1 and the WEB server 2 are the same as the embodiment shown in FIG. 10, and are no longer Narration.
  • FIG. 7 A fourth embodiment of a WEB-based scripting language editing system is shown in FIG. This embodiment corresponds to the fourth embodiment of the script language editing method shown in Fig. 7.
  • the script language editing system includes a WEB client 1 and a WEB server 2, and the WEB server 2 includes a storage module 21:
  • the WEB client 1 includes a display module 10, an attribute and method query module 11, an attribute and method prompt module 12, and an attribute and method additional module. 13 and grammar checking module 18.
  • the grammar checking module 18 is configured to check whether the content of the script conforms to the grammar, such as non-conformity, return error type, error prompt information, and/or error location information; according to the usage scenario, check whether the service characteristic of the script content satisfies the corresponding business rule, If no, return the error type, error message and/or error location information, and highlight the error location with a red background in the script editing area; if it matches, the prompt script content conforms to the service characteristics and save.
  • the grammar such as non-conformity, return error type, error prompt information, and/or error location information
  • the other modules included in the WEB client 1 and the WEB server 2 are the same as those in the embodiment shown in FIG. 10 and will not be described again.
  • FIG. 9 A fifth embodiment of a WEB-based scripting language editing system is shown in FIG. This embodiment corresponds to the fifth embodiment of the script language editing method shown in Fig. 9.
  • the script language editing system includes a WEB client 1 and a WEB server 2, and the WEB server 2 includes a storage module 21:
  • the WEB client 1 includes a display module 10, an attribute and method query module 11, an attribute and method prompt module 12, and an attribute and method additional module. 13 and copy and paste module 19.
  • Copy and paste module 19 used to copy the existing script content, extract the plain text content in the copied script content, and paste it into the new script content.
  • the embodiment of the invention further provides a WEB client.
  • the first embodiment of the WEB client See Figure 15. This embodiment corresponds to the first embodiment of the script language editing method shown in Fig. 1, and the first embodiment of the WEB-based script language editing system shown in Fig. 10.
  • the WEB client 1 includes a display module 10, an attribute and method query module 11, an attribute and method prompt module 12, and an attribute and method add-on module 13.
  • the attribute and method querying module 11 is configured to query, to the storage module of the WEB server, the available objects in the current script usage scenario, and the attributes and methods of the available objects.
  • the display module 10 is configured to use the current script according to the query. Generating a script editing interface using the available objects and available objects in the scene, and displaying the script content input by the input device in the editing interface; the property and method prompting module 12, After obtaining the confirmation identifier in the script editing area, checking whether the content of the script before the confirmation identifier is an object that can be automatically prompted, and if so, obtaining the attribute and method of the object from the attribute and method query module 11, and acquiring the The attributes and methods related to the prompt object are displayed for selection by a prompt box formed in the script editing interface; the attribute and method adding module 13 is configured to select the prompt object selected in the prompt box The properties and methods are attached to the prompt object.
  • FIG. 16, FIG. 17, and FIG. 18 respectively showing the second, third, and fourth implementations of the WEB client 1, and the second, third, and fourth implementations of the WEB client 1 respectively and the embodiment shown in FIG. 11, FIG.
  • the WEB client 1 in the embodiment shown in the embodiment shown in FIG. 14 is the same and will not be described again.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)
  • Document Processing Apparatus (AREA)

Description

基于 WEB的脚本语言编辑方法、 系统和 WEB客户端
技术领域
本发明涉及通信技术, 具体涉及一种基于 WEB 的脚本语言编辑方法、 系统和 WEB客户端。 背景技术 随着电信服务业务的发展, 需要通过 WEB管理端实现更加灵活的数据和流程控 制能力,脚本语言丰富的表达可以实现这一目的,具体可在业务端实现脚本运行引擎, 在管理端对脚本进行编辑管理。
在 BMP系统中, 普遍采用自定义表达式编辑脚本, 自定义表达式的格式是固定 设置,表示形式单一,只能进行大小比较等简单的逻辑运算,不支持函数和流程控制。 发明内容
本发明实施例通过提供一种基于 WEB的脚本语言编辑方法、 系统和装置, 解决 现有技术中脚本语言只能进行大小比较等简单的逻辑运算,不支持函数和流程控制的 问题。 为解决上述技术问题, 本发明实施例提供以下技术方案:
根据本发明的一方面, 提出了一种基于 WEB的脚本语言编辑方法, 其包括: 向 服务器查询当前脚本使用场景下的可用对象,及所述可用对象的属性和方法; 根据所 查询到的所述当前脚本使用场景下的可用对象及可用对象的属性和方法生成脚本编 辑界面, 并在所述的编辑界面内显示由输入装置输入的脚本内容; 获取所述编辑内容 的确认标识, 并检查所述确认标识前的脚本内容是否为可以自动提示的提示对象,若 是, 从所述的可用对象的属性和方法中获取与所述提示对象相关的属性和方法, 并将 所述获取的与所述提示对象相关的属性和方法通过一形成在所述脚本编辑界面内的 提示框显示以供选择;将在所述提示框内所选择的提示对象的属性和方法附加到所述 提示对象后。
根据本发明的另一方面, 提出了一种基于 WEB 的脚本语言编辑系统, 其包括 WEB客户端和 WEB服务器, 所述 WEB服务器包括存储模块: 所述 WEB客户端包 括显示模块、 属性和方法查询模块、 属性和方法提示模块、 及属性和方法附加模块: 所述存储模块,用于存储各种脚本使用场景下的可用对象,及所述可用对象的属性和 方法; 所述属性和方法查询模块, 用于向 WEB服务器的存储模块查询当前脚本使用 场景下的可用对象, 及所述可用对象的属性和方法; 所述显示模块, 用于根据所查询 到的所述当前脚本使用场景下的可用对象及可用对象的属性和方法生成脚本编辑界 面, 以及在所述的编辑界面内显示由输入装置输入的脚本内容; 所述属性和方法提示 模块,用于获取所述编辑内容的确认标识, 并检查所述确认标识前的脚本内容是否为 可以自动提示的提示对象,若是, 从所述的可用对象的属性和方法中获取与所述提示 对象相关的属性和方法,并将所述获取的与所述提示对象相关的属性和方法通过一形 成在所述脚本编辑界面内的提示框显示以供选择; 所述属性和方法附加模块,用于将 在所述提示框内所选择的提示对象的属性和方法附加到所述提示对象后。
根据本发明的另一方面, 提出了一种 WEB客户端, 所述 WEB客户端包括显示 模块、 属性和方法查询模块、 属性和方法提示模块、 及属性和方法附加模块: 所述属 性和方法查询模块, 用于向 WEB服务器的存储模块查询当前脚本使用场景下的可用 对象, 及所述可用对象的属性和方法; 所述显示模块, 用于根据所查询到的所述当前 脚本使用场景下的可用对象及可用对象的属性和方法生成脚本编辑界面,以及在所述 的编辑界面内显示由输入装置输入的脚本内容; 所述属性和方法提示模块,用于获取 所述编辑内容的确认标识,并检查所述确认标识前的脚本内容是否为可以自动提示的 提示对象,若是, 从所述的可用对象的属性和方法中获取与所述提示对象相关的属性 和方法,并将所述获取的与所述提示对象相关的属性和方法通过一形成在所述脚本编 辑界面内的提示框显示以供选择; 所述属性和方法附加模块,用于将在所述提示框内 所选择的提示对象的属性和方法附加到所述提示对象后。
由上可见, 在本发明实施例的实现方式中, 提供在线脚本 IDE 功能, 有力支持 系统的开发性和扩展性,可灵活控制复杂场景,根据脚本的使用场景动态提示可用对 象的属性和方法, 自动将选中的属性和方法添加到编辑的脚本对象中, 使脚本语言支 持函数和流程控制, 并提高用户编辑时的便利性。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现 有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅 是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前 提下, 还可以根据这些附图获得其他的附图。
图 1为本发明基于 WEB的脚本语言编辑方法第一实施例流程图;
图 2为图 1所示方法的一应用示意图;
图 3为本发明基于 WEB的脚本语言编辑方法第二实施例流程图;
图 4为图 3所示方法的一应用示意图;
图 5为本发明基于 WEB的脚本语言编辑方法第三实施例流程图;
图 6为图 5所示方法的一应用示意图;
图 7为本发明基于 WEB的脚本语言编辑方法第四实施例流程图;
图 8为图 7所示方法的一应用示意图;
图 9为本发明基于 WEB的脚本语言编辑方法第五实施例流程图;
图 10为本发明基于 WEB的脚本语言编辑系统第一实施例示意图;
图 11为本发明基于 WEB的脚本语言编辑系统第二实施例示意图;
图 12为本发明基于 WEB的脚本语言编辑系统第三实施例示意图;
图 13为本发明基于 WEB的脚本语言编辑系统第四实施例示意图;
图 14为本发明基于 WEB的脚本语言编辑系统第五实施例示意图;
图 15为本发明 WEB客户端第一实施例示意图;
图 16为本发明 WEB客户端第二实施例示意图;
图 17为本发明 WEB客户端第三实施例示意图;
图 18为本发明 WEB客户端第四实施例示意图。 具体实施方式 下面对基于 WEB的脚本语言编辑方法、 系统和装置进行详细说明。
本发明实施例基于 WEB的脚本语言编辑基于 B/S (浏览器 /服务器) 架构, 通过 基于浏览器的富客户端, 为用户提供基于 Web的脚本管理能力。
基于 WEB的脚本语言编辑方法第一实施例, 见图 1。
步骤 11、 向服务器查询当前脚本使用场景下的可用对象, 及所述可用对象的属 性和方法。
根据脚本使用场景, WEB客户端向 WEB服务器查询当前脚本使用场景下的可 用对象, 以及可用对象的属性和方法, 进行暂存。 其中, 在 WEB服务器中储存了各 种脚本使用场景下的可用对象, 及所述可用对象的属性和方法。 在本发明实施例中, 可用对象指的是在系统中预先定义的可以被当前场景的脚本使用的对象。在脚本中可 以获取可用对象的属性值, 以及调用可用对象的方法进行操作。可用对象和系统功能 紧密相关, 体现了系统对外提供的功能。可用对象的方法指的是可用对象对用户提供 的方法接口, 通过方法, 可以对对象进行操作。
步骤 12、 根据所查询到的所述当前脚本使用场景下的可用对象及可用对象的属 性和方法生成脚本编辑界面, 并在所述的编辑界面内显示由输入装置输入的脚本内 容。
步骤 13、 获取所述编辑内容的确认标识, 并检查所述确认标识前的脚本内容是 否为可以自动提示的提示对象,若是, 从所述的可用对象的属性和方法中获取与所述 提示对象相关的属性和方法,并将所述获取的与所述提示对象相关的属性和方法通过 一形成在所述脚本编辑界面内的提示框显示以供选择; 如否, 等待获取下一个确认标 识。
在本发明实施例中, 确认标识为对象与对象属性或方法之间的分隔符号。如脚本 为 Python脚本, 确认标识为点号。 当 WEB客户端检测到输入确认标识时, 执行上述 步骤 13。 见图 2, 在自动提示框 201中显示对象的属性和方法, 供用户选择。
如果对象的属性和方法很多, 自动提示框不便显示, 该实施例在脚本内容中获取 继续输入的字符串, 可以对提示框中的方法名过滤, 减少选项。
该实施例还可获取在所述脚本编辑界面内继续输入脚本内容中的字符串,利用该 字符串过滤所述提示框中所显示的属性和方法,减少自动提示框中显示属性和方法的 条数, 方便用户查看。
步骤 14、 将在所述提示框内所选择的提示对象的属性和方法附加到所述提示对 象后。
用户可通过使用键盘的上下键在自动提示框选择所需的属性和方法,按 Tab键或 Enter键完成选择。完成选择后隐藏自动提示框, 将选中的方法或属性附加到对象后, 完成自动输入。
该实施例根据脚本的使用场景动态提示可用对象的属性和方法,并将自动选中的 属性和方法添加到编辑的脚本对象中,提高用户编辑时的便利性,减少用户的记忆负 担。
基于 WEB的脚本语言编辑方法第二实施例, 见图 3。
该实施例是图 1所示第一实施例的补充方法, 在具体应用中, 可以与图 1所示第 一实施例同步进行。
步骤 31、 获取编辑界面内的脚本内容。 步骤 32、 解析脚本内容, 并获取所述脚本内容中的关键字、 字符串和注释。 如 果脚本语言为 Python脚本, 关键字包括但不限于 "de , "if, "elif, "else", "and", "or", "not", "pass", "True", "False", "None", "return", "is"。 通过在脚本内容中查询上述词 语, 获得关键字。 Python脚本中, 字符串一般使用单引号或双引号标引。可以提取单 引号或双引号标记的脚本内容, 得到字符串。 Python脚本中, 注释一般以 #号开始, 并且单独占用一行。 在脚本内容中提取以 #号开始到行结束的部分, 得到脚本中的注 释。
步骤 33、 将获取的所述脚本内容中的关键字、 字符串和注释赋予可识别的视觉 特征。 其中, 所述的视觉特征包括颜色、 亮度、 字体大小、 或者颜色、 亮度及字体大 小中任意两者或三者的组合。 见图 4, 使用蓝色标注关键字, 使用紫色标注字符串, 使用绿色标注注释。
通过语法着色, 可以快速区分不同的代码标记的类型, 让用户更容易掌握编辑内 容。 该实施例还可在脚本编辑区对关键字、 字符串和注释实时亮度显示, 以更醒目的 方式提示用户。
基于 WEB的脚本语言编辑方法第三实施例, 见图 5。 该实施例是图 1所示第一 实施例的补充方法, 在具体应用中, 可以与图 1所示第一实施例、 图 3所示第二实施 例同步进行。
步骤 51、 判断所输入的所述脚本内容是否换行, 若是, 对输入的脚本内容增加 一个层次的缩进; 若否, 使输入的脚本内容上一行的脚本内容的缩进一致。
步骤 52、 换行后, 插入缩进所需的空格, 移动光标到缩进后位置。
如脚本语言为 Python脚本, 见图 6, 在换行时判断上一行是否以冒号 ":"结尾, 是, 表示在 if分支或函数定义代码块中, 需要增加一个层次的缩进; 不是, 表示和上 一行代码在同一层次,和上一行的缩进一致。 Python脚本需要使用缩进来划分代码块, 通过换行自动缩进,可以减少用户在缩进上出错的几率,提高用户编辑脚本时的体验。
基于 WEB的脚本语言编辑方法第四实施例, 见图 7。 该实施例是图 1所示第一 实施例的补充方法, 在具体应用中, 可以与图 1所示第一实施例、 图 3所示第二实施 例、 图 5所示第三实施例同步进行。
步骤 71、 查验脚本内容是否符合语法, 如不符合, 返回错误类型、 错误提示信 息和 /或错误位置信息, 并在脚本编辑区用红色底色高亮提示错误位置。 见图 8。
步骤 72、 依据使用场景不同, 查验脚本内容的业务特性是否满足相应的业务规 贝 U, 如否, 返回错误类型、 错误提示信息和 /或错误位置信息, 并在脚本编辑区用红 色底色高亮提示错误位置; 如符合, 提示脚本内容符合业务特性, 进行保存。
如果脚本语言是 Python脚本, 错误类型与 Python标准保持一致。 用户编辑好脚 本后, 点击键盘上的 Check或 Save按钮, 进行语法检查。 使用 Ajax方式, 将 WEB 客户端的脚本内容、使用场景等信息发送到 WEB服务器端进行校验。需要指出的是, 语法检查可以是在脚本全部编辑完成之后进行, 也可以在编辑过程中实时进行,这都 包含在本发明实施例的公开内容中。
用户编写脚本代码难免会产生错误,语法检查可以避免脚本代码错误对系统的影 响, 提高系统运行的安全性。
基于 WEB的脚本语言编辑方法第五实施例, 见图 9。 该实施例是图 1所示第一 实施例的补充方法, 在具体应用中, 可以与图 1所示第一实施例、 图 3所示第二实施 例、 图 5所示第三实施例、 图 7所示第四实施例同步进行。
步骤 91、 复制已有的脚本内容到脚本编辑器中;
步骤 92、在复制的脚本内容中过滤 DOM节点、 图片等额外数据, 提取纯文本内 容,粘贴为新的脚本内容。粘贴后按图 2所示实施例步骤对新的脚本内容进行语法着 色。
对于脚本内容的复制, 可以是在脚本编辑过程的任何需要的时候进行, 例如可以 是在输入代码块期间进行, 也可以是完成了完整代码块的输入之后进行, 等等。本发 明实施例对此没有限制。
用户可以从已有脚本复制内容到脚本编辑器中, 通过修改创建新的脚本, 减少脚 本编辑工作量。
本发明实施例提供的在线脚本 IDE功能, 有力地支持了系统的开发性和扩展性。 可以支撑复杂的流量和 QOS控制等多种用户要求进行灵活和复杂控制的场景。 提高 系统的定制化能力, 有很多客户需求可以通过脚本定制完成, 减少系统版本需求。
本发明实施例可以用于 Web系统的多种场景。 例如, 和后台业务引擎配合, 提 高系统的开放性和扩展性; 对系统脚本进行修改, 通过 Web完成系统的功能更新; 实现在线调试和执行功能, 完成业务功能的测试验证和执行。
本发明实施例还提供一种基于 WEB的脚本语言编辑系统。
基于 WEB的脚本语言编辑系统第一实施例, 见图 10。该实施例与图 1所示脚本 语言编辑方法第一实施例相对应。
脚本语言编辑系统包括 WEB客户端 1和 WEB服务器 2, WEB服务器 2包括存 储模块 21 : WEB客户端 1包括显示模块 10、 属性和方法查询模块 11、 属性和方法 提示模块 12、 及属性和方法附加模块 13。
属性和方法查询模块 11,用于向 WEB服务器的存储模块查询当前脚本使用场景 下的可用对象, 及所述可用对象的属性和方法; 显示模块 10, 用于根据所查询到的 所述当前脚本使用场景下的可用对象及可用对象的属性和方法生成脚本编辑界面,以 及在所述的编辑界面内显示由输入装置输入的脚本内容; 属性和方法提示模块 12, 用于在脚本编辑区获取到确认标识后,检查确认标识前的脚本内容是否为可以自动提 示的对象, 如是, 从属性和方法查询模块 11中获取该对象的属性和方法, 并将所述 获取的与所述提示对象相关的属性和方法通过一形成在所述脚本编辑界面内的提示 框显示以供选择; 属性和方法附加模块 13, 用于将在所述提示框内所选择的提示对 象的属性和方法附加到所述提示对象后。
基于 WEB的脚本语言编辑系统第二实施例, 见图 11。该实施例与图 3所示脚本 语言编辑方法第二实施例相对应。
脚本语言编辑系统包括 WEB客户端 1和 WEB服务器 2, WEB服务器 2包括 存储模块 21 : WEB客户端 1包括显示模块 10、 属性和方法查询模块 11、 属性和方 法提示模块 12、 属性和方法附加模块 13、 脚本内容获取模块 14、 脚本内容解析模块 15和视觉特征赋予模块 16。
脚本内容获取模块 14, 用于获取所述的编辑界面内的脚本内容; 脚本内容解析 模块 15, 用于解析所述脚本内容, 并获取所述脚本内容中的关键字、 字符串和注释; 视觉特征赋予模块 16, 用于将获取的所述脚本内容中的关键字、 字符串和注释赋予 可识别的视觉特征。
WEB客户端 1和 WEB服务器 2包含的其他模块与图 10所示实施例相同, 不再 赘述。
基于 WEB的脚本语言编辑系统第三实施例, 见图 12。该实施例与图 5所示脚本 语言编辑方法第三实施例相对应。
脚本语言编辑系统包括 WEB客户端 1和 WEB服务器 2, WEB服务器 2包括存 储模块 21 : WEB客户端 1包括显示模块 10、 属性和方法查询模块 11、 属性和方法 提示模块 12、 属性和方法附加模块 13及换行缩进模块 17。
换行缩进模块 17, 用于判断所输入的所述脚本内容是否换行, 若是, 对输入的 脚本内容增加一个层次的缩进; 若否, 使输入的脚本内容上一行的脚本内容的缩进一 致; 换行后, 插入缩进所需的空格, 移动光标到缩进后位置。
WEB客户端 1和 WEB服务器 2包含的其他模块与图 10所示实施例相同, 不再 赘述。
基于 WEB的脚本语言编辑系统第四实施例, 见图 13。该实施例与图 7所示脚本 语言编辑方法第四实施例相对应。
脚本语言编辑系统包括 WEB客户端 1和 WEB服务器 2, WEB服务器 2包括 存储模块 21 : WEB客户端 1包括显示模块 10、 属性和方法查询模块 11、 属性和方 法提示模块 12、 属性和方法附加模块 13及语法查验模块 18。
语法查验模块 18, 用于查验脚本内容是否符合语法, 如不符合, 返回错误类型、 错误提示信息和 /或错误位置信息; 依据使用场景不同, 查验脚本内容的业务特性是 否满足相应的业务规则, 如否, 返回错误类型、 错误提示信息和 /或错误位置信息, 并在脚本编辑区用红色底色高亮提示错误位置;如符合,提示脚本内容符合业务特性, 进行保存。
WEB客户端 1和 WEB服务器 2包含的其他模块与图 10所示实施例相同, 不再 赘述。
基于 WEB的脚本语言编辑系统第五实施例, 见图 14。该实施例与图 9所示脚本 语言编辑方法第五实施例相对应。
脚本语言编辑系统包括 WEB客户端 1和 WEB服务器 2, WEB服务器 2包括存 储模块 21 : WEB客户端 1包括显示模块 10、 属性和方法查询模块 11、 属性和方法 提示模块 12、 属性和方法附加模块 13及复制粘贴模块 19。
复制粘贴模块 19, 用于复制已有的脚本内容, 在复制的脚本内容中提取纯文本 内容, 粘贴为新的脚本内容。
本领域技术人员应知, 上述各实施例中的所涉及的各功能模块可组成一个实施 例。
本发明实施例还提供一种 WEB客户端。
WEB客户端第一实施例。 见图 15。 该实施例与图 1所示脚本语言编辑方法第一 实施例、 图 10所示基于 WEB的脚本语言编辑系统第一实施例相对应。
WEB客户端 1包括显示模块 10、属性和方法查询模块 11、属性和方法提示模块 12及属性和方法附加模块 13。
属性和方法查询模块 11,用于向 WEB服务器的存储模块查询当前脚本使用场景 下的可用对象, 及所述可用对象的属性和方法; 显示模块 10, 用于根据所查询到的 所述当前脚本使用场景下的可用对象及可用对象的属性和方法生成脚本编辑界面,以 及在所述的编辑界面内显示由输入装置输入的脚本内容; 属性和方法提示模块 12, 用于在脚本编辑区获取到确认标识后,检查确认标识前的脚本内容是否为可以自动提 示的对象, 如是, 从属性和方法查询模块 11中获取该对象的属性和方法, 并将所述 获取的与所述提示对象相关的属性和方法通过一形成在所述脚本编辑界面内的提示 框显示以供选择; 属性和方法附加模块 13, 用于将在所述提示框内所选择的提示对 象的属性和方法附加到所述提示对象后。
见图 16、 图 17和图 18分别示出 WEB客户端 1第二、 第三、 第四实施, WEB 客户端 1第二、 第三、 第四实施分别与图 11所示实施例、 图 12所示实施例、 图 14 所示实施例中的 WEB客户端 1相同, 不再赘述。
本领域技术人员应该理解,本发明实施例中装置模块的划分为功能划分, 实际具 体结构可以为上述功能模块的拆分或合并。
上述本发明实施例序号仅仅为了描述, 不代表实施例的优劣。
权利要求的内容记载的方案也是本发明实施例的保护范围。
本领域普通技术人员可以理解上述实施例方法中的全部或部分处理是可以通过 程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储介质中。
以上所述仅为本发明的较佳实施例而已, 并非用于限定本发明的保护范围。凡在 本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明 的保护范围之内。

Claims

权 利 要 求
1、 一种基于 WEB的脚本语言编辑方法, 其特征在于, 包括:
向服务器查询当前脚本使用场景下的可用对象,及所述可用对象的属性和方 法;
根据所查询到的所述当前脚本使用场景下的可用对象及可用对象的属性和 方法生成脚本编辑界面, 并在所述的编辑界面内显示由输入装置输入的脚本内 容;
获取所述编辑内容的确认标识,并检查所述确认标识前的脚本内容是否为可 以自动提示的提示对象, 若是, 从所述的可用对象的属性和方法中获取与所述提 示对象相关的属性和方法,并将所述获取的与所述提示对象相关的属性和方法通 过一形成在所述脚本编辑界面内的提示框显示以供选择;
将在所述提示框内所选择的提示对象的属性和方法附加到所述提示对象后。
2、 如权利要求 1所述的方法, 其特征在于, 将在所述提示框内所选择的提 示对象的属性和方法附加到所述提示对象后之前还包括:
获取在所述脚本编辑界面内继续输入脚本内容中的字符串,利用该字符串过 滤所述提示框中所显示的属性和方法。
3、 如权利要求 1所述的方法, 其特征在于, 在所述的编辑界面内显示由输 入装置输入的脚本内容之后还包括:
获取所述的编辑界面内的脚本内容;
解析所述脚本内容, 并获取所述脚本内容中的关键字、 字符串和注释; 将获取的所述脚本内容中的关键字、 字符串和注释赋予可识别的视觉特征。
4、 如权利要求 3所述的方法, 其特征在于, 所述的视觉特征包括颜色、 亮 度、 字体大小、 或者颜色、 亮度及字体大小中任意两者或三者的组合。
5、 如权利要求 1所述的方法, 其特征在于, 所述的在所述的编辑界面内显 示由输入装置输入的脚本内容还包括:
判断所输入的所述脚本内容是否换行, 若是, 对输入的脚本内容增加一个层 次的缩进; 若否, 使输入的脚本内容上一行的脚本内容的缩进一致。
6、 如权利要求 5所述的方法, 其特征在于, 所述的对输入的脚本内容增加 一个层次的缩进包括:
换行后, 插入缩进所需的空格, 移动光标到缩进后位置。
7、 如权利要求 1所述的方法, 其特征在于, 还包括: 查验脚本内容是否符合语法, 如不符合, 返回错误类型、 错误提示信息和 / 或错误位置信息。
8、 如权利要求 7所述的方法, 其特征在于, 还包括:
依据使用场景不同, 查验脚本内容的业务特性是否满足相应的业务规则, 如 否, 返回错误类型、 错误提示信息和 /或错误位置信息。
9、 如权利要求 1所述的方法, 其特征在于, 还包括:
复制已有的脚本内容;
在复制的脚本内容中提取纯文本内容, 粘贴为新的脚本内容。
10、 一种基于 WEB的脚本语言编辑系统, 其特征在于, 包括 WEB客户端 和 WEB服务器, 所述 WEB服务器包括存储模块: 所述 WEB客户端包括显示 模块、 属性和方法查询模块、 属性和方法提示模块、 及属性和方法附加模块: 所述存储模块, 用于存储各种脚本使用场景下的可用对象, 及所述可用对象 的属性和方法;
所述属性和方法查询模块, 用于向 WEB服务器的存储模块查询当前脚本使 用场景下的可用对象, 及所述可用对象的属性和方法;
所述显示模块,用于根据所查询到的所述当前脚本使用场景下的可用对象及 可用对象的属性和方法生成脚本编辑界面,以及在所述的编辑界面内显示由输入 装置输入的脚本内容;
所述属性和方法提示模块, 用于获取所述编辑内容的确认标识, 并检查所述 确认标识前的脚本内容是否为可以自动提示的提示对象, 若是, 从所述的可用对 象的属性和方法中获取与所述提示对象相关的属性和方法,并将所述获取的与所 述提示对象相关的属性和方法通过一形成在所述脚本编辑界面内的提示框显示 以供选择;
所述属性和方法附加模块,用于将在所述提示框内所选择的提示对象的属性 和方法附加到所述提示对象后。
11、 如权利要求 10所述的系统, 其特征在于, WEB客户端还包括脚本内容 获取模块、 脚本内容解析模块和视觉特征赋予模块:
所述脚本内容获取模块, 用于获取所述的编辑界面内的脚本内容; 所述脚本内容解析模块, 用于解析所述脚本内容, 并获取所述脚本内容中的 关键字、 字符串和注释;
所述视觉特征赋予模块, 用于将获取的所述脚本内容中的关键字、字符串和 注释赋予可识别的视觉特征。
12、 如权利要求 10所述的系统, 其特征在于, WEB客户端还包括换行缩进 模块, 用于判断所输入的所述脚本内容是否换行, 若是, 对输入的脚本内容增加 一个层次的缩进; 若否, 使输入的脚本内容上一行的脚本内容的缩进一致。
13、 如权利要求 10所述的系统, 其特征在于, WEB客户端还包括语法查验 模块, 用于查验脚本内容是否符合语法, 如不符合, 返回错误类型、 错误提示信 息和 /或错误位置信息。
14、 如权利要求 10所述的系统, 其特征在于, WEB客户端还包括复制粘贴 模块, 用于复制已有的脚本内容, 在复制的脚本内容中提取纯文本内容, 粘贴为 新的脚本内容。
15、 一种 WEB客户端, 其特征在于, 所述 WEB客户端包括显示模块、 属 性和方法查询模块、 属性和方法提示模块、 及属性和方法附加模块:
所述属性和方法查询模块, 用于向 WEB服务器的存储模块查询当前脚本使 用场景下的可用对象, 及所述可用对象的属性和方法;
所述显示模块,用于根据所查询到的所述当前脚本使用场景下的可用对象及 可用对象的属性和方法生成脚本编辑界面,以及在所述的编辑界面内显示由输入 装置输入的脚本内容;
所述属性和方法提示模块, 用于获取所述编辑内容的确认标识, 并检查所述 确认标识前的脚本内容是否为可以自动提示的提示对象, 若是, 从所述的可用对 象的属性和方法中获取与所述提示对象相关的属性和方法,并将所述获取的与所 述提示对象相关的属性和方法通过一形成在所述脚本编辑界面内的提示框显示 以供选择;
所述属性和方法附加模块,用于将在所述提示框内所选择的提示对象的属性 和方法附加到所述提示对象后。
16、 如权利要求 15所述的 WEB客户端, 其特征在于, WEB客户端还包括 脚本内容获取模块、 脚本内容解析模块和视觉特征赋予模块:
所述脚本内容获取模块, 用于获取所述的编辑界面内的脚本内容; 所述脚本内容解析模块, 用于解析所述脚本内容, 并获取所述脚本内容中的 关键字、 字符串和注释;
所述视觉特征赋予模块, 用于将获取的所述脚本内容中的关键字、字符串和 注释赋予可识别的视觉特征。
17、 如权利要求 15所述的 WEB客户端, 其特征在于, WEB客户端还包括 换行缩进模块, 用于判断所输入的所述脚本内容是否换行, 若是, 对输入的脚本 内容增加一个层次的缩进; 若否, 使输入的脚本内容上一行的脚本内容的缩进一 致。
18、 如权利要求 15所述的 WEB客户端, 其特征在于, WEB客户端还包括 语法查验模块, 用于查验脚本内容是否符合语法, 如不符合, 返回错误类型、 错 误提示信息和 /或错误位置信息。
19、 如权利要求 15所述的 WEB客户端, 其特征在于, WEB客户端还包括 复制粘贴模块,用于复制已有的脚本内容,在复制的脚本内容中提取纯文本内容, 粘贴为新的脚本内容。
PCT/CN2011/077285 2011-07-18 2011-07-18 基于web的脚本语言编辑方法、系统和web客户端 WO2012106901A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/CN2011/077285 WO2012106901A1 (zh) 2011-07-18 2011-07-18 基于web的脚本语言编辑方法、系统和web客户端
CN201180001596.1A CN103109289B (zh) 2011-07-18 2011-07-18 基于web的脚本语言编辑方法、系统和web客户端
US13/552,424 US8839195B2 (en) 2011-07-18 2012-07-18 Method, system and terminal for locating

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/077285 WO2012106901A1 (zh) 2011-07-18 2011-07-18 基于web的脚本语言编辑方法、系统和web客户端

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/552,424 Continuation US8839195B2 (en) 2011-07-18 2012-07-18 Method, system and terminal for locating

Publications (1)

Publication Number Publication Date
WO2012106901A1 true WO2012106901A1 (zh) 2012-08-16

Family

ID=46638128

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/077285 WO2012106901A1 (zh) 2011-07-18 2011-07-18 基于web的脚本语言编辑方法、系统和web客户端

Country Status (3)

Country Link
US (1) US8839195B2 (zh)
CN (1) CN103109289B (zh)
WO (1) WO2012106901A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112882408A (zh) * 2020-12-31 2021-06-01 深圳市雷赛控制技术有限公司 St文本语言的在线编辑方法及编辑装置

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105320603B (zh) * 2015-12-04 2018-04-06 上海斐讯数据通信技术有限公司 浏览器页面元素的定位系统和方法及其自动化测试方法
US10891437B2 (en) * 2018-10-19 2021-01-12 International Business Machines Corporation Script modification
CN110286894B (zh) * 2019-05-09 2023-07-04 华自科技股份有限公司 脚本生成方法、装置、计算机设备和存储介质
CN111428430B (zh) * 2020-03-24 2023-11-03 广州视源电子科技股份有限公司 电路设计中的电路器件信息获取方法、装置、设备及介质
CN117193739A (zh) * 2023-11-03 2023-12-08 建信金融科技有限责任公司 一种脚本编辑方法和装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6668368B1 (en) * 1999-09-29 2003-12-23 Lucent Technologies Inc. Variable-extracting command line generator
CN101484894A (zh) * 2006-07-07 2009-07-15 国际商业机器公司 继承维基页面的维基页面布局的方法
CN101887375A (zh) * 2010-06-30 2010-11-17 中兴通讯股份有限公司 一种人机命令系统的实现方法及其系统
US7908550B1 (en) * 2000-12-12 2011-03-15 Oracle International Corporation Dynamic tree control system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6714219B2 (en) * 1998-12-31 2004-03-30 Microsoft Corporation Drag and drop creation and editing of a page incorporating scripts

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6668368B1 (en) * 1999-09-29 2003-12-23 Lucent Technologies Inc. Variable-extracting command line generator
US7908550B1 (en) * 2000-12-12 2011-03-15 Oracle International Corporation Dynamic tree control system
CN101484894A (zh) * 2006-07-07 2009-07-15 国际商业机器公司 继承维基页面的维基页面布局的方法
CN101887375A (zh) * 2010-06-30 2010-11-17 中兴通讯股份有限公司 一种人机命令系统的实现方法及其系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112882408A (zh) * 2020-12-31 2021-06-01 深圳市雷赛控制技术有限公司 St文本语言的在线编辑方法及编辑装置

Also Published As

Publication number Publication date
CN103109289B (zh) 2016-03-09
US20130024838A1 (en) 2013-01-24
US8839195B2 (en) 2014-09-16
CN103109289A (zh) 2013-05-15

Similar Documents

Publication Publication Date Title
CN110442822B (zh) 一种小程序内容展示方法、装置、设备及存储介质
WO2012106901A1 (zh) 基于web的脚本语言编辑方法、系统和web客户端
CN109460279A (zh) 基于小程序的表单页面开发方法、装置、设备及存储介质
US7849439B2 (en) Application-generic sequence diagram generator driven by a non-proprietary language
US11960879B2 (en) Code conflict resolution system and method, apparatus, device, and medium
CN107273122A (zh) 基于解耦机制的可迭代组建业务系统的方法及其终端
US20060085178A1 (en) Apparatus and method for modeling and analyzing network simulation for network simulation package
CN108762743A (zh) 一种数据表操作代码生成方法及装置
US20190026707A1 (en) Method of detecting transaction system error, device, storage medium, and computer equipment
WO2020206905A1 (zh) 代码段保护方法、装置、计算机设备和存储介质
CN102023869A (zh) 一种控件输入值校验方法及系统
CN111338637A (zh) 一种代码生成方法及装置
US20190050376A1 (en) Automatic value formatting based on intrinsic structural semantics
CN114036425A (zh) 页面访问方法、客户端、服务端及系统
CN111324390A (zh) 实现app内容可配置和实时更新的装置及方法
CN113821565A (zh) 一种多数据源同步数据的方法
WO2021017458A1 (zh) 图像识别的辅助处理方法、装置及系统
CN110888634B (zh) 游戏落地页生成方法、装置、计算机设备和存储介质
CN106582013B (zh) 游戏服务系统、用于向在线的游戏更新数据的方法和装置
CN104378362B (zh) 用于进行报文接口转换的方法及装置
WO2019052143A1 (zh) Jsx文件生成方法、装置、存储介质和计算机设备
CN102882737B (zh) 一种基于xml脚本的tl1命令自动化测试方法
US20210004524A1 (en) Catalog file creation assistance device, catalog file creation assistance method, and catalog file creation assistance program
WO2023077932A1 (zh) 一种自动注册楼层化代码方法及装置、存储介质
JP2001344230A (ja) マルチメディア文書生成装置及び方法、及びこれらをコンピュータに実行させるプログラムを記録した記録媒体

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180001596.1

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11858016

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11858016

Country of ref document: EP

Kind code of ref document: A1