Method for packaging electronic topics
By converting electronic questions on the information teaching platform into pictures and embedding answers and copyright logos, the problem of lack of copyright protection on the platform is solved, and knowledge protection and usage rights control of the questions are realized.
Patent Information
- Application Number
- CN202411336973.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2025-01-14
Smart Images

Figure CN119312292A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a packaging method for an electronic version of a topic, and belongs to the technical field of computers. Background Art
[0002] One of the main functions of the information-based teaching platform is that teachers upload question banks and students practice online. However, the current situation is that teachers actively collect questions from different channels but are passive in developing questions. One of the reasons is that the current information-based teaching platform lacks protection for the intellectual property copyright of questions. For example, most vocational colleges now purchase the "Super Star" information-based teaching platform, and the textbooks of vocational colleges and universities mostly provide question banks that can be uploaded to the "Super Star" information-based teaching platform. In order to meet the format requirements for uploading to the "Super Star" information-based teaching platform, the question bank provided by the textbook stores the text of the question, the graphics of the question (some questions have it, some do not), and the answers to the question in the form of a spreadsheet. This way of encapsulating questions does not have any copyright protection measures. Once released, it is equivalent to being fully public and allowed to be disseminated. Summary of the invention
[0003] In response to the problem of lack of copyright protection measures in the above-mentioned question packaging, the present invention proposes a method for packaging electronic questions, the idea of which is: (1) converting the questions edited by the text tool, including the text part and the graphic part (if any), into a picture; (2) synthesizing one or more answers to the question into an answer string, and then sequentially encoding the characters of the answer string into 24-bit binary codes, and sequentially embedding the 24-bit binary codes into the picture; (3) embedding a visible copyright logo into the picture; (4) setting rules to rewrite all or part of the pixels of the picture to blur the picture; (5) finally saving the blurred picture containing the question text content, graphic content, reference answer, copyright logo, etc. in electronic form.
[0004] Develop a supporting system to realize the question encapsulation and practice functions. During practice, the system reads the image, defuzzifies it according to the set rules, extracts the binary code of the answer string embedded in the image, decodes it to obtain the answer string, and then restores one or more answers from the answer string, and finally displays the question with a copyright mark in the form of an image.
[0005] The technical solution adopted by the present invention is:
[0006] A method for packaging an electronic version of a question, comprising the following steps:
[0007] (a1) Convert the title to a picture: Use the picture tool to convert the edited title into a picture;
[0008] (a2) Reference answer editing: edit the reference answer for the question corresponding to the picture obtained in the previous step;
[0009] (a3) Reference answer synthesis reference answer string: one or more reference answers obtained in the previous step are concatenated in order to form an answer string, and adjacent reference answers are separated by a separator;
[0010] (a4) Embedding the reference answer string into the image: embed the reference answer string obtained in the previous step into the image obtained in step a1;
[0011] (a5) Embed the copyright logo into the image: embed the copyright logo graphic or text into the image obtained in the previous step;
[0012] (a6) Image blurring: blurring the image obtained in the previous step according to the set plan;
[0013] (a7) Image preservation: The image obtained in the previous step is saved in electronic form.
[0014] The steps of embedding the reference answer string into the picture include:
[0015] (b1) extracting the characters of the reference answer string in order;
[0016] (b2) performing 24-bit binary encoding on the characters;
[0017] (b3) embedding the 24-bit binary code of the character into the pixels of the image, with the first 8 bits stored in the red primary color component of the pixel, the middle 8 bits stored in the green primary color component of the pixel, and the last 8 bits stored in the blue primary color component of the pixel;
[0018] (b4) Repeat the above 3 steps until all characters of the reference answer string are traversed.
[0019] The beneficial effect of the present invention is that the question text content, graphic content, reference answer, and copyright mark are merged into a picture, and the picture is blurred in a regular manner, and then the picture is saved in electronic form. The question in the form of a picture is only visible on the supporting system, thereby achieving the purpose of question copyright protection. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 The main steps of the method of the present invention.
[0021] Figure 2 Example of a question in picture format.
[0022] Figure 3 An example of the interface for editing reference answers.
[0023] Figure 4 The interface example for editing reference answers has been completed.
[0024] Figure 5 An example of a picture with a string embedded in it.
[0025] Figure 6 An example of an image with the copyright logo embedded in it.
[0026] Figure 7 Example of a blurred image.
[0027] Figure 8 An example of the interface that opens when students are practicing questions.
[0028] Fig. 9 Example of the interface when students complete an exercise. DETAILED DESCRIPTION
[0029] Figure 1 It is the main step of the method of the present invention.
[0030] Combine the following Figures 2 to 7 , taking a fill-in-the-blank question of the "Circuit Analysis" course as an example, the packaging process of the electronic version of the question of the present invention is introduced.
[0031] Figure 2 The title is in the form of a picture, which contains text and graphics. First edit the title in a tool such as Word, then use a graphic tool to take a screenshot and convert the title containing text and graphics into a picture.
[0032] Figure 3 The interface for editing reference answers is developed to develop a system with question development and practice functions to implement the relevant operations of the present invention. Figure 2 Open the saved image and edit the reference answer.
[0033] Figure 4 This is the interface for editing reference answers. After the question developer enters the reference answer and clicks Save, the system will automatically complete the following related steps.
[0034] Figure 5 The picture after the reference answer string is embedded in the picture. Figure 4 The four reference answers inputted are sequentially composed into a reference answer string "0.2&1.2&-0.2&-0.8", and adjacent answers are separated by "&"; the system sequentially extracts characters from the reference answer string, and performs 32-bit binary encoding according to the UTF32 international standard (because the last 8 bits of the 32-bit binary encoding of most characters are 0, the present invention only takes the first 24 bits as the final encoding); the system sequentially embeds the 24-bit binary encoding of the characters into the pixels of the picture, with the first 8 bits stored in the red primary color component of the pixel, the middle 8 bits stored in the green primary color component of the pixel, and the last 8 bits stored in the blue primary color component of the pixel; the system traverses the reference answer string until all characters are encoded and embedded into the picture. The present invention embeds the reference answer string into the second row of the picture.
[0035] observe Figure 5It is found that on the left side of the second row of the figure, there are several consecutive gray pixels. Each of these pixels stores the 24-bit binary code of a character in the answer string.
[0036] Figure 6 It is the picture after the copyright logo is embedded in the picture. In the present invention, the four characters "Si Ming Lake" are used as the copyright logo, and on the basis of Figure 5 the system embeds the four characters "Si Ming Lake" in the lower right corner of the picture.
[0037] Figure 7 It is the blurred picture. The rules for blurring the picture can be set by oneself. The rules of the present invention are as follows: starting from the 3rd row, for the odd-numbered columns, perform a bitwise inversion operation on the red, green, and blue components of the pixels. For the blurred picture, it is difficult for the human eye to distinguish the content of the picture. Finally, save Picture 7 in electronic form in the question bank.
[0038] Figure 8 It is the interface when the system opens the question for students to practice. The system reads out the picture, first performs de-blurring, then extracts the binary code of the answer string embedded in the picture, decodes to obtain the answer string, and then restores one or more answers from the answer string. Finally, display the question with the copyright logo in the form of a picture.
[0039] Fig. 9 It is the interface when the student inputs the answer and clicks the "Submit" button. The system compares the student's answer with the reference answer and gives the comparison result.
Claims
1. A method for packaging an electronic version of a question, characterized by: The method steps are as follows: (a1) converting the title into a picture: using a picture tool to convert the edited title into a picture; (a2) Reference answer editing: edit the reference answer for the question corresponding to the picture obtained in the previous step; (a3) Reference answer synthesis reference answer string: one or more reference answers obtained in the previous step are concatenated in order to form an answer string, and adjacent reference answers are separated by a separator; (a4) Embedding the reference answer string into the image: embed the reference answer string obtained in the previous step into the image obtained in step a1; (a5) Embed the copyright logo into the image: embed the copyright logo graphic or text into the image obtained in the previous step; (a6) Image blurring: blurring the image obtained in the previous step according to the set plan; (a7) Image preservation: The image obtained in the previous step is saved in electronic form.
2. A method for packaging an electronic version of a question, characterized by: The steps of embedding the reference answer string into the picture include: (b1) extracting the characters of the reference answer string in order; (b2) performing 24-bit binary encoding on the characters; (b3) embedding the 24-bit binary code of the character into the pixels of the image, with the first 8 bits stored in the red primary color component of the pixel, the middle 8 bits stored in the green primary color component of the pixel, and the last 8 bits stored in the blue primary color component of the pixel; (b4) Repeat the above 3 steps until all characters of the reference answer string are traversed.