CN107613434A - Cross-platform multiterminal coordinate the method for carrying out sound field positioning - Google Patents

Cross-platform multiterminal coordinate the method for carrying out sound field positioning Download PDF

Info

Publication number
CN107613434A
CN107613434A CN201710890165.4A CN201710890165A CN107613434A CN 107613434 A CN107613434 A CN 107613434A CN 201710890165 A CN201710890165 A CN 201710890165A CN 107613434 A CN107613434 A CN 107613434A
Authority
CN
China
Prior art keywords
sound
sound field
positioning
mobile terminal
equipment
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
CN201710890165.4A
Other languages
Chinese (zh)
Other versions
CN107613434B (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric Co 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201710890165.4A priority Critical patent/CN107613434B/en
Publication of CN107613434A publication Critical patent/CN107613434A/en
Application granted granted Critical
Publication of CN107613434B publication Critical patent/CN107613434B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a kind of method that cross-platform multiterminal are coordinated to carry out sound field positioning, described method includes:Step 1: primary development equipment search and link block are carried out under eclipse and Xcode environment;Step 2: sound field positioning low level development and interface encapsulation are carried out on stereo set;Step 3: the sound field for realizing mobile terminal and stereo set by mobile terminal sound field locating module positions.The present invention solves sound field location technology, the interconnection of multi-platform, cross complaint, the sound field location technology applies the audio experience that can increase user in intelligent sound, the position of auditor is more accurately positioned, to adjust parameter corresponding to sound equipment, reaches optimal auditory effect.Equipment interconnection cross complaint can allow user quickly to find simultaneously connecting sound equipment equipment, and the sound field positioning function of sound equipment is controlled by mobile terminal, to reach the functions such as the switching of sound equipment sound channel, sound field positioning, the switching of sound field position.

Description

Cross-platform multiterminal coordinate the method for carrying out sound field positioning
Technical field
The present invention relates to Mobile solution multiterminal to interact field, and in particular to a kind of cross-platform multiterminal are coordinated to carry out sound field positioning Method.
Background technology
At present, as the progress being greatly improved with science and technology of people's living standard, requirement of the people to quality of life are more next It is higher, increasingly understand and enjoy life, matched is that in the market panoramic smart machine occurs, such as intelligent hand Machine, intelligent television, intelligent sound etc..And also no longer independent presence between smart machine, multiterminal interaction, equipment mutual control, The equivalent technology application of multi-screen association also turns into universal.Such as wisdom family, it is possible to controlled by mobile terminal (mobile phone, pad etc.) The smart machine (intelligent curtain, smart jack, intelligent door lock etc.) of family, reach the purpose of remote control so that family Equipment is more intelligent, control is more convenient.Do not occur also controlling the side that sound equipment positions by mobile terminal in the market Method.
The content of the invention
Instant invention overcomes the deficiencies in the prior art, there is provided a kind of cross-platform multiterminal coordinate the method for carrying out sound field positioning.
To solve above-mentioned technical problem, the present invention uses following technical scheme:
A kind of cross-platform multiterminal coordinate the method for carrying out sound field positioning, and described method includes:
Step 1: primary development equipment search and link block are carried out under eclipse and Xcode environment;
Step 2: sound field positioning low level development and interface encapsulation are carried out on stereo set;
Step 3: the sound field for realizing mobile terminal and stereo set by mobile terminal sound field locating module positions.
Further technical scheme is to be integrated with to use in stereo set in described step two to be based on microphone array Auditory localization algorithm sound field locating module.
Further technical scheme is that described step three includes:By js equipment identification modules, current device is obtained Type, primary acquisition equipment id interface, splicing request are then called by java script Interface function interfaces Path, to call sound field positioning states interface to be ready in next step.
Further technical scheme is that described step three includes:
Step 1, obtain the sound channel that sound equipment end is supported
Mobile terminal is by calling the acquisition at sound equipment end to support channel interface;
Step 2, start sound field assignment test
Mobile terminal is by calling the startup test interface at sound equipment end, and after starting successfully, sound equipment end starts test sound, according to Sound channel that sound equipment is supported is positioned;
Step 3, obtain locating result information
Step 4, preserve positioning
Positioning after positioning successfully, is stored in mobile terminal by mobile terminal by calling the preservation locating interface at sound equipment end;
Step 5, the locating list for obtaining sound equipment
By calling the locating list interface of sound equipment to obtain;
Step 6, switching positioning
When there are multiple position locations, by switching LisPos in mobile terminal, the switching of positioning is realized.
Further technical scheme is that described step 3 includes:Returning result is obtained with time-interval system, until obtaining Get returning result.
Compared with prior art, one of beneficial effect of the embodiment of the present invention is:The present invention solve sound field location technology, The interconnection of multi-platform, cross complaint, the sound field location technology apply the audio experience that can increase user in intelligent sound, more The position of auditor is accurately positioned, to adjust parameter corresponding to sound equipment, reaches optimal auditory effect.Equipment interconnects cross complaint energy Enough allow user quickly to find simultaneously connecting sound equipment equipment, the sound field positioning function of sound equipment is controlled by mobile terminal, to reach sound The functions such as the switching of sound road, sound field positioning, the switching of sound field position.
Brief description of the drawings
Fig. 1 is the general frame realization principle figure of one embodiment of the invention.
Fig. 2 is that timing diagram is called in the mobile terminal sound field positioning of one embodiment of the invention.
Embodiment
All features disclosed in this specification, or disclosed all methods or during the step of, except mutually exclusive Feature and/or step beyond, can combine in any way.
Any feature disclosed in this specification (including any accessory claim, summary and accompanying drawing), except non-specifically chatting State, can alternative features equivalent by other or with similar purpose replaced.I.e., unless specifically stated otherwise, each feature It is an example in a series of equivalent or similar characteristics.
Below in conjunction with the accompanying drawings and the embodiment of the present invention is described in detail embodiment.
In the following detailed description, many specific descriptions are described for illustrative purposes so as to thoroughly understand institute Disclosed embodiment, it is clear, however, that one or more embodiments can be in the case of without using these specific descriptions Implement, in other instances, known structure and device are schematically shown, to simplify accompanying drawing.
As depicted in figs. 1 and 2, according to one embodiment of present invention, the present embodiment discloses a kind of cross-platform multiterminal and coordinated The method for carrying out sound field positioning, specifically, this method uses cross-platform development mode, it is former using HTML5+Android/IOS Raw function carries out mixed developing.
The present embodiment mainly includes equipment search and link block (primary realization), (js is opened mobile terminal sound field locating module Hair), sound field positioning bottom layer realization module.Mobile terminal solves the problems, such as that cross-platform device interconnects cross complaint, can quickly find And connecting sound equipment equipment, and the sound field positioning function at sound equipment end can be controlled.Stereo set, which is integrated with to use, is based on microphone array Auditory localization algorithm sound field locating module, not only sound equipment possess sound field positioning function in itself, additionally provide positioning result Callback interface, end easy to remove obtain the relevant information of positioning result.
Specifically, the method that the cross-platform multiterminal of the present embodiment coordinate to carry out sound field positioning comprises the following steps:
Step 1: Android and ios device are found with being connected, primary exploitation is carried out under eclipse and Xcode environment. The present embodiment can realize cross-platform advantage by HTML5, using HTML5+Android/IOS mixed developing mode come real Existing Cross Platform Technology, solve the problems, such as effectively to avoid overlapping development in mobile terminal control sound equipment sound field positioning, this mode, Multiterminal can share same set of code.
Step 2: sound field positioning low level development and interface encapsulation are carried out on stereo set.Sound equipment end is to carry out sound field positioning The equipment end of function, the inside are integrated with the nucleus module of sound field positioning, in order to improve the degree of accuracy of positioning, employed based on Mike The auditory localization algorithm of wind array, the algorithm can greatly improve the accuracy and speed of positioning, sound field localization function module Encapsulate the interface to positioning result.
Step 3: the sound field for realizing mobile terminal and stereo set by mobile terminal sound field locating module positions.This is whole The core of method, first by js equipment identification modules, current device type is obtained, then passes through java script Interface function interfaces call primary acquisition equipment id interface, splice request path, to call sound field positioning in next step State interface is ready.The present embodiment controls the sound field positioning function of sound equipment in mobile terminal, makes user departing to sound equipment The dependence of itself, use is more convenient, flexible, and can repeatedly determine in different positions (room, parlor, kitchen, toilet) Position, preserve positioning result.
Specifically, the method that the cross-platform multiterminal of the present embodiment coordinate to carry out sound field positioning is further comprising the steps of:
Step 1. obtains the sound channel that sound equipment end is supported:Mobile terminal is by calling the acquisition at sound equipment end to support channel interface (such as Sound equipment support left and right acoustic channels, in put, surround).
Step 2. starts sound field assignment test:Mobile terminal is by calling the startup test interface at sound equipment end, after starting successfully, Sound equipment end starts test sound, and the sound channel supported according to sound equipment is positioned;
Step 3. obtains locating result information:Because positioning needs the time, knot is returned to as 10s is obtained at a time interval Fruit, until getting (success or failure);
Step 4. preserves positioning:Mobile terminal is by calling the preservation locating interface at sound equipment end, and after positioning successfully, positioning is protected Mobile terminal be present.
Step 5. obtains the locating list of sound equipment:By calling the locating list interface of sound equipment to obtain.
Step 6. switching positioning:If multiple position locations, in use, user can according to the position where oneself, Freely switch position location in mobile terminal, reach optimal hearing effect, it is easy to use.
Specifically, after mobile terminal (mainly android, IOS) starts, selection and sound equipment identical network connection first, All smart machines that the primary development module in mobile terminal is searched in the network automatically by IPP consultations, and in the form of a list Displaying, user select equipment connection, now i.e. controllable to can be carried out sound field positioning with the device-dependent function, mobile terminal The test of function;Sound equipment end is the equipment end for carrying out sound field positioning function, and the inside is integrated with the nucleus module of sound field positioning, in order to The degree of accuracy of positioning is improved, employs the auditory localization algorithm based on microphone array, the algorithm can greatly improve positioning Accuracy and speed, sound field localization function module encapsulates the interface to positioning result, and mobile terminal can pass through these interfaces Location information is obtained, in order to the exploitation of mobile terminal.
" one embodiment " for being spoken of in this manual, " another embodiment ", " embodiment " etc., refer to combining Specific features, structure or the feature of embodiment description are included at least one embodiment of the application generality description. It is not necessarily to refer to same embodiment that statement of the same race, which occur, in multiple places in the description.Furthermore, it is understood that with reference to any When individual embodiment describes a specific features, structure or feature, what is advocated is this to realize with reference to other embodiment Feature, structure or feature are also fallen within the scope of the present invention.
Although reference be made herein to invention has been described for the multiple explanatory embodiments invented, however, it is to be understood that this Art personnel can be designed that a lot of other modifications and embodiment, and these modifications and embodiment will fall in the application Within disclosed spirit and spirit.More specifically, can be to theme group in the range of disclosure claim The building block and/or layout for closing layout carry out a variety of variations and modifications.Except the modification carried out to building block and/or layout Outer with improving, to those skilled in the art, other purposes also will be apparent.

Claims (5)

1. a kind of cross-platform multiterminal coordinate the method for carrying out sound field positioning, it is characterised in that:Described method includes:
Step 1: primary development equipment search and link block are carried out under eclipse and Xcode environment;
Step 2: sound field positioning low level development and interface encapsulation are carried out on stereo set;
Step 3: the sound field for realizing mobile terminal and stereo set by mobile terminal sound field locating module positions.
2. cross-platform multiterminal according to claim 1 coordinate the method for carrying out sound field positioning, it is characterised in that described step In rapid two the sound field locating module using the auditory localization algorithm based on microphone array is integrated with stereo set.
3. cross-platform multiterminal according to claim 1 coordinate the method for carrying out sound field positioning, it is characterised in that described step Rapid three include:By js equipment identification modules, current device type is obtained, then passes through java script Interface letters The primary acquisition equipment id of number interface interchange interface, splices request path, to call sound field positioning states interface to do in next step It is good to prepare.
4. the cross-platform multiterminal according to claim 1 or 3 coordinate the method for carrying out sound field positioning, it is characterised in that described Step 3 includes:
Step 1, obtain the sound channel that sound equipment end is supported
Mobile terminal is by calling the acquisition at sound equipment end to support channel interface;
Step 2, start sound field assignment test
Mobile terminal is by calling the startup test interface at sound equipment end, and after starting successfully, sound equipment end starts test sound, according to sound equipment The sound channel supported is positioned;
Step 3, obtain locating result information
Step 4, preserve positioning
Positioning after positioning successfully, is stored in mobile terminal by mobile terminal by calling the preservation locating interface at sound equipment end;
Step 5, the locating list for obtaining sound equipment
By calling the locating list interface of sound equipment to obtain;
Step 6, switching positioning
When there are multiple position locations, by switching LisPos in mobile terminal, the switching of positioning is realized.
5. cross-platform multiterminal according to claim 4 coordinate the method for carrying out sound field positioning, it is characterised in that described step Rapid 3 include:Returning result is obtained with time-interval system, until getting returning result.
CN201710890165.4A 2017-09-27 2017-09-27 Method for positioning sound field by cross-platform multi-end coordination Active CN107613434B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710890165.4A CN107613434B (en) 2017-09-27 2017-09-27 Method for positioning sound field by cross-platform multi-end coordination

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710890165.4A CN107613434B (en) 2017-09-27 2017-09-27 Method for positioning sound field by cross-platform multi-end coordination

Publications (2)

Publication Number Publication Date
CN107613434A true CN107613434A (en) 2018-01-19
CN107613434B CN107613434B (en) 2020-01-31

Family

ID=61059141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710890165.4A Active CN107613434B (en) 2017-09-27 2017-09-27 Method for positioning sound field by cross-platform multi-end coordination

Country Status (1)

Country Link
CN (1) CN107613434B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5109419A (en) * 1990-05-18 1992-04-28 Lexicon, Inc. Electroacoustic system
CN102196332A (en) * 2010-03-09 2011-09-21 陈新伟 Sound field localization method, remote control and system
CN102595317A (en) * 2012-02-27 2012-07-18 歌尔声学股份有限公司 Communication signal self-adapting transmission method and system
US20140348357A1 (en) * 2013-04-23 2014-11-27 Huawei Technologies Co., Ltd. Sound Effect Adjustment Method, Apparatus and Device
WO2016045088A1 (en) * 2014-09-26 2016-03-31 华为技术有限公司 Method, device and electronic device for controlling application program
CN106303836A (en) * 2016-11-15 2017-01-04 广东小天才科技有限公司 A kind of method and device regulating played in stereo
CN106354881A (en) * 2016-09-28 2017-01-25 四川长虹电器股份有限公司 Picture viewer based on mobile terminal cross-platform and implementation method of picture viewer
CN106998514A (en) * 2016-01-26 2017-08-01 湖南汇德电子有限公司 Intelligent multichannel collocation method and system
CN107144819A (en) * 2017-04-10 2017-09-08 北京猎户星空科技有限公司 A kind of sound localization method, device and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5109419A (en) * 1990-05-18 1992-04-28 Lexicon, Inc. Electroacoustic system
CN102196332A (en) * 2010-03-09 2011-09-21 陈新伟 Sound field localization method, remote control and system
CN102595317A (en) * 2012-02-27 2012-07-18 歌尔声学股份有限公司 Communication signal self-adapting transmission method and system
US20140348357A1 (en) * 2013-04-23 2014-11-27 Huawei Technologies Co., Ltd. Sound Effect Adjustment Method, Apparatus and Device
WO2016045088A1 (en) * 2014-09-26 2016-03-31 华为技术有限公司 Method, device and electronic device for controlling application program
CN106998514A (en) * 2016-01-26 2017-08-01 湖南汇德电子有限公司 Intelligent multichannel collocation method and system
CN106354881A (en) * 2016-09-28 2017-01-25 四川长虹电器股份有限公司 Picture viewer based on mobile terminal cross-platform and implementation method of picture viewer
CN106303836A (en) * 2016-11-15 2017-01-04 广东小天才科技有限公司 A kind of method and device regulating played in stereo
CN107144819A (en) * 2017-04-10 2017-09-08 北京猎户星空科技有限公司 A kind of sound localization method, device and electronic equipment

Also Published As

Publication number Publication date
CN107613434B (en) 2020-01-31

Similar Documents

Publication Publication Date Title
CN105847099B (en) Internet of things implementation system and method based on artificial intelligence
CN104333800B (en) The Bluetooth audio frequency player method and device of a kind of display system, display system
CN106681292A (en) Intelligent center control auxiliary unit equipment and method and system for achieving intelligent control
CN104168381B (en) Realize the method and system that mobile phone is connected with intelligent imaging equipment
CN107124661A (en) Communication means, apparatus and system in direct broadcast band
CN104837157B (en) Speaker adding method, device, mobile terminal and intelligent sound box
CN105933738B (en) Net cast methods, devices and systems
CN104967734B (en) Information switching method and system
CN105872833A (en) Video communication method and device, and smart television
CN106604056B (en) Video broadcasting method and device
CN109523218A (en) The exchange method of Mobile Intelligent Robot and people
CN107360332A (en) Talking state display methods, device, mobile terminal and storage medium
CN106911768A (en) Smart machine, intelligent domestic system and its method to set up and device
CN103780952B (en) Intelligent terminal method for sending information and system
CN105744646A (en) Mobile terminal and communication method
CN106254191A (en) A kind of intelligent home device assisted location method and device
CN105703984B (en) A kind of connection method and mobile terminal
CN109451525A (en) A kind of method and device of congestion judgement
CN106954097B (en) The control method and device of video playing
CN205829977U (en) A kind of wireless speech dialogue being applicable to tradition sound equipment and control device
CN105187471B (en) Information switching method and system
CN104506901B (en) Voice householder method and system based on tv scene state and voice assistant
CN107613434A (en) Cross-platform multiterminal coordinate the method for carrying out sound field positioning
CN105898062A (en) Method and apparatus for incoming call management based on virtual equipment
CN106412685A (en) Wireless network connection method based on smart television and smart television

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