TW201316197A - Method for data protection - Google Patents

Method for data protection Download PDF

Info

Publication number
TW201316197A
TW201316197A TW100137427A TW100137427A TW201316197A TW 201316197 A TW201316197 A TW 201316197A TW 100137427 A TW100137427 A TW 100137427A TW 100137427 A TW100137427 A TW 100137427A TW 201316197 A TW201316197 A TW 201316197A
Authority
TW
Taiwan
Prior art keywords
data
image distortion
embedded product
personal computer
processing
Prior art date
Application number
TW100137427A
Other languages
Chinese (zh)
Inventor
Ming-Chang Wang
Yuichiro Kuga
Shan-Wen Chuang
Original Assignee
Avermedia Tech Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Avermedia Tech Inc filed Critical Avermedia Tech Inc
Priority to TW100137427A priority Critical patent/TW201316197A/en
Publication of TW201316197A publication Critical patent/TW201316197A/en

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A data protection method is provided. The data protection method is applied to an embedded product and comprises steps of: identifying the embedded product is in a debug mode; identifying the embedded product is connected to a personal computer via a data line; proceeding an image distortion process to an video bitstream provided by the embedded product; and transmitting the video bitstream to the personal computer via the data line after the image distortion process.

Description

資料保護方法Data protection method

本發明是有關於一種資料保護方法,且特別是一種對視訊串流資料進行影像失真處理之資料保護方法。The invention relates to a data protection method, and in particular to a data protection method for image distortion processing of video stream data.

嵌入式產品的使用相當普及,而嵌入式產品可能的運作模式可概略的區分為三種:其一為獨立於個人電腦而處於一般的操作模式;其二是將嵌入式產品與個人電腦相連接而被當成儲存裝置使用,此時嵌入式產品處於儲存模式(storage mode);其三則是嵌入式產品與個人電腦透過資料線相連接,而被設定為偵錯模式(debug mode),一般而言,此種模式是為了利用個人電腦所提供的偵錯工具軟體而對嵌入式產品進行偵錯。The use of embedded products is quite popular, and the possible operating modes of embedded products can be roughly divided into three types: one is in a normal operating mode independent of the personal computer; the other is to connect the embedded product to the personal computer. It is used as a storage device. At this time, the embedded product is in storage mode. The third is that the embedded product is connected to the personal computer through the data line, and is set to the debug mode. Generally speaking, it is set to debug mode. This mode is to debug embedded products by using the debugging tool software provided by the personal computer.

基本上,當嵌入式產品獨立於個人電腦而為一般的操作模式時,嵌入式產品本身可以透過內建的軟體而正常的播放視訊串流資料;當嵌入式產品透過資料線連接至個人電腦而處於儲存模式時,嵌入式產品係被當成一般的儲存裝置,而個人電腦可存取嵌入式產品中的資料;當嵌入式產品處於偵錯模式時,個人電腦可以透過與嵌入式產品之間的資料線而取得由嵌入式產品所提供的資料與系統狀態,而此種模式讓嵌入式產品開發廠商在開發新的嵌入式產品時,可以透過個人電腦來協助偵錯。Basically, when the embedded product is in a normal operating mode independent of the personal computer, the embedded product itself can normally play video streaming data through the built-in software; when the embedded product is connected to the personal computer through the data line When in storage mode, the embedded product is treated as a general storage device, and the personal computer can access the data in the embedded product; when the embedded product is in the debugging mode, the personal computer can communicate with the embedded product. The data line captures the data and system status provided by the embedded product, and this model allows embedded product developers to assist in debugging through the development of new embedded products.

以嵌入式產品常見的Android作業系統為例,廠商便可以透過在個人電腦執行的Android軟體開發套件(Software Development Kit,簡稱為SDK),進行嵌入式產品之應用程式、功能開發的偵錯使用。而嵌入式產品與個人電腦之間可以透過USB連接埠或其他方式建立資料連線,由於個人電腦端安裝了Android軟體開發套件,因此,嵌入式產品的開發者可以根據USB資料線與Android軟體開發套件,開發嵌入式產品的功能與驗證系統的錯誤等。Taking the Android operating system common to embedded products as an example, manufacturers can use the Android Software Development Kit (SDK) executed on a personal computer to debug applications of embedded products and function development. The embedded product and the personal computer can establish a data connection through a USB connection or other means. Since the Android software development kit is installed on the personal computer side, the developer of the embedded product can develop according to the USB data line and the Android software. Kits, developing features for embedded products and verifying system errors.

為了輔助嵌入式產品的系統開發過程,Android軟體開發套件提供了Android偵錯橋接工具(Android Debug Bridge,簡稱為ADB)作為偵錯使用。當嵌入式產品處於通用串列匯流排偵錯模式(USB debug mode)時,使用者即可通過ADB工具進行各種偵錯、作業系統底層空間(Linux user space)等功能。In order to assist the system development process of embedded products, the Android software development kit provides the Android Debug Bridge (ADB) for debugging purposes. When the embedded product is in the USB debug mode, the user can perform various debugging, operating system underlying space (Linux user space) through the ADB tool.

此外,Adroid SDK所提供的使用者介面(User Interface)軟體,還提供了達威客偵錯監控伺服工具(Dalvik Debug Monitor Server,簡稱為DDMS),透過DDMS工具軟體,操作個人電腦的使用者,便可以捕捉在嵌入式產品進行播放的畫面。In addition, the user interface software provided by the Adroid SDK also provides the Dalvik Debug Monitor Server (DDMS), which is used by the DDMS tool software to operate PC users. You can capture the picture played in the embedded product.

換言之,使用ADB工具軟體搭配DDMS工具軟體時,使用者可以透過USB埠,由個人電腦讀取、捕捉在嵌入式產品上的畫面。儘管ADB工具軟體的目的是讓開發者得以利用個人電腦進行嵌入式產品的功能偵錯,但是DDMS工具軟體可以捕捉畫面的功能卻可能被有心人士用來進行資料的非法複製。In other words, when using the ADB tool software with the DDMS tool software, the user can read and capture the image on the embedded product through the USB port. Although the purpose of the ADB tool software is to allow developers to use the personal computer for functional debugging of embedded products, the DDMS tool software can capture the function of the picture but may be used by people with the heart to illegally copy the data.

舉例來說,若嵌入式產品提供了具有合法版權的資料,如:視訊串流資料(video bitstream),在一般使用情況下,僅有該嵌入式產品可以播放該筆視訊串流資料。但是透過ADB工具軟體與USB資料線的使用,一旦嵌入式產品於偵錯模式並與個人電腦建立連線時,使用者便可能利用個人電腦上的DDMS工具軟體,讓該筆視訊串流資料在未獲重製授權的情況下,被非法的複製於個人電腦端。For example, if the embedded product provides legally copyrighted data, such as video bitstream, in general use, only the embedded product can play the video stream data. However, through the use of ADB tool software and USB data cable, once the embedded product is in debug mode and connected to the personal computer, the user may use the DDMS tool software on the personal computer to make the video streaming data Unauthorized copying is illegally copied to the PC.

也就是說,個人電腦與嵌入式產品在偵錯模式下所建立的資料連線,可能讓原本在嵌入式產品所包含之具有合法版權的視訊資料被捕捉、複製於個人電腦端,而具有被非法複製的可能性。That is to say, the data connection established between the personal computer and the embedded product in the debugging mode may cause the video data originally possessed by the embedded product to be legally copyrighted to be captured and copied on the personal computer side, and has the The possibility of illegal copying.

本發明係有關於一種資料保護方法,應用於一嵌入式產品,該資料保護方法包含以下步驟:確認該嵌入式產品處於一偵錯模式;確認該嵌入式產品與一個人電腦之間利用一資料線建立一連線關係;對該嵌入式產品所提供之一視訊串流資料進行一影像失真處理;以及透過該資料線而傳送經該影像失真處理之該視訊串流資料至該個人電腦。The invention relates to a data protection method, which is applied to an embedded product. The data protection method comprises the following steps: confirming that the embedded product is in a debugging mode; confirming that a data line is used between the embedded product and a personal computer. Establishing a connection relationship; performing an image distortion processing on the video stream data provided by the embedded product; and transmitting the video stream data processed by the image distortion to the personal computer through the data line.

根據上述構想,本發明所述之資料保護方法,其中該影像失真處理係指:根據一失真處理參數而選擇應用於該視訊串流資料之影像失真演算法。According to the above concept, the data protection method according to the present invention, wherein the image distortion processing refers to: selecting an image distortion algorithm applied to the video stream data according to a distortion processing parameter.

根據上述構想,本發明所述之資料保護方法,其中該失真處理參數係包含:一失真判斷欄位與一失真選擇欄位。According to the above concept, the data protection method of the present invention, wherein the distortion processing parameter comprises: a distortion determination field and a distortion selection field.

根據上述構想,本發明所述之資料保護方法,其中更包含以下步驟:該嵌入式產品播放經影像失真處理之該視訊串流資料;或該嵌入式產品播放未經影像失真處理之該視訊串流資料。According to the above concept, the data protection method of the present invention further includes the following steps: the embedded product plays the video stream data processed by image distortion; or the embedded product plays the video string without image distortion processing. Flow data.

根據上述構想,本發明所述之資料保護方法,其中該嵌入式產品提供一作業系統,而該影像失真處理係透過該作業系統之一執行緒進行。According to the above concept, the data protection method of the present invention, wherein the embedded product provides an operating system, and the image distortion processing is performed by one of the operating systems.

根據上述構想,本發明所述之資料保護方法,其中該作業系統係為一Android作業系統。According to the above concept, the data protection method of the present invention, wherein the operating system is an Android operating system.

根據上述構想,本發明所述之資料保護方法,其中該影像失真處理係為一浮水印處理流程、一馬賽克處理流程、一縮放處理流程、一黑屏處理流程或一模糊化處理流程。According to the above concept, the data protection method of the present invention, wherein the image distortion processing is a watermark processing flow, a mosaic processing flow, a scaling processing flow, a black screen processing flow, or a blurring processing flow.

為了對本發明之上述及其他方面有更佳的瞭解,下文特舉較佳實施例,並配合所附圖式,作詳細說明如下:In order to better understand the above and other aspects of the present invention, the preferred embodiments are described below, and in conjunction with the drawings, the detailed description is as follows:

承上所述,個人電腦(桌上型電腦、筆記型電腦)提供了Android軟體開發套件,讓使用者可以透過個人電腦與嵌入式產品間的USB資料線,以及Android SDK所提供的ADB工具軟體、DDMS工具軟體而擷取、得到嵌入式產品的相關資訊。As mentioned above, the PC (desktop, notebook) provides an Android software development kit that allows users to access the USB data cable between the PC and the embedded product, as well as the ADB tool software provided by the Android SDK. DDMS tool software to capture and get information about embedded products.

然而,此種資料擷取的功能卻可能導致在嵌入式產品所提供的合法視訊資料串流資料,在未受保護的情況下,傳送至個人電腦,進而衍生因此而被非法複製的情形。However, the function of such data retrieval may result in the legitimate video data stream data provided by the embedded product being transmitted to the personal computer without being protected, thereby deriving the illegal copying.

為此,本發明在此針對嵌入式產品所提供之視訊串流資料提出一種資料保護方法。目的則是針對嵌入式產品與個人電腦間在建立了資料連線後,對處於偵錯模式的嵌入式產品進行資料保護,防止個人電腦透過偵錯時所使用的工具軟體而進行非法的資料擷取。To this end, the present invention proposes a data protection method for the video streaming data provided by the embedded product. The purpose is to protect the embedded products in the debugging mode after the data connection between the embedded product and the personal computer is established, to prevent the personal computer from illegally extracting the data through the tool software used in the debugging. .

為了便於說明,以下均以智慧型手機作為嵌入式產品的舉例,相關的技術內容均可由習用技術之人輕易的應用於他種嵌入式產品。此外,以下的較佳實施例假設視訊資料串流的內容包含一個動態的影片,所播放的畫面在某一時點時,影像畫面包含了三個大小不等的星星圖樣。For the convenience of description, the following are examples of smart phones as embedded products, and related technical contents can be easily applied to other embedded products by people skilled in the art. In addition, the following preferred embodiment assumes that the content of the video data stream contains a dynamic movie. When the played picture is at a certain time, the image picture contains three star patterns of different sizes.

請參見第1A圖,其係採用習用技術方式之智慧型手機,在偵錯模式下,透過與個人電腦間的資料線而傳送未經保護的視訊串流資料之示意圖。Please refer to FIG. 1A, which is a schematic diagram of transmitting unprotected video streaming data through a data line between a personal computer and a smart phone in a conventional mode.

根據第1A圖,個人電腦101與智慧型手機102以資料線103相連接,當智慧型手機102處於偵錯模式,並播放視訊資料串流的內容時,不但在智慧型手機102的螢幕可以看到正常播放的星星圖樣,在個人電腦101的螢幕上也可以看到與手機端相類似之完整的星星圖樣。在此同時,倘若個人電腦101在Android SDK的環境下,進行檔案的側錄與複製時,便可同步將畫面內容予以複製,此時重新儲存的版本將成為非法的視訊資料串流版本。According to FIG. 1A, the personal computer 101 and the smart phone 102 are connected by the data line 103. When the smart phone 102 is in the debugging mode and plays the content of the video data stream, not only can the screen of the smart phone 102 be viewed. To the normal playing star pattern, a complete star pattern similar to the mobile phone end can also be seen on the screen of the personal computer 101. At the same time, if the personal computer 101 performs the side recording and copying of the file in the Android SDK environment, the content of the screen can be copied synchronously, and the re-stored version will become an illegal video stream version.

亦即,根據習用技術的作法,當智慧型手機處於偵錯模式並進行視訊資料串流播放時,個人電腦也可以同步的擷取、播放相同的視訊資料串流的內容。That is to say, according to the conventional technology, when the smart phone is in the debugging mode and the video data stream is played, the personal computer can simultaneously capture and play the same video stream.

本發明為了改善這種潛在被非法複製的情形,提出了一種在嵌入式產品與個人電腦建立資料連線,並於偵錯模式下播放時,將畫面進行影像失真處理的作法。In order to improve the situation of such illegal copying, the present invention proposes a method of performing image distortion processing when an embedded product and a personal computer establish a data connection and play in a debug mode.

請參見第1B圖,其係採用本發明作法之智慧型手機,在偵錯模式下,透過與個人電腦間的資料線而傳送經過影像失真處理保護的視訊串流資料之示意圖。Please refer to FIG. 1B, which is a schematic diagram of a video stream protected by image distortion processing through a data line between a personal computer and a smart phone in the present invention.

在此較佳實施例中,智慧型手機112會先利用縮放處理流程而對視訊資料串流資料進行影像失真處理流程,也因此得出一個與第1A圖相較更為縮小、解析度較差的影像畫面。當然,智慧型手機112所採用的影像失真處理演算法並不以縮放處理流程為限,而可以是浮水印處理流程、馬賽克處理流程、黑屏處理流程或模糊化處理流程等。In the preferred embodiment, the smart phone 112 first uses the scaling process to perform an image distortion processing process on the video data stream data, thereby obtaining a smaller and less resolved image than the first image. Image screen. Of course, the image distortion processing algorithm adopted by the smart phone 112 is not limited to the scaling processing flow, but may be a watermark processing process, a mosaic processing flow, a black screen processing flow, or a fuzzy processing flow.

亦即,智慧型手機112在透過資料線113而傳送視訊資料串流前,會先將視訊資料串流進行影像失真處理。由於視訊資料串流已經經過影像失真處理而被破壞了,因此個人電腦111無法收到完整的視訊資料串流內容,即使以個人電腦111的工具軟體嘗試進行擷取、複製時,仍無法取得完整的影像內容,進而達到資料保護的效果。That is, the smart phone 112 first streams the video data for image distortion processing before transmitting the video data stream through the data line 113. Since the video data stream has been corrupted by image distortion processing, the personal computer 111 cannot receive the complete video stream content, and even if the software of the personal computer 111 attempts to capture and copy, it cannot be completed. The image content, in turn, achieves the effect of data protection.

換言之,一旦嵌入式產品進入偵錯模式,且與個人電腦進行資料連線而播放視訊串流資料時,便根據所搭配的影像失真演算法,而使嵌入式產品對視訊串流資料進行相對應的影像失真處理。如此一來,即便在個人電腦端仍然可以透過USB埠而接收來自嵌入式產品的資料,但是所接收的資料卻是經過失真處理的畫面資料,因此,即使以複製軟體進行盜版行為時,所複製得出的畫面資料將無法被正常觀看。In other words, once the embedded product enters the debugging mode and plays video data with the personal computer to play the video streaming data, the embedded product corresponds to the video streaming data according to the matched image distortion algorithm. Image distortion processing. In this way, even on the PC side, the data from the embedded product can be received through the USB port, but the received data is the distortion processed picture data, so even if the copy software is used for pirating, the copy is copied. The resulting picture data will not be viewed properly.

需注意的是,儘管在第1B圖中,智慧型手機與個人電腦所播放的影像畫面均是經過影像失真處理後的內容,但是在智慧型手機內部之硬體效能足夠的情況下,智慧型手機與個人電腦也可能分別播放原始而未經過影像失真處理的、已經經過影像失真處理的視訊資料串流。關於智慧型手機與個人電腦實際上以何種方式播放視訊資料串流,因屬應用上的變化,此處便不多加討論。It should be noted that although in Figure 1B, the image images played by the smart phone and the personal computer are image-distorted, but the hardware performance of the smart phone is sufficient, the smart type The mobile phone and the personal computer may also play the original video data stream that has undergone image distortion processing without image distortion processing. Regarding the way in which smart phones and personal computers actually play video data streams, this is not a discussion because of changes in the application.

接下來,本發明將更進一步討論如何進行對視訊串流資料進行影像失真處理。當嵌入式產品儲存視訊串流資料時,本發明可以利用一個失真處理參數來代表視訊串流資料是否要進行版權保護,以及用來進行版權保護所採用的作法。亦即,每一筆視訊串流資料都有一個相對應的失真處理參數,根據失真處理參數的內容,嵌入式產品在與個人電腦存在資料連線,並處於偵錯模式下時,便可以不同類型之播放方式來播放相對應的視訊串流資料。Next, the present invention will further discuss how to perform image distortion processing on video stream data. When the embedded product stores the video stream data, the present invention can utilize a distortion processing parameter to represent whether the video stream data is to be copyright protected, and the method used for copyright protection. That is to say, each video stream data has a corresponding distortion processing parameter. According to the content of the distortion processing parameter, the embedded product can be different when it is connected with the personal computer and is in the debugging mode. The playback mode is used to play the corresponding video stream data.

也就是說,對於應受版權保護的視訊串流資料,本發明提供了與其相對應的失真處理參數,藉此判斷是否要對視訊資料串流進行失真處理,以及進行失真處理的演算法種類。因此,失真處理參數可能包含複數個資料欄位,如:代表是否要進行失真處理的失真判斷欄位,以及所希望使用的失真處理演算法之種類的失真選擇欄位。That is to say, for video streaming data that should be protected by copyright, the present invention provides distortion processing parameters corresponding thereto, thereby determining whether to perform distortion processing on the video data stream and the type of algorithm for performing distortion processing. Therefore, the distortion processing parameters may include a plurality of data fields, such as a distortion determination field representing whether distortion processing is to be performed, and a distortion selection field of a type of distortion processing algorithm that is desired to be used.

當然,前述的失真判斷欄位、失真選擇欄位是否提供預設值,以及可能之數值種類與內容,均可根據系統的規劃而不同,此處不再贅述。再者,失真處理參數可以與視訊串流資料儲存在一起,當作是個別視訊串流資料在讀取前必須讀取的資料,也可以是以一個對應表的方式儲存於記憶體中,此部份均為應用時可能的變化,而不影響本發明的構想。Certainly, whether the foregoing distortion determination field, the distortion selection field provides a preset value, and the possible value types and contents may be different according to the planning of the system, and details are not described herein again. Furthermore, the distortion processing parameter may be stored together with the video stream data as data that must be read before the individual video stream data is read, or may be stored in the memory in a corresponding table manner. Portions are all possible variations in the application without affecting the inventive concept.

在失真判斷欄位中,可以利用一個位元之數值,例如:當位元為0時,代表無須進行失真處理,若位元為1時,則進行失真處理。而此欄位的數值,則可以根據嵌入式產品的使用狀態而改變,例如,當嵌入式產品進行一般的播放操作時,該位元的數值設定為0;當嵌入式產品與個人電腦相連接時,則將該位元的數值設定為1。In the distortion judgment field, a value of one bit can be utilized. For example, when the bit is 0, it means that distortion processing is not required, and if the bit is 1, distortion processing is performed. The value of this field can be changed according to the state of use of the embedded product. For example, when the embedded product performs a general playback operation, the value of the bit is set to 0; when the embedded product is connected to the personal computer Then, the value of the bit is set to 1.

另一方面,由於各種影像處理技術已趨成熟,因此,影像失真處理的種類也可以因應系統的應用不同而提供多種選擇。因此,失真選擇欄位將提供廠商或使用者選擇影像失真處理的演算法。失真選擇欄位的實際長度(位元數)可以根據所提供的影像失真處理演算法的數量多寡而變化,以不同長度的位元數來代表。On the other hand, since various image processing technologies have matured, the types of image distortion processing can also provide various options depending on the application of the system. Therefore, the Distortion Selection field will provide an algorithm for the manufacturer or user to select image distortion processing. The actual length (number of bits) of the distortion selection field may vary depending on the number of image distortion processing algorithms provided, and is represented by the number of bits of different lengths.

現今的嵌入式產品提供了較繁複的功能,也經常提供作業系統來進行各功能的管理,因此,此處的影像失真處理流程便可利用作業系統的執行緒來提供。Today's embedded products provide more complex functions, and often provide operating systems to manage each function. Therefore, the image distortion processing flow here can be provided by the operating system's thread.

再者,本發明使用影像失真處理流程的目的是為了防止視訊串流資料被不當的複製,因此,凡是能達到前述目的之資料防護方法均可以被採用。廠商可以根據系統的軟、硬體資源而選擇使用的影像失真處理演算法。Furthermore, the purpose of the image distortion processing flow of the present invention is to prevent the video stream data from being improperly copied. Therefore, any data protection method capable of achieving the foregoing objectives can be employed. The image distortion processing algorithm that the manufacturer can choose to use according to the software and hardware resources of the system.

舉例來說,影像失真處理演算法可以採用浮水印處理流程,即,在視訊串流資料中,內嵌版權的相關資訊,或是夾帶雜訊等,以作為智慧財產權認證。此處採用的數位浮水印技術可以是可視的(visible)的浮水印技術,也可能是不可視的浮水印技術。For example, the image distortion processing algorithm may adopt a watermark processing process, that is, in the video stream data, embedded copyright related information, or entrained noise, etc., as an intellectual property right authentication. The digital watermarking technology adopted here may be a visual watermarking technology or an invisible watermarking technology.

當然,其他種類的影像失真處理方式,例如:將視訊串流資料加上馬賽克處理流程,讓使用者無法正常看到視訊串流資料的畫面、對視訊串流資料進行縮放處理流程、黑屏處理流程或模糊化處理流程等方式,也都可以作為本發明在進行資料保護時的選擇。Of course, other types of image distortion processing methods, for example, the video streaming data is added to the mosaic processing flow, so that the user cannot normally view the video streaming data, scale the video streaming data, and process the black screen. Or the method of obfuscating the processing, etc., can also be used as the selection of the present invention in data protection.

請參見第2圖,其係根據本發明構想之較佳實施例,在智慧型手機對視訊資料串流提供資料保護方法之流程圖。此較佳實施例所揭露的資料保護方法可搭配第1B圖來瞭解,此處的資料保護方法包含以下流程:啟動Android SDK所提供的相關應用程式(步驟S21);進行Android應用程式的預覽(步驟S22);判斷嵌入式產品是否透過資料線而與個人電腦相連(步驟S23);判斷個人電腦是否以ADB工具軟體搭配DDMS工具軟體來使用(步驟S24);判斷嵌入式產品是否處於偵錯模式(步驟S25)。Please refer to FIG. 2, which is a flow chart of a method for providing data protection for a video stream in a smart phone according to a preferred embodiment of the present invention. The data protection method disclosed in the preferred embodiment can be understood in conjunction with FIG. 1B. The data protection method herein includes the following processes: starting an application provided by the Android SDK (step S21); and previewing the Android application ( Step S22): determining whether the embedded product is connected to the personal computer through the data line (step S23); determining whether the personal computer is used with the ADB tool software and the DDMS tool software (step S24); determining whether the embedded product is in the debugging mode (Step S25).

若步驟S23、S24、S25的判斷結果均為肯定時,代表嵌入式產品與個人電腦均處於相對應之偵錯模式,也就是在嵌入式產品內的視訊資料串流可能透過資料線而被傳送至個人電腦,此時便對進行視訊資料流進行影像失真處理流程(步驟S26);反之,則不特別進行視訊資料串流的處理。If the judgment results of steps S23, S24, and S25 are affirmative, it means that the embedded product and the personal computer are in the corresponding debugging mode, that is, the video data stream in the embedded product may be transmitted through the data line. To the personal computer, the video distortion processing flow is performed on the video data stream (step S26); otherwise, the video data stream processing is not particularly performed.

當步驟S26完成後,嵌入式產品再將經過影像失真處理的視訊串流資料由嵌入式產品透過資料線傳送至個人電腦(步驟S27)。因此,個人電腦僅能播放這些已經經過影像失真處理後的視訊串流資料,進而防止視訊資料串流被非法的擷取與複製。After the step S26 is completed, the embedded product transmits the video stream data subjected to the image distortion processing to the personal computer through the data line by the embedded product (step S27). Therefore, the personal computer can only play the video stream data that has been subjected to image distortion processing, thereby preventing the video data stream from being illegally captured and copied.

請參見第3圖,其係本發明所提供之視訊串流的資料保護方法流程圖。歸納前述的說明,本發明所提供的資料保護方法可被歸納為以幾個步驟:確認嵌入式產品處於偵錯模式(步驟S31);確認嵌入式產品透過資料線而與個人電腦相連接(步驟S32);對嵌入式產品所提供之視訊串流資料進行影像失真處理(步驟S33);以及嵌入式產品透過資料線而傳送經影像失真處理之視訊串流資料至個人電腦(步驟S35)。Please refer to FIG. 3, which is a flowchart of a data protection method for video streaming provided by the present invention. In summary, the data protection method provided by the present invention can be summarized in several steps: confirming that the embedded product is in the debug mode (step S31); confirming that the embedded product is connected to the personal computer through the data line (steps) S32): performing image distortion processing on the video stream data provided by the embedded product (step S33); and the embedded product transmitting the video distortion processed video stream data to the personal computer through the data line (step S35).

在此流程中,步驟S31、S32之順序可以互相對調,且與嵌入式產品相連接之個人電腦在接收、播放視訊串流資料時,因視訊串流資料已經經過影像失真處理,便無法對視訊串流資料進行非法複製。此外,雖然個人電腦所接收的視訊串流資料為經過影響失真處理後的版本,但就是就嵌入式產品本身來說,用以播放的視訊串流資料可以因應系統功能規劃的不同,而採用經過影像失真處理,或是未經影像失真處理之視訊串流資料。In this process, the sequence of steps S31 and S32 can be reversed, and the personal computer connected to the embedded product cannot receive video information because the video stream data has been subjected to image distortion processing when receiving and playing video stream data. Streaming data is illegally copied. In addition, although the video streaming data received by the personal computer is a version that has been affected by the distortion processing, the video streaming data used for playback can be used in accordance with the system function planning. Image distortion processing, or video streaming data without image distortion processing.

簡言之,本發明透過對視訊串流資料採用影像失真處理,避免在嵌入式產品與個人電腦相連接時,具有版權的視訊串流資料透過資料線的連接而被非法複製。因此在嵌入式產品與個人電腦相連接,而以個人電腦播放由嵌入式產品所提供之視訊串流資料時,透過影像失真處理來保護具有合法授權之視訊串流資料的內容。In short, the present invention uses image distortion processing on video streaming data to avoid illegal copying of copyrighted video streaming data through the connection of data lines when the embedded product is connected to the personal computer. Therefore, when the embedded product is connected to the personal computer and the video stream data provided by the embedded product is played by the personal computer, the content of the legally authorized video stream data is protected by the image distortion processing.

綜上所述,雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明。本發明所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾。因此,本發明之保護範圍當視後附之申請專利範圍所界定者為準。In conclusion, the present invention has been disclosed in the above preferred embodiments, and is not intended to limit the present invention. A person skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims.

101、111...個人電腦101, 111. . . personal computer

102、112...智慧型手機102, 112. . . Smart phone

103、113...資料線103, 113. . . Data line

第1A圖,其係採用習用技術方式之智慧型手機,在偵錯模式下,透過與個人電腦間的資料線而傳送未經保護的視訊串流資料之示意圖。Figure 1A shows a schematic diagram of unprotected video streaming data transmitted through a data line with a personal computer using a smart phone of the conventional technology.

第1B圖,其係採用本發明作法之智慧型手機,在偵錯模式下,透過與個人電腦間的資料線而傳送經過影像失真處理保護的視訊串流資料之示意圖。FIG. 1B is a schematic diagram of a smart phone with the method of the present invention transmitting a video stream data protected by image distortion processing through a data line between the personal computer and the personal computer.

第2圖,其係根據本發明構想之較佳實施例,在智慧型手機對視訊資料串流提供資料保護方法之流程圖。2 is a flow chart of a method for providing data protection for a video stream in a smart phone according to a preferred embodiment of the present invention.

第3圖,其係本發明所提供之視訊串流的資料保護方法流程圖。FIG. 3 is a flow chart of a data protection method for video streaming provided by the present invention.

Claims (7)

一種資料保護方法,應用於一嵌入式產品,該資料保護方法包含以下步驟:確認該嵌入式產品處於一偵錯模式;確認該嵌入式產品透過一資料線而與一個人電腦相連接;對該嵌入式產品所提供之一視訊串流資料進行一影像失真處理;以及透過該資料線而傳送經該影像失真處理之該視訊串流資料至該個人電腦。A data protection method is applied to an embedded product, and the data protection method comprises the steps of: confirming that the embedded product is in a debugging mode; confirming that the embedded product is connected to a personal computer through a data line; The video stream data provided by the product is subjected to an image distortion processing; and the video stream data processed by the image distortion is transmitted to the personal computer through the data line. 如申請專利範圍第1項所述之資料保護方法,其中該影像失真處理係指:根據一失真處理參數而選擇應用於該視訊串流資料之影像失真演算法。The data protection method according to claim 1, wherein the image distortion processing refers to: selecting an image distortion algorithm applied to the video stream data according to a distortion processing parameter. 如申請專利範圍第2項所述之資料保護方法,其中該失真處理參數係包含:一失真判斷欄位與一失真選擇欄位。The data protection method according to claim 2, wherein the distortion processing parameter comprises: a distortion determination field and a distortion selection field. 如申請專利範圍第1項所述之資料保護方法,其中更包含以下步驟:該嵌入式產品播放經影像失真處理之該視訊串流資料;或該嵌入式產品播放未經影像失真處理之該視訊串流資料。The method for protecting data according to claim 1, further comprising the steps of: playing the video stream data processed by the image distortion processing; or the embedded product playing the video without image distortion processing Streaming data. 如申請專利範圍第1項所述之資料保護方法,其中該嵌入式產品提供一作業系統,而該影像失真處理係透過該作業系統之一執行緒進行。The data protection method of claim 1, wherein the embedded product provides an operating system, and the image distortion processing is performed by one of the operating systems. 如申請專利範圍第5項所述之資料保護方法,其中該作業系統係為一Android作業系統。The data protection method according to claim 5, wherein the operating system is an Android operating system. 如申請專利範圍第1項所述之資料保護方法,其中該影像失真處理係為一浮水印處理流程、一馬賽克處理流程、一縮放處理流程、一黑屏處理流程或一模糊化處理流程。The data protection method according to claim 1, wherein the image distortion processing is a watermark processing flow, a mosaic processing flow, a scaling processing flow, a black screen processing flow, or a blurring processing flow.
TW100137427A 2011-10-14 2011-10-14 Method for data protection TW201316197A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW100137427A TW201316197A (en) 2011-10-14 2011-10-14 Method for data protection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100137427A TW201316197A (en) 2011-10-14 2011-10-14 Method for data protection

Publications (1)

Publication Number Publication Date
TW201316197A true TW201316197A (en) 2013-04-16

Family

ID=48803044

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100137427A TW201316197A (en) 2011-10-14 2011-10-14 Method for data protection

Country Status (1)

Country Link
TW (1) TW201316197A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI612425B (en) * 2014-11-24 2018-01-21 Linknext Technologies Co Ltd Control method for external control module of portable electronic device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI612425B (en) * 2014-11-24 2018-01-21 Linknext Technologies Co Ltd Control method for external control module of portable electronic device

Similar Documents

Publication Publication Date Title
US9367885B2 (en) Method and system for adding and detecting watermark
JP5192556B2 (en) Reprogrammable security to regulate piracy and enable interactive content
TWI462592B (en) Method and system for utilizing gps information to secure digital media
JP4740157B2 (en) Protect digital data content
US7996913B2 (en) Self-protecting digital content
US9208334B2 (en) Content management using multiple abstraction layers
US8452988B2 (en) Secure data storage for protecting digital content
US9349411B2 (en) Digital watermarking and fingerprinting applications for copy protection
US20090150676A1 (en) Method and system for robust watermark insertion and extraction for digital set-top boxes
EP3198498B1 (en) A challenge-response method and associated computing device
JP2004532495A (en) Content security layer that provides long-term renewable security
US20090125722A1 (en) Cross-platform digital rights management providing multi-level security information flow tracking
GB2330031A (en) Copying control for watermarked digital data
US8479014B1 (en) Symmetric key based secure microprocessor and its applications
JP2007219685A (en) Content distribution device, content distribution system, content distribution method, and content distribution program
TW201316197A (en) Method for data protection
CN112434327B (en) Information protection method and device and electronic equipment
Rejani et al. Digital data protection using steganography
KR20140011021A (en) Method for preventing unauthorized copying of the android platform-based applications and inserting digital watermarking in order to track the first clone
JP2008011219A (en) Digital watermark embedding system, device and program
KR101069355B1 (en) Content Security Device Using Removable Memory and Security Method Using The Same
KR101997036B1 (en) Device and method of processing videos
Shah Authentication of Images
Petrovic Copyright protection based on transaction watermarks
US20150120566A1 (en) System and Method for Digital Media Rights Management