CN111443987A - Image video script processing system and method based on web system - Google Patents

Image video script processing system and method based on web system Download PDF

Info

Publication number
CN111443987A
CN111443987A CN202010102464.9A CN202010102464A CN111443987A CN 111443987 A CN111443987 A CN 111443987A CN 202010102464 A CN202010102464 A CN 202010102464A CN 111443987 A CN111443987 A CN 111443987A
Authority
CN
China
Prior art keywords
script
video
processing
subsystem
file
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
CN202010102464.9A
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 Digital Precision Medicine Technology Co ltd
Original Assignee
Beijing Digital Precision Medicine Technology 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 Digital Precision Medicine Technology Co ltd filed Critical Beijing Digital Precision Medicine Technology Co ltd
Priority to CN202010102464.9A priority Critical patent/CN111443987A/en
Publication of CN111443987A publication Critical patent/CN111443987A/en
Pending legal-status Critical Current

Links

Images

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
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/164File meta data generation
    • G06F16/166File name conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/71Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/94Hardware or software architectures specially adapted for image or video understanding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/46Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Computational Linguistics (AREA)
  • Library & Information Science (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an image video script processing system and method based on a web system, which comprises a video processing instruction set, a file storage management subsystem, a script analysis subsystem and a script test and interaction subsystem, wherein the video processing instruction set is a group of general video image processing programs with fault-tolerant function; the file storage management subsystem is a program for automatically backing up a file to be processed, recording branches and increasing, deleting, modifying and checking the file according to the authority; the script analysis subsystem is used for analyzing a script submitted by a user, analyzing a script instruction and a flow and submitting the script instruction and the flow to a system for processing by combining a video processing instruction set; the script testing and interaction subsystem provides an interaction function of extracting key frames to perform script testing for a user to verify and submit a script processing result and a script running state. The invention changes the downloading, processing and uploading modes of the traditional image video memory, scribes the processing process, and the script file is smaller than the image video file, thereby reducing the bandwidth pressure.

Description

Image video script processing system and method based on web system
Technical Field
The invention relates to the field of image processing, in particular to an image video script processing system and method based on a web system.
Background
With the improvement of the performance of image acquisition sensors (CCD, CMOS), the image video quality is greatly improved, and meanwhile, the pressure of image video storage, transmission and processing is brought. In image video storage, transmission and processing applications, a large amount of storage, bandwidth and computing resources are consumed. From the perspective of transmission efficiency, it is not economical to frequently transmit image video data, and generally speaking, the processing performance of the server is higher than that of a user computer, and meanwhile, the cloud server processor can realize flexible calculation according to requirements, and from the perspective of image processing efficiency, the processing efficiency can be greatly improved.
Therefore, the script image processing system which can be deployed on the storage server and can respond to the processing script submitted by the user according to the actual requirement and process the image video according to the script instruction is provided.
For the actual requirement of sharing processing of a large-scale video (including an image, hereinafter abbreviated as "video"), different users need different processing procedures for the same video. The traditional processing mode is not limited to providing file service, and a user downloads the video from a server, processes the data file through video or image processing software, and uploads the data file to the server for other users to use. Therefore, the bandwidth waste and the efficiency reduction are brought at the same time.
Disclosure of Invention
The invention aims to provide an image video script processing system and method based on a web system, aiming at the defects of the prior art, the appointed processing can be carried out on the appointed video image in a server by calling the service, usually, the video image processing process can be realized by a non-single step, and therefore, the system can identify script instructions, namely an instruction set.
The technical scheme provided by the invention is as follows:
the system comprises a video processing instruction set, a file storage management subsystem, a script analysis subsystem and a script testing and interaction subsystem.
The video processing instruction set is a group of general video image processing programs with fault-tolerant function;
the file storage management subsystem is a set of programs for automatically backing up files to be processed, recording branches and increasing, deleting, modifying and checking the files according to the authority;
the script analysis subsystem is used for analyzing a script submitted by a user, analyzing a script instruction and a flow and submitting the script instruction and the flow to a system for processing by combining a video processing instruction set;
the script testing and interaction subsystem can provide interaction functions of extracting key frames to perform script testing for a user to verify and submit a script processing result and the running state of the script.
Preferably, the video processing instruction set is in the form of a python file package, not limited to a particular language, for file packaging of a single function, with parameters passed through the command line.
Preferably, the file storage management subsystem is developed through python, is not limited to a specific language, serves as a service, maintains the state of the video file, waits for the execution of the script parsing subsystem instruction, and performs query, copy, rename and delete operations on the video file.
Preferably, the script parsing subsystem is the core of the system, always runs on the system, and is compatible with the medical image processing software imageJ for medical influence processing needs, but not limited to this.
Preferably, the user authentication is performed through the script testing and interaction subsystem, the script submitted by the user is analyzed, and the specific instruction name in the video processing instruction set is called according to the script flow.
Preferably, the script testing and interacting subsystem is a command line interacting system and is responsible for script testing result feedback, and the script testing provides a function of extracting specific frames from the video according to the script preprocessing, so that effect verification is achieved, and waste of server computing resources is avoided.
A method for processing image video script based on web system, said method said processing system characterized by comprising the following steps:
step one, a command line logs in a system, user authentication is carried out through a script test and interaction subsystem, and information is returned, wherein the information passes or fails;
after the user authority passes, selecting a video to be processed and a key frame, including an original video file backup, extracting and storing the key frame, editing and uploading a processing test script;
if not, returning to the first step;
processing in a script test and interaction subsystem, taking charge of script test result feedback, extracting specific frames from the video, preprocessing the specific frames according to the script, analyzing the script, performing semantic check, calling a video processing set according to script logic, and processing the video (key frame image);
for effect verification, satisfaction or dissatisfaction;
after the preprocessing is satisfied, performing video processing in a video processing instruction set;
if the result is not satisfactory, returning to the step two;
analyzing the script submitted by the user through a script analysis subsystem, submitting the analyzed script instruction and the analyzed flow to a CPU (central processing unit) for processing by combining a video processing instruction set, and then storing the processed script in a server hard disk;
step six, in the file storage management subsystem, automatically backing up the file to be processed, recording branches, and increasing, deleting, modifying and checking the file according to the authority;
and seventhly, finally obtaining the processed video image.
By adopting the technical scheme, the invention has the following beneficial effects:
1. the downloading, processing and uploading modes of the traditional image video memory are changed, the processing process is directly scripted, the script file is much smaller than the image video file, and the bandwidth pressure is reduced.
2. The script calls the service interface, only needs to provide a processing flow and parameter setting, and realizes the service providing interface, thereby being convenient for separating developers and users and ensuring the safety and performance optimization of the system.
3. The method is compatible with medical image processing software imageJ, and can be directly applied to a large number of ready-made high-quality scripts.
Drawings
FIG. 1 is a schematic structural view of the present invention;
fig. 2 and 3 are schematic flow charts of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, an image video script processing system based on a web system includes a video processing instruction set, a file storage management subsystem, a script parsing subsystem, and a script testing and interacting subsystem.
The video processing instruction set is a group of general video image processing programs with fault-tolerant function.
The file storage management subsystem is a set of programs for automatically backing up files to be processed, recording branches and increasing, deleting, modifying and checking the files according to the authority.
The script analysis subsystem is used for analyzing the script submitted by the user, analyzing the script instruction and the flow and submitting the script instruction and the flow to the system for processing by combining with the video processing instruction set.
The script test and interaction subsystem can provide an interaction function of extracting key frames to perform script test for a user to verify and submit a script processing result and the running state of the script.
In this embodiment, the video processing instruction set performs file encapsulation on a single function in a python file package form, and parameters are transmitted through a command line.
And the file storage management subsystem is developed through python and used as a service to maintain the state of the video file, wait for executing a script analysis subsystem instruction and perform query, copy, rename and delete operations on the video file.
And the script analysis subsystem is used for analyzing the script, is the core of the system and is always operated in the system. And through the script testing and interaction subsystem, user authentication is carried out, a script submitted by a user is analyzed, and a python file packet in the video processing instruction set is called according to the script flow. Meanwhile, the analysis system is compatible with medical image processing software imageJ because the system is required for medical influence processing.
The script test and interaction subsystem is a command line interaction system and is responsible for script test result feedback, and the script test provides a function of extracting specific frames of the video according to the script preprocessing for effect verification, so that the waste of server computing resources is avoided.
As shown in fig. 2 and fig. 3, in this embodiment, python is used as a development language, and a message submission processing script is distributed by using a service provided by Django, Apache, ftp.
An image video script processing method based on a web system comprises the following steps:
step one, a command line logs in a system, user authentication is carried out through a script test and interaction subsystem, and information is returned, wherein the information passes or fails;
after the user authority passes, selecting a video to be processed and a key frame, including an original video file backup, extracting and storing the key frame, editing and uploading a processing test script;
if not, returning to the first step;
processing in a script testing and interaction subsystem through Apache and ftp, feeding back a script testing result, extracting specific frames from the video, and preprocessing the specific frames according to the script, wherein the preprocessing functions comprise script analysis and semantic check, calling a video processing set according to script logic, and processing the video (key frame images);
for effect verification, satisfaction or dissatisfaction;
after the preprocessing is satisfied, performing video processing in a video processing instruction set;
if the result is not satisfactory, returning to the step two;
the video processing can package a single function in a python file package mode, and parameters are transmitted through a command line;
analyzing the script submitted by the user through a script analysis subsystem, submitting the analyzed script instruction and the analyzed flow to a CPU (central processing unit) for processing by combining a video processing instruction set, and then storing the processed script in a server hard disk;
step six, in the file storage management subsystem, automatically backing up the file to be processed, recording branches, and increasing, deleting, modifying and checking the file according to the authority;
the video file can be developed through python and used as a service, the state of the video file is maintained, a script analysis subsystem instruction is waited to be executed, the video file is inquired, copied, renamed and deleted, and then the video file is stored in a server hard disk;
and seventhly, obtaining the processed video image by the video file by means of Django.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that modifications can be made by those skilled in the art without departing from the principle of the present invention, and these modifications should be considered within the scope of the present invention.

Claims (7)

1. An image video script processing system based on a web system is characterized by comprising a video processing instruction set, a file storage management subsystem, a script analysis subsystem and a script testing and interaction subsystem;
the video processing instruction set is a group of general video image processing programs with fault-tolerant function;
the file storage management subsystem is a set of programs for automatically backing up files to be processed, recording branches and increasing, deleting, modifying and checking the files according to the authority;
the script analysis subsystem is used for analyzing a script submitted by a user, analyzing a script instruction and a flow and submitting the script instruction and the flow to a system for processing by combining a video processing instruction set;
the script testing and interaction subsystem can provide interaction functions of extracting key frames to perform script testing for a user to verify and submit a script processing result and the running state of the script.
2. A web system based image video scripting system according to claim 1, wherein said video processing instruction set may be in the form of a python file package, not limited to a specific language, that file packages a single function, with parameters passed through a command line.
3. The web-based system image video script processing system of claim 1, wherein the file storage management subsystem can be developed using python, not limited to a specific language, as a service to maintain the state of the video file, wait for the execution of the script parsing subsystem instructions, and perform query, copy, rename, and delete operations on the video file.
4. The web system based image video script processing system of claim 1, wherein the script parsing subsystem is the core of the system, always running in the system, and the parsing system is compatible with medical image processing software imageJ for medical impact processing needs, but not limited thereto.
5. The system of claim 1, wherein the script testing and interaction subsystem authenticates the user, parses the user submitted script, and invokes a specific command name in the video processing command set according to the script flow.
6. The image video script processing system based on the web system as claimed in claim 1, wherein the script testing and interacting subsystem is a command line interacting system responsible for script testing result feedback, and the script testing provides a function of preprocessing specific frames of video according to the script for effect verification, thereby avoiding wasting server computing resources.
7. A method for processing image video script based on web system, the method is based on the processing system of claims 1-6, characterized by comprising the following steps:
step one, a command line logs in a system, user authentication is carried out through a script test and interaction subsystem, and information is returned, wherein the information passes or fails;
after the user authority passes, selecting a video to be processed and a key frame, including an original video file backup, extracting and storing the key frame, editing and uploading a processing test script;
if not, returning to the first step;
processing in a script test and interaction subsystem, taking charge of script test result feedback, extracting specific frames from the video, preprocessing the specific frames according to the script, analyzing the script, performing semantic check, calling a video processing set according to script logic, and processing the video (key frame image);
for effect verification, satisfaction or dissatisfaction;
after the preprocessing is satisfied, performing video processing in a video processing instruction set;
if the result is not satisfactory, returning to the step two;
analyzing the script submitted by the user through a script analysis subsystem, submitting the analyzed script instruction and the analyzed flow to a CPU (central processing unit) for processing by combining a video processing instruction set, and then storing the processed script in a server hard disk;
step six, in the file storage management subsystem, automatically backing up the file to be processed, recording branches, and increasing, deleting, modifying and checking the file according to the authority;
and seventhly, finally obtaining the processed video image.
CN202010102464.9A 2020-02-19 2020-02-19 Image video script processing system and method based on web system Pending CN111443987A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010102464.9A CN111443987A (en) 2020-02-19 2020-02-19 Image video script processing system and method based on web system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010102464.9A CN111443987A (en) 2020-02-19 2020-02-19 Image video script processing system and method based on web system

Publications (1)

Publication Number Publication Date
CN111443987A true CN111443987A (en) 2020-07-24

Family

ID=71627102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010102464.9A Pending CN111443987A (en) 2020-02-19 2020-02-19 Image video script processing system and method based on web system

Country Status (1)

Country Link
CN (1) CN111443987A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113626642A (en) * 2021-08-11 2021-11-09 赞同科技股份有限公司 Assembling method and system of video script semantic structure and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101609427A (en) * 2009-07-15 2009-12-23 广东威创视讯科技股份有限公司 A kind of programmable network automatization of service test macro and method
CN102572518A (en) * 2012-01-13 2012-07-11 河海大学 VideoLan client (VLC)-based video image analysis platform and method
CN103902456A (en) * 2014-04-09 2014-07-02 中国工商银行股份有限公司 Test script processing device, system and method
CN105872857A (en) * 2016-04-01 2016-08-17 北京金山安全软件有限公司 Video processing method and device and electronic equipment
CN106407474A (en) * 2016-11-08 2017-02-15 上海互海信息科技有限公司 File management system and method
CN108647147A (en) * 2018-05-15 2018-10-12 南京璇玑信息技术有限公司 It is a kind of to execute automatic test machine people and its application method using atlas analysis
CN110798373A (en) * 2019-09-20 2020-02-14 苏州浪潮智能科技有限公司 Method for realizing performance test, test server and computer storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101609427A (en) * 2009-07-15 2009-12-23 广东威创视讯科技股份有限公司 A kind of programmable network automatization of service test macro and method
CN102572518A (en) * 2012-01-13 2012-07-11 河海大学 VideoLan client (VLC)-based video image analysis platform and method
CN103902456A (en) * 2014-04-09 2014-07-02 中国工商银行股份有限公司 Test script processing device, system and method
CN105872857A (en) * 2016-04-01 2016-08-17 北京金山安全软件有限公司 Video processing method and device and electronic equipment
CN106407474A (en) * 2016-11-08 2017-02-15 上海互海信息科技有限公司 File management system and method
CN108647147A (en) * 2018-05-15 2018-10-12 南京璇玑信息技术有限公司 It is a kind of to execute automatic test machine people and its application method using atlas analysis
CN110798373A (en) * 2019-09-20 2020-02-14 苏州浪潮智能科技有限公司 Method for realizing performance test, test server and computer storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张恩海等: "移动终端应用层软件自动化测试***设计与实现", 《科技资讯》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113626642A (en) * 2021-08-11 2021-11-09 赞同科技股份有限公司 Assembling method and system of video script semantic structure and electronic device
CN113626642B (en) * 2021-08-11 2023-08-25 赞同科技股份有限公司 Method, system and electronic device for assembling video script semantic structure

Similar Documents

Publication Publication Date Title
CN107105009B (en) Job scheduling method and device for butting workflow engine based on Kubernetes system
CN105164644B (en) Hook frame
US6654699B2 (en) Computer network testing system and method using client playback of edited network information
US20190303274A1 (en) Systems and methods for monitoring performance of applications
US9367415B1 (en) System for testing markup language applications on a device
US11726800B2 (en) Remote component loader
US7130881B2 (en) Remote execution model for distributed application launch and control
WO2018036342A1 (en) Csar-based template design visualization method and device
AU2020342392B2 (en) Techniques for interfacing between media processing workflows and serverless functions
CN111930489B (en) Task scheduling method, device, equipment and storage medium
CN112953983A (en) SFTP transmission method and device
CN103139281B (en) Personal printing system and control method thereof
CN111443987A (en) Image video script processing system and method based on web system
CN109766317B (en) File deletion method, device, equipment and storage medium
US8938522B2 (en) Tiered XML services in a content management system
US11037297B2 (en) Image analysis method and device
CN111245917B (en) Katalon-based work order entry device and implementation method thereof
CN111367805B (en) Development and debugging method and device
CN112925559A (en) Resource packaging method, device, medium and electronic equipment
CN113590564B (en) Data storage method, device, electronic equipment and storage medium
CN114706786A (en) Application program testing method, device, equipment and medium of mobile terminal
CN114090242A (en) Model training method, device, equipment, storage medium and program product
CN113761419A (en) Display method and device of topological information, electronic equipment and storage medium
CN112148348B (en) Task processing method, device and storage medium
CN116991607B (en) Adaptation method, system and equipment for communication between big data middle station and platform

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