Unlock instant, AI-driven research and patent intelligence for your innovation.

Script editing method and device, computer equipment and readable storage medium

A computer and scripting technology, applied in computing, software engineering design, instruments, etc., can solve problems such as the inability to support multi-script and multi-language program writing and running, and difficulty in script reuse

Active Publication Date: 2020-10-23
北京自如信息科技有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Therefore, the technical problem to be solved by the present invention is to overcome the defects that online script editing tools in the prior art cannot support the writing and operation of multi-script and multi-language programs, and script reuse is difficult, thereby providing a script editing method, device, Computer equipment and readable storage medium

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Script editing method and device, computer equipment and readable storage medium
  • Script editing method and device, computer equipment and readable storage medium
  • Script editing method and device, computer equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] This embodiment provides a script editing method, which is applied to user script editing and running, such as figure 1 As shown, the editing method of the script includes the following steps:

[0038] S11 , analyzing the script object, identifying the script language environment corresponding to the script object, and assigning a corresponding running environment to the script object.

[0039]Exemplarily, the script object can be obtained by uploading or online editing. Wherein the script object can include multiple script files, for example, multiple script files written in the Java language can be packaged as a jar package for uploading; multiple scripts written in the Python language can also be packaged as a zip package for uploading, and this application is not limited to this , those skilled in the art can determine according to actual needs. The server may scan and analyze the acquired script object, determine the script language of the script object, and assi...

Embodiment 2

[0077] This embodiment provides a script editing device, which is applied to user script editing and running, such as Figure 13 As shown, the editor means of this script include:

[0078]The identification module 21 is configured to analyze the script object, identify the script language environment corresponding to the script object, and assign the corresponding operating environment to the script object. For details, refer to the relevant description of step S11 corresponding to the above method embodiment, and details are not repeated here.

[0079] The determining module 22 is configured to determine public parameters according to input parameters of script objects. For details, refer to the relevant description of step S12 corresponding to the above method embodiment, which will not be repeated here.

[0080] The generation module 23 is used to save the script object as a script tool module according to the running environment and public parameters. For details, refer...

Embodiment 3

[0101] The embodiment of the present invention also provides a computer device, such as Figure 14 As shown, the device includes a processor 31 and a memory 32, wherein the processor 31 and the memory 32 can be connected via a bus or in other ways, Figure 14 Take connection via bus as an example.

[0102] The processor 31 may be a central processing unit (Central Processing Unit, CPU). Processor 31 can also be other general-purpose processors, digital signal processor (Digital Signal Processor, DSP), graphics processing unit (Graphics Processing Unit, GPU), embedded neural network processor (Neural-network Processing Unit, NPU) or other Dedicated deep learning coprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components and other chips, or a combination of the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a script editing method and device, computer equipment and a readable storage medium, and the script editing method comprises the steps of carrying out the analysis of a scriptobject, recognizing a script language environment corresponding to the script object, and distributing a corresponding operation environment for the script object; determining a common parameter according to the input parameter of the script object; and storing the script object as a script tool module according to the running environment and the public parameters. By implementing the invention,the operation environment does not need to be repeatedly built locally, the defects that the script object cannot support multi-language programming and the script object is difficult to reuse are overcome, repeated editing is avoided, and the development efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of system testing, in particular to a script editing method, device, computer equipment and a readable storage medium. Background technique [0002] A script is an executable file written in a certain format using a specific descriptive language. Scripts can usually be temporarily called and executed by applications. Because scripts can not only reduce the size of web pages, improve web browsing speed, but also enrich the performance of web pages, such as animation and sound, various scripts are widely used in web design. middle. For example, when clicking on the E-mail address on the web page, mail software such as Outlook Express or Foxmail can be automatically invoked, which is realized through scripts. [0003] Existing online script editing tools can only write and run simple single-script programs. For example, rookie tools and Monaco Editor cannot support the writing and running of multi-script and ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/30G06F8/36
CPCG06F8/315G06F8/36
Inventor 张蔚程紫娟王宇峰
Owner 北京自如信息科技有限公司