CN107609398A - To breaking method and equipment viral in the audio file of linear PCM coding - Google Patents

To breaking method and equipment viral in the audio file of linear PCM coding Download PDF

Info

Publication number
CN107609398A
CN107609398A CN201710698110.3A CN201710698110A CN107609398A CN 107609398 A CN107609398 A CN 107609398A CN 201710698110 A CN201710698110 A CN 201710698110A CN 107609398 A CN107609398 A CN 107609398A
Authority
CN
China
Prior art keywords
level value
sampled point
original level
audio stream
walker
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
CN201710698110.3A
Other languages
Chinese (zh)
Other versions
CN107609398B (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.)
Beijing Infomedia Polytron Technologies Inc
Original Assignee
Beijing Infomedia Polytron Technologies 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 Beijing Infomedia Polytron Technologies Inc filed Critical Beijing Infomedia Polytron Technologies Inc
Priority to CN201710698110.3A priority Critical patent/CN107609398B/en
Publication of CN107609398A publication Critical patent/CN107609398A/en
Application granted granted Critical
Publication of CN107609398B publication Critical patent/CN107609398B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The present invention may carry virus when providing to breaking method and equipment viral in the audio file of linear PCM coding for solving the problems, such as that the audio media files of pcm encoder form enter Intranet.Wherein method includes receiving the first audio stream, according to the first audio stream, obtains the original level value of sampled point;Original level value is adjusted in default domain of walker;Level value after adjustment is encoded to form the second audio stream.Due to being different between the second audio stream and the first audio stream, therefore, if including viral code in the first audio stream, the above method will cause viral code to fail, so as to reach purpose of the 100% destruction virus by linear PCM format audio file transmissions.

Description

To breaking method and equipment viral in the audio file of linear PCM coding
Technical field
The present invention relates to computer technology, and in particular to the viral powder of the WAVE audio files of linear PCM coded format Broken method and apparatus.
Background technology
Computer network obtains high speed development in China after into 21 century, and network has the spy such as open, interconnection, shared Property, these characteristics also bring increasing threat while operating efficiency is improved --- and it is assault, malicious code, compacted Parasitosis poison etc..Enterprises and institutions of today increasingly pay attention to network security, especially radio, TV and film industries user.Broadcasting and TV are as party and political affairs The important propaganda organ at mansion, important historic mission is responsible for, therefore the network security of radio, TV and film industries user is most important.
Such as require higher for the intranet security of bank, often by the way of inside and outside network physical isolation, and Intranet Need from outer net copy audio media files when, tend to viruliferous audio media files to bring Intranet into.
Due to viral constantly change, and the data of virus base far lag behind viral renewal speed, cause in the prior art according to By virus base detection pcm encoder form audio file whether carry virus when, it is possible that fish that has escape the net;Therefore need 100% solves the problems, such as that the audio media files of pcm encoder form may carry virus when entering Intranet.
The content of the invention
In view of the above problems, the present invention propose overcome above mentioned problem or solve the above problems at least in part to line Viral crushing and equipment in the audio file of property pcm encoder.
For this purpose, in a first aspect, the present invention proposes viral breaking method in the audio file to linear PCM coding, Characterized in that, the first audio stream is received,
According to the first audio stream, the original level value of sampled point is obtained;
Original level value is adjusted in default domain of walker;
The second audio stream is formed with the level value after adjustment.
Optionally, the adjustment original level value in default domain of walker, including:
When the bit wide of sampled point is for 8bit, by the level value of each sampled point be changed to original level value and 0x01 carry out by The level value that position or computing obtain.
Optionally, the adjustment original level value in default domain of walker, including:
When the bit wide of sampled point is 16bit, the level value of each sampled point is changed to original level value and 0x03 is carried out The level value that step-by-step or computing obtain.
Optionally, the adjustment original level value in default domain of walker, including:
When the bit wide of sampled point is 24bit, the level value of each sampled point is changed to original level value and 0x03 is carried out The level value that step-by-step or computing obtain.
Optionally, the adjustment original level value in default domain of walker, including:
When the bit wide of sampled point is 32bit, the level value of each sampled point is changed to original level value and 0x07 is carried out The level value that step-by-step or computing obtain.
Optionally, the adjustment original level value in default domain of walker, including:
When the bit wide of sampled point is 64bit, the level value of each sampled point is changed to original level value and 0x07 is carried out The level value that step-by-step or computing obtain.
Optionally, the audio file is the file of WAV forms.
Second aspect, provided herein is a kind of computer-readable recording medium, computer program is stored thereon with, its feature exists In the step of realization when the program is executed by processor as weighed upper methods described.
The third aspect, provided herein is a kind of computer equipment, including memory, processor and it is stored in the memory Computer program that is upper and can performing on the processor, it is characterised in that realized during the computing device described program The step of method as described above.
As shown from the above technical solution, prior art is distinguished, because above-mentioned technical proposal streaming media files are default floating Adjustment original level value in dynamic scope, due to limiting the adjusting range of original level when calculating and obtaining the second audio stream, because On audio experience, difference is smaller for this second audio stream and the first audio stream.But due to the second audio stream and the first audio stream Between be different, therefore, if including viral code in the first audio stream, the above method will cause viral code to fail, so as to Reach purpose of the 100% destruction virus by PCM format audio file transmissions.
Above it is to provide the simplified summary of the understanding to some aspects of the present invention.This part neither the present invention and The detailed statement of its various embodiment is nor the statement of exhaustion.It is both not used in identification the present invention important or key feature or Do not limit the scope of the present invention, but the selected principle of the present invention provided with a kind of reduced form, as to it is given below more The brief introduction specifically described.It should be appreciated that either alone or in combination using one for being set forth above or being detailed below or Multiple features, other embodiments of the invention are also possible.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is to perform method flow schematic diagram in one embodiment of the present of invention.
Embodiment
The present invention is described below in conjunction with exemplary embodiment.
As shown in figure 1, in one embodiment, to the viral breaking method of the audio file of linear PCM coding, including:
S101, the first audio stream is received,
S102, according to the first audio stream, obtain the original level value of sampled point;
S103, adjust original level value in default domain of walker;
S104, with after adjustment level value formed the second audio stream.
First audio stream herein refers to obtaining the Media Stream of sampled point original level.
PCM pulse code modulation is Pulse Code Modulation abbreviation.Pulse code modulation is digital communication One of coded system.Main process is to be sampled the analog signals such as speech, image at regular intervals, makes its discretization, Sample value is quantified by layered units round simultaneously, while sample value is represented into arteries and veins of sampling by one group of binary code The amplitude of punching.Sound is a kind of energy wave in fact, therefore also has frequency and the feature of amplitude, and frequency corresponds to time axis, shakes Width corresponds to level axis.Ripple is unlimited smooth, and the string of a musical instrument can be regarded as and is made up of numerous points, because memory space is that have relatively Limit, in digital encoding procedure, it is necessary to the point of the string of a musical instrument is sampled, obtains original level value, original level value is integer Value, the intensity of representative voice.According to original level value, and default audio compression techniques, by the audio of PCM format be converted to Audio file corresponding to preset audio compress technique, such as the audio of WAVE forms.
It is understood that during in order to avoid playing above-mentioned second audio stream, sound produces larger distortion, above-mentioned default Domain of walker is a less scope, such as the sound for a 8bit sample sizes (being sampled to taking 8 times for point) Frequency flows, and its default domain of walker is between 0~1.
Based on different embodiments, the level value after different adjustment can be obtained according to original level value, but adjust Difference between rear level value and original level value is fallen within default domain of walker.
It is understood that the above method, the abstract numerical signal for only changing audio is adjusted, and does not change audio text Part file header, file size, file name, file coding format etc..
In one embodiment, in network first transfer audio files file header, then transmission this document sample value During signal, the sample value signal of audio file is modified using the above method.Such as WAVE files, in network first Transmission includes the file header of the audio file of the WAVE forms of linear PCM coded data, then transmits comprising linear PCM coded data Data block.
Prior art is distinguished, because above-mentioned technical proposal streaming media files adjust original level in default domain of walker Value, due to limiting the adjusting range of original level, therefore the second audio stream and the first sound when calculating and obtaining the second audio stream For frequency stream on audio experience, difference is smaller.But due to be between the second audio stream and the first audio stream it is different, therefore, if Viral code is included in first audio stream, the above method will cause viral code to fail, and pass through so as to reach 100% destruction virus The purpose of PCM format audio file transmissions.
And the above method, by handling audio stream, avoid the need for buffered media file.And low latency is network One rigid index of equipment, file, which is cached, will produce very big delay.Requirement is described for file stream File detection programming is exquisite, should ensure that low delay ensures safety again.
In one embodiment, the adjustment original level value in default domain of walker, including:
When the bit wide of sampled point is for 8bit, by the level value of each sampled point be changed to original level value and 0x01 carry out by The level value that position or computing obtain.
In one embodiment, the adjustment original level value in default domain of walker, including:
When the bit wide of sampled point is 16bit, the level value of each sampled point is changed to original level value and 0x03 is carried out The level value that step-by-step or computing obtain.
In one embodiment, the adjustment original level value in default domain of walker, including:
When the bit wide of sampled point is 24bit, the level value of each sampled point is changed to original level value and 0x03 is carried out The level value that step-by-step or computing obtain.
In one embodiment, the adjustment original level value in default domain of walker, including:
When the bit wide of sampled point is 32bit, the level value of each sampled point is changed to original level value and 0x07 is carried out The level value that step-by-step or computing obtain.
In one embodiment, the adjustment original level value in default domain of walker, including:
When the bit wide of sampled point is 64bit, the level value of each sampled point is changed to original level value and 0x07 is carried out The level value that step-by-step or computing obtain.
In one embodiment, the audio file is the file of WAVE forms.
A kind of computer-readable recording medium, is stored thereon with computer program, and the program is realized when being executed by processor The step of method as described above.
A kind of computer equipment, including memory, processor and be stored on the memory and can be in the processing The computer program performed on device, the step of realizing method as described above during the computing device described program.
" monitoring " used herein includes any kind of function relevant with being observed, recording or being detected with instrument, These instruments do not have any influence to monitored element or the operation of element group or state.
" at least one " used herein, " one or more " and "and/or" are open statements, when in use It can be united and separate.For example, " at least one in A, B and C ", " at least one in A, B or C ", " in A, B and C One or more " and " one or more of A, B or C " refer to only A, only B, only C, A and B together, A and C together, B and C together or A, B and C together.
"one" entity of term refers to one or more entities.Thus term "one", " one or more " and " extremely It is few one " it is herein defined as what is be interchangeable.It should also be noted that term " comprising ", "comprising" and " having " and can be mutual Change what is used.
Term " automatic " used herein and its modification refer to not have when performing processing or operation tangible artificial Any processing or operation completed in the case of input.However, the execution place is used when processing or operation is performed The substantive or immaterial artificial input received before reason or operation, the processing or operation can also be automatic.If Input influences how the processing or operation will be carried out, then is substantive depending on the artificial input.The processing or operation are not influenceed The artificial input carried out is not to be taken as substantive.
Term " computer-readable medium " used herein refers to participate in providing instructions to any of computing device Tangible storage device and/or transmission medium.Computer-readable medium can be compiled in network transmission (such as FTP) on ip networks The serial command collection of code.Such medium can take many forms, including but not limited to non-volatile media, Volatile media And transmission medium.Non-volatile media includes such as NVRAM or magnetically or optically disk.Volatile media includes such as main storage Dynamic memory (such as RAM).The common form of computer-readable medium includes such as floppy disk, flexible disk, hard disk, tape or any It is other magnetizing mediums, magnet-optical medium, CD-ROM, any other optical medium, punched card, paper tape, any other with hole shape pattern Physical medium, RAM, PROM, EPROM, FLASH-EPROM, the solid state medium of such as storage card, any other storage chip or magnetic Any other medium that tape drum, the carrier wave described below or computer can be read.The digital file attachment of Email or its Its self-contained news file or archive set are considered as the distribution medium equivalent to tangible media.When computer-readable medium quilt When being configured to database, it should be appreciated that the database can be any kind of database, such as relational database, hierarchical data Storehouse, OODB Object Oriented Data Base etc..Correspondingly, it is believed that the present invention includes tangible media or distribution medium and prior art Known equivalent and the medium of following exploitation, the software implementation of the present invention is stored in these media.
Term used herein " it is determined that ", " computing " and " calculating " and its modification be interchangeable, and including appointing Method, processing, mathematical operation or the technology of what type.More specifically, the explanation that such term can include such as BPEL is advised Then or rule language, wherein logic be not hard coded but in the rule file that can be read, explain, compiled and performed table Show.
Term " module " used herein or " instrument " refer to hardware that is any of or developing later, software, consolidated Part, artificial intelligence, fuzzy logic or be able to carry out the function related to the element hardware and software combination.In addition, though The present invention is described with illustrative embodiments, it is to be understood that each aspect of the present invention can individually be claimed.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Nonexcludability includes, so that process, method, article or terminal device including a series of elements not only include those Key element, but also the other element including being not expressly set out, or it is this process, method, article or end also to include The intrinsic key element of end equipment.In the absence of more restrictions, limited by sentence " including ... " or " including ... " Key element, it is not excluded that other key element in the process including the key element, method, article or terminal device also be present.This Outside, herein, " being more than ", " being less than ", " exceeding " etc. are interpreted as not including this number;" more than ", " following ", " within " etc. understand It is to include this number.
Although the various embodiments described above are described, those skilled in the art once know basic wound The property made concept, then other change and modification can be made to these embodiments, so embodiments of the invention are the foregoing is only, Not thereby the scope of patent protection of the present invention, every equivalent structure made using description of the invention and accompanying drawing content are limited Or equivalent flow conversion, or other related technical areas are directly or indirectly used in, similarly it is included in the patent of the present invention Within protection domain.

Claims (9)

1. viral breaking method in the audio file of pair linear PCM coding, it is characterised in that including:
The first audio stream is received,
According to the first audio stream, the original level value of sampled point is obtained;
Original level value is adjusted in default domain of walker;
The second audio stream is formed with the level value after adjustment.
2. according to the method for claim 1, it is characterised in that it is described to adjust original level value in default domain of walker, Including:
When the bit wide of sampled point is for 8bit, by the level value of each sampled point be changed to original level value and 0x01 carry out step-by-step or The level value that computing obtains.
3. according to the method for claim 1, it is characterised in that it is described to adjust original level value in default domain of walker, Including:
When the bit wide of sampled point is 16bit, the level value of each sampled point is changed to original level value and 0x03 carries out step-by-step Or the level value that computing obtains.
4. according to the method for claim 1, it is characterised in that it is described to adjust original level value in default domain of walker, Including:
When the bit wide of sampled point is 24bit, the level value of each sampled point is changed to original level value and 0x03 carries out step-by-step Or the level value that computing obtains.
5. according to the method for claim 1, it is characterised in that it is described to adjust original level value in default domain of walker, Including:
When the bit wide of sampled point is 32bit, the level value of each sampled point is changed to original level value and 0x07 carries out step-by-step Or the level value that computing obtains.
6. according to the method for claim 1, it is characterised in that it is described to adjust original level value in default domain of walker, Including:
When the bit wide of sampled point is 64bit, the level value of each sampled point is changed to original level value and 0x07 carries out step-by-step Or the level value that computing obtains.
7. the method according to described in claim 1, it is characterised in that the audio file is the file of WAV forms.
8. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor The step of methods described as any such as claim 1 to 7 is realized during row.
9. a kind of computer equipment, including memory, processor and it is stored on the memory and can be in the processor The computer program of upper execution, it is characterised in that realized during the computing device described program as claim 1 to 7 is any The step of methods described.
CN201710698110.3A 2017-08-15 2017-08-15 To breaking method and equipment viral in the audio file of linear PCM coding Active CN107609398B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710698110.3A CN107609398B (en) 2017-08-15 2017-08-15 To breaking method and equipment viral in the audio file of linear PCM coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710698110.3A CN107609398B (en) 2017-08-15 2017-08-15 To breaking method and equipment viral in the audio file of linear PCM coding

Publications (2)

Publication Number Publication Date
CN107609398A true CN107609398A (en) 2018-01-19
CN107609398B CN107609398B (en) 2019-10-29

Family

ID=61065431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710698110.3A Active CN107609398B (en) 2017-08-15 2017-08-15 To breaking method and equipment viral in the audio file of linear PCM coding

Country Status (1)

Country Link
CN (1) CN107609398B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953048A (en) * 2005-10-18 2007-04-25 腾讯科技(深圳)有限公司 A processing method of mix sound
CN101394402A (en) * 2008-10-13 2009-03-25 邓学锋 Method for fast code changing in large range to audio information to break virus
CN102752400A (en) * 2012-07-18 2012-10-24 中央人民广播电台 Multiplicity speed security transmission method of inter-network audio file and system thereof
CN102831893A (en) * 2012-05-07 2012-12-19 电子科技大学 Method for rapidly destroying broadcast audio file viruses

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953048A (en) * 2005-10-18 2007-04-25 腾讯科技(深圳)有限公司 A processing method of mix sound
CN101394402A (en) * 2008-10-13 2009-03-25 邓学锋 Method for fast code changing in large range to audio information to break virus
CN102831893A (en) * 2012-05-07 2012-12-19 电子科技大学 Method for rapidly destroying broadcast audio file viruses
CN102752400A (en) * 2012-07-18 2012-10-24 中央人民广播电台 Multiplicity speed security transmission method of inter-network audio file and system thereof

Also Published As

Publication number Publication date
CN107609398B (en) 2019-10-29

Similar Documents

Publication Publication Date Title
KR102362368B1 (en) Data transmission/reception method and data transmission system through sound wave
JP4902565B2 (en) How to hash a digital signal
CN110427774A (en) Data based on block chain deposit card method, data verification method and relevant apparatus
US20110276578A1 (en) Obtaining file system view in block-level data storage systems
CN110399118A (en) A kind of random digit generation method, device, storage medium and electronic equipment
CN104156365A (en) Monitoring method, device and system for file
Kumar Enhanced LSB technique for audio steganography
EP1990737B1 (en) Document transformation system
CN114880123A (en) Federal learning method and system for industrial Internet of things communication control
CN108427667B (en) Legal document segmentation method and device
CN102748011A (en) Audio monitoring terminal and audio processing method applied to industrial monitoring equipment
CN109086451A (en) A kind of picture storage and retrieval method and apparatus
CN107609398B (en) To breaking method and equipment viral in the audio file of linear PCM coding
CN106301972A (en) A kind of monitoring data push away method and system in real time
CN104346337A (en) Method and device for intercepting junk information
KR20160145711A (en) Systems, methods and devices for electronic communications having decreased information loss
CN103336761B (en) Matching algorithm is filtered in the interference divided based on dynamic with semantic weighting
CN117319527A (en) Time sequence data processing method, device and medium based on identification analysis gateway
US20170063471A1 (en) Audio signal transmission system with enhanced audio signal recognition and data processing method for the same
CN104954280B (en) A kind of data message processing method and device
Ma et al. A Huffman table index based approach to detect double MP3 compression
Tyagi et al. The Gelfand-Pinsker channel: Strong converse and upper bound for the reliability function
Feng et al. Variable Rate Syndrome-Trellis Codes for Steganography on Bursty Channels
CN110008103B (en) Log collection method, system, device and storage medium for third-party application program
Pal Speech Compression with Wavelets and µ-Law for Wireless Communication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant