CN107832356A - A kind of data file system, generation and the method for showing test question files - Google Patents
A kind of data file system, generation and the method for showing test question files Download PDFInfo
- Publication number
- CN107832356A CN107832356A CN201710995335.5A CN201710995335A CN107832356A CN 107832356 A CN107832356 A CN 107832356A CN 201710995335 A CN201710995335 A CN 201710995335A CN 107832356 A CN107832356 A CN 107832356A
- Authority
- CN
- China
- Prior art keywords
- file
- data
- module
- file system
- test question
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/13—File access structures, e.g. distributed indices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses a kind of data file system, generation and the method for showing test question files.The data file system includes the following module being linked in sequence:File head module, the file head module include multiple data segment description objects, and each data segment description object comprises at least segment type field, data segment, length field;File module, the file module include the data for multiple data segments that multiple data segment description objects are respectively specified that by its respective segment type field and data segment length field.The present invention, which solves multimedia test question files, does not have the problem of institutional framework of standard, scrappy file is excessive, and multimedia resource system is difficult to manage, and efficiency of transmission is low.
Description
Technical field
The present invention relates to data processing and field of storage.More particularly it relates to a kind of data file system, generation
And the method for display test question files.
Background technology
With the rapid development of information technology and network technology, English exam is just experiencing takes an examination to nothing from traditional papery
Paper and the mode of networking change.English exam is combined with computer network so that English exam is scientific, specification
Change, be the evolutionary path of English exam.Compared to traditional examination question, multimedia examination question due to interactivity it is strong, contain much information, imitate
The features such as fruit is obvious, easy to operate, it is widely used in each English exam system and CAI software.Multimedia examination question is as English
One organic component of language examination system, it is directly perceived, specific, vivid, active due to having the advantages that, even more quickly grow.
Existing multimedia examination question mainly has 3 kinds of forms of expression:(1) presented in the form of Office documents.Such a presentation
The advantages of mode, is that it can handle the multi-medium datas such as form, figure, image, formula, it is easy to accomplish printing, realizes and passes
What unified test was tested integrates with, but the structure of Office organizing multimedia files is confidential, and can generate the form of redundancy,
This, which results in test question files, can account for more spaces, cause the wasting of resources of multimedia system.(2) presented in the form of HTML.
HTML is a kind of descriptive language, can support most of media file, such as video, audio, image at present.Compared to
Office, HTML are much light.But multimedia examination question, which is presented, in HTML is realized by accessing the path of file.Contents of test question is got over
It is abundant, it is necessary to the file resource accessed is more, had a strong impact on the efficiency of multimedia system file transmission, HTML resources render
Also more times can be spent.Once multimedia resource path changes, contents of test question be able to not will be normally presented, and be unfavorable for the later stage
Safeguard.(3) present in the form of an xml.The contents of test question information that user is inputted, according to the XML tag form appointed in advance
It is stored as an independent XML document.The document contains all description informations of examination question, help information of answering such as examination question,
Stem item information, problematic item information and answer item information etc..Every kind of form that XML examination questions can be directed to examination question generates a section
Point, as form increases, XML document can become that structure is unintelligible, and duplicate node can also become more.
By the analysis to multimedia examination question present situation, it can be found that these multimedia examination questions are primarily present in educational applications
Problems with:(1) multimedia test question files do not have the institutional framework of standard, and scrappy file is excessive, and multimedia resource system is difficult to
Management, efficiency of transmission are low.(2) multimedia examination question is not encrypted mostly in network transmission process, and security is lacked and considered,
So that the fairness of examinee's examination cannot ensure.
In order to solve the above problems, at least need to propose to be used for the new document format data for storing multimedia examination question.
The content of the invention
The purpose of the present invention is achieved through the following technical solutions.
A kind of data file system, including the following module being linked in sequence:File head module, the file head module include
Multiple data segment description objects, each data segment description object comprise at least segment type field, data segment, length field;Text
Part module, the file module include the multiple data segment description object by its respective segment type field and
The data for multiple data segments that data segment, length field is respectively specified that.
According to the data file system of the present invention, the file head module also includes file header end of identification field.
According to the data file system of the present invention, the file head module also includes data segment Total no field.
According to the data file system of the present invention, the data segment description object also includes data segment index field.
According to the data file system of the present invention, the data segment index field is used for the original text that mark data section is stored
The title of part.
According to the data file system of the present invention, the segment type field is used for the original text that mark data section is stored
The type of part.
According to the data file system of the present invention, the data segment, length field can be by the start-stop address field of data segment
Replace.
According to the data file system of the present invention, the file head module and/or the file module are by encryption
File head module and/or file module.
According to the method for the generation test question files of the present invention, comprise the following steps:
Test question information setting is carried out, is passed to encryption function;
Create for storing examination question and according to data file system described above, obtaining all resources to be written;
Multi-medium data is write in the file module of data file system, is write in the file head module of data file system
Enter multimedia file description object;
Call incoming encryption function data file encryption system;
Using encrypted data file system as test question files.
According to the method for the display test question files of the present invention, comprise the following steps:
Obtain encrypted test question files, the decipherment algorithm generated according to the method for generation test question files described above
And deciphering parameter;
Encrypted test question files are decrypted by decipherment algorithm;
Read the file header module information of decrypted test question files;
File header module information is transmitted to examination question display interface;
The file module of decrypted test question files is read according to file header module information and examination question is presented.
The advantage of the invention is that:(1) customized normal structure structure is used according to the data file system of the present invention
To store numerous original texts of the multimedia files such as the audio included including examination question text, examination question, image, video
Part.Solving multimedia test question files does not have the institutional framework of standard, and scrappy file is excessive, and multimedia resource system is difficult to pipe
Reason, the problem of efficiency of transmission is low.(2) file head module and/or file module can be encrypted, ensure that file in net
Confidentiality in network transmitting procedure so that the fairness of examinee's examination is protected.
Brief description of the drawings
By reading the detailed description of following detailed description, it is various other the advantages of and benefit it is common for this area
Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of embodiment, and is not considered as to the present invention
Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 shows the exemplary construction of the data file system according to embodiment of the present invention.
Fig. 2 shows the sample data file system according to embodiment of the present invention.
Fig. 3 shows the method that test question files are generated according to the exemplary construction of the data file system of embodiment of the present invention
Example flow diagram.
Fig. 4 shows example flow diagram of the display according to the method for the test question files of embodiment of the present invention.
Embodiment
The illustrative embodiments of the disclosure are more fully described below with reference to accompanying drawings.Although this public affairs is shown in accompanying drawing
The illustrative embodiments opened, it being understood, however, that may be realized in various forms the disclosure without the reality that should be illustrated here
The mode of applying is limited.Conversely, there is provided these embodiments are to be able to be best understood from the disclosure, and can be by this public affairs
The scope opened completely is communicated to those skilled in the art.
Fig. 1 shows the exemplary construction of the data file system according to embodiment of the present invention.
As shown in figure 1, the file head module for including being linked in sequence according to the data file system of embodiment of the present invention
(that is, file header) and file module (that is, file body).Its file head module includes multiple data segment description object (that is, Fig. 1
Shown data segment description object 1, data segment description object 2 ..., data segment description object n).Each data segment description object
Including at least segment type field, data segment, length field.Its file module passes through including multiple data segment description objects
The data for multiple data segments that its respective segment type field and data segment length field are respectively specified that are (that is, shown in Fig. 1
Data segment 1, data segment 2 ..., data segment n).N is the integer more than 1.
Alternatively, as shown in figure 1, according to the data file system of the present invention, its file head module also includes file header knot
Beam identification field.For identifying the end of file head module.
Alternatively, as shown in figure 1, according to the data file system of the present invention, it is total that its file head module also includes data segment
Digital section.For the sum of mark data segment description object (data segment), so as to position end position (of file head module
Location).
Alternatively, as shown in figure 1, according to the data file system of the present invention, its data segment description object also includes data
Segment index field.For uniquely identifying a data segment description object.
Alternatively, stored according to the data file system of the present invention, its data segment index field for mark data section
Original title.For according to original file name come the initial address of the corresponding data segment of fast positioning, so as to real
Now to the quick access of the data bin data.
Alternatively, stored according to the data file system of the present invention, its segment type field for mark data section
Original type.Consequently facilitating related application program is correctly called to show or play the original that the data segment is stored
File.For example, original type can be plain text (txt file), format text (word document, ppt files, wps files
Deng), picture (jpeg files, bmp files etc.), audio (mp3 files, wav files etc.), video (mp4 files, avi file etc.)
Deng.
Alternatively, can be by the start-stop of data segment according to the data file system of the present invention, its data segment, length field
Location field is replaced.The start-stop address of the data segment just can be directly obtained without extra address calculation operations, accelerates number
According to the speed of access.
Above-mentioned technical proposal, which solves multimedia test question files, does not have the institutional framework of standard, and scrappy file is excessive, more matchmakers
The problem of body resource system is difficult to manage, and efficiency of transmission is low.
Alternatively, according to the data file system of the present invention, its file head module and/or its file module are by adding
Close file head module and/or file module.It ensure that confidentiality of the file in network transmission process so that examinee takes an examination
Fairness be protected.
Fig. 2 shows the sample data file system according to embodiment of the present invention.
For example, the sample data file system shown in Fig. 2 can be the multimedia test question files for English exam.This shows
Example data file system includes the data of 3 originals (that is, original 1, original 2 and original 3).
Its file head module (that is, file header) includes 3 objects (corresponding to the data segment description object shown in Fig. 1):It is right
As 1, object 2 and object 3.Each object includes old file name field and (corresponds to the data segment index word shown in Fig. 1 respectively
Section), original extension file-name field (corresponds to the segment type field shown in Fig. 1, but used such as jpg files, mp3
The extension name of the more specifically original of file and mp4 files distinguishes different originals), original origing address field (OAF) and
Original termination address field (the start-stop address field for corresponding to the data segment shown in Fig. 1), for describing file module
The relevant information of the original of storage in (that is, file body).
For example, object 1 is used for the relevant information for describing original 1, " old file name is specifically included:Original 1;Original
Extension name:’jpg’;Original initial address:100;Original termination address:300”.Object 2 is used for the phase for describing original 2
Information is closed, specifically includes " old file name:Original 2;Original extension name:’mp3’;Original initial address:301;Original
Termination address:800”.Object 3 is used for the relevant information for describing original 3, specifically includes " old file name:Original 3;Original
Extension name:’mp4’;Original initial address:801;Original termination address:1600”.
Its file module includes 3 that 3 objects (corresponding to the data segment description object shown in Fig. 1) are respectively specified that
The data of original (corresponding to the data segment shown in Fig. 1).
Original shown in Fig. 2 can also be other kinds of file, and the number of original is also not necessarily limited to 3.Although
Not shown in Fig. 2, but original can also include examination question text.
The multimedia test question files that can be used for English exam as shown in Figure 2, by multimedia take an examination included in text
Multimedia file (example required for this contents of test question (that is, the text for examination question to be described or illustrated) and examination question
Such as, the picture shown in Fig. 2, audio, multimedia file), it has been stored according to above-mentioned storage organization in a file, has allowed multimedia
The institutional framework of English examination question more standard, facilitates the management of multimedia examination question, and more smooth examination experience is provided for examinee.
Alternatively, the multimedia test question files can also be encrypted using customized encryption method.
For the above-mentioned data file system according to embodiment of the present invention, those skilled in the art are also contemplated that such as Fig. 3
The method of the method for shown generation test question files and display examination question as shown in Figure 4.
Fig. 3 shows the method that test question files are generated according to the exemplary construction of the data file system of embodiment of the present invention
Example flow diagram.
As shown in figure 3, the method for generation test question files comprises the following steps:
Step 1:Test question information setting is carried out, is passed to encryption function.
Step 2:Creating temporary file, (that is, data file system, for storing examination question, the temporary file includes file header
Module and file module), obtain all resources (that is, the All Files that examination question is included) to be written.
Step 3:File body (that is, file module) writes multi-medium data, and file header (that is, file head module) write-in is more
Media file description object (that is, " object " in " data segment description object " or Fig. 2 in Fig. 1, includes the class of multi-medium data
Type, original position, end position).
Step 4:Call incoming encryption function encryption temporary file.
Fig. 4 shows example flow diagram of the display according to the method for the test question files of embodiment of the present invention.
As shown in figure 4, the method for display test question files comprises the following steps:
Step 1:Obtain test question files, decipherment algorithm and the deciphering parameter of encryption.
Step 2:Test question files are decrypted by decipherment algorithm.
Step 3:Read file header (that is, file head module) information.
Step 4:File header (that is, file head module) information is transmitted to examination question display interface.
Step 5:Multimedia file (that is, file module) is read according to file header (that is, file head module) information and is in
Existing examination question.
The method of generation test question files shown in Fig. 3 and the method for display examination question as shown in Figure 4 use Custom Encryption
File format stores and presented English multimedia examination question.For example, it can select to be used by proposition system all
Contents of test question and multimedia file, the multimedia institutional framework of agreement storage in advance, a text is stored in by whole contents of test question
In part.
Stored according to the data file system of the present invention using customized normal structure structure including such as examination question text
Numerous originals of the multimedia files such as audio that this document, examination question are included, image, video.Solves multimedia examination question text
Part does not have the problem of institutional framework of standard, scrappy file is excessive, and multimedia resource system is difficult to manage, and efficiency of transmission is low.
Alternatively, as shown in Figure 3 and Figure 4, can also to according to the present invention data file system file head module and/
Or file module is encrypted, confidentiality of the file in network transmission process ensure that so that the fairness of examinee's examination
It is protected.
It is described above, it is only the exemplary embodiment of the present invention, but protection scope of the present invention is not limited to
This, any one skilled in the art the invention discloses technical scope in, the change that can readily occur in or replace
Change, should all be included within the scope of the present invention.Therefore, protection scope of the present invention should be with the protection of the claim
Scope is defined.
Claims (10)
1. a kind of data file system, it is characterised in that including the following module being linked in sequence:
File head module, the file head module include multiple data segment description objects, and each data segment description object at least wraps
Include segment type field, data segment, length field;
File module, the file module pass through its respective segment type including the multiple data segment description object
The data for multiple data segments that field and data segment length field are respectively specified that.
2. data file system according to claim 1, it is characterised in that the file head module also includes file header knot
Beam identification field.
3. data file system according to claim 1, it is characterised in that it is total that the file head module also includes data segment
Digital section.
4. data file system according to claim 1, it is characterised in that the data segment description object also includes data
Segment index field.
5. data file system according to claim 4, it is characterised in that the data segment index field is used to identify number
The title of the original stored according to section.
6. the data file system according to any one of claim 1 to 5, it is characterised in that the segment type
Field is used for the type for the original that mark data section is stored.
7. the data file system according to any one of claim 1 to 5, it is characterised in that the data segment, length
Field can be replaced by the start-stop address field of data segment.
8. the data file system according to any one of claim 1 to 5, it is characterised in that the file head module
And/or the file module is the file head module and/or file module by encryption.
A kind of 9. method for generating test question files, it is characterised in that comprise the following steps:
Test question information setting is carried out, is passed to encryption function;
The data file system according to any one of claim 1 to 7 for storing examination question is created, is obtained all to be written
Resource;
Multi-medium data is write in the file module of data file system, it is more in the file head module write-in of data file system
Media file description object;
Call incoming encryption function data file encryption system;
Using encrypted data file system as test question files.
A kind of 10. method for showing test question files, it is characterised in that comprise the following steps:
Obtain encrypted test question files, the decryption calculation that the method for generation test question files according to claim 9 is generated
Method and deciphering parameter;
Encrypted test question files are decrypted by decipherment algorithm;
Read the file header module information of decrypted test question files;
File header module information is transmitted to examination question display interface;
The file module of decrypted test question files is read according to file header module information and examination question is presented.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710995335.5A CN107832356A (en) | 2017-10-23 | 2017-10-23 | A kind of data file system, generation and the method for showing test question files |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710995335.5A CN107832356A (en) | 2017-10-23 | 2017-10-23 | A kind of data file system, generation and the method for showing test question files |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107832356A true CN107832356A (en) | 2018-03-23 |
Family
ID=61648729
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710995335.5A Pending CN107832356A (en) | 2017-10-23 | 2017-10-23 | A kind of data file system, generation and the method for showing test question files |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107832356A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109871700A (en) * | 2019-02-01 | 2019-06-11 | 成都佳发教育科技有限公司 | A kind of electronic test paper management method under off-line state |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101039254A (en) * | 2006-03-15 | 2007-09-19 | 联想(北京)有限公司 | Media data regrouping method and packet server |
CN101819602A (en) * | 2010-05-07 | 2010-09-01 | 北京飞天诚信科技有限公司 | Method for implementing data file engine |
US8364887B2 (en) * | 2002-08-29 | 2013-01-29 | Micron Technology, Inc. | Managing memory data recovery upon power loss |
CN102930040A (en) * | 2012-11-13 | 2013-02-13 | 陈奇 | Media multi-dimensional content expressing method |
CN104317817A (en) * | 2014-09-26 | 2015-01-28 | 浙江中控技术股份有限公司 | Version compatible method and device of configuration files |
CN105512120A (en) * | 2014-09-22 | 2016-04-20 | 中国石油化工股份有限公司 | Earthquake data compression method, compression storage structure and random access method |
-
2017
- 2017-10-23 CN CN201710995335.5A patent/CN107832356A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8364887B2 (en) * | 2002-08-29 | 2013-01-29 | Micron Technology, Inc. | Managing memory data recovery upon power loss |
CN101039254A (en) * | 2006-03-15 | 2007-09-19 | 联想(北京)有限公司 | Media data regrouping method and packet server |
CN101819602A (en) * | 2010-05-07 | 2010-09-01 | 北京飞天诚信科技有限公司 | Method for implementing data file engine |
CN102930040A (en) * | 2012-11-13 | 2013-02-13 | 陈奇 | Media multi-dimensional content expressing method |
CN105512120A (en) * | 2014-09-22 | 2016-04-20 | 中国石油化工股份有限公司 | Earthquake data compression method, compression storage structure and random access method |
CN104317817A (en) * | 2014-09-26 | 2015-01-28 | 浙江中控技术股份有限公司 | Version compatible method and device of configuration files |
Non-Patent Citations (1)
Title |
---|
吴丹,吴永和: "多媒体试题模板化生成工具的设计与开发", 《计算机与现代化》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109871700A (en) * | 2019-02-01 | 2019-06-11 | 成都佳发教育科技有限公司 | A kind of electronic test paper management method under off-line state |
CN109871700B (en) * | 2019-02-01 | 2021-11-23 | 成都佳发教育科技有限公司 | Electronic test paper management method in off-line state |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4755427B2 (en) | Database access system and database access method | |
Hedstrom et al. | Significant properties of digital objects: definitions, applications, implications | |
KR100553885B1 (en) | Method for managing multimedia contents made with SMIL and SMIL file system thereof | |
CN106254895B (en) | One kind being used for audio-video Mp4 file encryption decryption system | |
WO2009146658A1 (en) | Method and system for performing unstructured data | |
Hopper et al. | YouTube for transcribing and Google Drive for collaborative coding: Cost-effective tools for collecting and analyzing interview data | |
CN106960156A (en) | Data encryption and access method based on application program, device | |
Day | The long-term preservation of web content | |
Gayed et al. | Cyber forensics: Representing and (im) proving the chain of custody using the semantic web | |
Del Pozo et al. | “Land of the lost”: A discussion of what can be preserved through digital preservation | |
US20110209135A1 (en) | Program Change Management Apparatus, Computer Readable Record Medium Storing Program Change Management Program, And Program Change Management Method | |
CN107832356A (en) | A kind of data file system, generation and the method for showing test question files | |
US10838992B2 (en) | Content selection for usage within a policy | |
Langley | Digital Preservation Should Be More Holistic: A Digital Stewardship Approach | |
Ramokapane et al. | What users want from cloud deletion and the information they need: A participatory action study | |
Johnston | Challenges in preservation and archiving digital materials | |
Trilsbeek et al. | Archiving challenges | |
Bushey | Trustworthy citizen-generated images and video on social media platforms | |
Duranti et al. | The authenticity of electronic records: the InterPARES approach | |
Rimkus et al. | Preservation and access for born-digital electronic records: the case for an institutional digital content format registry | |
Komba et al. | Preservation and accessibility of audio-visual records in Tanzania’s television broadcasting companies | |
CN100507913C (en) | File processing method and system | |
Verdegem et al. | Practical experiences of the Dutch digital preservation test‐bed | |
Kumar et al. | Expressing needs of digital audio-visual applications in different communities of practice for long-term preservation | |
Baucom | Acquisition Workflow |
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 |
Application publication date: 20180323 |
|
RJ01 | Rejection of invention patent application after publication |