CN106878286A - Voice data synchronous method and device - Google Patents

Voice data synchronous method and device Download PDF

Info

Publication number
CN106878286A
CN106878286A CN201710033756.XA CN201710033756A CN106878286A CN 106878286 A CN106878286 A CN 106878286A CN 201710033756 A CN201710033756 A CN 201710033756A CN 106878286 A CN106878286 A CN 106878286A
Authority
CN
China
Prior art keywords
voice data
device identification
equipment
audio
play position
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
CN201710033756.XA
Other languages
Chinese (zh)
Other versions
CN106878286B (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.)
iMusic Culture and Technology Co Ltd
Original Assignee
iMusic Culture and Technology 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 iMusic Culture and Technology Co Ltd filed Critical iMusic Culture and Technology Co Ltd
Priority to CN201710033756.XA priority Critical patent/CN106878286B/en
Publication of CN106878286A publication Critical patent/CN106878286A/en
Application granted granted Critical
Publication of CN106878286B publication Critical patent/CN106878286B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0236Filtering by address, protocol, port number or service, e.g. IP-address or URL
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Abstract

The present invention relates to a kind of voice data synchronous method and device, methods described includes:Receive voice data synchronic command;Extract the current play position of ID, device identification, voice data and the corresponding audio of the voice data that the voice data synchronic command includes;Inquiry device identification set corresponding with ID described in said extracted;The device identification set includes at least one mobile unit mark and at least one mobile communication equipment mark;The device identification of extraction is filtered out from the device identification set for inquiring;By the voice data and the current play position of the corresponding audio of the voice data, the corresponding equipment of the remaining device identification is sent to after filtering, to cause the equipment corresponding audio of playing audio data from the current play position of the corresponding audio of the voice data.The scheme that the application is provided problem cumbersome when voice data can be avoided synchronous.

Description

Voice data synchronous method and device
Technical field
The present invention relates to field of computer technology, more particularly to a kind of voice data synchronous method and device.
Background technology
With the development of computer technology, the various equipment for supporting that audio is played are more and more, such as mobile communication sets Standby or mobile unit etc..The equipment that user can support audio broadcasting by these, the audio of broadcasting is arbitrarily chosen according to wish Listened to.Along with the progress of society, while the user for possessing many equipment that audio can be supported to play is more and more, user Audio broadcasting can be carried out using different equipment respectively.
However, due to the influence of the other factors such as environment, user is when needing more exchange device to carry out that audio is continuous to listen, it is necessary to hand The audio progress in equipment after dynamic regulation replacing listens position to continuous, cumbersome.
The content of the invention
Based on this, it is necessary to for same user equipment carry out audio continue listen when cumbersome problem, there is provided it is a kind of Voice data synchronous method and device.
A kind of voice data synchronous method, methods described includes:
S1, reception voice data synchronic command;
S2, extract ID, device identification, voice data that the voice data synchronic command includes and described The current play position of the corresponding audio of voice data;
S3, inquiry device identification set corresponding with the ID of said extracted;The device identification set bag Include at least one mobile unit mark and at least one mobile communication equipment mark;
S4, the device identification for filtering out from the device identification set for inquiring extraction;
S5, by the voice data and the current play position of the corresponding audio of the voice data, send to after filtering The corresponding equipment of the device identification, with cause current play position of the equipment from the corresponding audio of the voice data Play the corresponding audio of playing audio data.
In one embodiment, before the step S1, methods described also includes:
Receive logging request;
Obtain ID and device identification that the logging request includes;
According to the logging request, the device identification for obtaining is stored to setting corresponding to the ID for obtaining In standby logo collection.
In one embodiment, the step S5 includes:
S51, when the corresponding equipment state of the remaining device identification is presence after filtering, directly by the sound The current play position of frequency evidence and the corresponding audio of the voice data, it is presence to send to corresponding equipment state Equipment corresponding to device identification, to cause that the equipment is broadcast from the current play position of the corresponding audio of the voice data Put the corresponding audio of the voice data;
S52, when the corresponding equipment state of the remaining device identification is off-line state after filtering, cache the audio The current play position of data and the corresponding audio of the voice data, and in the corresponding equipment shape of the remaining device identification When state is updated to presence by off-line state, the equipment that transmission is updated to presence to equipment state, to cause described setting The standby corresponding audio of playing audio data from the current play position of the corresponding audio of the voice data.
In one embodiment, the step S52 includes:
When the corresponding equipment state of the remaining device identification is off-line state after filtering, it is corresponding to equipment state The device identification of off-line state, the current play position of the voice data and the corresponding audio of the voice data is delayed Deposit into waiting list;
Presence is updated to the corresponding equipment state of the device identification that equipment state is off-line state is detected When, the corresponding voice data of corresponding device identification and the corresponding audio of the voice data are read from the waiting list Current play position;
The current play position of the voice data for reading and the voice data is sent to corresponding device identification Corresponding equipment.
In one embodiment, after the step S3, methods described also includes:
When the device identification extracted is identified for mobile unit, the step S4 is performed;
When the device identification extracted is identified for mobile communication equipment, from the device identification set for inquiring Filter out mobile unit mark;
Receive the mobile communication equipment by extracting and identify the voice data operational order that corresponding equipment is initiated;
The voice data operational order for receiving is sent corresponding vehicle-mounted to the mobile unit mark for filtering out Equipment so that the mobile unit responds the voice data operational order.
The present invention also proposes a kind of voice data sychronisation, and described device includes:
Receiver module, for receiving voice data synchronic command;
Extraction module, for extracting ID, device identification, audio number that the voice data synchronic command includes According to this and the corresponding audio of the voice data current play position;
Enquiry module, for inquiring about device identification set corresponding with the ID of said extracted;The equipment Logo collection includes at least one mobile unit mark and at least one mobile communication equipment mark;
Filtering module, the device identification for filtering out extraction from the device identification set for inquiring;
Sending module, for by the current play position of the voice data and the corresponding audio of the voice data, sending out The corresponding equipment of the device identification after filtering is delivered to, to cause the equipment working as from the corresponding audio of the voice data Preceding play position plays the corresponding audio of playing audio data.
In one embodiment, described device also includes:
Relating module, for receiving logging request;Obtain ID and device identification that the logging request includes; According to the logging request, the device identification for obtaining is stored to device identification collection corresponding to the ID for obtaining In conjunction.
In one embodiment, the sending module is additionally operable to the corresponding equipment of remaining device identification after filtering When state is presence, directly by the voice data and the current play position of the corresponding audio of the voice data, hair The equipment corresponding to the device identification that corresponding equipment state is presence is delivered to, to cause the equipment from the audio number The corresponding audio of playing audio data is played according to the current play position of corresponding audio;Remaining equipment after filtering When identifying corresponding equipment state for off-line state, the current of the voice data and the corresponding audio of the voice data is cached Play position, and when the corresponding equipment state of the remaining device identification is updated to presence by off-line state, send The equipment of presence is updated to equipment state, to cause that the equipment is broadcast from the current of the corresponding audio of the voice data Put position and play the corresponding audio of playing audio data.
In one embodiment, the sending module is additionally operable to the corresponding equipment of remaining device identification after filtering It is the device identification of off-line state corresponding to equipment state, by the voice data and described when state is off-line state The current play position of the corresponding audio of voice data is cached into waiting list;It is off-line state equipment state is detected When the corresponding equipment state of the device identification is updated to presence, corresponding device identification is read from the waiting list The current play position of corresponding voice data and the corresponding audio of the voice data;By the voice data for reading and institute The current play position for stating voice data sends equipment corresponding to corresponding device identification.
In one embodiment, the filtering module is additionally operable to when the device identification extracted as mobile unit is identified When, the device identification of extraction is filtered out from the device identification set for inquiring;
Described device also includes:
Synchronization module, for when the device identification extracted is identified for mobile communication equipment, described in inquiring Mobile unit mark is filtered out in device identification set;Receive the mobile communication equipment by extracting and identify corresponding equipment The voice data operational order of initiation;The voice data operational order for receiving is sent to the mobile unit for filtering out Identify corresponding mobile unit so that the mobile unit responds the voice data operational order.
Above-mentioned voice data synchronous method and device, after voice data synchronic command is received, extract data syn-chronization and refer to ID and device identification that order includes, inquire about corresponding with the ID, and including at least one mobile unit mark Know the device identification set with least one mobile communication equipment mark, therefrom filter out and initiate the synchronous equipment pair of voice data The device identification answered, then data syn-chronization is instructed the currently playing of the voice data for including and the corresponding audio of voice data Position sends to other equipment corresponding with ID and identifies corresponding equipment so that the equipment is broadcast from the current of voice data Put position and play the corresponding audio of playing audio-fequency data, realize the mobile unit and mobile communication equipment for automatically belonging to same user Between voice data synchronization, it is to avoid manual regulation change after equipment on audio progress listen the position cumbersome to continuing Problem.
Brief description of the drawings
Accompanying drawing is, for providing a further understanding of the present invention, and to constitute the part of specification, specific with following Implementation method is used to explain the present invention together, but should not be construed as limiting the invention.In the accompanying drawings,
Fig. 1 is the implementation schematic diagram of one embodiment sound intermediate frequency method of data synchronization;
Fig. 2 be one embodiment in for realize voice data synchronous method server internal structure schematic diagram;
Fig. 3 is the schematic flow sheet of one embodiment sound intermediate frequency method of data synchronization;
Fig. 4 is the schematic flow sheet of another embodiment sound intermediate frequency method of data synchronization;
Fig. 5 is the audio broadcast interface schematic diagram of mobile unit in one embodiment;
Fig. 6 is the audio broadcast interface schematic diagram of mobile communication equipment in one embodiment;
Fig. 7 is the structured flowchart of one embodiment sound intermediate frequency data synchronization unit;
Fig. 8 is the structured flowchart of another embodiment sound intermediate frequency data synchronization unit.
Specific embodiment
To make the objects, technical solutions and advantages of the present invention become more apparent, below in conjunction with drawings and Examples, to this Invention is described in further detail.It should be appreciated that specific embodiment described herein is only used to explain the present invention, Do not limit protection scope of the present invention.
Fig. 1 is the implementation schematic diagram of one embodiment sound intermediate frequency method of data synchronization.Reference picture 1, the voice data synchronization Method is applied to voice data synchronization system.
Voice data synchronization system includes mobile communication equipment 110, mobile unit 120 and server 130, and mobile communication sets It is connected with server 120 by network respectively for 110 and mobile unit 120.Mobile communication equipment 110 can be specifically mobile phone, At least one in panel computer, notebook computer etc..Mobile unit 120 can be specifically the equipment that can be arranged on vehicle. Server 130 can be specifically independent server, or server cluster.
Fig. 2 is the internal structure schematic diagram of server in one embodiment.As shown in Fig. 2 the server is included by being Processor, non-volatile memory medium, built-in storage and network interface that system bus is connected.Wherein, the server is non-volatile Property storage medium is stored with operating system and database.The processor of the server is used to provide calculating and control ability, support The operation of whole server.Computer-readable instruction can be stored in the built-in storage of the server, the computer-readable instruction During by the computing device, a kind of voice data synchronous method of the computing device is may be such that.The network of the server connects Mouth such as receives mobile communication for being communicated by network connection with outside mobile communication equipment and/or mobile unit according to this Voice data synchronic command that equipment sends etc..Server can with independent server or multiple server groups into clothes Device cluster is engaged in realize.It will be understood by those skilled in the art that the structure shown in Fig. 2, only related to application scheme Part-structure block diagram, do not constitute the restriction of the server being applied thereon to application scheme, specific server Can include than more or less part shown in figure, or combine some parts, or be arranged with different parts.
As shown in figure 3, in one embodiment, there is provided a kind of voice data synchronous method, the present embodiment is in this way The server 130 that is applied in above-mentioned Fig. 1 is illustrated.The method specifically includes following steps:
S1, reception voice data synchronic command.
Wherein, voice data synchronic command refers to that the synchronous instruction of voice data is carried out between distinct device for triggering. There is including interface operation, and support the client of audio broadcasting on mobile communication equipment or mobile unit.Mobile communication equipment or Mobile unit can obtain the voice data synchronic command triggered in interface, and the interface is used to show currently playing audio.It is mobile Communication apparatus or mobile unit can detect the predefined trigger action for currently playing audio, detect the trigger action When trigger corresponding voice data synchronic command, the voice data synchronic command of triggering is sent to server.
Trigger action can be the operation to control in interface, such as, touch control operation or cursor to control click on behaviour Make etc..Trigger action can also be the click to predefined physical button.For mobile communication equipment, trigger action can be with Be triggered when the interface of currently playing audio is shown rock operation etc..
ID, device identification, voice data and voice data that S2, extraction voice data synchronic command include The current play position of corresponding audio.
Wherein, ID is used for one user of unique mark.Device identification is used for one equipment of unique mark.User marks Know and device identification may each be the character string including at least one character in numeral, letter and symbol.One user can gather around There is multiple equipment, that is, an ID may correspond to multiple equipment mark.Voice data can be audio url address or Person's audio resource mark etc..The current play position of the corresponding audio of voice data refers to the currently playing time axle position of audio Put.Such as currently playing to 03 point 03 second etc..
In one embodiment, voice data can be audio url address, can be specifically URL (Uniform Resource Locator URLs) address.The operable mobile communication equipment of user or mobile unit pass through user Voice data synchronic command is initiated in mark and device identification, represents that the voice data synchronic command is possessed wherein by the user One equipment is initiated.When voice data synchronic command is sent by equipment by currently playing audio url address and the sound The current play position of frequency, is encapsulated in voice data synchronic command and is transmitted.
In one embodiment, voice data can also be audio resource mark.Audio can be previously stored in server Resources bank, server is each audio resource distribution audio resource mark in audio resource storehouse, so as to obtain user by movement When communication apparatus or mobile unit play audio, identified by audio resource and pull corresponding sound from the audio resource storehouse of server Frequency resource.User initiates voice data synchronization in operation mobile communication equipment or mobile unit by ID and device identification During instruction, the audio resource of currently playing audio mark can be encapsulated in voice data synchronic command and be transmitted.
S3, inquiry device identification set corresponding with the ID extracted;Device identification set includes at least one car Carry device identification and at least one mobile communication equipment mark.
Wherein, device identification set includes some device identifications, and each device identification is used to identify an equipment.Equipment Mark includes that mobile unit is identified and mobile communication equipment mark, and the quantity that mobile unit mark and mobile communication equipment are identified It is at least one.It refers to the equipment on mobile traffic that mobile unit identifies corresponding mobile unit.Such as car Carry sound equipment or vehicle-mounted computer etc..In the present embodiment, it is vehicular rear mirror that mobile unit identifies corresponding mobile unit.Support Audio is played and the client including interface can be according on the vehicular rear mirror, by the rearview mirror interface exhibition of vehicular rear mirror Show client end interface.Vehicular rear mirror can also show client end interface by projection mode.
In the present embodiment, when the client that user runs on mobile communication equipment or mobile unit is logged in, the movement Communication apparatus or mobile unit can send association request to server.The association request includes the corresponding ID of active user Device identification corresponding with the equipment.Server includes association request after the association request for receiving user's transmission Device identification is stored in the corresponding device identification set of ID included to association request.
In one embodiment, server can also detect what user ran on mobile communication equipment or mobile unit When client is logged in, the current equipment for carrying out the corresponding ID of user of register and currently carrying out register is obtained Corresponding device identification.Server after ID and device identification is got, the device identification that association request is included Store in including the corresponding device identification set of ID to association request.
Further, the ID that is stored with the server and device identification set corresponding with ID.Service Device after the ID that includes of voice data synchronic command and device identification is extracted, stored on inquiry server with extraction ID there is the device identification set of corresponding relation.
S4, the device identification for filtering out from the device identification set for inquiring extraction.
Specifically, server can travel through each device identification in device identification set, in traversal, the equipment mark that will be traveled through The device identification known and extract is contrasted, when the device identification of traversal is identical with the device identification extracted, should by what is traveled through Device identification is filtered out, and terminates traversal.
S5, by voice data and the current play position of the corresponding audio of voice data, send remaining to after filtering setting The corresponding equipment of standby mark, to cause remaining device identification corresponding equipment working as from the corresponding audio of voice data after filtering Preceding play position plays the corresponding audio of playing audio-fequency data.
Specifically, server can determine remaining equipment mark after screening and filtering is carried out to the device identification set inquired about It is to need to carry out the synchronous equipment of voice data to know corresponding equipment.Server can be by the extraction from voice data synchronic command The current play position of voice data and the corresponding audio of voice data carries out voice data synchronization the need for sending to determination Equipment so that the corresponding equipment of remaining device identification can be from the current play position of the corresponding audio of voice data after filtering The corresponding audio of playing audio-fequency data.
In one embodiment, the voice data that server sends to filtering the corresponding equipment of remaining device identification is Audio url address, the equipment after the chained address is received, according to the chained address from server pull audio resource, then According to the current play position that server sends, jump to the play position and continue to play the audio.
In one embodiment, server sends to filtering the voice data of the corresponding equipment of remaining device identification Can be audio resource mark, the equipment is identified in server after audio resource mark is received according to audio resource Corresponding audio resource is searched in audio resource storehouse, further according to the current play position that server sends, broadcasting position is jumped to Put continuation and play the audio.
Above-mentioned voice data synchronous method, after voice data synchronic command is received, extracts bag in data syn-chronization instruction The ID for including and device identification, inquire about corresponding with the ID, and including at least one mobile unit mark and extremely The device identification set of few mobile communication equipment mark, therefrom filters out and initiates that the synchronous equipment of voice data is corresponding to be set Standby mark, then data syn-chronization is instructed the current play position of the voice data for including and the corresponding audio of voice data send out Deliver to other equipment corresponding with ID and identify corresponding equipment so that current play position of the equipment from voice data The corresponding audio of playing audio-fequency data is played, is realized between the mobile unit and mobile communication equipment that automatically belong to same user Voice data synchronization, it is to avoid manual regulation change after equipment on audio progress listen the cumbersome problem in position to continuing.
In one embodiment, before step S1, voice data synchronous method also includes:Receive logging request.Obtain ID and device identification that logging request includes.According to logging request, the device identification of acquisition is stored to acquisition In device identification set corresponding to ID.
Specifically, server can be carried out the client that user runs on mobile communication equipment or mobile unit is received During the logging request of login, ID and device identification that logging request includes are obtained.Server is getting user's mark Know with after device identification, the device identification of acquisition is stored into the equipment to the corresponding storage of ID extracted on the server In logo collection.
In one embodiment, server can obtain current login time when logging request is received every time, will obtain The device identification corresponding record that includes of current login time and logging request.Server can be detected regularly and each device identification Corresponding nearest login time record, if between the time interval of detection time and nearest login time record exceedes Preset Time Every being filtered during the nearest login time then is recorded into corresponding device identification slave unit logo collection.
Wherein, prefixed time interval refers to that the slave unit for pre-setting identifies corresponding login time, and device identification can With the duration for retaining.Server also can start timing when recording equipment identifies corresponding login time, be reached in timing duration During prefixed time interval, still it is not detected by user and is logged in again by the device identification, then filters the device identification.This Kind of device identification retains mode can in time filter the long-term corresponding device identification of equipment for being not carried out register, it is to avoid clothes The equipment that business device is stopped using to user carries out the problem that voice data synchronously wastes server resource.
In the present embodiment, just will currently be logged in when the request logged in equipment by ID is received The corresponding device identification of equipment of use storage corresponding with the ID passed through when currently logging in, can will correspond to user in time The multiple equipment mark of mark is stored, to receive by one of device identification hair corresponding with ID When playing voice data synchronic command, determine that the other equipment for corresponding to same ID with the device identification is identified in time, with The audio playing status synchronism for synchronizing will be needed to be identified in corresponding equipment to the other equipment for determining.
In one embodiment, step S5 is specifically included in voice data synchronous method:S51, remaining after filtering set When the corresponding equipment state of standby mark is presence, directly by the currently playing of voice data and the corresponding audio of voice data Position, sends to corresponding equipment state the equipment corresponding to the device identification of presence, to cause equipment from audio number The corresponding audio of playing audio-fequency data is played according to the current play position of corresponding audio.
S52, when the corresponding equipment state of remaining device identification is off-line state after filtering, buffered audio data and sound Frequency according to corresponding audio current play position, and the corresponding equipment state of remaining device identification by off-line state update During for presence, the equipment that transmission is updated to presence to equipment state, to cause equipment from the corresponding sound of voice data The current play position of frequency plays the corresponding audio of playing audio-fequency data.
Specifically, user currently carry out register use equipment can timing report the current of the equipment to set to server Standby state, judges that the equipment is in off-line state to cause server whether current device state reporting is carried out according to the equipment Or presence.In the present embodiment, server detect by device identification send current device state when, by equipment The corresponding equipment state of corresponding device identification is updated to presence in logo collection.It is being not detected by being sent out by device identification During the current device state sent, the corresponding equipment state of corresponding device identification in device identification set is updated to offline shape State.Wherein, refer to regularly periodically to perform certain operation, can be specifically every 10 minutes etc..
In additional embodiment, server also actively can regularly detect the current device of the current equipment for performing register State, according to the current device state for detecting recording the corresponding current device state of the equipment in the server.
In the present embodiment, for the equipment in presence, directly by voice data and the corresponding sound of voice data The current play position of frequency is transmitted so that the equipment can in real time carry out voice data synchronization.For in off-line state Equipment, the current play position of voice data and the corresponding audio of voice data is stored, the equipment equipment state more It is transmitted when newly for presence, it is to avoid off-line device cannot in time receive data may cause the problem of loss of data.
Further, in one embodiment, remaining device identification is corresponding after filtering in voice data synchronous method Equipment state be off-line state when, corresponding to equipment state for off-line state device identification, by voice data and audio number Cached into waiting list according to the current play position of corresponding audio.Detecting the equipment mark that equipment state is off-line state When knowing corresponding equipment state and being updated to presence, the corresponding voice data of corresponding device identification is read from waiting list The current play position of audio corresponding with voice data.The voice data and the current play position hair of voice data that will be read Deliver to the corresponding equipment of corresponding device identification.
In this embodiment, for the equipment in off-line state, corresponding to the corresponding device identification of the equipment, by audio number Stored to waiting list according to current play position, in each voice data and the corresponding equipment of each current play position for storing more Correspondingly it is transmitted when newly for presence.So may be implemented in the equipment in off-line state and be updated to presence When, the voice data and current play position of respective stored are issued exactly, it is ensured that the synchronous accuracy of voice data.
In one embodiment, after step s 3, voice data synchronous method also includes:When the device identification extracted is When mobile unit is identified, step S4 is continued executing with.When the device identification extracted is identified for mobile communication equipment, from setting for determining Mobile unit mark is filtered out in standby logo collection.Receive the mobile communication equipment by extracting and identify what corresponding equipment was initiated Voice data operational order.The voice data operational order of reception is sent corresponding vehicle-mounted to the mobile unit mark for filtering out Equipment so that mobile unit responds voice data operational order.
Wherein, voice data operational order refers to the instruction operated to currently playing audio.Such as suspend or cut Change.Specifically, the device identification that server can include in the voice data synchronic command for detecting reception is mobile communication After device identification, mobile unit mark is filtered out from the device identification set for determining, and set up mobile communication equipment mark Connection long between corresponding mobile communication equipment and the mobile unit corresponding mobile unit of mark for filtering out.
The mobile communication equipment by extracting that server will can be received identifies the voice data operational order initiated and sends Corresponding mobile unit is identified to the mobile unit for filtering out so that the mobile unit responds the voice data operational order, it is real The real-time synchronization now set up between the mobile communication equipment and mobile unit of connection long, so as to realize by mobile communication equipment reality When control mobile unit.
In the present embodiment, when the equipment for initiating voice data synchronic command is for mobile communication equipment, should by what is received The voice data operational order that mobile communication equipment sends send to filter out with mobile communication equipment correspond to same user The mobile unit of mark so that the mobile unit responds voice data operational order, realizes mobile communication equipment real-time control pair Should be in the mobile unit of same ID.
As shown in figure 4, in one embodiment, there is provided a kind of voice data synchronous method.The method specifically include as Lower step:
S402, receives logging request.
S404, obtains ID and device identification that logging request includes.
S406, according to logging request, the device identification of acquisition is stored to device identification corresponding to the ID for obtaining In set.
S408, receives voice data synchronic command.
S410, extracts ID, device identification, voice data and audio number that voice data synchronic command includes According to the current play position of corresponding audio.
S412, inquiry device identification set corresponding with the ID extracted;Device identification set includes at least one Mobile unit is identified and at least one mobile communication equipment mark.
S414, whether the device identification of Detection and Extraction is mobile communication equipment mark;If so, step S416 is then jumped to, If it is not, then jumping to step S418.
S416, filters out mobile unit mark from the device identification set for inquiring;The movement by extracting is received to lead to The voice data operational order that news device identification is initiated;The voice data operational order of reception is sent to what is filtered out and vehicle-mounted is set It is standby to identify corresponding mobile unit so that mobile unit responds voice data operational order.
S418, filters out the device identification of extraction from the device identification set for inquiring.
S420, whether the corresponding equipment state of remaining device identification is presence after detection filtering;If so, then redirecting To step S422;If it is not, then jumping to step S424.
S422, directly by voice data and the current play position of the corresponding audio of voice data, transmission sets to corresponding Equipment of the standby state corresponding to the device identification of presence, to cause that equipment is broadcast from the current of the corresponding audio of voice data Put position and play the corresponding audio of playing audio-fequency data.
S424, is the device identification of off-line state corresponding to equipment state, by voice data and the corresponding sound of voice data The current play position of frequency is cached into waiting list;Set for the device identification of off-line state is corresponding equipment state is detected When standby state is updated to presence, the corresponding voice data of corresponding device identification and voice data are read from waiting list The current play position of corresponding audio;The current play position of the voice data of reading and voice data is sent to corresponding The corresponding equipment of device identification.
In the present embodiment, after voice data synchronic command is received, the user that data syn-chronization instruction includes is extracted Mark and device identification, data syn-chronization is instructed the currently playing of the voice data that includes and the corresponding audio of voice data Position sends to other equipment corresponding with ID and identifies corresponding equipment so that the equipment is broadcast from the current of voice data Put position and play the corresponding audio of playing audio-fequency data, realize the mobile unit and mobile communication equipment for automatically belonging to same user Between voice data synchronization, it is to avoid manual regulation change after equipment on audio progress listen the position cumbersome to continuing Problem.
Secondly, for the equipment in off-line state, corresponding to the corresponding device identification of the equipment, by voice data and work as Preceding play position is stored to waiting list, storage each voice data and the corresponding renewal of the equipment of each current play position be Correspondingly it is transmitted during wire state.The equipment in off-line state so be may be implemented in when presence is updated to, by phase The voice data and current play position that should be stored are issued exactly, it is ensured that the synchronous accuracy of voice data.
And, when the equipment for initiating voice data synchronic command is for mobile communication equipment, the mobile communication that will be received The voice data operational order that equipment sends is sent to the car for corresponding to same ID with mobile communication equipment for filtering out Load equipment so that the mobile unit responds voice data operational order, realizes that mobile communication equipment real-time control corresponds to same The mobile unit of ID.
Fig. 5 shows the audio broadcast interface schematic diagram of mobile unit in one embodiment.With reference to Fig. 5, in the present embodiment In, the mobile unit is vehicular rear mirror.The interface includes handle icon 510, and handle icon 510 includes being used for trigger tone frequency According to the icon 511 of synchronic command.User can trigger voice data synchronic command by clicking on icon 511, and present video is broadcast The state of putting is sent to the mobile communication equipment corresponding to same ID, is listened with realizing that audio is continuous.
Fig. 6 shows the audio broadcast interface schematic diagram of mobile communication equipment in one embodiment, with reference to Fig. 6, in this reality Apply in example, the mobile communication equipment is mobile phone.The interface includes handle icon 610, and handle icon 610 is included for triggering audio The icon 611 of data syn-chronization instruction.User can trigger voice data synchronic command by clicking on icon 611, by present video Broadcast state is sent to the mobile unit corresponding to same ID, is listened with realizing that audio is continuous.
As shown in fig. 7, in one embodiment, there is provided a kind of voice data sychronisation 700, including:Receiver module 701st, extraction module 702, enquiry module 703, filtering module 704 and sending module 705.
Receiver module 701, for receiving voice data synchronic command.
Extraction module 702, for extracting ID, device identification, audio number that voice data synchronic command includes According to this and the corresponding audio of voice data current play position.
Enquiry module 703, the corresponding device identification set of ID for inquiring about with extract;Device identification set bag Include at least one mobile unit mark and at least one mobile communication equipment mark.
Filtering module 704, the device identification for filtering out extraction from the device identification set for inquiring.
Sending module 705, for sending the current play position of voice data and the corresponding audio of voice data to mistake The corresponding equipment of remaining device identification after filter, to cause that equipment is broadcast from the current play position of the corresponding audio of voice data Put the corresponding audio of voice data.
Above-mentioned voice data sychronisation, after voice data synchronic command is received, extracts bag in data syn-chronization instruction The ID for including and device identification, inquire about corresponding with the ID, and including at least one mobile unit mark and extremely The device identification set of few mobile communication equipment mark, therefrom filters out and initiates that the synchronous equipment of voice data is corresponding to be set Standby mark, then data syn-chronization is instructed the current play position of the voice data for including and the corresponding audio of voice data send out Deliver to other equipment corresponding with ID and identify corresponding equipment so that current play position of the equipment from voice data The corresponding audio of playing audio-fequency data is played, is realized between the mobile unit and mobile communication equipment that automatically belong to same user Voice data synchronization, it is to avoid manual regulation change after equipment on audio progress listen the cumbersome problem in position to continuing.
In one embodiment, sending module 705 is additionally operable to the corresponding equipment state of remaining device identification after filtering During for presence, directly by voice data and the current play position of the corresponding audio of voice data, transmission sets to corresponding Equipment of the standby state corresponding to the device identification of presence, to cause that equipment is broadcast from the current of the corresponding audio of voice data Put position and play the corresponding audio of playing audio-fequency data;The corresponding equipment state of remaining device identification is off-line state after filtering When, the current play position of buffered audio data and the corresponding audio of voice data, and set remaining device identification is corresponding When standby state is updated to presence by off-line state, the equipment that transmission is updated to presence to equipment state, to cause to set The standby corresponding audio of playing audio-fequency data from the current play position of the corresponding audio of voice data.
In the present embodiment, for the equipment in presence, directly by voice data and the corresponding sound of voice data The current play position of frequency is transmitted so that the equipment can in real time carry out voice data synchronization.For in off-line state Equipment, the current play position of voice data and the corresponding audio of voice data is stored, the equipment equipment state more It is transmitted when newly for presence, it is to avoid off-line device cannot in time receive data may cause the problem of loss of data.
In one embodiment, sending module 705 is additionally operable to the corresponding equipment state of remaining device identification after filtering It is the device identification of off-line state corresponding to equipment state, by voice data and the corresponding sound of voice data during for off-line state The current play position of frequency is cached into waiting list;Set for the device identification of off-line state is corresponding equipment state is detected When standby state is updated to presence, the corresponding voice data of corresponding device identification and voice data are read from waiting list The current play position of corresponding audio;The current play position of the voice data of reading and voice data is sent to corresponding The corresponding equipment of device identification.
In this embodiment, for the equipment in off-line state, corresponding to the corresponding device identification of the equipment, by audio number Stored to waiting list according to current play position, in each voice data and the corresponding equipment of each current play position for storing more Correspondingly it is transmitted when newly for presence.So may be implemented in the equipment in off-line state and be updated to presence When, the voice data and current play position of respective stored are issued exactly, it is ensured that the synchronous accuracy of voice data.
As shown in figure 8, in one embodiment, there is provided a kind of voice data sychronisation 800, including:Receiver module 801st, extraction module 802, enquiry module 803, filtering module 804, sending module 805, relating module 806 and synchronization module 807.
Receiver module 801, for receiving voice data synchronic command.
Extraction module 802, for extracting ID, device identification, audio number that voice data synchronic command includes According to this and the corresponding audio of voice data current play position.
Enquiry module 803, the corresponding device identification set of ID for inquiring about with extract;Device identification set bag Include at least one mobile unit mark and at least one mobile communication equipment mark.
Filtering module 804, for when the device identification extracted is identified for mobile unit, from the device identification collection for inquiring The device identification of extraction is filtered out in conjunction.
Sending module 805, for sending the current play position of voice data and the corresponding audio of voice data to mistake The corresponding equipment of remaining device identification after filter, to cause that equipment is broadcast from the current play position of the corresponding audio of voice data Put the corresponding audio of voice data.
Relating module 806, for receiving logging request;Obtain ID and device identification that logging request includes; According to logging request, the device identification of acquisition is stored into device identification set corresponding to the ID for obtaining.
Synchronization module 807, for when the device identification extracted is identified for mobile communication equipment, from the equipment mark for inquiring Know and filtered out in gathering mobile unit mark;Receive the mobile communication equipment by extracting and identify the voice data initiated and operate and refer to Order;The voice data operational order of reception is sent to the mobile unit for filtering out and identifies corresponding mobile unit so that be vehicle-mounted Equipment responds voice data operational order.
In the present embodiment, the audio between the mobile unit and mobile communication equipment that automatically belong to same user is realized Data syn-chronization, it is to avoid manual regulation change after equipment on audio progress listen the cumbersome problem in position to continuing.For Equipment in off-line state, corresponding to the corresponding device identification of the equipment, by voice data and current play position store to Waiting list, correspondingly enters when each voice data of storage and the corresponding renewal of the equipment of each current play position are presence Row sends.The equipment in off-line state so be may be implemented in when presence is updated to, by the voice data of respective stored Issued exactly with current play position, it is ensured that the synchronous accuracy of voice data.
And, when the equipment for initiating voice data synchronic command is for mobile communication equipment, the mobile communication that will be received The voice data operational order that equipment sends is sent to the car for corresponding to same ID with mobile communication equipment for filtering out Load equipment so that the mobile unit responds voice data operational order, realizes that mobile communication equipment real-time control corresponds to same The mobile unit of ID.
Without departing from the thought of the invention, various different embodiments of the invention are combined, all should When being considered as present disclosure;In range of the technology design of the invention, various simple modifications are carried out to technical scheme And any combination of the thought without prejudice to the invention that different embodiments are carried out, all should protection scope of the present invention it It is interior.

Claims (10)

1. a kind of voice data synchronous method, methods described includes:
S1, reception voice data synchronic command;
ID, device identification, voice data and the audio that S2, the extraction voice data synchronic command include The current play position of the corresponding audio of data;
S3, inquiry device identification set corresponding with the ID of said extracted;The device identification set is included extremely Few mobile unit mark and at least one mobile communication equipment mark;
S4, the device identification for filtering out from the device identification set for inquiring extraction;
S5, by the voice data and the current play position of the corresponding audio of the voice data, send remaining to after filtering The corresponding equipment of the device identification, with cause current play position of the equipment from the corresponding audio of the voice data Play the corresponding audio of playing audio data.
2. method according to claim 1, it is characterised in that before the step S1, methods described also includes:
Receive logging request;
Obtain ID and device identification that the logging request includes;
According to the logging request, the device identification for obtaining is stored to equipment mark corresponding to the ID for obtaining Know in gathering.
3. method according to claim 1, it is characterised in that the step S5 includes:
S51, when the corresponding equipment state of the remaining device identification is presence after filtering, directly by the audio number According to the current play position of audio corresponding with the voice data, it is the equipment of presence to send to corresponding equipment state The corresponding equipment of mark, to cause that the equipment plays institute from the current play position of the corresponding audio of the voice data State the corresponding audio of voice data;
S52, when the corresponding equipment state of the remaining device identification is off-line state after filtering, cache the voice data The current play position of audio corresponding with the voice data, and the corresponding equipment state of the remaining device identification by When off-line state is updated to presence, transmission presence is updated to equipment state equipment, with cause the equipment from The current play position of the corresponding audio of the voice data plays the corresponding audio of playing audio data.
4. method according to claim 3, it is characterised in that the step S52 includes:
It is offline corresponding to equipment state when the corresponding equipment state of the remaining device identification is off-line state after filtering The device identification of state, by the current play position of the voice data and the corresponding audio of the voice data cache to In waiting list;
Detect equipment state be off-line state the corresponding equipment state of the device identification be updated to presence when, from The current of the corresponding voice data of corresponding device identification and the corresponding audio of the voice data is read in the waiting list Play position;
The voice data for reading is sent corresponding to corresponding device identification with the current play position of the voice data Equipment.
5. method according to claim 1, it is characterised in that after the step S3, methods described also includes:
When the device identification extracted is identified for mobile unit, the step S4 is performed;
When the device identification extracted is identified for mobile communication equipment, screened from the device identification set for inquiring Go out mobile unit mark;
Receive the mobile communication equipment by extracting and identify the voice data operational order that corresponding equipment is initiated;
The voice data operational order for receiving is sent to the mobile unit for filtering out and identifies corresponding mobile unit, So that the mobile unit responds the voice data operational order.
6. a kind of voice data sychronisation, it is characterised in that described device includes:
Receiver module, for receiving voice data synchronic command;
Extraction module, for extract ID, device identification, voice data that the voice data synchronic command includes with And the current play position of the corresponding audio of the voice data;
Enquiry module, the corresponding device identification set of the ID for inquiring about with extract;The device identification set Including at least one mobile unit mark and at least one mobile communication equipment mark;
Filtering module, the device identification for filtering out extraction from the device identification set for inquiring;
Sending module, for by the current play position of the voice data and the corresponding audio of the voice data, sending extremely The corresponding equipment of the device identification after filtering, to cause that the equipment is broadcast from the current of the corresponding audio of the voice data Put position and play the corresponding audio of playing audio data.
7. device according to claim 6, it is characterised in that described device also includes:
Relating module, for receiving logging request;Obtain ID and device identification that the logging request includes;According to The logging request, the device identification for obtaining is stored to device identification set corresponding to the ID for obtaining In.
8. device according to claim 6, it is characterised in that the sending module is additionally operable to equipment after filtering When identifying corresponding equipment state for presence, direct working as the voice data and the corresponding audio of the voice data Preceding play position, sends to corresponding equipment state the equipment corresponding to the device identification of presence, to cause described setting The standby corresponding audio of playing audio data from the current play position of the corresponding audio of the voice data;After filtering The corresponding equipment state of the device identification be off-line state when, cache the voice data and the voice data it is corresponding The current play position of audio, and be updated in wire by off-line state in the corresponding equipment state of the remaining device identification During state, the equipment that transmission is updated to presence to equipment state, to cause the equipment from the corresponding sound of the voice data The current play position of frequency plays the corresponding audio of playing audio data.
9. device according to claim 8, it is characterised in that the sending module is additionally operable to remaining described after filtering It is the device identification of off-line state corresponding to equipment state when the corresponding equipment state of device identification is off-line state, will The current play position of the voice data and the corresponding audio of the voice data is cached into waiting list;Set detecting When being updated to presence for the corresponding equipment state of the device identification that state is off-line state, from the waiting list Read the current play position of the corresponding voice data of corresponding device identification and the corresponding audio of the voice data;To read The voice data and the current play position of the voice data send equipment corresponding to corresponding device identification.
10. device according to claim 9, it is characterised in that the filtering module is additionally operable to when the equipment extracted When being designated mobile unit mark, the device identification of extraction is filtered out from the device identification set for inquiring;
Described device also includes:
Synchronization module, for when the device identification extracted is identified for mobile communication equipment, from the equipment for inquiring Mobile unit mark is filtered out in logo collection;Receive the mobile communication equipment by extracting and identify the voice data initiated Operational order;The voice data operational order for receiving is sent corresponding vehicle-mounted to the mobile unit mark for filtering out Equipment so that the mobile unit responds the voice data operational order.
CN201710033756.XA 2017-01-18 2017-01-18 Voice data synchronous method and device Active CN106878286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710033756.XA CN106878286B (en) 2017-01-18 2017-01-18 Voice data synchronous method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710033756.XA CN106878286B (en) 2017-01-18 2017-01-18 Voice data synchronous method and device

Publications (2)

Publication Number Publication Date
CN106878286A true CN106878286A (en) 2017-06-20
CN106878286B CN106878286B (en) 2018-02-09

Family

ID=59157454

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710033756.XA Active CN106878286B (en) 2017-01-18 2017-01-18 Voice data synchronous method and device

Country Status (1)

Country Link
CN (1) CN106878286B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108173833A (en) * 2017-12-25 2018-06-15 北京摩拜科技有限公司 A kind of audio frequency playing method, system, server and playback equipment
CN109062537A (en) * 2018-08-30 2018-12-21 倪兴炜 A kind of reduction method, apparatus, medium and the equipment of audio frequency delay
CN109358905A (en) * 2018-09-17 2019-02-19 北京轩辕联科技有限公司 Method of data synchronization and device for vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317898A (en) * 2014-10-24 2015-01-28 联想(北京)有限公司 Information processing method and server
CN104426853A (en) * 2013-08-23 2015-03-18 腾讯科技(深圳)有限公司 Multimedia synchronous playing method, server, terminal and system
EP2914023A2 (en) * 2014-02-27 2015-09-02 Harman International Industries, Inc. Data aggregation and delivery
CN105335471A (en) * 2015-09-29 2016-02-17 芜湖市汽车产业技术研究院有限公司 Vehicle multimedia device, mobile terminal, and vehicle multimedia playing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104426853A (en) * 2013-08-23 2015-03-18 腾讯科技(深圳)有限公司 Multimedia synchronous playing method, server, terminal and system
EP2914023A2 (en) * 2014-02-27 2015-09-02 Harman International Industries, Inc. Data aggregation and delivery
CN104317898A (en) * 2014-10-24 2015-01-28 联想(北京)有限公司 Information processing method and server
CN105335471A (en) * 2015-09-29 2016-02-17 芜湖市汽车产业技术研究院有限公司 Vehicle multimedia device, mobile terminal, and vehicle multimedia playing method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108173833A (en) * 2017-12-25 2018-06-15 北京摩拜科技有限公司 A kind of audio frequency playing method, system, server and playback equipment
CN109062537A (en) * 2018-08-30 2018-12-21 倪兴炜 A kind of reduction method, apparatus, medium and the equipment of audio frequency delay
CN109062537B (en) * 2018-08-30 2021-07-30 倪兴炜 Audio delay reduction method, device, medium and equipment
CN109358905A (en) * 2018-09-17 2019-02-19 北京轩辕联科技有限公司 Method of data synchronization and device for vehicle
CN109358905B (en) * 2018-09-17 2023-04-11 北京轩辕联科技有限公司 Data synchronization method and device for vehicle

Also Published As

Publication number Publication date
CN106878286B (en) 2018-02-09

Similar Documents

Publication Publication Date Title
EP3608793B1 (en) Seamless browsing between devices
JP5897153B2 (en) User search method, user search system, and user search device in a social network
US11282519B2 (en) Voice interaction method, device and computer readable storage medium
US20170293934A1 (en) Method for determining validity of delivering of promotion information, monitoring server and terminal
KR101975431B1 (en) Content item display system, method and apparatus
CN105580385B (en) Channel cut-in method and system
CN105893459A (en) Media content playback system and method
CN105657498A (en) Video recording method and device of mobile terminal
CN104462570B (en) Web page contents acquisition methods and device
JP6580132B2 (en) Method and apparatus for providing information associated with media content
CN106878286B (en) Voice data synchronous method and device
US9967296B2 (en) Method and apparatus for playlist synchronization
KR20160070805A (en) Tv program identification method, apparatus, terminal, server and system
CN111107390B (en) Live broadcast service system and live broadcast connection establishment method
EP2735985A2 (en) Method and apparatus for managing device context using an ip address in a communication system
CN105488109A (en) Content item configuration method, device and system
CN103516856B (en) Information merges method and apparatus
CN105515702A (en) Method for acquiring media information of radio station music, and vehicle radio set
CN106572241A (en) Method and device for displaying information
CN102959546A (en) Method and apparatus for converting content
CN105847320A (en) Resource obtaining method and device
CN111615694B (en) Method for selecting server node and terminal equipment
CN110275785B (en) Data processing method and device, client and server
CN106657281B (en) File sharing method and device
CN105843504B (en) A kind of window regulation method and electronic equipment

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