Automatic verification method and device, optical disc burning method and device, and computing equipment

Through the automatic verification method and device, obtain the information of the operating system and the disc file system, determine the supporting recording method, solve the lack of automatic verification of the CD -ROM records in the existing technology, and realize the correctness and reliability of the CD -ROM.

CN113741817BActive Publication Date: 2025-01-28UNIONTECH SOFTWARE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111031696.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-03
Publication Date
2025-01-28
Estimated Expiration
2041-09-03

AI Technical Summary

Technical Problem

Existing CD burning technology cannot automatically verify the CD inserted by users, resulting in file system disorder, corruption, and quality accidents such as garbled data and corruption.

Method used

Provide a automatic verification method and device, and the CD file system and its version or extension protocol corresponding to the last burns of the operating system version and CD record to determine whether the CD -ROM space is sufficient and support according to the support of the operating system and the CD file system system. The situation is determined to support the burning method and generates the results of the burning verification.

Benefits of technology

The automatic verification of the disc is achieved, and the problems of file system disorders, data damage and garbleds are avoided, and the accuracy and reliability of the disc burning is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113741817B_ABST
    Figure CN113741817B_ABST
Patent Text Reader

Abstract

The present invention discloses an automatic verification method and device, an optical disc burning method and device, and a computing device. The above-mentioned automatic verification method includes the steps of: in response to a user's burning request, when the operating system supports both ISO9660 additional burning and UDF additional burning, obtaining the operating system version, and obtaining the optical disc file system and its version or extended protocol corresponding to the last burning recorded on the optical disc, so as to determine and mark the corresponding burning mode supported based on the optical disc file system and its version or extended protocol, and generate a burning verification result. The optical disc burning method includes the steps of the above-mentioned automatic verification method, and performs a burning operation according to the burning verification result. The present invention also discloses a corresponding computing device and apparatus.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of optical disc recording technology, in particular to an automatic verification method and device, an optical disc recording method and device, and a computing device. Background Art

[0002] The data storage of optical discs requires a file system. Commonly used optical disc file systems include ISO 9660 (see https: / / zh.wikipedia.org / wiki / ISO_9660) and the Universal Disc Format (UDF) file system (see https: / / en.wikipedia.org / wiki / Universal_Disk_Format).

[0003] As the elder of CD-ROM file systems, ISO9660 file system was originally derived from the High Sierra file system standard. It has a history of more than 30 years and is currently the most widely used CD-ROM file system. It is also the technology used by various Linux derivative distributions. The advantage of ISO9660 file system is that it is supported by almost all operating systems and has extremely excellent compatibility.

[0004] As another standard, UDF uses standard Packet Writing (PW) technology to use a rewritable optical disc as a hard disk, and users can modify and delete files on the disc.

[0005] In terms of the functions related to CD-ROM burning, the situation of each mainstream operating system is as follows (see https: / / blog.csdn.net / crystal0011 / article / details / 9464387): Windows is the most mainstream desktop operating system at present. It supports CD-ROM burning of UDF series file system and ISO9660 file system. It is widely used in the information creation industry, especially the UDF CD / DVD burning method of Windows, which is simple and practical. However, Windows has weak support for ISO9660 file system and does not support ISO9660 standard file system and ISO9660+RockRidge extended protocol CD-ROM burning. When a CD using this file system and extended protocol is burned again on Windows, garbled Chinese names and file suffix name; 1_1 will appear, resulting in quality accidents such as the inability of applications to open CD files and unreadable files. In addition, MacOS, the desktop operating system for Apple personal computers, is mainly used as a desktop operating system for Apple series hardware, and its application is relatively narrow compared to Windows. In terms of disc burning, MacOS is mainly adapted to UDF 1.5 version, which only supports UDF single-time burning. It is not compatible with ISO9660 file system and extended protocol burning, and cannot perform mutual append burning with Windows, Linux and domestic operating systems. Domestic operating systems are mainly derived from Linux, which has good support for the standard ISO9660 file system. Commonly used representative tools include K3b, brasero and other burning tools. Since most Linux supports ISO 9660 file system disc burning and is rarely compatible with UDF file system disc burning, it is even more incompatible and unrecognizable for mixed burning of ISO 9660 and UDF. Therefore, cross-burning Windows-burned discs in Linux will cause file system disorder, disc file system damage, invisible and unreadable disc data and other quality accidents.

[0006] In summary, the above existing optical disc burning technologies are unable to automatically perform burning verification on the optical disc inserted by the user, which may easily lead to problems such as file system disorder and damage, and data garbled and damage. Summary of the invention

[0007] To this end, the present invention provides an automatic verification method and device, an optical disc burning method and device, and a computing device, in an effort to solve or at least alleviate at least one of the above problems.

[0008] According to one aspect of the present invention, there is provided an automatic verification method before optical disc burning, comprising the following steps: in response to a user's burning request, when the operating system supports both ISO9660 appended burning and UDF appended burning, obtaining the operating system version, and obtaining the optical disc file system and its version or extended protocol corresponding to the last burning recorded on the optical disc; if the current optical disc space is smaller than the size of the file to be burned in the buffer, determining that the optical disc space is insufficient and marking it; if the optical disc space is sufficient and the disc is blank, determining the supported corresponding burning mode according to the operating system version and marking it; if the optical disc space is sufficient and the disc is not blank, determining whether the corresponding optical disc file system burning mode is supported according to the extended protocol of the optical disc file system and the operating system version and marking it; and generating a burning verification result based on at least part of the marked data.

[0009] Optionally, in the automatic verification method according to the present invention, if the disc space is sufficient and the disc file system corresponding to the last burning is ISO9660, the supported corresponding ISO9660 burning mode is determined and marked according to the extended protocol of the disc file system and the operating system version, and when the extended protocol is not Joliet, RockRidge or empty, it is determined that ISO9660 burning is not supported and marked; if the disc space is sufficient and the disc file system corresponding to the last burning is UDF, the supported corresponding UDF burning mode is determined and marked according to the disc file system version and the operating system version, and when the disc file system version is not 1.02, 2.01 or 2.5, it is determined that UDF burning is not supported and marked;

[0010] Optionally, in the automatic verification method according to the present invention, when the optical disc is a blank optical disc, the step of determining the corresponding supported burning method according to the operating system version and marking it includes: if the operating system version is not lower than UOS 1030 version, determining and marking it as supporting ISO9660 standard file system burning, ISO9660+RockRidge extended protocol burning and ISO9660+Joliet extended protocol burning.

[0011] Optionally, in the automatic verification method according to the present invention, when the optical disc is a blank optical disc, the step of determining the corresponding supported burning method according to the operating system version and marking it includes: if the operating system version is not lower than UOS 1040 version, determining and marking it as supporting UDF Mastered Format burning to indicate support for Windows CD / DVD optical disc burning mode.

[0012] Optionally, in the automatic verification method according to the present invention, the step of determining the supported corresponding ISO9660 burning mode and marking it according to the extended protocol of the optical disc file system and the operating system version includes: if the extended protocol of the optical disc file system is Joliet, and the operating system version is not lower than UOS 1030, it is determined to support ISO9660+Joliet extended protocol burning and marked; if the extended protocol of the optical disc file system is RockRidge, and the operating system version is not lower than UOS 1030, it is determined to support ISO9660+RockRidge extended protocol burning and marked; and if the extended protocol of the optical disc file system is empty, it is determined to support standard ISO9660 burning and marked.

[0013] Optionally, in the automatic verification method according to the present invention, the step of determining the corresponding UDF burning method supported and marking it according to the CD file system version and the operating system version includes: if the CD file system version is 1.02 and the operating system version is not lower than UOS 1040, it is marked as udf 1.02 version burning to indicate support for Windows CD / DVD mode additional burning; if the CD file system version is 2.01 and the operating system version is not lower than UOS 1040, it is marked as udf 2.01 version burning to indicate support for Windows CD U disk mode additional burning; if the CD file system version is 2.5 and the operating system version is not lower than UOS 1040, it is marked as udf 2.5 version burning to indicate support for Blu-ray disc burning.

[0014] Optionally, in the automatic verification method according to the present invention, the step of generating a burning verification result includes: when the optical disc space is insufficient, ISO9660 burning is not supported, or UDF burning is not supported, the burning verification result is a first preset value to indicate a burning abnormality, and a burning error message that causes burning to be prohibited is output; and when it is determined that ISO9660 burning or UDF burning is supported, the burning verification result is a second preset value to indicate that ISO9660 burning or UDF burning is supported, wherein the second preset value is different from the first preset value.

[0015] Optionally, the automatic verification method according to the present invention also includes the steps of: displaying the generated burning verification results to the user through the UI, and setting the default burning options according to the marked data for the user to use; wherein, when the optical disc is a blank optical disc, ISO9660+Joliet extended protocol burning is provided by default, and ISO9660 and UDF marked burning options are supported; when it is determined that ISO9660 burning is supported, the marked corresponding burning options are provided by default, and the UDF burning options are hidden; when it is determined that UDF burning is supported, the marked corresponding burning options are provided by default, and the ISO9660 burning options are hidden.

[0016] Optionally, in the automatic verification method according to the present invention, if the obtained optical disc file system is empty, and the obtained file system version or extended protocol is empty, it is determined that the current optical disc is a blank optical disc.

[0017] According to another aspect of the present invention, a method for burning a disc is provided, comprising the above-mentioned automatic verification method before burning a disc, the method further comprising: when it is determined that the disc space is insufficient, ISO9660 burning is not supported, or UDF burning is not supported, burning is prohibited, and the user is prompted that the burning has failed; when the disc is a blank disc, burning is performed according to the default burning option or the user's selection within a predetermined range, the current default burning option is the ISO9660+Joliet extended protocol mode, and the predetermined range includes ISO9660 and UDF marked burning modes; and when it is determined that ISO9660 burning or UDF burning is supported, burning is performed according to the default burning option, and the current default burning option is the marked burning mode.

[0018] According to another aspect of the present invention, there is also provided an automatic verification device for optical disc burning, comprising: an information acquisition unit, adapted to respond to a user's burning request, and in the case where the operating system supports both ISO9660 additional burning and UDF additional burning, obtain the operating system version, and obtain the optical disc file system and its version or extended protocol corresponding to the last burning recorded on the optical disc; a space determination unit, adapted to determine whether the optical disc space is sufficient, and to make a corresponding mark when it is determined that the optical disc space is insufficient; a first processing unit, adapted to determine and mark the corresponding supported burning method according to the operating system version when the optical disc space is sufficient and the optical disc is blank; a second processing unit, adapted to determine and mark the corresponding optical disc file system burning method according to the extended protocol of the optical disc file system and the operating system version when the optical disc space is sufficient and the optical disc is not blank; and a verification result generation unit, adapted to generate a burning verification result based on at least part of the marked data.

[0019] Optionally, in the automatic verification device according to the present invention, the second processing unit includes: an ISO9660 processing unit, which is suitable for determining and marking the supported corresponding ISO9660 burning method according to the extended protocol of the optical disc file system and the operating system version when the optical disc space is sufficient and the optical disc file system corresponding to the last burn is ISO9660, and when the extended protocol is not Joliet, RockRidge or empty, it is determined that ISO9660 burning is not supported and marked; a UDF processing unit, which is suitable for determining and marking the supported corresponding UDF burning method according to the optical disc file system version and the operating system version when the optical disc space is sufficient and the optical disc file system corresponding to the last burn is UDF, and when the optical disc file system version is not 1.02, 2.01 or 2.5, it is determined that UDF burning is not supported and marked.

[0020] Optionally, in the automatic verification device according to the present invention, the first processing unit is suitable for performing the following processing: if the operating system version is not lower than UOS 1030 version, it is determined and marked as supporting ISO9660 standard file system burning, ISO9660+RockRidge extended protocol burning and ISO9660+Joliet extended protocol burning; and if the operating system version is not lower than UOS1040 version, it is determined and marked as supporting UDF proficient format burning to indicate support for Windows CD / DVD optical disc burning mode.

[0021] Optionally, in the automatic verification device according to the present invention, the ISO9660 processing unit is suitable for performing the following processing: if the extended protocol of the optical disc file system is Joliet, and the operating system version is not lower than UOS1030, it is determined to support ISO9660+Joliet extended protocol burning and marking; if the extended protocol of the optical disc file system is RockRidge, and the operating system version is not lower than UOS 1030, it is determined to support ISO9660+RockRidge extended protocol burning and marking; and if the extended protocol of the optical disc file system is empty, it is determined to support standard ISO9660 burning and marking.

[0022] Optionally, in the automatic verification device according to the present invention, the UDF processing unit is suitable for performing the following processing: if the optical disc file system version is 1.02 and the operating system version is not lower than UOS 1040, it is marked as udf 1.02 version burning to indicate support for Windows CD / DVD mode additional burning; if the optical disc file system version is 2.01 and the operating system version is not lower than UOS 1040, it is marked as udf 2.01 version burning to indicate support for Windows optical disc USB disk mode additional burning; if the optical disc file system version is 2.5 and the operating system version is not lower than UOS 1040, it is marked as udf 2.5 version burning to indicate support for Blu-ray disc burning.

[0023] Optionally, in the automatic verification device according to the present invention, the verification result generation unit is suitable for performing the following processing: when the optical disc space is insufficient, ISO9660 burning is not supported, or UDF burning is not supported, the burning verification result is a first preset value to indicate a burning abnormality, and a burning error message that causes the prohibition of burning is output; and when it is determined that ISO9660 burning or UDF burning is supported, the burning verification result is a second preset value to indicate that ISO9660 burning or UDF burning is supported, wherein the second preset value is different from the first preset value.

[0024] Optionally, the automatic verification device according to the present invention also includes: an output unit, suitable for displaying the generated burning verification results to the user through the UI, and setting the default burning options according to the marked data for the user to use; wherein, when the optical disc is a blank optical disc, ISO9660+Joliet extended protocol burning is provided by default, and ISO9660 and UDF marked burning options are supported; when it is determined that ISO9660 burning is supported, the marked corresponding burning options are provided by default, and the UDF burning options are hidden; when it is determined that UDF burning is supported, the marked corresponding burning options are provided by default, and the ISO9660 burning options are hidden.

[0025] Optionally, in the automatic verification device according to the present invention, the first processing unit is adapted to perform the following processing: if the acquired optical disc file system is empty, and the acquired file system version or extended protocol is empty, it is determined that the current optical disc is a blank optical disc.

[0026] According to another aspect of the present invention, a CD burning device is provided, comprising the above automatic verification device before CD burning, and also comprising a burning processing unit, which is suitable for performing the following processing: when it is determined that the CD space is insufficient, ISO9660 burning is not supported, or UDF burning is not supported, burning is prohibited and the user is prompted that the burning has failed; when the CD is a blank CD, burning is performed according to the default burning option or the user's selection within a predetermined range, the current default burning option is the ISO9660+Joliet extended protocol mode, and the predetermined range includes ISO9660 and UDF marked burning modes; and when it is determined that ISO9660 burning or UDF burning is supported, burning is performed according to the default burning option, and the current default burning option is the marked burning mode.

[0027] According to another aspect of the present invention, a computing device is provided, comprising: at least one processor and a memory storing program instructions; when the program instructions are read and executed by the processor, the computing device executes the above automatic verification method or optical disc burning method.

[0028] According to another aspect of the present invention, a readable storage medium storing program instructions is provided. When the program instructions are read and executed by a computing device, the computing device executes the above automatic verification method or optical disc burning method.

[0029] According to the automatic verification method and device, the optical disc burning method and device and the computing device of the present invention, at least one of the following beneficial effects can be achieved: supporting the identification of the UDF file system and the UDF file system version of the burned optical disc, and supporting the identification of the ISO9660 file system and the extended subsystem (that is, the ISO9660 standard file system, the ISO9660+RockRidge extended protocol, the ISO9660+Joliet extended protocol) of the burned optical disc; being able to automatically mark the additional burning file system of the burned optical disc, mark the UDF additional burning service, mark the ISO9660 file system additional burning service, prohibit illegal burning outside of known services, avoid mixed burning of file systems, and cause the problem of unreadable optical discs due to damage to the file system; for blank optical discs, it can support the selection of multiple file systems for burning, that is, the UDF file system, the ISO9660 file system and the extended protocol can be selected for optical disc burning.

[0030] At present, data interaction in the domestic information and innovation industry is basically carried out through optical disc burning. Corruption of optical disc files will seriously affect data interaction, thus leading to quality accidents. The above technical solution according to the embodiment of the present invention can provide preset additional conditions for burning, mark preset conditions, and abnormal handling plans, effectively solving the problem of unreadable optical disc files caused by damage to the optical disc file system due to insufficient disk and unsupported file system. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to achieve the above and related purposes, certain illustrative aspects are described herein in conjunction with the following description and accompanying drawings, which indicate various ways in which the principles disclosed herein can be practiced, and all aspects and their equivalents are intended to fall within the scope of the claimed subject matter. The above and other purposes, features and advantages of the present disclosure will become more apparent by reading the following detailed description in conjunction with the accompanying drawings. Throughout the present disclosure, the same reference numerals generally refer to the same parts or elements.

[0032] Figure 1 A schematic diagram of a computing device 100 according to one embodiment of the present invention is shown;

[0033] Figure 2 A flow chart of an automatic verification method 200 before optical disc burning according to an embodiment of the present invention is shown;

[0034] Figure 3 A schematic diagram of the structure of an automatic checking device 300 before optical disc burning according to an embodiment of the present invention is shown;

[0035] Figure 4 A schematic diagram of the structure of an optical disc burning device 400 according to an embodiment of the present invention is shown;

[0036] Figure 5 A schematic diagram showing the interface of the Brasero burning tool is shown;

[0037] Figure 6 A schematic diagram showing an application scenario according to an embodiment of the present invention is shown;

[0038] Figure 7 A flowchart of an automatic verification method according to a preferred embodiment of the present invention is shown;

[0039] Figure 8 Shows Figure 7 A flowchart of the sub-process of the blank optical disc business;

[0040] Fig. 9 Shows Figure 7 Flowchart of the sub-processes of ISO9660 business in; and

[0041] Fig.10 Shows Figure 7 Flowchart of the sub-process of the UDF business in . DETAILED DESCRIPTION

[0042] In view of the problem that the existing optical disc burning technology cannot automatically perform burning verification on the optical disc inserted by the user, which easily leads to file system disorder, damage, garbled data, damage, etc., the present invention provides an automatic verification method before optical disc burning, which can automatically perform burning verification on the optical disc inserted by the user, so that subsequent burning is less likely to cause garbled data, damage, etc.

[0043] The automatic verification method before optical disc burning of the present invention is executed in a computing device. The computing device can be any device with storage and computing capabilities, which can be implemented as a server, a workstation, etc., or as a personal computer such as a desktop computer, a notebook computer, or as a terminal device such as a mobile phone, a tablet computer, a smart wearable device, an Internet of Things device, but is not limited thereto.

[0044] Figure 1 FIG. 1 is a schematic diagram of a computing device 100 according to an embodiment of the present invention. It should be noted that: Figure 1 The computing device 100 shown is only an example. In practice, the computing device used to implement the automatic verification method of the present invention can be any type of device, and its hardware configuration can be different from the above. Figure 1 The computing device 100 shown is the same as Figure 1 The computing device 100 shown is different. In practice, the computing device used to implement the automatic verification method of the present invention can be Figure 1 The hardware components of the computing device 100 shown are increased or deleted, and the present invention does not limit the specific hardware configuration of the computing device.

[0045] like Figure 1 As shown, in a basic configuration 102, computing device 100 typically includes system memory 106 and one or more processors 104. A memory bus 108 may be used for communication between processor 104 and system memory 106.

[0046] Depending on the desired configuration, the processor 104 can be any type of processor, including but not limited to: a microprocessor (μP), a microcontroller (μC), a digital information processor (DSP), or any combination thereof. The processor 104 can include one or more levels of cache such as a first-level cache 110 and a second-level cache 112, a processor core 114, and registers 116. An example processor core 114 can include an arithmetic logic unit (ALU), a floating point unit (FPU), a digital signal processing core (DSP core), or any combination thereof. An example memory controller 118 can be used with the processor 104, or in some implementations, the memory controller 118 can be an internal part of the processor 104.

[0047] Depending on the desired configuration, the system memory 106 can be any type of memory, including but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.) or any combination thereof. The physical memory in the computing device generally refers to the volatile memory RAM, and the data in the disk needs to be loaded into the physical memory before it can be read by the processor 104. The system memory 106 may include an operating system 120, one or more applications 122, and program data 124. In some embodiments, the application 122 may be arranged to execute instructions on the operating system by one or more processors 104 using program data 124. The operating system 120 may be, for example, Linux, Windows, etc., which includes program instructions for processing basic system services and performing tasks that depend on hardware. The application 122 includes program instructions for implementing various user-desired functions, and the application 122 may be, for example, a browser, instant messaging software, a software development tool (such as an integrated development environment IDE, a compiler, etc.), etc., but is not limited thereto. When the application 122 is installed in the computing device 100, a driver module may be added to the operating system 120.

[0048] When the computing device 100 starts running, the processor 104 reads and executes the program instructions of the operating system 120 from the memory 106. The application 122 runs on the operating system 120 and uses the interfaces provided by the operating system 120 and the underlying hardware to implement various functions desired by the user. When the user starts the application 122, the application 122 is loaded into the memory 106, and the processor 104 reads and executes the program instructions of the application 122 from the memory 106.

[0049] Computing device 100 also includes a storage device 132 including a removable storage 136 and a non-removable storage 138 , both of which are connected to storage interface bus 134 .

[0050] The computing device 100 may also include an interface bus 140 that facilitates communication from various interface devices (e.g., output devices 142, peripheral interfaces 144, and communication devices 146) to the basic configuration 102 via the bus / interface controller 130. Example output devices 142 include a graphics processing unit 148 and an audio processing unit 150. They can be configured to facilitate communication with various external devices such as a display or speakers via one or more A / V ports 152. Example peripheral interfaces 144 may include a serial interface controller 154 and a parallel interface controller 156, which may be configured to facilitate communication with external devices such as input devices (e.g., keyboards, mice, pens, voice input devices, touch input devices) or other peripherals (e.g., printers, scanners, etc.) via one or more I / O ports 158. Example communication devices 146 may include a network controller 160, which may be arranged to facilitate communication with one or more other computing devices 162 via a network communication link via one or more communication ports 164.

[0051] A network communication link can be an example of a communication medium. Communication media can generally be embodied as computer-readable instructions, data structures, program modules in a modulated data signal such as a carrier wave or other transmission mechanism, and can include any information delivery medium. A "modulated data signal" can be a signal in which one or more of its data sets or its changes can be carried out in a manner that encodes information in the signal. As non-limiting examples, communication media can include wired media such as a wired network or a dedicated line network, and various wireless media such as sound, radio frequency (RF), microwave, infrared (IR) or other wireless media. The term computer-readable medium used herein can include both storage media and communication media.

[0052] In the computing device 100 according to the present invention, the application 122 includes instructions for executing the automatic verification method 200 for optical disc burning according to the present invention, which can instruct the processor 104 to execute the automatic verification method 200 of the present invention to avoid file system disorder, data corruption and garbled characters, etc. through automatic burning verification.

[0053] According to an embodiment of the present invention, an automatic verification method 200 before optical disc burning includes the following steps: in response to a user's burning request, when the operating system supports both ISO9660 appended burning and UDF appended burning, obtaining the operating system version, and obtaining the optical disc file system and its version or extended protocol corresponding to the last burning recorded on the optical disc; if the current optical disc space is smaller than the size of the file to be burned in the buffer of the first processing unit, determining that the optical disc space is insufficient and marking it; if the optical disc space is sufficient and the optical disc is blank, determining the supported corresponding burning method according to the operating system version and marking it; if the optical disc space is sufficient and the optical disc is not blank, determining whether the corresponding optical disc file system burning method is supported and marking it according to the extended protocol of the optical disc file system of the first processing unit and the operating system version; and generating a burning verification result based on at least part of the marked data.

[0054] Figure 2 The flowchart of a method 200 for automatic verification before optical disc burning according to an embodiment of the present invention is shown. The method 200 is executed in a computing device (such as the aforementioned computing device 100) and is used to automatically complete the burning verification before the optical disc is burned to avoid file system disorder, damage, garbled data, damage, etc. Figure 2 As shown, the method 200 starts at step S210 .

[0055] According to an embodiment of the present invention, the operating system can support both ISO9660 additional recording technology and UDF additional recording technology. For example, the operating system can be a Uniontech operating system (a domestically developed Linux distribution), such as UOS (Uniontech Operating System) 1020, UOS 1030 and UOS 1040.

[0056] In step S210, in response to the user's burning request, the operating system version is obtained, and the optical disc file system and its version or extended protocol corresponding to the last burning recorded on the optical disc are obtained.

[0057] For example, the operating system versions are divided into UOS 1020, UOS 1030, and UOS 1040.

[0058] If the optical disc file system corresponding to the last recording of the acquired optical disc record is an ISO9660 system file, it is further determined whether it is an ISO9660 standard file system, an ISO9660+RockRidge extended protocol or an ISO9660+Joliet extended protocol.

[0059] If the optical disc file system corresponding to the last recording of the acquired optical disc record is a UDF file system, it is further determined whether the file system is UDF 1.02, UDF 2.01 or UDF 2.5.

[0060] In step S220, the current disc space size M1 is compared with the buffer file size M2 to determine whether the disc space is sufficient: if M1 is greater than or equal to M2, the disc space is sufficient; and if M1 is less than M2, the disc space is insufficient.

[0061] When it is determined that the disc space is insufficient, step S230 is executed. In step S230, a mark is made, and then step S270 is executed (or the process can also be terminated). For example, it can be marked as insufficient space and / or abnormal burning, and subsequent burning is prohibited at this time.

[0062] When it is determined that the disc space is sufficient, step S240 is executed.

[0063] In step S240 , it is determined whether the optical disc is a blank optical disc. If so, step S250 is executed; otherwise, step S260 is executed.

[0064] For example, whether the optical disc is a blank optical disc may be determined in the following manner: if the obtained optical disc file system is empty, and the obtained file system version or extended protocol is empty, the current optical disc is determined to be a blank optical disc.

[0065] In step S250, if the current disc has sufficient space and is a blank disc, the corresponding burning method supported can be determined and marked according to the operating system version. Then, step S270 is executed.

[0066] According to one implementation, if the current operating system version is not lower than UOS 1030 (ie >= 1030), it is determined that the ISO9660 standard file system, ISO9660+RockRidge extended protocol and ISO9660+Joliet extended protocol are supported for burning, and marked at the same time.

[0067] According to another implementation, if the current operating system version is not lower than UOS 1040 (ie, >= 1040), it is determined and marked as supporting UDF Mastered Format burning to indicate support for Windows CD / DVD optical disc burning mode.

[0068] In addition, it should be noted that when the operating system version >= UOS 1040 version, it not only meets the condition that "the current operating system version is not lower than UOS 1030 version (i.e., >= 1030)", but also meets the condition that "the current operating system version is not lower than UOS 1040 version (i.e., >= 1040)". In this case, it supports burning in three ways: ISO9660 standard file system, ISO9660 + RockRidge extension protocol, and ISO9660 + Joliet extension protocol, and also supports burning in UDF Mastered Format. In this case, the user can choose one way to burn, or burn according to the default burning option (pre-set to one of them).

[0069] It should also be noted that when the operating system version >= 1030 and < UOS 1040 version, only the above three burning methods of ISO9660 standard file system, ISO9660 + RockRidge extension protocol, and ISO9660 + Joliet extension protocol are supported.

[0070] In step S260, if the current optical disc space is sufficient and the optical disc is not a blank optical disc, then according to the extension protocol of the optical disc file system and the operating system version, it is judged whether the corresponding optical disc file system burning method is supported and marked. Then, step S270 is executed.

[0071] As an example, the processing in step S260 can be implemented, for example, through steps S261 to S263 to be described below (not shown in the figure).

[0072] In step S261, it is judged whether the optical disc file system corresponding to the last burn of the optical disc is ISO9660 or UDF: if it is ISO9660, then step S262 is executed; otherwise, if it is UDF, then step S263 is executed.

[0073] In this way, in step S262, that is, the optical disc file system corresponding to the last burn is ISO9660, according to the extension protocol of the optical disc file system and the operating system version, the corresponding ISO9660 burning method supported is determined and marked.

[0074] According to one implementation method, in step S262, if the extension protocol of the optical disc file system is Joliet and the operating system version is not lower than UOS 1030, it is determined that burning with ISO9660 + Joliet extension protocol is supported and marked.

[0075] If the extended protocol of the CD file system is RockRidge, and the operating system version is not lower than UOS1030, it is determined to support ISO9660+RockRidge extended protocol burning and marking.

[0076] In addition, if the extended protocol of the optical disc file system is empty, it is determined to support standard ISO9660 burning and marked, that is, only 8+3 format burning is supported.

[0077] In addition, in step S262, if the extended protocol of the optical disc file system is other than Joliet, RockRidge or empty mark, it is determined that ISO9660 recording and marking is not supported. After step S262 is executed, step S270 is executed.

[0078] In step S263, that is, the optical disc file system corresponding to the last burning is UDF, the supported corresponding UDF burning mode can be determined and marked according to the optical disc file system version and the operating system version.

[0079] According to one implementation, in step S263, if the disc file system version is 1.02 and the operating system version is not lower than UOS 1040, it is marked as udf 1.02 version burning to indicate support for Windows CD / DVD mode additional burning.

[0080] If the CD file system version is 2.01 and the operating system version is not lower than UOS 1040, it is marked as udf 2.01 version burning to indicate that it supports additional burning in USB mode of Windows CD.

[0081] In addition, if the disc file system version is 2.5 and the operating system version is not lower than UOS 1040, it is marked as udf2.5 version burning to indicate support for Blu-ray disc burning.

[0082] In addition, in step S263, if the optical disc file system version is other than 1.02, 2.01 and 2.5, it is determined that UDF burning is not supported and marked.

[0083] In this way, after executing step S263, step S270 is executed.

[0084] like Figure 2 As shown, in step S270, a burn verification result is generated based on at least part of the marked data; if the optical disc space is insufficient, the burn verification result is abnormal.

[0085] According to one implementation, when the disc space is insufficient in step S230, or ISO9660 burning is not supported (such as when it is determined in step S262 of the above example that ISO9660 burning is not supported), or UDF burning is not supported (such as when it is determined in step S263 of the above example that UDF burning is not supported), the burning verification result is set to a first preset value to indicate a burning abnormality, and a burning error message that causes burning to be prohibited is output.

[0086] When it is determined in step S262 that ISO9660 burning is supported, or when it is determined in step S263 that UDF burning is supported, the burning verification result is set to a second preset value to indicate that ISO9660 burning or UDF burning is supported, wherein the second preset value is different from the first preset value.

[0087] For example, the first preset value may be 1, and the second preset value may be 0. Thus, when the burn verification result is 0, it indicates that a burn abnormality has occurred, which may be caused by one of the following three reasons: 1) Insufficient disc space; 2) Although the disc file system corresponding to the last burn is ISO9660, it is not Joliet, RockRidge, or an empty mark; 3) Although the disc file system corresponding to the last burn is UDF, its version is not any of 1.02, 2.01, and 2.5.

[0088] In addition, according to an embodiment of the present invention, the above automatic verification method may further include the following steps: displaying the generated burning verification result to the user through the UI, and setting the default burning option according to the marked data for the user to use.

[0089] When the disc is a blank disc, for example, ISO9660+Joliet extended protocol burning may be provided by default, and ISO9660 and UDF marked burning options may be supported.

[0090] When it is determined that ISO9660 burning is supported, the corresponding burning options marked are provided by default, and the UDF burning options are hidden.

[0091] When it is confirmed that UDF burning is supported, the corresponding burning options marked are provided by default, and the ISO9660 burning options are hidden.

[0092] It should be understood that in other embodiments of the present invention, the order of executing each step or the sub-steps in each step can be executed in the order described in the embodiment of the present invention, or in other orders. For example, a certain prior step described in the example above can also be executed after another subsequent step, or the two can be processed in parallel (simultaneously, either in sequence); for another example, the sub-steps in a certain step can also adjust the execution order, such as being executed in other steps, or being executed separately in some other steps. For example, the sub-step of determining whether the optical disk space is sufficient in a certain step described in the text can be executed in the step described in the text, or in multiple steps in the preferred embodiment described below (such as blank optical disk service, ISO9660 service and UDF service) each executed once, and so on. Therefore, without affecting the purpose of the present invention, the specific implementation of the present invention is not limited to the execution order in the above example, and other orders that can complete the above steps and realize their functions can also be used.

[0093] An embodiment of the present invention further provides a method for burning an optical disc, which automatically checks an inserted optical disc by using the automatic checking method before optical disc burning described above, and then performs subsequent processing according to the checking result.

[0094] After the automatic check is completed, if it is determined that the disc space is insufficient, ISO9660 burning is not supported, or UDF burning is not supported, burning is prohibited and the user is prompted that the burning failed. In one implementation, for example, the user may be prompted that the burning failed due to insufficient disc space, and the user may check again after arranging the disc space to determine whether the burning is possible.

[0095] When it is determined that the disc space is sufficient, if the disc is blank, the disc can be burned according to the default burning option or the user's selection in the predetermined range. The current default burning option is ISO9660+Joliet extended protocol mode, and the predetermined range includes ISO9660 and UDF marked burning modes.

[0096] In addition, when it is determined that there is enough space on the disc, if ISO9660 burning or UDF burning is supported, burning can be performed according to the default burning option. The current default burning option is the marked burning method.

[0097] The embodiment of the present invention further provides an automatic verification device 300 for optical disc recording, which can execute the steps of the automatic verification method 200 described above. Figure 3 The automatic checking device 300 is described below.

[0098] like Figure 3As shown, the automatic verification device 300 includes an information acquisition unit 310 , a space determination unit 320 , a first processing unit 330 , a second processing unit 340 and a verification result generation unit 350 .

[0099] The information acquisition unit 310 is adapted to respond to a user's burning request, and obtain the operating system version when the operating system supports both ISO9660 additional burning and UDF additional burning, and obtain the optical disc file system and its version or extended protocol corresponding to the last burning recorded on the optical disc.

[0100] The space determination unit 320 is adapted to determine whether the optical disc space is sufficient, and to mark accordingly when it is determined that the optical disc space is insufficient.

[0101] The first processing unit 330 is adapted to determine and mark a supported corresponding burning mode according to the operating system version when the optical disc has sufficient space and is a blank optical disc.

[0102] For example, the first processing unit 330 may determine whether the optical disc is a blank disc by performing the following processing: if the obtained optical disc file system is empty, and the obtained file system version or extended protocol is empty, the current optical disc is determined to be a blank optical disc.

[0103] According to an implementation of the present invention, the first processing unit 330 may, for example, perform the following processing: if the operating system version is not lower than UOS 1030, determine and mark it as supporting ISO9660 standard file system burning, ISO9660+RockRidge extension protocol burning, and ISO9660+Joliet extension protocol burning. And if the operating system version is not lower than UOS 1040, determine and mark it as supporting UDF proficient format burning to indicate that Windows CD / DVD disc burning mode is supported.

[0104] According to an implementation of the present invention, the second processing unit 340 may include, for example, an ISO9660 processing unit 341 and a UDF processing unit 342 (not shown in the figure).

[0105] In this implementation, the ISO9660 processing unit 341 can be adapted to determine and mark the supported corresponding ISO9660 burning method based on the extended protocol of the optical disc file system and the operating system version when there is sufficient optical disc space and the optical disc file system corresponding to the last burn is ISO9660; and when the extended protocol is not Joliet, RockRidge or empty, it is determined that ISO9660 burning is not supported and is marked.

[0106] For example, the ISO9660 processing unit 341 may perform the following processing: if the extended protocol of the optical disc file system is Joliet, and the operating system version is not lower than UOS 1030, it is determined to support ISO9660+Joliet extended protocol burning and marking. If the extended protocol of the optical disc file system is RockRidge, and the operating system version is not lower than UOS 1030, it is determined to support ISO9660+RockRidge extended protocol burning and marking. And if the extended protocol of the optical disc file system is empty, it is determined to support standard ISO9660 burning and marking.

[0107] The UDF processing unit 342 can be adapted to determine and mark the supported corresponding UDF burning method according to the disc file system version and the operating system version when there is sufficient disc space and the disc file system corresponding to the last burn is UDF. When the disc file system version is not 1.02, 2.01 or 2.5, it is determined that UDF burning is not supported and marked.

[0108] For example, the UDF processing unit 342 can perform the following processing: If the disc file system version is 1.02 and the operating system version is not less than UOS 1040, it is marked as udf 1.02 version burning to indicate support for Windows CD / DVD mode additional burning. If the disc file system version is 2.01 and the operating system version is not less than UOS 1040, it is marked as udf 2.01 version burning to indicate support for Windows disc USB mode additional burning. If the disc file system version is 2.5 and the operating system version is not less than UOS 1040, it is marked as udf 2.5 version burning to indicate support for Blu-ray disc burning.

[0109] Furthermore, the verification result generation unit 350 is adapted to generate a burn verification result based on at least part of the marked data.

[0110] According to an implementation of the present invention, the verification result generating unit 350 may, for example, perform the following processing: when the disc space is insufficient, ISO9660 burning is not supported, or UDF burning is not supported, the burning verification result is a first preset value to indicate that the burning is abnormal, and a burning error message that causes the prohibition of burning is output. When it is determined that ISO9660 burning or UDF burning is supported, the burning verification result is a second preset value to indicate that ISO9660 burning or UDF burning is supported, wherein the second preset value is different from the first preset value.

[0111] In addition, according to an implementation of the present invention, the automatic verification device 300 may further include an output unit (not shown in the figure). The output unit can display the generated burning verification result to the user through the UI, and set the default burning option according to the marked data for the user to use. Among them, when the optical disc is a blank optical disc, ISO9660+Joliet extended protocol burning is provided by default, and ISO9660 and UDF marked burning options are supported. When it is determined that ISO9660 burning is supported, the corresponding marked burning options are provided by default, and the UDF burning options are hidden. When it is determined that UDF burning is supported, the corresponding marked burning options are provided by default, and the ISO9660 burning options are hidden.

[0112] The embodiment of the present invention further provides an optical disc recording device.

[0113] The optical disc recording device 400 is as follows Figure 4 As shown, in addition to the automatic verification device 300 mentioned above, it also includes a burning processing unit 410.

[0114] like Figure 4 As shown, the burning processing unit 410 can perform the following processing: when it is determined that the disc space is insufficient, ISO9660 burning is not supported, or UDF burning is not supported, burning is prohibited and the user is prompted that the burning has failed; when the disc is a blank disc, burning is performed according to the default burning option or the user's selection in a predetermined range, and the current default burning option is the ISO9660+Joliet extended protocol mode, and the predetermined range includes ISO9660 and UDF marked burning modes; and when it is determined that ISO9660 burning or UDF burning is supported, burning is performed according to the default burning option, and the current default burning option is the marked burning mode.

[0115] Combine the following Figure 7-10 A preferred embodiment of an automatic verification method / device before optical disc burning (and an optical disc burning method / device) according to an embodiment of the present invention is described.

[0116] At present, in the existing Linux desktop environment, many domestic operating systems such as Kylin use the universal burning tool Brasero under Linux to burn optical drives.

[0117] Figure 5A schematic diagram of the Brasero burning tool interface is shown. Brasero uses the GNU General Public License and is a free software that is integrated into GNOME. Its version number changes with the GNOME desktop version number. Since 2008, Brasero has added many burning functions and features, so it is widely used in Linux. Even some Linux distributors, including Kylin, Ubuntu and other operating system platforms, directly use Brasero for optical drive burning, which can save a lot of R&D costs.

[0118] Although Brasero is powerful, it cannot perform append-to-disc burning with Windows. During the append-to-disc burning process, due to the lack of burning process marking and verification functions, the file name cannot be recognized or the ISO9660 and UDF file systems overlap each other, causing damage to the UDF file system disc file system. In contrast, the embodiments of the present invention can overcome these defects.

[0119] Therefore, this embodiment provides a technology that is conducive to CD identification and compatibility additional burning, which is based on the UOS system architecture ISO9660 underlying library libisofs, libisoburn, UDF underlying library libudfburn, libudfgenimage (that is: ISO9660 additional burning technology, UDF additional burning technology). This core module provides an independent CD identification and compatibility solution, for example, it can be named dfmburn, which is equivalent to the automatic verification device described above, and is used to execute the processing of the device (or execute the steps of the automatic verification method described above).

[0120] like Figure 6 As shown, in the current burning business, dfmburn is mainly used for UOS file manager (dde-file-manager). Dde-file-manager is responsible for the UI interaction logic with the user, and then processes the disc identification and compatibility business through the dfmburn module to help users discover and correct the disc burning compatibility parameters as early as possible to avoid business abnormalities.

[0121] After the dfmburn module is triggered by the optical disk service, it can start processing.

[0122] First, the user double-clicks the CD-ROM drive icon in the application dde-file-manager and enters the CD-ROM information directory.

[0123] Next, the user clicks the burn button for the file data that is ready to be burned.

[0124] In this way, the application dde-file-manager calls the ready_to_burn function in dfmburn. The ready_to_burn function receives three parameters: a) input parameter dev, char* type, indicating the name of the optical drive device; b) input parameter path, char* type, indicating the buffer path to be burned; c) output parameter resultinfo, custom structure burn_result_t type, which is the current disc burning verification result.

[0125] The return value type of the function ready_to_burn is int. It returns 0 when it works correctly and returns a non-zero value when it works abnormally.

[0126] In this way, after the ready_to_burn function obtains the parameters, it needs to verify whether the file system of the device recorded by the parameter dev satisfies the following Figure 7 The business requirements shown.

[0127] Figure 7 The overall processing flow of the automatic verification method / device before optical disc burning of this preferred embodiment is given. Figure 7 As shown, first, according to the parameter dev, the org.freedesktop.UDisks2.Block interface IdType is called to obtain the file system recorded on the optical disc, and the org.freedesktop.UDisks2.Block interface IdVersion is called to obtain the file system version or extended protocol recorded on the optical disc, and recorded.

[0128] It should be noted that the file system and file system version or extended protocol recorded in the optical disc called here are all recorded in the last burn. When the optical disc is burned additionally, the supported burning mode can be determined based on the record of the last burn (that is, the record of the most recent burn event).

[0129] Thus, according to the foregoing description, if IdType and IdVersion are empty, it can be determined to be a blank optical disc, thereby entering the blank optical disc service, which can be named blank_burn_check, for example.

[0130] In addition, if IdType is empty and IdVersion is not empty, it can also be determined as a blank disc and enter the blank disc business, but this situation is relatively rare.

[0131] Figure 8 Given Figure 7In the preferred embodiment, the parameters and return values ​​of the blank_burn_check and ready_to_burn functions are consistent.

[0132] like Figure 8 As shown, the libisoburn interface Xorriso_sieve_get_result is called to obtain the current disc space size and the size of the file to be burned in the buffer. By comparing the two, it can be determined whether the disc space is sufficient.

[0133] If the disk space is insufficient, mark the disk space insufficient and terminate the subprocess, such as Figure 8 As shown, you can enter Figure 7 The subsequent exception handling sub-process shown; if the disk space is sufficient, continue to obtain system version information. The current communication operating system is divided into UOS 1020, 1030, and 1040, but the application of this embodiment is not limited to this, and is also applicable to the processing of higher versions in the future.

[0134] If the system version is greater than or equal to 1030, it is marked that three burning methods, namely ISO9660 standard file system, ISO9660+RockRidge extended protocol, and ISO9660+Joliet extended protocol, are supported, and the sub-process is exited to enter the subsequent exception handling sub-process.

[0135] If the system version is greater than or equal to 1040, it is marked that the UDF Mastered Format burning mode is supported, that is, the Windows CD / DVD disc burning mode is supported, and the sub-process is jumped out to enter the subsequent exception handling sub-process.

[0136] Therefore, this embodiment can support multiple file system selections for burning on a blank optical disc, that is, one of the UDF file system, the ISO9660 file system and the extended protocol can be selected for burning.

[0137] In this way, according to Figure 8 The process shown can be completed Figure 7 Processing of blank optical disc business shown.

[0138] refer to Figure 7 After completing the blank optical disc service, an exception handling step may be performed, and the specific processing process of this step will be described later below.

[0139] See also Figure 7When IdType and IdVersion are not all empty, the file system of the last recording of the disc may be ISO9660 or UDF. Next, the data read is used to determine whether the ISO9660 service (ie ISO-9660 shown in the figure) or the UDF service is supported.

[0140] like Figure 7 As shown, when the read IdType is "iso9660", it is determined to enter the ISO9660 business, for example, it can be named iso9660_burn_check.

[0141] Fig. 9 Given Figure 7 In the preferred embodiment, the parameters and return values ​​of the iso9660_burn_check and ready_to_burn functions are consistent.

[0142] like Fig. 9 As shown, the libisoburn interface Xorriso_sieve_get_result is called to obtain the current disc space size and the size of the file to be burned in the buffer. The two are compared to determine whether the disc space is sufficient.

[0143] If the disk space is insufficient, the mark disk space is insufficient (or the mark disk space error, etc. as shown in the figure), and the process is terminated, such as Fig. 9 As shown, you can enter Figure 7 The subsequent exception handling sub-process shown; if the disc space is sufficient, continue to obtain the system version information.

[0144] If IdVersion is Joliet Extension and the current system version is greater than or equal to 1030, it is marked as ISO9660+Joliet extension protocol, and the current sub-process is exited to enter the subsequent exception handling sub-process.

[0145] If IdVersion is RockRidge Extension and the current system version is greater than or equal to 1030, it is marked as ISO9660+RockRidge extension protocol, and the current sub-process is exited to enter the subsequent exception handling sub-process.

[0146] If IdVersion is empty, it indicates standard ISO9660 burning, and only 8+3 format is supported. The current sub-process is exited and the subsequent exception handling sub-process is entered.

[0147] If IdVersion is not one of the above three situations (hereinafter referred to as "wrong ISO9660 extension mode"), that is, IdVersion is not Joliet Extension, RockRidge Extension, or an empty tag, it is marked as wrong ISO9660 extension mode and is not supported, that is, ISO9660 burning is not supported, the current sub-process is jumped out, and the subsequent exception handling sub-process is entered.

[0148] In this way, according to Fig. 9 The process shown can be completed Figure 7 The processing of ISO9660 business is shown.

[0149] like Figure 7 As shown, when the read IdType is "udf", it is determined to enter the UDF business, for example, it can be named udf_burn_check.

[0150] Fig.10 Given Figure 7 In the preferred embodiment, the parameters and return values ​​of the udf_burn_check and ready_to_burn functions are consistent.

[0151] like Fig.10 As shown, the libisoburn interface Xorriso_sieve_get_result is called to obtain the current disc space size and the size of the file to be burned in the buffer. The two are compared to determine whether the disc space is sufficient.

[0152] If the disk space is insufficient, the mark disk space is insufficient (or the mark disk space error, etc. as shown in the figure), and the process is terminated, such as Fig.10 As shown, you can enter Figure 7 The subsequent exception handling sub-process shown; if the disc space is sufficient, continue to obtain the system version information.

[0153] If IdVersion is 1.02 and the current system version is greater than or equal to 1040, it is marked as udf 1.02 version burning, which supports Windows CD / DVD mode additional burning, and the current sub-process is jumped out to enter the subsequent exception handling sub-process.

[0154] If IdVersion is 2.01 and the current system version is greater than or equal to 1040, it is marked as udf 2.01 version burning, which supports additional burning in Windows CD-ROM USB disk mode, and the current sub-process is jumped out to enter the subsequent exception handling sub-process.

[0155] If IdVersion is 2.5 and the current system version is greater than or equal to 1040, it is marked as udf 2.5 version burning, which supports Blu-ray disc burning, and the current sub-process is jumped out to enter the subsequent exception handling sub-process.

[0156] If IdVersion is not one of the above three situations (hereinafter referred to as "wrong UDF version"), that is, IdVersion is not 1.02, 2.01, or 2.5, it is marked as a UDF version error, UDF burning is not supported, the current sub-process is jumped out, and the subsequent exception handling sub-process is entered.

[0157] In this way, according to Fig. 9 The process shown can be completed Figure 7 The processing of the UDF business is shown.

[0158] like Figure 7 As shown, in the "Exception Handling" sub-process, blank_burn_check, iso9660_burn_check, and udf_burn_check are comprehensively processed and recorded in resultinfo.

[0159] Among them, in the exception handling sub-process: if it is determined that the disk space is insufficient in the three sub-processes of blank_burn_check, iso9660_burn_check, and udf_burn_check, it is marked as an exception and burning is prohibited; if it is determined that the ISO9660 extension mode is wrong in the iso9660_burn_check sub-process, it is marked as ISO9660 burning exception and burning is prohibited; if it is determined that the UDF version is wrong in the udf_burn_check sub-process, it is marked as UDF burning exception and burning is prohibited.

[0160] In this way, by combining the return values ​​of the correct processes of blank_burn_check, iso9660_burn_check, and udf_burn_check in the exception handling sub-process, blank disc burning, ISO9660 disc additional burning, or UDF disc additional burning services are marked respectively. It is worth mentioning that blank_burn_check, iso9660_burn_check, and udf_burn_check are mutually exclusive, so they can only be marked as any one of the blank disc burning, ISO9660 disc additional burning, or UDF disc additional burning services.

[0161] Thus, the information of the aforementioned processing in the exception handling sub-process can be recorded in resultinfo.

[0162] In this way, if it is an abnormal situation (burning is prohibited), 1 is returned, and if it is a normal situation (burning is allowed), 0 is returned, and the value is returned to resultinfo.

[0163] The upper-layer application dde-file-manager prohibits burning according to the return value of ready_to_burn if it is not 0, and throws a burning error message according to resultinfo.

[0164] In addition, the upper-layer application dde-file-manager can also display the variable data to the user using the UI interface by parsing resultinfo, and set the marking service as the default option for the user.

[0165] For example, if the blank_burn_check marking service determines that the disc is blank, the ISO9660+Joliet extended protocol can be used by default, which supports ISO9660 and UDF marked burning service selections; if the iso9660_burn_check marking service determines that ISO9660 burning is supported, the marked service selection can be provided by default and the UDF service selection can be hidden; and if the udf_burn_check marking service determines that UDF burning is supported, the marked service selection can be provided by default and the ISO9660 service selection can be hidden.

[0166] This embodiment can be based on the UOS ISO9660 and UDF file system additional burning technology, and will solve the problems of automatic recognition mark verification, burning method selection, and prohibition of burning of ISO9660 and UDF optical disc file systems during the additional burning of optical discs in Windows (using CD / DVD optical disc burning method) and Linux, so as to ensure the correctness of the burning business in the production process and prevent quality accidents such as file loss or unreadable files due to damage to the optical disc file system.

[0167] This embodiment supports the identification of the UDF file system and the UDF file system version of a burned optical disc; supports the identification of the ISO9660 file system and extended subsystem of a burned optical disc, namely: the ISO9660 standard file system, the ISO9660+RockRidge extended protocol, and the ISO9660+Joliet extended protocol; supports automatic marking of additional file systems for burned optical discs, marking UDF additional burning services, marking ISO9660 file system additional burning services, prohibiting illegal burning outside of known services, and avoiding mixed burning of file systems, resulting in file system damage and unreadable optical discs; supports the selection of multiple file systems for burning on blank optical discs, that is, the UDF file system, ISO9660 file system and extended protocol can be selected for optical disc burning.

Claims

1. An automatic verification method for optical disc before burning, the automatic verification method comprising the steps of: In response to a user's burning request, if the operating system supports both ISO9660 append burning and UDF append burning, obtain the operating system version, and obtain the optical disc file system and its version or extended protocol corresponding to the last burning recorded in the optical disc; If the current disc space is smaller than the size of the file to be burned in the buffer, it is determined that the disc space is insufficient and marked; If the disc has sufficient space and is blank, determine the supported burning method based on the operating system version and mark it; If the disc has sufficient space and is not a blank disc, judging whether the corresponding disc file system burning mode is supported and marking it according to the extension protocol of the disc file system and the operating system version; as well as Based on at least part of the marked data, a burning verification result is generated, including: when the disc space is insufficient, ISO9660 burning is not supported, or UDF burning is not supported, the burning verification result is a first preset value to indicate a burning abnormality, and a burning error message resulting in prohibition of burning is output; and when it is determined that ISO9660 burning or UDF burning is supported, the burning verification result is a second preset value to indicate that ISO9660 burning or UDF burning is supported, wherein the second preset value is different from the first preset value.

2. The automatic verification method according to claim 1, wherein: The step of judging whether the corresponding optical disc file system burning mode is supported and marking it according to the extended protocol of the optical disc file system and the operating system version comprises: If the disc space is sufficient and the disc file system corresponding to the last burn is ISO9660, determine the supported corresponding ISO9660 burning mode according to the extended protocol of the disc file system and the operating system version and mark it; if the extended protocol is not Joliet, RockRidge or empty, determine that ISO9660 burning is not supported and mark it; and If the disc space is sufficient and the disc file system corresponding to the last burn is UDF, the supported corresponding UDF burning method is determined and marked according to the disc file system version and the operating system version. If the disc file system version is not 1.02, 2.01 or 2.5, it is determined that UDF burning is not supported and is marked.

3. The automatic verification method according to claim 1 or 2, wherein: If the disc has sufficient space and is a blank disc, the steps of determining and marking the supported corresponding burning methods according to the operating system version include: If the operating system version is not lower than UOS1030, it is determined and marked as supporting ISO9660 standard file system burning, ISO9660+RockRidge extended protocol burning and ISO9660+Joliet extended protocol burning.

4. The automatic verification method according to claim 1 or 2, wherein: If the disc has sufficient space and is a blank disc, the steps of determining and marking the supported corresponding burning methods according to the operating system version include: If the operating system version is not lower than UOS1040, it is determined and marked as supporting UDF proficient format burning to indicate that Windows CD / DVD disc burning mode is supported.

5. The automatic verification method according to claim 2, wherein: The step of determining and marking the supported corresponding ISO9660 burning mode according to the extended protocol of the optical disc file system and the operating system version comprises: If the extended protocol of the CD file system is Joliet, and the operating system version is not lower than UOS1030, it is determined to support ISO9660+Joliet extended protocol burning and marked; If the extended protocol of the optical disc file system is RockRidge, and the operating system version is not lower than UOS 1030, it is determined to support ISO9660+RockRidge extended protocol burning and marked; and If the extended protocol of the CD file system is empty, it is determined to support standard ISO9660 burning and marking.

6. A method for burning an optical disc, comprising the automatic verification method before burning an optical disc according to any one of claims 1 to 5, the method further comprising: When it is determined that the disc space is insufficient, ISO9660 burning is not supported, or UDF burning is not supported, burning is prohibited and the user is prompted that the burning has failed; When the optical disc is a blank optical disc, burning is performed according to a default burning option or a user's selection in a predetermined range, the current default burning option is ISO9660+Joliet extended protocol mode, and the predetermined range includes ISO9660 and UDF marked burning modes; and When it is determined that ISO9660 burning or UDF burning is supported, burning is performed according to the default burning options. The current default burning option is the marked burning method.

7. An automatic verification device for optical disc before burning, comprising: The information acquisition unit is adapted to respond to a burning request from a user, and to acquire the operating system version, and the optical disc file system and its version or extended protocol corresponding to the last burning recorded on the optical disc, if the operating system supports both ISO9660 additional burning and UDF additional burning; A space determination unit, adapted to determine whether the optical disc space is sufficient, and to mark accordingly when it is determined that the optical disc space is insufficient; The first processing unit is adapted to determine and mark the corresponding supported burning mode according to the operating system version when the optical disc has sufficient space and is a blank optical disc; The second processing unit is adapted to determine whether the corresponding optical disc file system burning mode is supported and mark it according to the extended protocol of the optical disc file system and the operating system version when the optical disc space is sufficient and the optical disc is not blank; as well as The verification result generating unit is adapted to generate a burning verification result based on at least part of the marked data, including: when the optical disc space is insufficient, ISO9660 burning is not supported, or UDF burning is not supported, the burning verification result is a first preset value to indicate a burning abnormality, and a burning error message resulting in prohibition of burning is output; and when it is determined that ISO9660 burning or UDF burning is supported, the burning verification result is a second preset value to indicate that ISO9660 burning or UDF burning is supported, wherein the second preset value is different from the first preset value.

8. A CD burning device, comprising the automatic verification device for CD burning as claimed in claim 7, and also comprising a burning processing unit, wherein the burning processing unit is suitable for performing the following processing: when it is determined that the CD space is insufficient, ISO9660 burning is not supported, or UDF burning is not supported, burning is prohibited, and the user is prompted that the burning has failed; when the CD is a blank CD, burning is performed according to the default burning option or the user's selection in a predetermined range, and the current default burning option is the ISO9660+Joliet extended protocol mode, and the predetermined range includes ISO9660 and UDF marked burning modes; and when it is determined that ISO9660 burning or UDF burning is supported, burning is performed according to the default burning option, and the current default burning option is the marked burning mode.

9. A computing device comprising: at least one processor and a memory storing program instructions; When the program instructions are read and executed by the processor, the computing device executes the automatic verification method according to any one of claims 1 to 5 or the optical disc burning method according to claim 6.

10. A readable storage medium storing program instructions, which, when read and executed by a computing device, enables the computing device to execute the automatic verification method according to any one of claims 1 to 5 or the optical disc burning method according to claim 6.

Citation Information

Patent Citations

  • Optical disc burning method, computing equipment and readable storage medium

    CN113066515A

  • Optical disk device

    JP2006351153A