Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Script sustainable operation method and system

A continuous running and scripting technology, applied in the field of methods and systems, can solve the problems of long single execution time of scripts, failure to achieve second-level response, and high maintenance costs, so as to avoid resource contention, avoid memory leaks, and reduce maintenance costs Effect

Active Publication Date: 2015-06-24
NANJING TUNIU TECHNOLOGY CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing timing script execution method has many problems such as the single execution time of the script is too long, the second-level response cannot be achieved, manual intervention is required, and the maintenance cost is high.

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 sustainable operation method and system
  • Script sustainable operation method and system
  • Script sustainable operation method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The technical solutions provided by the present invention will be described in detail below in conjunction with specific examples. It should be understood that the following specific embodiments are only used to illustrate the present invention and are not intended to limit the scope of the present invention.

[0032] The present invention provides a script sustainable operation method and a corresponding system, which can realize the circular continuous operation of the script, and overcome various defects in the prior art. The PHP script will be used as an example to describe in detail below. The running system mainly includes the following four modules: timing launcher, configuration module, concurrency control module, and execution time control module. The timing launcher is used to start scripts at regular intervals, the configuration module is used to configure related parameters, and the concurrency control module is used to create and delete locks. file, and prev...

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 sustainable operation method and an operation system capable of achieving the script sustainable operation method. The script sustainable operation method comprises the steps of starting a script in a timing mode; loading configuration; checking concurrency conditions; executing service logic within permissive time in a looping mode. The script sustainable operation system comprises a timing starter, a configuration module, a concurrency control module and an execution time control module. The concurrency of the script is avoided, the execution time is short, the second level response can be achieved, and the maintenance cost is reduced. According to the script sustainable operation method and system, the periodic repetitive operation of the script can be achieved, the script can be restarted and ended automatically at regular intervals, therefore, the dynamic deployment of codes can be achieved, manual intervention is not needed, and the maintenance cost is reduced; the execution time of the script can be managed precisely, the time precision is high, and response can reach the level under the second level.

Description

technical field [0001] The invention belongs to the technical field of software, and in particular relates to a method and a system for continuously running web page scripts. Background technique [0002] Scripting language is a computer programming language created to shorten the traditional process of compiling-compiling-linking-running. It is applied to all levels of computer systems, especially in the field of web page development. At present, network applications are becoming more and more abundant, and the use and visual effects of web pages cannot be separated from embedded scripts in web pages. Common scripting languages ​​include JavaScript, ASP, PHP, python, perl, ruby, etc. [0003] Taking the PHP language as an example, in the website architecture, a script program is usually written in PHP and then run in the background at regular intervals, commonly known as scheduled scripts and scheduled tasks. Timing tasks are often used to perform regular tasks, such ...

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
IPC IPC(8): G06F9/48
Inventor 梅存兵
Owner NANJING TUNIU TECHNOLOGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products