CN103475952A - Multimedia optimization correctness detection method - Google Patents

Multimedia optimization correctness detection method Download PDF

Info

Publication number
CN103475952A
CN103475952A CN2013104124761A CN201310412476A CN103475952A CN 103475952 A CN103475952 A CN 103475952A CN 2013104124761 A CN2013104124761 A CN 2013104124761A CN 201310412476 A CN201310412476 A CN 201310412476A CN 103475952 A CN103475952 A CN 103475952A
Authority
CN
China
Prior art keywords
processing module
detection method
multimedia
optimized
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013104124761A
Other languages
Chinese (zh)
Other versions
CN103475952B (en
Inventor
张福新
陈杰
王锐
吴少刚
张斌
晏华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Aerospace dragon dream Information Technology Co., Ltd.
Original Assignee
JIANGSU LEMOTE TECHNOLOGY Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JIANGSU LEMOTE TECHNOLOGY Corp Ltd filed Critical JIANGSU LEMOTE TECHNOLOGY Corp Ltd
Priority to CN201310412476.1A priority Critical patent/CN103475952B/en
Publication of CN103475952A publication Critical patent/CN103475952A/en
Application granted granted Critical
Publication of CN103475952B publication Critical patent/CN103475952B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a multimedia optimization correctness detection method. The method comprises the following steps that a medium stream sample is input to a joint processing module, and an inserting tee element is arranged in the rear of the joint processing module; two paths of video streams are output by the tee element, one path of video stream flows is input to a processing module which is not optimized, the other path video stream is input to an optimized processing module, and the two paths of data signals jointly flow into a comparison module to be compared and verified. If the verification result is correct, the two data signals are input to a low-level processing element, otherwise, errors are reported. The multimedia optimization correctness detection method is simple, and when two comparison results are coincident, the correctness of an assembly code which is written manually can be verified and the assembly code can be used continuously. Furthermore, the multimedia optimization correctness detection method is free of manual work participation, saves a large amount of cost, is simplified and stable in transmission process and avoids errors caused by transmission of a large number of redundant data.

Description

A kind of multimedia is optimized accuracy detection method
Technical field
The present invention relates to a kind of signal transmission optimization verification method, especially a kind of multimedia is optimized accuracy detection method.
Background technology
Now, traditional multi-media signal transmitting procedure optimization normally relies on optimization focus function to realize, adopts the assembly code of hand-coding, replaces the code that original compiler produces automatically, thereby obtains the performance leap of focus function.Reason is the compiler code that the operational efficiency of the code of generation can not be compared and meticulously be write by hand automatically.
Yet, although the assembly code of manual compiling greatly is better than the code that compiler produces automatically on operational efficiency, compiling procedure is very loaded down with trivial details, and easily makes mistakes.Consistent on the code function that before how verifying function after optimization and optimizing, compiler produces automatically, be a comparatively difficult step always.The current more eye-observation method that adopted, observe the whether distortion of image that multimedia link optimization exports afterwards or video, skips leaf and judged, not only needs artificial participation, increased cost of labor, and inaccuracy very.
Summary of the invention
Goal of the invention: for the deficiencies in the prior art, the applicant, through long-term practical exploration, has designed a kind of multimedia and has optimized accuracy detection method.
Technical scheme: in order to realize the foregoing invention purpose, the technical solution adopted in the present invention is: a kind of multimedia is optimized accuracy detection method, described multimedia is optimized for the assembly code that adopts hand-coding and replaces the code that original compiler produces automatically, said method comprising the steps of:
1, Media Stream sample input public affairs are put to processing module, described public affairs are put processing module outputting video streams afterwards;
2, described public affairs arrange insertion tee element after putting processing module, the same video flowing of described tee element output two-way, and a road flows into the processing module before optimizing, and the processing module after optimizing is inputted on another road;
3, the two paths of data signal that the processing module after the processing module before described optimization and optimization flows out jointly flows into comparison module and compares checking;
4, after described step 3 a li two paths of data signal compares checking, the result correctly flows into subordinate's treatment element, and the result is incorrect to be reported an error.
Further, the public affairs of described step 1 li are put processing module for decoding and coding module.
Again further, described comparison module adopts the memcmp comparison function.
Adopt and compare frame by frame when further, described comparison module compares data-signal.One frame data are exactly a region of memory, and relatively two frame data are exactly that relatively whether two region of memorys are the same, and whether first comparison domain length is the same, in the situation that length is the same, relatively whether the content of two regional correspondence positions is consistent from the beginning to the end.
Beneficial effect: compared with prior art, its beneficial effect is in the present invention:
1, the inventive method is simple, and when two comparative results are shown as when consistent, the correctness of the assembly code of susceptible of proof hand-coding, can continue to use;
2, this verification method, without artificial participation, has been saved a large amount of costs of labor, and the transmitting procedure simplification is stable, the mistake of having avoided the mass of redundancy data transmission to bring.
The accompanying drawing explanation
Fig. 1 is the schematic diagram that a kind of multimedia of the present invention is optimized accuracy detection method.
Embodiment
Below by a most preferred embodiment, the technical program is elaborated, but protection scope of the present invention is not limited to described embodiment.
As shown in Figure 1, a kind of multimedia is optimized accuracy detection method, and described multimedia is optimized for the assembly code that adopts hand-coding and replaces the code that original compiler produces automatically, said method comprising the steps of:
A, Media Stream sample input public affairs are put to processing module, described public affairs are put outputting video streams after processing module;
B, described public affairs arrange insertion tee element after putting processing module, the same video flowing of described tee element output two-way, and a road flows into the processing module before optimizing, and the processing module after optimizing is inputted on another road;
The two paths of data signal that processing module after processing module before c, described optimization and optimization flows out jointly flows into comparison module and compares checking;
After in d, described step c, the two paths of data signal compares checking, the result correctly flows into subordinate's treatment element, and the result is incorrect to be reported an error.
Public affairs in described step a are put processing module for decoding and coding module.
Described comparison module adopts the memcmp comparison function.
Adopt and compare frame by frame when described comparison module compares data-signal.Specifically be expressed as, one frame data are exactly a region of memory, and relatively two frame data are exactly that relatively whether two region of memorys are the same, and whether first comparison domain length is the same, in the situation that length is the same, relatively whether the content of two regional correspondence positions is consistent from the beginning to the end.The result unanimously flows into subordinate's treatment element, and the result is inconsistent to be reported an error.
During real work, the method reported an error can adopt pop-up window to inform to make mistakes.
The above is only the preferred embodiment of the present invention; be noted that for those skilled in the art; under the premise without departing from the principles of the invention, can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (4)

1. a multimedia is optimized accuracy detection method, and described multimedia is optimized for the assembly code that adopts hand-coding and replaces the code that original compiler produces automatically, it is characterized in that: said method comprising the steps of:
A, Media Stream sample input public affairs are put to processing module, described public affairs are put outputting video streams after processing module;
B, described public affairs arrange insertion tee element after putting processing module, the same video flowing of described tee element output two-way, and a road flows into the processing module before optimizing, and the processing module after optimizing is inputted on another road;
The two paths of data signal that processing module after processing module before c, described optimization and optimization flows out jointly flows into comparison module and compares checking;
After in d, described step c, the two paths of data signal compares checking, the result correctly flows into subordinate's treatment element, and the result is incorrect to be reported an error.
2. a kind of multimedia according to claim 1 is optimized accuracy detection method, it is characterized in that: the public affairs in described step a are put processing module for decoding and coding module.
3. a kind of multimedia according to claim 1 is optimized accuracy detection method, it is characterized in that: described comparison module adopts the memcmp comparison function.
4. a kind of multimedia according to claim 3 is optimized accuracy detection method, it is characterized in that: when described comparison module compares data-signal, adopt and compare frame by frame.
CN201310412476.1A 2013-09-11 2013-09-11 A kind of multimedia optimizes accuracy detection method Active CN103475952B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310412476.1A CN103475952B (en) 2013-09-11 2013-09-11 A kind of multimedia optimizes accuracy detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310412476.1A CN103475952B (en) 2013-09-11 2013-09-11 A kind of multimedia optimizes accuracy detection method

Publications (2)

Publication Number Publication Date
CN103475952A true CN103475952A (en) 2013-12-25
CN103475952B CN103475952B (en) 2016-09-28

Family

ID=49800626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310412476.1A Active CN103475952B (en) 2013-09-11 2013-09-11 A kind of multimedia optimizes accuracy detection method

Country Status (1)

Country Link
CN (1) CN103475952B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050270550A1 (en) * 2004-06-04 2005-12-08 Canon Kabushiki Kaisha Method and apparatus for processing data, program, and storage medium on which a computer-readable program is stored
US7050590B2 (en) * 2000-12-18 2006-05-23 Warner Music Group, Inc. Method and apparatus for checking audio signals
CN101901322A (en) * 2009-07-10 2010-12-01 卡巴斯基实验室封闭式股份公司 Be used to detect the system and method for obfuscated malware
CN102203733A (en) * 2008-10-30 2011-09-28 松下电器产业株式会社 Compiling method and compiling program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7050590B2 (en) * 2000-12-18 2006-05-23 Warner Music Group, Inc. Method and apparatus for checking audio signals
US20050270550A1 (en) * 2004-06-04 2005-12-08 Canon Kabushiki Kaisha Method and apparatus for processing data, program, and storage medium on which a computer-readable program is stored
CN102203733A (en) * 2008-10-30 2011-09-28 松下电器产业株式会社 Compiling method and compiling program
CN101901322A (en) * 2009-07-10 2010-12-01 卡巴斯基实验室封闭式股份公司 Be used to detect the system and method for obfuscated malware

Also Published As

Publication number Publication date
CN103475952B (en) 2016-09-28

Similar Documents

Publication Publication Date Title
CN101276627B (en) Techniques for correcting errors using iterative decoding
CN103024059B (en) A kind of middleware system for Internet of things
CN107506257A (en) Error checking, correcting and decoding method and device
CN101325090B (en) Offsetting cyclic redundancy code lanes from data lanes to reduce latency
CN105786749B (en) A kind of double channel A TA agreement bridge-sets based on NAND FLASH interfaces
CN105117236B (en) A kind of programming programming method of automatic Verification
WO2007087012A3 (en) Write recovery of erroneous data
CN101420317A (en) Restoring method, recording terminal, server and system for media file recording error
CN103594120B (en) To read the memory error correction method write
CN101388256B (en) Controller and method for generating Low-level error-correction code for a memory device
CN105609141A (en) Apparatus and method for automatically correcting access data of storage apparatus
CN100592408C (en) Decoding apparatus and method for optical accessing system
WO2006093791A3 (en) Error detection and recovery of an optical network element
CN101477565A (en) Method and apparatus for confirming correctness of input character string in search engine
CN113742282A (en) SATA IP core based on FPGA and data storage method
CN103475952A (en) Multimedia optimization correctness detection method
US20050144339A1 (en) Speculative processing of transaction layer packets
CN103491333B (en) A kind of video distributing method being applied to one-to-many video broadcasting
CN103761202B (en) A kind of data storage node hard disk position identification method and system
CN102034537A (en) Data access device and data access method
CN2874629Y (en) Error insert analogue device of computer test
CN103577154B (en) Based on the interpretation method of the instruction of ARINC659 agreement
CN103246587A (en) Method for utilizing SD (secure digital) card for ADB (android debug bridge) debugging on android platform
CN107632793B (en) Data flow control method for SSD rear end
CN104168215B (en) Process circuit and its processing method for communication device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Zhang Fuxin

Inventor after: Wang Rui

Inventor after: Wei Hairui

Inventor after: Wu Shaogang

Inventor before: Zhang Fuxin

Inventor before: Chen Jie

Inventor before: Wang Rui

Inventor before: Wu Shaogang

Inventor before: Zhang Bin

Inventor before: Yan Hua

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170628

Address after: 215500 Changshou City, Jiangsu Province, Dream Road, No., No. 8

Patentee after: Jiangsu Aerospace dragon dream Information Technology Co., Ltd.

Address before: 215500 Jiangsu city of Suzhou province Changshou City Yushan Town Menglan Village

Patentee before: Jiangsu Lemote Technology Corporation Limited