CN103198095A - Acoustic testing data storage method and device for loudspeaker - Google Patents

Acoustic testing data storage method and device for loudspeaker Download PDF

Info

Publication number
CN103198095A
CN103198095A CN2013100617882A CN201310061788A CN103198095A CN 103198095 A CN103198095 A CN 103198095A CN 2013100617882 A CN2013100617882 A CN 2013100617882A CN 201310061788 A CN201310061788 A CN 201310061788A CN 103198095 A CN103198095 A CN 103198095A
Authority
CN
China
Prior art keywords
data
acoustical testing
loudspeaker
loudspeaker acoustical
xml
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.)
Pending
Application number
CN2013100617882A
Other languages
Chinese (zh)
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.)
Goertek Inc
Original Assignee
Goertek 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 Goertek Inc filed Critical Goertek Inc
Priority to CN2013100617882A priority Critical patent/CN103198095A/en
Publication of CN103198095A publication Critical patent/CN103198095A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)

Abstract

The invention discloses an acoustic testing data storage method and device for a loudspeaker. The embodiment of the invention provides an acoustic testing data storage method for a loudspeaker, which includes the following steps: building an acoustic testing data format for a universal XML loudspeaker as per testing items and attributes of each testing item of the acoustic testing data of the loudspeaker; converting the acoustic testing data of the loudspeaker obtained by a loudspeaker acoustic testing system into storage data in XML format as per the XML acoustic data format; storing the storage data in XML format in a relational database; and converting the data in XML format into acoustic testing data of the loudspeaker. According to the invention, the acoustic testing data of the loudspeaker from different loudspeaker acoustic testing systems can be stored and processed in a centralized manner.

Description

Storage means and the device of loudspeaker acoustical testing data
Technical field
The present invention relates to loudspeaker acoustical testing technical field, particularly a kind of storage means and device of loudspeaker acoustical testing data.
Background technology
In loudspeaker acoustical testing field, the test of loudspeaker can produce a large amount of acoustical testing data, need store these acoustical testing data, so that further analyze and handle.Traditional storage means is that the loudspeaker acoustical testing number of each product form with file is kept in the computing machine, as loudspeaker acoustical testing data are stored in the text of computing machine.
Along with the raising of test request, carry out based on various loudspeaker acoustical testing system 1,000,000 grades or millions loudspeaker acoustical testing data analysis and handle and become current urgent demand.
Yet, the loudspeaker acoustical testing system of each brand all establishes one's own system on the preserving type of test data at present, to the loudspeaker acoustical testing system of different brands system, its loudspeaker acoustical testing data can't be carried out centralized stores and processing because the difference of preserving type can cause.
And, the loudspeaker acoustical testing index of different product and require different, the test data of difference loudspeaker acoustical testing system storage can be very different in terms of content, the preserving type of different loudspeaker acoustical testing system also only is suitable for the test data of this system, and existing preservation scheme can not obtain loudspeaker acoustical testing data to various loudspeaker acoustical testing system and carry out centralized stores and processing.
Summary of the invention
The invention provides a kind of storage means and device of loudspeaker acoustical testing data, to solve the problem that to carry out centralized stores and processing to loudspeaker acoustical testing data because of the data save mode difference of the existing various loudspeaker acoustical testing of scheme system.
For achieving the above object, the embodiment of the invention has adopted following technical scheme:
The embodiment of the invention provides a kind of storage means of acoustic data, comprising:
According to the test item of loudspeaker acoustical testing data and the attribute of every kind of test item, set up XML loudspeaker acoustical testing data layout, described method also comprises:
The loudspeaker acoustical testing data that loudspeaker acoustical testing system is got access to are the storage data of XML form according to described XML loudspeaker acoustical testing Data Format Transform;
The storage data of described XML form are stored in the relevant database.
The embodiment of the invention also provides a kind of memory storage of acoustic data, comprising:
General format is set up module, is used for according to the test item of loudspeaker acoustical testing data and the attribute of every kind of test item, sets up XML loudspeaker acoustical testing data layout;
First modular converter, the storage data that the loudspeaker acoustical testing data that are used for that loudspeaker acoustical testing system is got access to are the XML form according to described XML acoustic data format conversion;
Memory module is used for the storage data of described XML form are stored in relevant database.
The beneficial effect of the embodiment of the invention is:
The embodiment of the invention is by above-mentioned technical characterictic, set up the acoustic data form of general XML form, for different loudspeaker acoustical testing system provides unified storage system, the acoustic data that various loudspeaker acoustical testing system can be obtained stores according to consolidation form, can be to centralized stores and the processing from the acoustic data of different loudspeaker acoustical testing system thereby guaranteed.
Description of drawings
The storage means process flow diagram of the acoustic data that Fig. 1 provides for one embodiment of the invention;
The memory storage process flow diagram of the acoustic data that Fig. 2 provides for one embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
The present invention has designed the Language based on XML(Extensible Markup, extend markup language) universal test data layout, at different loudspeaker acoustical testing system development interfaces, sequence of test data is changed into the XML formatted data be saved in mode in the relevant database, realize focusing on of test data.
Referring to Fig. 1, the storage means of the acoustical testing data that provide for one embodiment of the invention comprises:
11: according to the test item of acoustic data and the attribute of every kind of test item, set up XML loudspeaker acoustical testing data layout, this method also comprises:
12: the acoustic data that loudspeaker acoustical testing system is got access to is the storage data of XML form according to described XML loudspeaker acoustical testing Data Format Transform;
13: the storage data of described XML form are stored in the relevant database.
Further, when needs extract data from described relevant database, the storage data of the XML form preserved in the described relevant database are converted to loudspeaker acoustical testing data object in the present embodiment.
From the above mentioned, the embodiment of the invention is by above-mentioned technical characterictic, set up the acoustic data form of general XML form, for different loudspeaker acoustical testing system provides unified storage system, the acoustic data that various loudspeaker acoustical testing system can be obtained stores according to consolidation form, can be to centralized stores and the processing from the acoustic data of different loudspeaker acoustical testing system thereby guaranteed.
On the basis of embodiment shown in Figure 1, the test item of loudspeaker acoustical testing data comprises following at least a in the one embodiment of the invention: frequency response, distortion, impedance, phase place, F0.
The loudspeaker acoustical testing data that obtained by above-mentioned each test item comprise: frequency response curve data, distortion curve data, impedance curve data, phase curve data, F0 one point data, F0 is the resistance value of 1Khz correspondence in the impedance curve, and the F0 point is a point of attention rate maximum in the whole impedance curve.Whether qualified the acoustics index that loudspeaker acoustical testing data directly reflect an acoustic product (loudspeaker) is, reflects the quality of speaker product.Can find out bad in defective above the acoustic product design or the processing assembling process by analyzing loudspeaker acoustical testing data.So it is most important qualitative datas in the acoustic product manufacturing industry that acoustics is surveyed data.Loudspeaker acoustical testing data generally are curve data or one point data, every kind of loudspeaker acoustical testing data comprise some attributes again, such as: the number of title, test result, data type (comprising single-point, two-dimensional curve, three-dimensional curve), data unit, mid point of curve, upper and lower frames line etc.
Table 1
The test item of loudspeaker acoustical testing data Data type
The frequency response curve data Two curves
The distortion curve data Two curves
The impedance curve data Two curves
The phase curve data Two curves
The F0 data Single-point
Present embodiment is according to the test item of acoustic data and the attribute of every kind of test item, set up XML acoustic data form, this XML acoustic data form comprises at least one memory node, a memory node is corresponding to a test item, and this memory node is arranged with the XML child node corresponding to the attribute of this test item.
Number of storage nodes can change according to the number of required test item in the XML acoustic data form, the number of the attribute of the test item that the number of XML child node also can be as required under each memory node and changing has good expandability from making XML acoustic data form.
Optionally, can also comprise the statement part in the above-mentioned XML acoustic data form, be used to indicate test model and beta version etc., if the test item of memory node correspondence is frequency response curve (FR), the attribute of this test item of test comprises number and the upper and lower frames line of title, test result, data type, data unit, mid point of curve, and then the example of a memory node can be expressed as follows:
Figure BDA00002865343700041
Figure BDA00002865343700051
In example, it is that P3 and beta version are 0 that test model has partly been indicated in the statement of top delegation, and the name that each the XML child node in the memory node has been described test item respectively is called FR, test result is that True, data type are the 2D(two-dimensional curve), in the data unit X axis be Hz, Y-axis to the number for Pa, mid point of curve be 3 and the concrete numerical value of each point, the numerical value of upper and lower frames line (LimitLower/LimitUpper count) be 0.
Therefore, owing to can increase and decrease the number of memory node in the form and child node flexibly, perhaps, utilize all properties of all test items and test item to set up an XML acoustic data form the most complete, when the acoustic data of certain loudspeaker acoustical testing system of storage, the numerical value of the memory node that does not relate to for this system adopts default value (as 0), then by above-mentioned XML acoustic data form, can store the data of loudspeaker acoustical testing system according to uniform way.
The loudspeaker acoustical testing system that present embodiment adopts mainly is divided into two kinds, and the one, the loudspeaker acoustical testing system that software class is realized, this kind equipment mainly is to be main hardware with computer independence sound card, carries out voice data with software and carries out analyzing and processing.The 2nd, the testing tool of specialty, instrument itself just can be finished the overall process of loudspeaker acoustical testing, can obtain loudspeaker acoustical testing data by gpib interface with computer.
In the present embodiment, obtain acoustic data by following manner:
Under a kind of mode, the electric signal that loudspeaker acoustical testing system is converted to from acoustical signal is directly as the described acoustic data that gets access to, be that loudspeaker acoustical testing system does not store the acoustic data that collects, the acoustic data that collects directly is converted to general XML form provided by the invention and is stored to database.
Under the another kind of mode, from the file of loudspeaker acoustical testing system storage acoustic data, this acoustic data is extracted, as the described acoustic data that gets access to.Under this mode,
Loudspeaker acoustical testing system for software class is realized can adopt the mode of plug-in unit calling function to be set and to call DLL(dynamic link library type) interface library of type is converted to general XML form with acoustic data.
Testing tool for specialty then needs GP configuring IB(General Purpose Interface Bus, general purpose interface bus) interface, be connected to this testing tool by gpib interface, and the interface library that can call the DLL type is converted to general XML form with acoustic data.
Present embodiment also provides the processing mode of data being carried out remote transmission and storage, as with as described in the storage data (as string data) of XML form be sent to server by network, to be stored in the relevant database by the storage data of server with this XML form.For example, the interface library of above-mentioned DLL type is except having data acquisition functions, can also be responsible for loudspeaker acoustical testing data are packaged into universal data format based on XML, the server end that the storage data of this form is sent to by Ethernet then, server end can directly be saved in it in relational database the field as this type of long article and handle.
Adopt the mode that acoustic data is stored into relevant database in the present embodiment, be kept at mode in the computing machine than existing scheme, significantly improved the data capacity that to store.
One embodiment of the present of invention also provide a kind of memory storage of acoustic data, and referring to Fig. 2, described device comprises:
General format is set up module 21, is used for according to the test item of loudspeaker acoustical testing data and the attribute of every kind of test item, sets up XML loudspeaker acoustical testing data layout;
First modular converter 22, the storage data that the loudspeaker acoustical testing data that are used for that loudspeaker acoustical testing system is got access to are the XML form according to described XML acoustic data format conversion;
Memory module 23 is used for the storage data of described XML form are stored in relevant database.
Further, described device also comprises second modular converter, and the storage data that are used for XML form that relevant database is preserved are converted to loudspeaker acoustical testing data object.
On the basis of embodiment shown in Figure 2, the described XML acoustic data form that general format described in the embodiment of the invention is set up module 21 foundation comprises at least one memory node, a memory node is corresponding to a test item, and this memory node is arranged with the XML child node corresponding to the attribute of this test item.
Further, first modular converter 22 also is used for obtaining described acoustic data by following manner:
Directly with loudspeaker acoustical testing system acquisition to loudspeaker acoustical testing data as the described loudspeaker acoustical testing data that get access to; Perhaps, from the file of loudspeaker acoustical testing system storage acoustic data, the data extract of loudspeaker acoustical testing is come out, as the described loudspeaker acoustical testing data that get access to.
Further, first modular converter 22 is used for calling the interface library of dynamic link library type, utilizes the interface library of dynamic link library type will store the storage data that hereof loudspeaker acoustical testing data extract is come out and is converted into the XML form;
Perhaps, first modular converter 22, has the general purpose interface bus gpib interface, be used for being connected to loudspeaker acoustical testing system by gpib interface, utilize gpib interface to read the loudspeaker acoustical testing data of loudspeaker acoustical testing system, and the interface library that calls the dynamic link library type is converted into loudspeaker acoustical testing data the storage data of XML form.
Further, described device also comprises transport module, is used for before the storage data with described XML form are stored in relevant database, and the storage data of described XML form are sent to server by network; Described memory module is used for by server the storage data of this XML form being stored in relevant database.
The concrete working method of each module can be referring to method embodiment of the present invention among apparatus of the present invention embodiment.
The embodiment of the invention is by above-mentioned technical characterictic, set up the acoustic data form of general XML form, for different loudspeaker acoustical testing system provides unified storage system, the acoustic data that various loudspeaker acoustical testing system can be obtained stores according to consolidation form, can be to centralized stores and the processing from the acoustic data of different loudspeaker acoustical testing system thereby guaranteed.
The above is preferred embodiment of the present invention only, is not for limiting protection scope of the present invention.All any modifications of doing within the spirit and principles in the present invention, be equal to replacement, improvement etc., all be included in protection scope of the present invention.

Claims (10)

1. the storage means of loudspeaker acoustical testing data is characterized in that, according to the test item of loudspeaker acoustical testing data and the attribute of every kind of test item, sets up expandable mark language XML loudspeaker acoustical testing data layout, and described method comprises:
The loudspeaker acoustical testing data that loudspeaker acoustical testing system is got access to are the storage data of XML form according to described XML loudspeaker acoustical testing Data Format Transform;
The storage data of described XML form are stored in the relevant database.
2. method according to claim 1 is characterized in that, after described storage data with described XML form were stored in the relevant database, described method also comprised:
When needs extract data from described relevant database, the storage data of the XML form preserved in the described relevant database are converted to loudspeaker acoustical testing data object.
3. method according to claim 1 is characterized in that, comprising:
Described XML loudspeaker acoustical testing data layout comprises at least one memory node, and a memory node is corresponding to a test item, and this memory node is arranged with the XML child node corresponding to the attribute of this test item;
The test item of described loudspeaker acoustical testing data comprises following at least a:
Frequency response, distortion, impedance, phase place, F0;
The test item of every kind of loudspeaker acoustical testing data comprises following at least a attribute:
Title, test result, data type, data unit, upper and lower frames line.
4. method according to claim 1 is characterized in that, described method also comprises by following manner obtains described acoustic data:
Directly with loudspeaker acoustical testing system acquisition to loudspeaker acoustical testing data as the described loudspeaker acoustical testing data that get access to; Perhaps,
From the file of loudspeaker acoustical testing system storage acoustic data, the data extract of loudspeaker acoustical testing is come out, as the described loudspeaker acoustical testing data that get access to.
5. according to each described method of claim 1 to 4, it is characterized in that, be stored in the storage data of described XML form in the relevant database before, described method also comprises:
The storage data of described XML form are sent to server by network, to be stored in the relevant database by the storage data of server with this XML form.
6. the memory storage of loudspeaker acoustical testing data is characterized in that, described device comprises:
General format is set up module, is used for according to the test item of loudspeaker acoustical testing data and the attribute of every kind of test item, sets up expandable mark language XML loudspeaker acoustical testing data layout;
First modular converter, the storage data that the loudspeaker acoustical testing data that are used for that loudspeaker acoustical testing system is got access to are the XML form according to described XML acoustic data format conversion;
Memory module is used for the storage data of described XML form are stored in relevant database.
7. device according to claim 6 is characterized in that, described device also comprises, second modular converter, and the storage data that are used for XML form that relevant database is preserved are converted to loudspeaker acoustical testing data object.
8. device according to claim 6 is characterized in that,
The described XML acoustic data form that described general format is set up module foundation comprises at least one memory node, and a memory node is corresponding to a test item, and this memory node is arranged with the XML child node corresponding to the attribute of this test item;
Described first modular converter also is used for obtaining described acoustic data by following manner:
Directly with loudspeaker acoustical testing system acquisition to loudspeaker acoustical testing data as the described loudspeaker acoustical testing data that get access to; Perhaps,
From the file of loudspeaker acoustical testing system storage acoustic data, the data extract of loudspeaker acoustical testing is come out, as the described loudspeaker acoustical testing data that get access to.
9. device according to claim 8 is characterized in that,
Described first modular converter is used for calling the interface library of dynamic link library type, utilizes the interface library of dynamic link library type will store the storage data that hereof loudspeaker acoustical testing data extract is come out and is converted into the XML form; Perhaps,
Described first modular converter, has the general purpose interface bus gpib interface, be used for being connected to loudspeaker acoustical testing system by described gpib interface, utilize gpib interface to read the loudspeaker acoustical testing data of loudspeaker acoustical testing system, and the interface library that calls the dynamic link library type is converted into loudspeaker acoustical testing data the storage data of XML form.
10. according to each described device of claim 6 to 9, it is characterized in that, described device also comprises transport module, is used for before the storage data with described XML form are stored in relevant database, and the storage data of described XML form are sent to server by network;
Described memory module is used for by server the storage data of this XML form being stored in relevant database.
CN2013100617882A 2013-02-27 2013-02-27 Acoustic testing data storage method and device for loudspeaker Pending CN103198095A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013100617882A CN103198095A (en) 2013-02-27 2013-02-27 Acoustic testing data storage method and device for loudspeaker

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013100617882A CN103198095A (en) 2013-02-27 2013-02-27 Acoustic testing data storage method and device for loudspeaker

Publications (1)

Publication Number Publication Date
CN103198095A true CN103198095A (en) 2013-07-10

Family

ID=48720653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013100617882A Pending CN103198095A (en) 2013-02-27 2013-02-27 Acoustic testing data storage method and device for loudspeaker

Country Status (1)

Country Link
CN (1) CN103198095A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471967A (en) * 2019-07-02 2019-11-19 深圳市金泰克半导体有限公司 A kind of test data management system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040243935A1 (en) * 2003-05-30 2004-12-02 Abramovitch Daniel Y. Systems and methods for processing instrument data
CN101742531A (en) * 2008-11-13 2010-06-16 中国移动通信集团设计院有限公司 Method and device for storing test data
CN102662997A (en) * 2012-03-15 2012-09-12 北京播思软件技术有限公司 Method of storing XML data into relational database

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040243935A1 (en) * 2003-05-30 2004-12-02 Abramovitch Daniel Y. Systems and methods for processing instrument data
CN101742531A (en) * 2008-11-13 2010-06-16 中国移动通信集团设计院有限公司 Method and device for storing test data
CN102662997A (en) * 2012-03-15 2012-09-12 北京播思软件技术有限公司 Method of storing XML data into relational database

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471967A (en) * 2019-07-02 2019-11-19 深圳市金泰克半导体有限公司 A kind of test data management system and method

Similar Documents

Publication Publication Date Title
CN104778241B (en) A kind of report form generation method and system
CN104376068B (en) A kind of data exhibiting system and method based on dynamic statement template
CN107256265B (en) A kind of search-engine results data visualization methods of exhibiting and system
CN104462430B (en) The data processing method and device of relevant database
US20160012150A1 (en) System and method for main distribution network graph/model/data integration based on remote access and information interaction
CN108197237A (en) Visualization data, which collect, shows system
CN110502491A (en) A kind of Log Collect System and its data transmission method, device
CN112632136A (en) Data statistical analysis method and device, electronic equipment and storage medium
CN104201779B (en) A kind of online monitoring data based on SVG is automatically integrating monitoring method
CN110083600A (en) A kind of method, apparatus, calculating equipment and the storage medium of log collection processing
CN110928984A (en) Knowledge graph construction method and device, terminal and storage medium
CN110955803A (en) Drawing method, device, equipment and medium of relational graph based on graph database
CN114328981B (en) Knowledge graph establishing and data acquiring method and device based on mode mapping
CN104240147A (en) Comprehensive power grid alarming displaying method for alarming information to be flexibly customized
CN114416868B (en) Data synchronization method, device, equipment and storage medium
CN105335466A (en) Audio data retrieval method and apparatus
CN103198095A (en) Acoustic testing data storage method and device for loudspeaker
CN104916418B (en) Active noise control system and working method of power transformer
CN107729007A (en) A kind of transformer station uniformly monitors the implementation method of graphic editor on-line
CN109214519A (en) Data processing system, method and apparatus
CN111444249A (en) User portrait generation method, device and equipment based on thermal data and storage medium
CN116186053A (en) Data processing method, device and storage medium
CN102855303A (en) Method and device for data transmission between SCADA (supervisory control and data acquisition) system and database platform
CN111143329A (en) Data processing method and device
CN206640769U (en) Electric business order reminds intelligent sound box

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 261031 Dongfang Road, Weifang high tech Industrial Development Zone, Shandong, China, No. 268

Applicant after: Goertek Inc.

Address before: 261031 Dongfang Road, Weifang high tech Industrial Development Zone, Shandong, China, No. 268

Applicant before: Goertek Inc.

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130710