WO2018126829A1 - Information synchronization method and device, and computer storage medium - Google Patents

Information synchronization method and device, and computer storage medium Download PDF

Info

Publication number
WO2018126829A1
WO2018126829A1 PCT/CN2017/114312 CN2017114312W WO2018126829A1 WO 2018126829 A1 WO2018126829 A1 WO 2018126829A1 CN 2017114312 W CN2017114312 W CN 2017114312W WO 2018126829 A1 WO2018126829 A1 WO 2018126829A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
played
target
playing
progress
Prior art date
Application number
PCT/CN2017/114312
Other languages
French (fr)
Chinese (zh)
Inventor
刘成芳
赵冬晓
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018126829A1 publication Critical patent/WO2018126829A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/018Audio watermarking, i.e. embedding inaudible data in the audio signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware

Definitions

  • the present disclosure relates to information synchronization techniques in the field of communications, and more particularly to an information synchronization method and apparatus and computer storage medium.
  • terminal products When terminal products are displayed in places such as shopping malls, terminal products such as smart phones or TVs may not play the same content synchronously because the boot time is different or the time of the same content such as video or audio played by the user is different.
  • the solution adopted by the prior art mainly places the terminal products that need to synchronously play the same content in the same local area network environment, or connects the televisions by using signal lines to realize synchronous play video.
  • the embodiment of the present disclosure is directed to providing an information synchronization method and apparatus, which solves the problem that multiple terminal products cannot synchronously play the same content in the prior art, and can realize different terminals synchronously playing the same content, thereby improving the User and terminal interaction capabilities.
  • An information synchronization method comprising:
  • the acquiring information to be played includes:
  • the external audio information includes target audio information with characteristic information sent by the main control terminal;
  • the analyzing the to-be-played information according to the preset rule to obtain the target playing progress, and playing the to-be-played information according to the target playing progress includes:
  • the levy information is obtained by the main control terminal processing the identification information and the playing progress in the target audio information according to a preset information processing rule;
  • the analyzing and processing the external audio information to obtain the feature information includes:
  • the target audio information is processed to obtain the feature information.
  • the acquiring information to be played further includes:
  • the analyzing the to-be-played information according to the preset rule to obtain the target playing progress, and playing the to-be-played information according to the target playing progress further includes:
  • the to-be-played information is played according to the target playback progress of the to-be-played information.
  • An information synchronization device comprising: an acquisition unit and a processing unit; wherein:
  • the acquiring unit is configured to acquire information to be played
  • the processing unit is configured to analyze the to-be-played information according to a preset rule to obtain a target playback progress, and play the to-be-played information according to the target playback progress.
  • the obtaining unit includes: a first acquiring module, a first processing module, a second processing module, and a second acquiring module; wherein:
  • the first acquiring module is configured to acquire external audio information, where the external audio information includes target audio information with feature information sent by the master terminal;
  • the first processing module is configured to perform analysis processing on the external audio information to obtain the feature information
  • the second processing module is configured to perform analysis processing on the feature information to obtain identification information in the target audio information
  • the second acquiring module is configured to acquire the to-be-played information corresponding to the identifier information in the target audio information according to the identifier information in the target audio information.
  • the processing unit includes: a third processing module and a fourth processing module; wherein:
  • the third processing module is configured to perform an analysis process on the feature information to obtain a play progress in the target audio information, where the feature information is that the master control terminal processes the rule according to a preset information processing rule.
  • the identification information and the playback progress in the target audio information are processed;
  • the fourth processing module is configured to determine that the playing progress in the target audio information is the target playing progress, and play the to-be-played information according to the target playing progress.
  • the first processing module is configured to:
  • the target audio information is processed to obtain the feature information.
  • the obtaining unit further includes: a receiving module and a fifth processing module; wherein:
  • the receiving module is configured to receive a control instruction for acquiring the information to be played
  • the second processing module is configured to obtain the to-be-played information in response to the control instruction.
  • the processing unit further includes: a third obtaining module, a calculating module, and a playing module; wherein:
  • the third acquiring module is configured to acquire a total playing time length of the to-be-played information
  • the third obtaining module is further configured to acquire a current time of the terminal
  • the calculating module is configured to calculate the target playing progress by using the preset algorithm according to the current time of the terminal and the total playing time length of the to-be-played information;
  • the playing module is configured to play the to-be-played information according to a target playing progress of the to-be-played information.
  • An embodiment of the present invention further provides an information synchronization apparatus, including: a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the information synchronization method is implemented when the processor executes the program .
  • An embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores one or more programs executable by a computer, and when the one or more programs are executed by the computer, causing the computer to execute the foregoing Information synchronization method.
  • the information synchronization method and device obtaineds the target playback progress by acquiring the playback information, and then analyzing and processing the to-be-played information according to the preset rule, and playing the to-be-played information according to the target playback progress; thus, the terminal is playing.
  • the information to be played synchronously is played, the information to be played synchronously can be played according to the obtained target playback progress, which solves the problem that multiple terminal products in the prior art cannot simultaneously play the same content, and can simultaneously play the same content by different terminals. Thereby improving the interaction ability between the user and the terminal.
  • FIG. 1 is a schematic flowchart diagram of an information synchronization method according to an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart diagram of another information synchronization method according to an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of still another method for synchronizing information according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of an information synchronization apparatus according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of another information synchronization apparatus according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of still another information synchronization apparatus according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of an information synchronization apparatus according to another embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of another information synchronization apparatus according to another embodiment of the present disclosure.
  • An embodiment of the present disclosure provides an information synchronization method. Referring to FIG. 1, the method includes the following steps:
  • Step 101 Acquire information to be played.
  • the step 101 of acquiring the information to be played can be implemented by the information synchronization device.
  • the information to be played is the same information that the slave terminal can play synchronously with the slave terminal.
  • the information to be played may include audio information or video information.
  • the information synchronization device may be a terminal, and the terminal may be a television, a mobile phone, an iPad, etc., and may play audio information or video. Information on electronic devices.
  • Step 102 Perform analysis processing on the to-be-played information according to the preset rule to obtain a target playback progress, and play the to-be-played information according to the target playback progress.
  • Step 102 Performing analysis processing on the to-be-played information according to the preset rule to obtain a target playback progress, and playing the to-be-played information according to the target playback progress may be implemented by the information synchronization device.
  • the preset rule may be a method rule for determining the progress of playback of the information to be played.
  • the terminal can determine the target playing progress of the to-be-played information by using the preset rule, and then start playing the to-be-played information from the target playing progress, so that multiple terminals can synchronously play the to-be-played information.
  • the information synchronization method provided by the embodiment of the present disclosure obtains the target playback progress by acquiring the playback information, and then analyzing and processing the to-be-played information according to the preset rule, and playing the to-be-played information according to the target playback progress; thus, the terminal needs to be synchronized during playback.
  • the information to be played synchronously can be played according to the obtained target playback progress, which solves the problem that multiple terminal products cannot simultaneously play the same content in the prior art, and can simultaneously play the same content synchronously by different terminals, thereby improving The interaction ability between the user and the terminal.
  • An embodiment of the present disclosure provides an information synchronization method.
  • the information synchronization device may be a slave terminal. Referring to FIG. 2, the method includes the following steps:
  • Step 201 The main control terminal acquires identification information of the current playback information and a playback progress.
  • the master terminal may be the first terminal that plays the information to be played, and the slave terminal may be a terminal different from the master terminal, and the slave terminal and the master terminal may be the same type of terminal product, or may not be the same type of terminal product, and the slave terminal is in the terminal terminal.
  • the content of the information to be played is the same as the content currently being played in the main control terminal, and is played synchronously.
  • the identification information may be the name of the current playing information, and the video information whose name is currently played by the controlling terminal is 1 and is currently played until the 0th, 5th, and 32th seconds as an example, and the main control terminal is the first playing video.
  • the terminal whose name is 1 is currently played until 0:5 minutes and 32 seconds.
  • the identification information of the video information currently being played by the master terminal is 1 and the playback progress of the video information is 0:5 minutes and 32 seconds.
  • Step 202 The main control terminal processes the identification information and the playing progress of the current playing information according to the preset information processing rule to obtain the feature information.
  • the preset information processing rule may be a rule for generating feature information agreed between the master terminal and the slave terminal.
  • the master terminal may convert the obtained identifier information of the currently played video information into 7-bit binary data.
  • the main control terminal can convert the name 1 of the currently playing video information into a 7-bit digital signal to obtain 0000001, and convert the playback progress 0 to 5 minutes and 32 seconds to convert to a digital signal to obtain 0000000 0000101 0100000, which respectively corresponds to hours, minutes, and seconds. Therefore, the feature information (including the identification information and the playback progress) can be obtained as 0000001 0000000 0000101 0100000.
  • Step 203 The main control terminal sets the feature information in the audio information of the current play information to obtain the target audio information and plays the same.
  • the main control terminal loads the obtained 0000001 0000000 0000101 0100000 feature information into the low frequency carrier information to obtain the target audio information, wherein the low frequency carrier information may be a low frequency audio signal that is insensitive to the human ear, for example, an audio signal of 60 to 70 Hz; Then, the target audio information of the 60-70 Hz carrying the feature information and the audio information of the 1 video information currently played by the master terminal are modulated, so that the target audio information carrying the feature information can be played together with the audio information of the currently played video information. Can be received by the slave terminal.
  • the low frequency carrier information may be a low frequency audio signal that is insensitive to the human ear, for example, an audio signal of 60 to 70 Hz
  • the target audio information of the 60-70 Hz carrying the feature information and the audio information of the 1 video information currently played by the master terminal are modulated, so that the target audio information carrying the feature information can be played together with the audio information of the currently played video information. Can be received by the slave terminal.
  • the video information played by the current master terminal may also only have picture information and no audio information. Therefore, the target audio information carrying the feature information and the played video information are directly modulated and played, so that the slave is played.
  • the terminal can receive the target audio information carrying the feature information; the current broadcast information of the master terminal can also be the audio information, so that the master terminal can directly perform the modulation process on the target audio information carrying the feature information and the currently played audio information. In this way, the slave terminal can receive the target audio information carrying the feature information.
  • the main control terminal may further update the feature information (the identification information of the current play information and the play progress) in the target audio information generated by the master terminal by using a preset period. For example, the preset period may be 1 second.
  • Step 204 The slave terminal acquires external audio information.
  • the external audio information includes target audio information with characteristic information sent by the master terminal.
  • the external audio information may include target audio information with characteristic information sent by the master terminal, some sounds generated by other terminals, and some other noises, etc., and the slave terminal may collect the location of the slave terminal through an audio information collector such as its own microphone. External audio information that can be received.
  • Step 205 The slave terminal analyzes and processes the external audio information to obtain feature information.
  • the slave terminal analyzes and processes the external audio information, and the feature information can be obtained by the following steps:
  • Step 205a The slave terminal performs filtering processing on the external audio information to obtain target audio information.
  • Step 205b The slave terminal processes the target audio information to obtain feature information.
  • the slave terminal may filter the obtained external audio information by using a filter.
  • a filter For example, a low-pass filter that allows only signals in the frequency range of 60 to 70 Hz to be filtered may be used to obtain target audio information (low-frequency carrier carrying characteristic information). Information), then the slave terminal adopts the target audio information with the master terminal
  • the demodulation method corresponding to the modulation method demodulates the target audio information to obtain feature information 0000001 0000000 0000101 0100000.
  • Step 206 The slave terminal analyzes and processes the feature information to obtain the identifier information in the target audio information.
  • the slave terminal intercepts the first 7 digits of the feature information in the feature information according to the characteristics of the agreed feature information with the master terminal, and converts the intercepted flag into a corresponding decimal number to obtain the identifier information in the target audio information. That is, the name of the currently playing video information of the master terminal is 1.
  • Step 207 The slave terminal acquires to-be-played information corresponding to the identifier information in the target audio information according to the identifier information in the target audio information.
  • the slave terminal can perform a search in the play library according to the obtained name 1 of the currently played video information of the master terminal, and obtain the information to be played with the name of 1.
  • Step 208 The slave terminal analyzes and processes the feature information to obtain a play progress in the target audio information.
  • the feature information is obtained by the main control terminal processing the identification information and the playback progress in the target audio information according to the preset information processing rule.
  • the slave terminal intercepts the last 21-bit playback progress 0000000 0000101 0100000 in the feature information according to the characteristics of the agreed-upon feature information with the master terminal, and converts it into a corresponding decimal number to obtain the playback progress in the target audio information, that is, the master terminal
  • the current playback progress is 0:5:32.
  • Step 209 The slave terminal determines that the play progress in the target audio information is the target play progress, and plays the to-be-played information according to the target play progress.
  • the slave terminal determines that the target playback progress is 5 minutes and 32 seconds for the playback progress 0 in the target audio information, and starts playing the information to be played with the name 1 from 0:5:32.
  • the target audio information carrying the feature information may be stored in advance in the to-be-played information of the main control terminal, that is, the identification information of the to-be-played information and the information to be played are obtained according to the methods in steps 202 and 203 above.
  • the identification information of the to-be-played information and the time corresponding to each preset time period are converted into a corresponding series of feature information by using the method described in step 202, and then the step 203 is used.
  • the introduced method loads and processes the series of feature information according to the time distribution and the low-frequency carrier information, and obtains the target audio information with the same duration and duration of the information to be played, and then the master terminal plays the target synchronously while playing the to-be-played information.
  • Audio information so that the main control terminal can directly play the to-be-played information, and the target audio information is generated without playing the to-be-played information, and the slave terminal can still play the same information synchronously with the main control terminal.
  • the control terminal can also be an audio player such as a speaker.
  • the information synchronization method provided by the embodiment of the present disclosure obtains the target playback progress by acquiring the playback information, and then analyzing and processing the to-be-played information according to the preset rule, and playing the to-be-played information according to the target playback progress; thus, the terminal needs to be synchronized during playback.
  • the information to be played synchronously solves the problem that multiple terminal products in the prior art cannot simultaneously play the same content, and can simultaneously play the same content synchronously by different terminals, thereby improving the interaction capability between the user and the terminal.
  • An embodiment of the present disclosure provides an information synchronization method. Referring to FIG. 3, the method includes the following steps:
  • Step 301 The information synchronization apparatus receives a control instruction for acquiring information to be played.
  • the control command received by the information synchronization device for acquiring the information to be played may be sent by the user to the terminal, wherein the user may send the control command to the information synchronization device by using a screen, a voice, a remote control device, or the like of the touch terminal.
  • the information synchronizing device can be a terminal.
  • the user sends a control command to play the audio information of No. 3 to be played to the terminal.
  • Step 302 The information synchronization device obtains the information to be played in response to the control instruction.
  • the information synchronizing device After receiving the control instruction for playing the audio information to be played with the name No. 3, the information synchronizing device searches for and obtains the to-be-played audio information with the name No. 3 from the play database in response to the control command.
  • Step 303 The information synchronization device acquires the total playing time length of the information to be played.
  • the information synchronization device can obtain the total playing time length of the information to be played.
  • the total playing time of the audio information to be played with the name of No. 3 can be A hours, B minutes, and C seconds.
  • Step 304 The information synchronization device acquires the current time of the terminal.
  • the time on the terminal is the same as the time in the time zone in which the terminal is located. For example, if the current time zone of the terminal is the Beijing time zone, the time of the terminal should be consistent with the Beijing time. For example, when the current time of the information synchronization device acquiring the terminal is D, E minutes and F seconds.
  • Step 305 The information synchronization device calculates the target playback progress by using a preset algorithm according to the current time of the user and the total playing time of the information to be played.
  • the preset algorithm may be to convert the current time of the terminal and the total playing time of the to-be-played information into the same time unit, for example, after being unified as time, minute or second, the current time of the terminal after the unified unit and the information to be played.
  • the total playing time length is used to calculate the target playing progress.
  • the current time of the terminal and the total playing time length of the information to be played can be uniformly converted into seconds, and then calculated by the following formula:
  • H is the target playback progress
  • D*60*60 and A*60*60 are converted to D and A hours to seconds
  • E*60 and B*60 are converted to E minutes and B minutes to seconds
  • % Indicates the calculation method of the remainder.
  • Step 306 The information synchronization device plays the to-be-played information according to the target playback progress of the information to be played.
  • the information synchronizing device starts playing the to-be-played audio information with the name No. 3 from the target playback progress H of the playback information.
  • the information synchronization method provided by the embodiment of the present disclosure obtains the target playback progress by acquiring the playback information, and then analyzing and processing the to-be-played information according to the preset rule, and playing the to-be-played information according to the target playback progress; thus, the terminal needs to be synchronized during playback.
  • the information to be played synchronously solves the problem that multiple terminal products in the prior art cannot simultaneously play the same content, and can simultaneously play the same content synchronously by different terminals, thereby improving the interaction capability between the user and the terminal.
  • the embodiment of the present disclosure provides an information synchronizing apparatus 4, which can be applied to an information synchronizing method provided by the embodiment corresponding to FIG. 1 to FIG. 3, and the apparatus includes: an obtaining unit 41 and a processing unit 42 ,among them:
  • the obtaining unit 41 is configured to acquire information to be played.
  • the processing unit 42 is configured to perform analysis processing on the to-be-played information according to the preset rule to obtain a target playback progress, and play the to-be-played information according to the target playback progress.
  • the information synchronizing apparatus obtains the target playing progress by acquiring the playing information, and then analyzing and processing the playing information according to the preset rule, and playing the to-be-played information according to the target playing progress; thus, the terminal needs to be synchronized during the playing.
  • the information to be played synchronously can be played according to the obtained target playback progress, which solves the problem that multiple terminal products cannot simultaneously play the same content in the prior art, and can simultaneously play the same content synchronously by different terminals, thereby improving The interaction ability between the user and the terminal.
  • the obtaining unit 41 includes: a first acquiring module 411, a first processing module 412, a second processing module 413, and a second obtaining module 414, where:
  • the first obtaining module 411 is configured to acquire external audio information.
  • the external audio information includes target audio information with characteristic information sent by the master terminal.
  • the first processing module 412 is configured to perform analysis processing on the external audio information to obtain feature information.
  • the second processing module 413 is configured to perform analysis processing on the feature information to obtain identification information in the target audio information.
  • the second obtaining module 414 is configured to acquire information to be played corresponding to the identifier information in the target audio information according to the identifier information in the target audio information.
  • the processing unit 42 includes: a third processing module 421 and a fourth processing module 422, wherein:
  • the third processing module 421 is configured to perform analysis processing on the feature information to obtain a playback progress in the target audio information.
  • the feature information is obtained by the main control terminal processing the identification information and the playback progress in the target audio information according to the preset information processing rule.
  • the fourth processing module 422 is configured to determine that the playing progress in the target audio information is the target playing progress, and play the to-be-played information according to the target playing progress.
  • the first processing module 412 can perform the following steps:
  • the external audio information is filtered to obtain target audio information.
  • the target audio information is processed to obtain feature information.
  • the obtaining unit 41 further includes: a receiving module 415 and a fifth processing module 416, wherein:
  • the receiving module 415 is configured to receive a control instruction for acquiring information to be played.
  • the second processing module 416 is configured to obtain information to be played in response to the control instruction.
  • the processing unit further includes: a third obtaining module 423, a calculating module 424, and a playing module 425, wherein:
  • the third obtaining module 423 is configured to obtain a total playing time length of the information to be played.
  • the third obtaining module 423 is further configured to acquire the current time of the terminal.
  • the calculating module 424 is configured to calculate the target playing progress by using a preset algorithm according to the current time of the terminal and the total playing time length of the information to be played.
  • the playing module 425 is configured to play the to-be-played information according to the target playing progress of the information to be played.
  • the information synchronizing apparatus obtains the target playing progress by acquiring the playing information, and then analyzing and processing the playing information according to the preset rule, and playing the to-be-played information according to the target playing progress; thus, the terminal needs to be synchronized during the playing.
  • the information to be played synchronously can be played according to the obtained target playback progress, which solves the problem that multiple terminal products cannot simultaneously play the same content in the prior art, and can simultaneously play the same content synchronously by different terminals, thereby improving The interaction ability between the user and the terminal.
  • the module 421, the fourth processing module 422, the third obtaining module 423, the calculating module 424, and the playing module 425 may each be a central processing unit (CPU), a microprocessor (Micro Processor Unit, located in the wireless data transmitting device, MPU), digital signal processor (DSP) or Field Programmable Gate Array (FPGA).
  • CPU central processing unit
  • MPU microprocessor
  • DSP digital signal processor
  • FPGA Field Programmable Gate Array
  • embodiments of the present disclosure can be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that an instruction generation package stored in the computer readable memory Included is the manufacture of an instruction device that implements the functions specified in one or more blocks of a flow or a flow diagram and/or block diagram of a flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the technical solution provided by the embodiment of the present invention can be applied to the information synchronization technology in the communication field, and the information synchronization method and device and the computer storage medium provided by the embodiments of the present invention can realize different terminals synchronously playing the same content, thereby improving the user and The interactive ability of the terminal.

Abstract

Disclosed is an information synchronization method. The method comprises: acquiring information to be played; and analysing and processing the information to be played according to a pre-set rule so as to obtain target play progress, and playing the information to be played according to the target play progress. Also disclosed are an information synchronization device and a computer storage medium.

Description

一种信息同步方法和装置和计算机存储介质Information synchronization method and device and computer storage medium 技术领域Technical field
本公开涉及通信领域中的信息同步技术,尤其涉及一种信息同步方法和装置和计算机存储介质。The present disclosure relates to information synchronization techniques in the field of communications, and more particularly to an information synchronization method and apparatus and computer storage medium.
背景技术Background technique
在商场等地方进行终端产品展示时,多台智能手机或者电视等终端产品因为开机时间不同或者用户操作后播放的视频或者音频等相同内容的时间不同,导致展示的终端产品不能同步播放相同内容。现有技术采用的解决方法主要是将需同步播放相同内容的终端产品放置在同一局域网环境中,或者利用信号线连接电视实现同步播放视频。When terminal products are displayed in places such as shopping malls, terminal products such as smart phones or TVs may not play the same content synchronously because the boot time is different or the time of the same content such as video or audio played by the user is different. The solution adopted by the prior art mainly places the terminal products that need to synchronously play the same content in the same local area network environment, or connects the televisions by using signal lines to realize synchronous play video.
但是,现有的解决方案中很难保证所有需同步播放相同内容的终端处于同一个局域网环境中,而且当终端产品在柜台展示时,由于用户可以进行各种操作,可能将终端产品的无线信号功能等关闭,导致多个终端产品不能实现同步播放相同内容的功能,这样用户的体验效果较差。However, in the existing solution, it is difficult to ensure that all terminals that need to play the same content synchronously are in the same LAN environment, and when the terminal product is displayed on the counter, the wireless signal of the terminal product may be performed because the user can perform various operations. When the function is turned off, multiple terminal products cannot realize the function of synchronously playing the same content, so that the user experience is poor.
发明内容Summary of the invention
为解决上述技术问题,本公开实施例期望提供一种信息同步方法和装置,解决了现有技术中多个终端产品不能同步播放相同内容的问题,可以实现不同终端同步播放同一内容,进而提高了用户和终端的交互能力。In order to solve the above technical problem, the embodiment of the present disclosure is directed to providing an information synchronization method and apparatus, which solves the problem that multiple terminal products cannot synchronously play the same content in the prior art, and can realize different terminals synchronously playing the same content, thereby improving the User and terminal interaction capabilities.
为达到上述目的,本公开实施例的技术方案是这样实现的:In order to achieve the above object, the technical solution of the embodiment of the present disclosure is implemented as follows:
一种信息同步方法,所述方法包括:An information synchronization method, the method comprising:
获取待播放信息;Get the information to be played;
根据预设规则对所述待播放信息进行分析处理得到目标播放进度,并按照所述目标播放进度播放所述待播放信息。And analyzing the to-be-played information according to a preset rule to obtain a target playing progress, and playing the to-be-played information according to the target playing progress.
根据一个示例性实施例,所述获取待播放信息,包括:According to an exemplary embodiment, the acquiring information to be played includes:
获取外界音频信息;其中,所述外界音频信息包括主控终端发出的具有特征信息的目标音频信息;Acquiring external audio information; wherein the external audio information includes target audio information with characteristic information sent by the main control terminal;
对所述外界音频信息进行分析处理,得到所述特征信息;Performing analysis processing on the external audio information to obtain the feature information;
对所述特征信息进行分析处理,得到所述目标音频信息中的标识信息;Performing analysis processing on the feature information to obtain identification information in the target audio information;
根据所述目标音频信息中的标识信息,获取与所述目标音频信息中的标识信息对应的所述待播放信息。Obtaining the to-be-played information corresponding to the identification information in the target audio information according to the identification information in the target audio information.
根据一个示例性实施例,所述根据预设规则对所述待播放信息进行分析处理得到目标播放进度,并按照所述目标播放进度播放所述待播放信息,包括:According to an exemplary embodiment, the analyzing the to-be-played information according to the preset rule to obtain the target playing progress, and playing the to-be-played information according to the target playing progress, includes:
对所述特征信息进行分析处理,得到所述目标音频信息中的播放进度;其中,所述特 征信息是所述主控终端根据预设信息处理规则对所述目标音频信息中的标识信息和播放进度进行处理得到的;Performing analysis processing on the feature information to obtain a playback progress in the target audio information; wherein the special The levy information is obtained by the main control terminal processing the identification information and the playing progress in the target audio information according to a preset information processing rule;
确定所述目标音频信息中的播放进度为所述目标播放进度,并按照所述目标播放进度播放所述待播放信息。Determining a play progress in the target audio information as the target play progress, and playing the to-be-played information according to the target play progress.
根据一个示例性实施例,所述对所述外界音频信息进行分析处理,得到所述特征信息,包括:According to an exemplary embodiment, the analyzing and processing the external audio information to obtain the feature information includes:
对所述外界音频信息进行滤波处理,得到所述目标音频信息;Performing filtering processing on the external audio information to obtain the target audio information;
对所述目标音频信息进行处理,得到所述特征信息。The target audio information is processed to obtain the feature information.
根据一个示例性实施例,所述获取待播放信息,还包括:According to an exemplary embodiment, the acquiring information to be played further includes:
接收用于获取所述待播放信息的控制指令;Receiving a control instruction for acquiring the information to be played;
响应所述控制指令,获取所述待播放信息。And acquiring the to-be-played information in response to the control instruction.
根据一个示例性实施例,所述根据预设规则对所述待播放信息进行分析处理得到目标播放进度,并按照所述目标播放进度播放所述待播放信息,还包括:According to an exemplary embodiment, the analyzing the to-be-played information according to the preset rule to obtain the target playing progress, and playing the to-be-played information according to the target playing progress, further includes:
获取所述待播放信息的总播放时间长度;Obtaining a total playing time length of the to-be-played information;
获取终端的当前时间;Obtain the current time of the terminal;
根据所述终端的当前时间和所述待播放信息的总播放时间长度,利用所述预设算法计算得到所述目标播放进度;And determining, according to the current time of the terminal and the total playing time of the to-be-played information, the target playing progress by using the preset algorithm;
按照所述待播放信息的目标播放进度播放所述待播放信息。The to-be-played information is played according to the target playback progress of the to-be-played information.
一种信息同步装置,所述装置包括:获取单元和处理单元;其中:An information synchronization device, the device comprising: an acquisition unit and a processing unit; wherein:
所述获取单元,设置为获取待播放信息;The acquiring unit is configured to acquire information to be played;
所述处理单元,设置为根据预设规则对所述待播放信息进行分析处理得到目标播放进度,并按照所述目标播放进度播放所述待播放信息。The processing unit is configured to analyze the to-be-played information according to a preset rule to obtain a target playback progress, and play the to-be-played information according to the target playback progress.
根据一个示例性实施例,所述获取单元包括:第一获取模块、第一处理模块、第二处理模块和第二获取模块;其中:According to an exemplary embodiment, the obtaining unit includes: a first acquiring module, a first processing module, a second processing module, and a second acquiring module; wherein:
所述第一获取模块,设置为获取外界音频信息;其中,所述外界音频信息包括主控终端发出的具有特征信息的目标音频信息;The first acquiring module is configured to acquire external audio information, where the external audio information includes target audio information with feature information sent by the master terminal;
所述第一处理模块,设置为对所述外界音频信息进行分析处理,得到所述特征信息;The first processing module is configured to perform analysis processing on the external audio information to obtain the feature information;
所述第二处理模块,设置为对所述特征信息进行分析处理,得到所述目标音频信息中的标识信息;The second processing module is configured to perform analysis processing on the feature information to obtain identification information in the target audio information;
所述第二获取模块,设置为根据所述目标音频信息中的标识信息,获取与所述目标音频信息中的标识信息对应的所述待播放信息。The second acquiring module is configured to acquire the to-be-played information corresponding to the identifier information in the target audio information according to the identifier information in the target audio information.
根据一个示例性实施例,所述处理单元包括:第三处理模块和第四处理模块;其中:According to an exemplary embodiment, the processing unit includes: a third processing module and a fourth processing module; wherein:
所述第三处理模块,设置为对所述特征信息进行分析处理,得到所述目标音频信息中的播放进度;其中,所述特征信息是所述主控终端根据预设信息处理规则对所述目标音频信息中的标识信息和播放进度进行处理得到的; The third processing module is configured to perform an analysis process on the feature information to obtain a play progress in the target audio information, where the feature information is that the master control terminal processes the rule according to a preset information processing rule. The identification information and the playback progress in the target audio information are processed;
所述第四处理模块,设置为确定所述目标音频信息中的播放进度为所述目标播放进度,并按照所述目标播放进度播放所述待播放信息。The fourth processing module is configured to determine that the playing progress in the target audio information is the target playing progress, and play the to-be-played information according to the target playing progress.
根据一个示例性实施例,所述第一处理模块设置为:According to an exemplary embodiment, the first processing module is configured to:
对所述外界音频信息进行滤波处理,得到所述目标音频信息;Performing filtering processing on the external audio information to obtain the target audio information;
对所述目标音频信息进行处理,得到所述特征信息。The target audio information is processed to obtain the feature information.
根据一个示例性实施例,所述获取单元还包括:接收模块和第五处理模块;其中:According to an exemplary embodiment, the obtaining unit further includes: a receiving module and a fifth processing module; wherein:
所述接收模块,设置为接收用于获取所述待播放信息的控制指令;The receiving module is configured to receive a control instruction for acquiring the information to be played;
所述第二处理模块,设置为响应所述控制指令,获取所述待播放信息。The second processing module is configured to obtain the to-be-played information in response to the control instruction.
根据一个示例性实施例,所述处理单元还包括:第三获取模块、计算模块和播放模块;其中:According to an exemplary embodiment, the processing unit further includes: a third obtaining module, a calculating module, and a playing module; wherein:
所述第三获取模块,设置为获取所述待播放信息的总播放时间长度;The third acquiring module is configured to acquire a total playing time length of the to-be-played information;
所述第三获取模块,还设置为获取终端的当前时间;The third obtaining module is further configured to acquire a current time of the terminal;
所述计算模块,设置为根据所述终端的当前时间和所述待播放信息的总播放时间长度,利用所述预设算法计算得到所述目标播放进度;The calculating module is configured to calculate the target playing progress by using the preset algorithm according to the current time of the terminal and the total playing time length of the to-be-played information;
所述播放模块,设置为按照所述待播放信息的目标播放进度播放所述待播放信息。The playing module is configured to play the to-be-played information according to a target playing progress of the to-be-played information.
本发明实施例还提供一种信息同步装置,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现上述信息同步方法。An embodiment of the present invention further provides an information synchronization apparatus, including: a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the information synchronization method is implemented when the processor executes the program .
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行的一个或多个程序,所述一个或多个程序被所述计算机执行时使所述计算机执行上述的信息同步方法。An embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores one or more programs executable by a computer, and when the one or more programs are executed by the computer, causing the computer to execute the foregoing Information synchronization method.
本公开的实施例所提供的信息同步方法和装置,通过获取播放信息,然后根据预设规则对待播放信息进行分析处理得到目标播放进度,并按照目标播放进度播放待播放信息;这样,终端在播放需同步播放的信息时,可以根据得到的目标播放进度来播放该需同步播放的信息,解决了现有技术中多个终端产品不能同步播放相同内容的问题,可以实现不同终端同步播放同一内容,进而提高了用户和终端的交互能力。The information synchronization method and device provided by the embodiment of the present disclosure obtains the target playback progress by acquiring the playback information, and then analyzing and processing the to-be-played information according to the preset rule, and playing the to-be-played information according to the target playback progress; thus, the terminal is playing. When the information to be played synchronously is played, the information to be played synchronously can be played according to the obtained target playback progress, which solves the problem that multiple terminal products in the prior art cannot simultaneously play the same content, and can simultaneously play the same content by different terminals. Thereby improving the interaction ability between the user and the terminal.
附图说明DRAWINGS
图1为本公开实施例提供的一种信息同步方法的流程示意图;FIG. 1 is a schematic flowchart diagram of an information synchronization method according to an embodiment of the present disclosure;
图2为本公开实施例提供的另一种信息同步方法的流程示意图;FIG. 2 is a schematic flowchart diagram of another information synchronization method according to an embodiment of the present disclosure;
图3为本公开实施例提供的又一种信息同步方法的流程示意图;FIG. 3 is a schematic flowchart of still another method for synchronizing information according to an embodiment of the present disclosure;
图4为本公开实施例提供的一种信息同步装置的结构示意图;FIG. 4 is a schematic structural diagram of an information synchronization apparatus according to an embodiment of the present disclosure;
图5为本公开实施例提供的另一种信息同步装置的结构示意图;FIG. 5 is a schematic structural diagram of another information synchronization apparatus according to an embodiment of the present disclosure;
图6为本公开实施例提供的又一种信息同步装置的结构示意图;FIG. 6 is a schematic structural diagram of still another information synchronization apparatus according to an embodiment of the present disclosure;
图7为本公开另一实施例提供的一种信息同步装置的结构示意图; FIG. 7 is a schematic structural diagram of an information synchronization apparatus according to another embodiment of the present disclosure;
图8为本公开另一实施例提供的另一种信息同步装置的结构示意图。FIG. 8 is a schematic structural diagram of another information synchronization apparatus according to another embodiment of the present disclosure.
具体实施方式detailed description
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure.
本公开实施例提供一种信息同步方法,参照图1所示,该方法包括以下步骤:An embodiment of the present disclosure provides an information synchronization method. Referring to FIG. 1, the method includes the following steps:
步骤101、获取待播放信息。Step 101: Acquire information to be played.
步骤101获取待播放信息可以由信息同步装置来实现。待播放信息是终端中与从属终端可以同步播放的相同信息,待播放信息可以包括音频信息或者视频信息等;信息同步装置可以是终端,终端可以是电视、手机、iPad等可以播放音频信息或者视频信息的电子设备。The step 101 of acquiring the information to be played can be implemented by the information synchronization device. The information to be played is the same information that the slave terminal can play synchronously with the slave terminal. The information to be played may include audio information or video information. The information synchronization device may be a terminal, and the terminal may be a television, a mobile phone, an iPad, etc., and may play audio information or video. Information on electronic devices.
步骤102、根据预设规则对待播放信息进行分析处理得到目标播放进度,并按照目标播放进度播放待播放信息。Step 102: Perform analysis processing on the to-be-played information according to the preset rule to obtain a target playback progress, and play the to-be-played information according to the target playback progress.
步骤102根据预设规则对待播放信息进行分析处理得到目标播放进度,并按照目标播放进度播放待播放信息可以由信息同步装置来实现。预设规则可以是用于确定待播放信息的播放进度的方法规则。终端可以利用预设规则确定待播放信息的目标播放进度,然后从目标播放进度处开始播放待播放信息,实现多个终端能够同步播放待播放信息。Step 102: Performing analysis processing on the to-be-played information according to the preset rule to obtain a target playback progress, and playing the to-be-played information according to the target playback progress may be implemented by the information synchronization device. The preset rule may be a method rule for determining the progress of playback of the information to be played. The terminal can determine the target playing progress of the to-be-played information by using the preset rule, and then start playing the to-be-played information from the target playing progress, so that multiple terminals can synchronously play the to-be-played information.
本公开的实施例所提供的信息同步方法,通过获取播放信息,然后根据预设规则对待播放信息进行分析处理得到目标播放进度,并按照目标播放进度播放待播放信息;这样,终端在播放需同步播放的信息时,可以根据得到的目标播放进度来播放该需同步播放的信息,解决了现有技术中多个终端产品不能同步播放相同内容的问题,可以实现不同终端同步播放同一内容,进而提高了用户和终端的交互能力。The information synchronization method provided by the embodiment of the present disclosure obtains the target playback progress by acquiring the playback information, and then analyzing and processing the to-be-played information according to the preset rule, and playing the to-be-played information according to the target playback progress; thus, the terminal needs to be synchronized during playback. When the information is played, the information to be played synchronously can be played according to the obtained target playback progress, which solves the problem that multiple terminal products cannot simultaneously play the same content in the prior art, and can simultaneously play the same content synchronously by different terminals, thereby improving The interaction ability between the user and the terminal.
本公开实施例提供一种信息同步方法,信息同步装置可以是从属终端,参照图2所示,该方法包括以下步骤:An embodiment of the present disclosure provides an information synchronization method. The information synchronization device may be a slave terminal. Referring to FIG. 2, the method includes the following steps:
步骤201、主控终端获取当前播放信息的标识信息及播放进度。Step 201: The main control terminal acquires identification information of the current playback information and a playback progress.
主控终端可以是第一个播放待播放信息的终端,从属终端可以是与主控终端不同的终端,从属终端与主控终端可以同一类终端产品,也可以不是同一类终端产品,从属终端中需要播放的信息的内容与主控终端中当前已经在播放的内容相同,而且是同步播放。标识信息可以是当前播放信息的名称,以主控终端当前播放信息的名称为1的视频信息,当前已播放到第0时5分钟32秒为例进行说明,主控终端是第一个播放视频信息的名称为1的终端,当前已播放到第0时5分钟32秒,主控终端获取当前播放的视频信息的标识信息为1以及视频信息的播放进度为0时5分钟32秒。The master terminal may be the first terminal that plays the information to be played, and the slave terminal may be a terminal different from the master terminal, and the slave terminal and the master terminal may be the same type of terminal product, or may not be the same type of terminal product, and the slave terminal is in the terminal terminal. The content of the information to be played is the same as the content currently being played in the main control terminal, and is played synchronously. The identification information may be the name of the current playing information, and the video information whose name is currently played by the controlling terminal is 1 and is currently played until the 0th, 5th, and 32th seconds as an example, and the main control terminal is the first playing video. The terminal whose name is 1 is currently played until 0:5 minutes and 32 seconds. The identification information of the video information currently being played by the master terminal is 1 and the playback progress of the video information is 0:5 minutes and 32 seconds.
步骤202、主控终端根据预设信息处理规则,对当前播放信息的标识信息及播放进度进行处理,得到特征信息。 Step 202: The main control terminal processes the identification information and the playing progress of the current playing information according to the preset information processing rule to obtain the feature information.
预设信息处理规则可以是主控终端与从属终端之间约定好的一种生成特征信息的规则,例如主控终端可以将获得的当前播放视频信息的标识信息转换为7位的二进制数据。例如主控终端可以将为当前播放视频信息的名称1转换为7位的数字信号得到0000001,将播放进度0时5分钟32秒转换为数字信号得到0000000 0000101 0100000,其中分别对应小时、分钟、秒,因此可以得到特征信息(包括标识信息与播放进度)为0000001 0000000 0000101 0100000。The preset information processing rule may be a rule for generating feature information agreed between the master terminal and the slave terminal. For example, the master terminal may convert the obtained identifier information of the currently played video information into 7-bit binary data. For example, the main control terminal can convert the name 1 of the currently playing video information into a 7-bit digital signal to obtain 0000001, and convert the playback progress 0 to 5 minutes and 32 seconds to convert to a digital signal to obtain 0000000 0000101 0100000, which respectively corresponds to hours, minutes, and seconds. Therefore, the feature information (including the identification information and the playback progress) can be obtained as 0000001 0000000 0000101 0100000.
步骤203、主控终端将特征信息设置在当前播放信息的音频信息中得到目标音频信息并进行播放。Step 203: The main control terminal sets the feature information in the audio information of the current play information to obtain the target audio information and plays the same.
主控终端将上述获得的0000001 0000000 0000101 0100000特征信息加载至低频载波信息中得到目标音频信息,其中,低频载波信息可以是人耳不敏感的低频音频信号,例如可以是60~70Hz的音频信号;然后将携带特征信息的60~70Hz的目标音频信息与主控终端当前播放的1视频信息的音频信息进行调制处理,使得携带特征信息的目标音频信息能够与当前播放的视频信息的音频信息一起播放,能够被从属终端接收到。The main control terminal loads the obtained 0000001 0000000 0000101 0100000 feature information into the low frequency carrier information to obtain the target audio information, wherein the low frequency carrier information may be a low frequency audio signal that is insensitive to the human ear, for example, an audio signal of 60 to 70 Hz; Then, the target audio information of the 60-70 Hz carrying the feature information and the audio information of the 1 video information currently played by the master terminal are modulated, so that the target audio information carrying the feature information can be played together with the audio information of the currently played video information. Can be received by the slave terminal.
需说明的是,当前主控终端播放的视频信息也可以只有画面信息,没有音频信息,如此,则直接将携带特征信息的目标音频信息与播放的视频信息进行调制处理后进行播放,这样,从属终端可以接收到携带特征信息的目标音频信息;主控终端当前播放信息还可以是音频信息,这样主控终端可以直接将携带特征信息的目标音频信息与当前播放的音频信息进行调制处理后进行播放,这样,从属终端可以接收到携带特征信息的目标音频信息。其中,主控终端还可以间隔预设周期更新主控终端生成的目标音频信息中的特征信息(当前播放信息的标识信息以及播放进度),例如预设周期可以是1秒。It should be noted that the video information played by the current master terminal may also only have picture information and no audio information. Therefore, the target audio information carrying the feature information and the played video information are directly modulated and played, so that the slave is played. The terminal can receive the target audio information carrying the feature information; the current broadcast information of the master terminal can also be the audio information, so that the master terminal can directly perform the modulation process on the target audio information carrying the feature information and the currently played audio information. In this way, the slave terminal can receive the target audio information carrying the feature information. The main control terminal may further update the feature information (the identification information of the current play information and the play progress) in the target audio information generated by the master terminal by using a preset period. For example, the preset period may be 1 second.
步骤204、从属终端获取外界音频信息。Step 204: The slave terminal acquires external audio information.
其中,外界音频信息包括主控终端发出的具有特征信息的目标音频信息。The external audio information includes target audio information with characteristic information sent by the master terminal.
外界音频信息可以包括主控终端发出的具有特征信息的目标音频信息、其他终端产生的一些声音以及一些其他噪音等,从属终端可以通过自身的麦克风等音频信息采集器采集到从属终端所处位置处能够接收到的外界音频信息。The external audio information may include target audio information with characteristic information sent by the master terminal, some sounds generated by other terminals, and some other noises, etc., and the slave terminal may collect the location of the slave terminal through an audio information collector such as its own microphone. External audio information that can be received.
步骤205、从属终端对外界音频信息进行分析处理,得到特征信息。Step 205: The slave terminal analyzes and processes the external audio information to obtain feature information.
进一步步骤205从属终端对外界音频信息进行分析处理,得到特征信息可以通过以下步骤来实现:In a further step 205, the slave terminal analyzes and processes the external audio information, and the feature information can be obtained by the following steps:
步骤205a、从属终端对外界音频信息进行滤波处理,得到目标音频信息。 Step 205a: The slave terminal performs filtering processing on the external audio information to obtain target audio information.
步骤205b、从属终端对目标音频信息进行处理,得到特征信息。 Step 205b: The slave terminal processes the target audio information to obtain feature information.
从属终端可以采用滤波器对获取得到的外界音频信息进行滤波处理,例如可以采用只允许60~70Hz频率范围内的信号通过的低通滤波器进行滤波,得到目标音频信息(携带特征信息的低频载波信息),然后从属终端采用与主控终端获得目标音频信息 的调制方法对应的解调方法对目标音频信息进行解调处理,获得特征信息0000001 0000000 0000101 0100000。The slave terminal may filter the obtained external audio information by using a filter. For example, a low-pass filter that allows only signals in the frequency range of 60 to 70 Hz to be filtered may be used to obtain target audio information (low-frequency carrier carrying characteristic information). Information), then the slave terminal adopts the target audio information with the master terminal The demodulation method corresponding to the modulation method demodulates the target audio information to obtain feature information 0000001 0000000 0000101 0100000.
步骤206、从属终端对特征信息进行分析处理,得到目标音频信息中的标识信息。Step 206: The slave terminal analyzes and processes the feature information to obtain the identifier information in the target audio information.
从属终端根据与主控终端之间约定好的特征信息的特征,截取特征信息中的前7位标识位0000001,并将截取到的标识位转化为对应的十进制数得到目标音频信息中的标识信息,即主控终端当前播放视频信息的名称为1。The slave terminal intercepts the first 7 digits of the feature information in the feature information according to the characteristics of the agreed feature information with the master terminal, and converts the intercepted flag into a corresponding decimal number to obtain the identifier information in the target audio information. That is, the name of the currently playing video information of the master terminal is 1.
步骤207、从属终端根据目标音频信息中的标识信息,获取与目标音频信息中的标识信息对应的待播放信息。Step 207: The slave terminal acquires to-be-played information corresponding to the identifier information in the target audio information according to the identifier information in the target audio information.
从属终端可以根据获得的主控终端当前播放视频信息的名称1在播放库中进行查找,得到名称为1的待播放信息。The slave terminal can perform a search in the play library according to the obtained name 1 of the currently played video information of the master terminal, and obtain the information to be played with the name of 1.
步骤208、从属终端对特征信息进行分析处理,得到目标音频信息中的播放进度。Step 208: The slave terminal analyzes and processes the feature information to obtain a play progress in the target audio information.
其中,特征信息是主控终端根据预设信息处理规则对目标音频信息中的标识信息和播放进度进行处理得到的。The feature information is obtained by the main control terminal processing the identification information and the playback progress in the target audio information according to the preset information processing rule.
从属终端根据与主控终端之间约定好的特征信息的特征,截取特征信息中的后21位播放进度0000000 0000101 0100000,转换为对应的十进制数得到目标音频信息中的播放进度,即主控终端当前播放进度为0时5分32秒。The slave terminal intercepts the last 21-bit playback progress 0000000 0000101 0100000 in the feature information according to the characteristics of the agreed-upon feature information with the master terminal, and converts it into a corresponding decimal number to obtain the playback progress in the target audio information, that is, the master terminal The current playback progress is 0:5:32.
步骤209、从属终端确定目标音频信息中的播放进度为目标播放进度,并按照目标播放进度播放待播放信息。Step 209: The slave terminal determines that the play progress in the target audio information is the target play progress, and plays the to-be-played information according to the target play progress.
从属终端确定目标播放进度为目标音频信息中的播放进度0时5分32秒,从0时5分32秒处开始播放名称为1的待播放信息。The slave terminal determines that the target playback progress is 5 minutes and 32 seconds for the playback progress 0 in the target audio information, and starts playing the information to be played with the name 1 from 0:5:32.
进一步需说明的是,携带有特征信息的目标音频信息可以提前存储在主控终端的待播放信息中,即根据上述步骤202和步骤203中的方法,获得待播放信息的标识信息以及待播放信息中每隔预设时间周期对应的时间,将该待播放信息的标识信息以及每隔预设时间周期对应的时间利用步骤202中介绍的方法转换为对应的一系列特征信息,然后利用步骤203中介绍的方法将这一系列特征信息根据时间分布与低频载波信息进行加载处理,可以得到时长与待播放信息时长相同的目标音频信息,然后主控终端在播放该待播放信息时,同步播放该目标音频信息,这样主控终端可以直接播放该待播放信息,不用播放该待播放信息的同时还要进行目标音频信息生成,从属终端仍能够实现与主控终端同步播放相同的信息,此时,主控终端还可以是喇叭等音频播放器。It should be further noted that the target audio information carrying the feature information may be stored in advance in the to-be-played information of the main control terminal, that is, the identification information of the to-be-played information and the information to be played are obtained according to the methods in steps 202 and 203 above. The identification information of the to-be-played information and the time corresponding to each preset time period are converted into a corresponding series of feature information by using the method described in step 202, and then the step 203 is used. The introduced method loads and processes the series of feature information according to the time distribution and the low-frequency carrier information, and obtains the target audio information with the same duration and duration of the information to be played, and then the master terminal plays the target synchronously while playing the to-be-played information. Audio information, so that the main control terminal can directly play the to-be-played information, and the target audio information is generated without playing the to-be-played information, and the slave terminal can still play the same information synchronously with the main control terminal. The control terminal can also be an audio player such as a speaker.
需要说明的是,本实施例中与其它实施例中相同步骤或者概念的解释,可以参照其它实施例中的描述,此处不再赘述。It should be noted that the description of the same steps or concepts in the other embodiments may be referred to in other embodiments, and details are not described herein again.
本公开的实施例所提供的信息同步方法,通过获取播放信息,然后根据预设规则对待播放信息进行分析处理得到目标播放进度,并按照目标播放进度播放待播放信息;这样,终端在播放需同步播放的信息时,可以根据得到的目标播放进度来播放该 需同步播放的信息,解决了现有技术中多个终端产品不能同步播放相同内容的问题,可以实现不同终端同步播放同一内容,进而提高了用户和终端的交互能力。The information synchronization method provided by the embodiment of the present disclosure obtains the target playback progress by acquiring the playback information, and then analyzing and processing the to-be-played information according to the preset rule, and playing the to-be-played information according to the target playback progress; thus, the terminal needs to be synchronized during playback. When playing the information, you can play it according to the obtained target playback progress. The information to be played synchronously solves the problem that multiple terminal products in the prior art cannot simultaneously play the same content, and can simultaneously play the same content synchronously by different terminals, thereby improving the interaction capability between the user and the terminal.
本公开实施例提供一种信息同步方法,参照图3所示,该方法包括以下步骤:An embodiment of the present disclosure provides an information synchronization method. Referring to FIG. 3, the method includes the following steps:
步骤301、信息同步装置接收用于获取待播放信息的控制指令。Step 301: The information synchronization apparatus receives a control instruction for acquiring information to be played.
信息同步装置接收的用于获取待播放信息的控制指令可以是用户发送至终端的,其中,用户可以采用触控终端的屏幕、语音、遥控设备等方式来发送控制指令至信息同步装置,其中,信息同步装置可以是终端。示例性的,用户发送播放3号待播放音频信息的控制指令至终端。The control command received by the information synchronization device for acquiring the information to be played may be sent by the user to the terminal, wherein the user may send the control command to the information synchronization device by using a screen, a voice, a remote control device, or the like of the touch terminal. The information synchronizing device can be a terminal. Exemplarily, the user sends a control command to play the audio information of No. 3 to be played to the terminal.
步骤302、信息同步装置响应控制指令,获取待播放信息。Step 302: The information synchronization device obtains the information to be played in response to the control instruction.
信息同步装置接收到播放名称为3号的待播放音频信息的控制指令后,响应该控制指令从播放数据库中查找并获取得到名称为3号的待播放音频信息。After receiving the control instruction for playing the audio information to be played with the name No. 3, the information synchronizing device searches for and obtains the to-be-played audio information with the name No. 3 from the play database in response to the control command.
步骤303、信息同步装置获取待播放信息的总播放时间长度。Step 303: The information synchronization device acquires the total playing time length of the information to be played.
信息同步装置可以获取待播放信息的总播放时间长度,例如名称为3号的待播放音频信息的总播放时长可以是A小时B分钟C秒。The information synchronization device can obtain the total playing time length of the information to be played. For example, the total playing time of the audio information to be played with the name of No. 3 can be A hours, B minutes, and C seconds.
步骤304、信息同步装置获取终端的当前时间。Step 304: The information synchronization device acquires the current time of the terminal.
终端上的时间与终端所处的时区的时间保持一致。例如终端当前所处的时区为北京时区,则终端的时间应当与北京时间保持一致,例如信息同步装置获取终端的当前时间为D时E分F秒。The time on the terminal is the same as the time in the time zone in which the terminal is located. For example, if the current time zone of the terminal is the Beijing time zone, the time of the terminal should be consistent with the Beijing time. For example, when the current time of the information synchronization device acquiring the terminal is D, E minutes and F seconds.
步骤305、信息同步装置根据自身的当前时间和待播放信息的总播放时间长度,利用预设算法计算得到目标播放进度。Step 305: The information synchronization device calculates the target playback progress by using a preset algorithm according to the current time of the user and the total playing time of the information to be played.
例如预设算法可以是将终端的当前时间与待播放信息的总播放时间长度转化为同一时间单位,例如统一为时、分或者秒后,对统一单位后的终端的当前时间与待播放信息的总播放时间长度进行取余,确定目标播放进度,例如可以将终端的当前时间与待播放信息的总播放时间长度统一转化为秒后利用下述公式进行计算:For example, the preset algorithm may be to convert the current time of the terminal and the total playing time of the to-be-played information into the same time unit, for example, after being unified as time, minute or second, the current time of the terminal after the unified unit and the information to be played. The total playing time length is used to calculate the target playing progress. For example, the current time of the terminal and the total playing time length of the information to be played can be uniformly converted into seconds, and then calculated by the following formula:
H=(D*60*60+E*60+F)%(A*60*60+B*60+C)H=(D*60*60+E*60+F)%(A*60*60+B*60+C)
式中,H表示目标播放进度,D*60*60和A*60*60表示将D时和A小时转换为秒,E*60和B*60表示将E分钟和B分钟转换为秒,%表示取余计算方法。Where H is the target playback progress, D*60*60 and A*60*60 are converted to D and A hours to seconds, and E*60 and B*60 are converted to E minutes and B minutes to seconds, % Indicates the calculation method of the remainder.
步骤306、信息同步装置按照待播放信息的目标播放进度播放待播放信息。Step 306: The information synchronization device plays the to-be-played information according to the target playback progress of the information to be played.
信息同步装置从播放信息的目标播放进度H处开始播放名称为3号的待播放音频信息。The information synchronizing device starts playing the to-be-played audio information with the name No. 3 from the target playback progress H of the playback information.
需要说明的是,本实施例中与其它实施例中相同步骤或者概念的解释,可以参照其它实施例中的描述,此处不再赘述。It should be noted that the description of the same steps or concepts in the other embodiments may be referred to in other embodiments, and details are not described herein again.
本公开的实施例所提供的信息同步方法,通过获取播放信息,然后根据预设规则对待播放信息进行分析处理得到目标播放进度,并按照目标播放进度播放待播放信息;这样,终端在播放需同步播放的信息时,可以根据得到的目标播放进度来播放该 需同步播放的信息,解决了现有技术中多个终端产品不能同步播放相同内容的问题,可以实现不同终端同步播放同一内容,进而提高了用户和终端的交互能力。The information synchronization method provided by the embodiment of the present disclosure obtains the target playback progress by acquiring the playback information, and then analyzing and processing the to-be-played information according to the preset rule, and playing the to-be-played information according to the target playback progress; thus, the terminal needs to be synchronized during playback. When playing the information, you can play it according to the obtained target playback progress. The information to be played synchronously solves the problem that multiple terminal products in the prior art cannot simultaneously play the same content, and can simultaneously play the same content synchronously by different terminals, thereby improving the interaction capability between the user and the terminal.
本公开实施例提供了一种信息同步装置4,可应用于图1~3对应的实施例提供的一种信息同步方法中,参照图4所示,该装置包括:获取单元41和处理单元42,其中:The embodiment of the present disclosure provides an information synchronizing apparatus 4, which can be applied to an information synchronizing method provided by the embodiment corresponding to FIG. 1 to FIG. 3, and the apparatus includes: an obtaining unit 41 and a processing unit 42 ,among them:
获取单元41,设置为获取待播放信息。The obtaining unit 41 is configured to acquire information to be played.
处理单元42,设置为根据预设规则对待播放信息进行分析处理得到目标播放进度,并按照目标播放进度播放待播放信息。The processing unit 42 is configured to perform analysis processing on the to-be-played information according to the preset rule to obtain a target playback progress, and play the to-be-played information according to the target playback progress.
本公开的实施例所提供的信息同步装置,通过获取播放信息,然后根据预设规则对待播放信息进行分析处理得到目标播放进度,并按照目标播放进度播放待播放信息;这样,终端在播放需同步播放的信息时,可以根据得到的目标播放进度来播放该需同步播放的信息,解决了现有技术中多个终端产品不能同步播放相同内容的问题,可以实现不同终端同步播放同一内容,进而提高了用户和终端的交互能力。The information synchronizing apparatus provided by the embodiment of the present disclosure obtains the target playing progress by acquiring the playing information, and then analyzing and processing the playing information according to the preset rule, and playing the to-be-played information according to the target playing progress; thus, the terminal needs to be synchronized during the playing. When the information is played, the information to be played synchronously can be played according to the obtained target playback progress, which solves the problem that multiple terminal products cannot simultaneously play the same content in the prior art, and can simultaneously play the same content synchronously by different terminals, thereby improving The interaction ability between the user and the terminal.
参照图5所示,获取单元41包括:第一获取模块411、第一处理模块412、第二处理模块413和第二获取模块414,其中:Referring to FIG. 5, the obtaining unit 41 includes: a first acquiring module 411, a first processing module 412, a second processing module 413, and a second obtaining module 414, where:
第一获取模块411,设置为获取外界音频信息。The first obtaining module 411 is configured to acquire external audio information.
其中,外界音频信息包括主控终端发出的具有特征信息的目标音频信息。The external audio information includes target audio information with characteristic information sent by the master terminal.
第一处理模块412,设置为对外界音频信息进行分析处理,得到特征信息。The first processing module 412 is configured to perform analysis processing on the external audio information to obtain feature information.
第二处理模块413,设置为对特征信息进行分析处理,得到目标音频信息中的标识信息。The second processing module 413 is configured to perform analysis processing on the feature information to obtain identification information in the target audio information.
第二获取模块414,设置为根据目标音频信息中的标识信息,获取与目标音频信息中的标识信息对应的待播放信息。The second obtaining module 414 is configured to acquire information to be played corresponding to the identifier information in the target audio information according to the identifier information in the target audio information.
参照图6所示,处理单元42包括:第三处理模块421和第四处理模块422,其中:Referring to FIG. 6, the processing unit 42 includes: a third processing module 421 and a fourth processing module 422, wherein:
第三处理模块421,设置为对特征信息进行分析处理,得到目标音频信息中的播放进度。The third processing module 421 is configured to perform analysis processing on the feature information to obtain a playback progress in the target audio information.
其中,特征信息是主控终端根据预设信息处理规则对目标音频信息中的标识信息和播放进度进行处理得到的。The feature information is obtained by the main control terminal processing the identification information and the playback progress in the target audio information according to the preset information processing rule.
第四处理模块422,设置为确定目标音频信息中的播放进度为目标播放进度,并按照目标播放进度播放待播放信息。The fourth processing module 422 is configured to determine that the playing progress in the target audio information is the target playing progress, and play the to-be-played information according to the target playing progress.
进一步第一处理模块412可以执行以下步骤:Further, the first processing module 412 can perform the following steps:
对外界音频信息进行滤波处理,得到目标音频信息。The external audio information is filtered to obtain target audio information.
对目标音频信息进行处理,得到特征信息。The target audio information is processed to obtain feature information.
参照图7所示,获取单元41还包括:接收模块415和第五处理模块416,其中:Referring to FIG. 7, the obtaining unit 41 further includes: a receiving module 415 and a fifth processing module 416, wherein:
接收模块415,设置为接收用于获取待播放信息的控制指令。 The receiving module 415 is configured to receive a control instruction for acquiring information to be played.
第二处理模块416,设置为响应控制指令,获取待播放信息。The second processing module 416 is configured to obtain information to be played in response to the control instruction.
参照图8所示,处理单元还包括:第三获取模块423、计算模块424和播放模块425,其中:Referring to FIG. 8, the processing unit further includes: a third obtaining module 423, a calculating module 424, and a playing module 425, wherein:
第三获取模块423,设置为获取待播放信息的总播放时间长度。The third obtaining module 423 is configured to obtain a total playing time length of the information to be played.
第三获取模块423,还设置为获取终端的当前时间。The third obtaining module 423 is further configured to acquire the current time of the terminal.
计算模块424,设置为根据终端的当前时间和待播放信息的总播放时间长度,利用预设算法计算得到目标播放进度。The calculating module 424 is configured to calculate the target playing progress by using a preset algorithm according to the current time of the terminal and the total playing time length of the information to be played.
播放模块425,设置为按照待播放信息的目标播放进度播放待播放信息。The playing module 425 is configured to play the to-be-played information according to the target playing progress of the information to be played.
需要说明的是,本实施例中各个单元和模块之间的交互过程,可以参照图1~3对应的实施例提供的一种信息同步方法中的交互过程,此处不再赘述。It should be noted that, in the interaction process between the units and the modules in this embodiment, reference may be made to the interaction process in the information synchronization method provided by the embodiment corresponding to FIG. 1 to FIG. 3, and details are not described herein again.
本公开的实施例所提供的信息同步装置,通过获取播放信息,然后根据预设规则对待播放信息进行分析处理得到目标播放进度,并按照目标播放进度播放待播放信息;这样,终端在播放需同步播放的信息时,可以根据得到的目标播放进度来播放该需同步播放的信息,解决了现有技术中多个终端产品不能同步播放相同内容的问题,可以实现不同终端同步播放同一内容,进而提高了用户和终端的交互能力。The information synchronizing apparatus provided by the embodiment of the present disclosure obtains the target playing progress by acquiring the playing information, and then analyzing and processing the playing information according to the preset rule, and playing the to-be-played information according to the target playing progress; thus, the terminal needs to be synchronized during the playing. When the information is played, the information to be played synchronously can be played according to the obtained target playback progress, which solves the problem that multiple terminal products cannot simultaneously play the same content in the prior art, and can simultaneously play the same content synchronously by different terminals, thereby improving The interaction ability between the user and the terminal.
在实际应用中,获取单元41、处理单元42、第一获取模块411、第一处理模块412、第二处理模块413、第二获取模块414、接收模块415、第五处理模块416、第三处理模块421、第四处理模块422、第三获取模块423、计算模块424和播放模块425均可由位于无线数据发送设备中的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。In an actual application, the obtaining unit 41, the processing unit 42, the first obtaining module 411, the first processing module 412, the second processing module 413, the second obtaining module 414, the receiving module 415, the fifth processing module 416, and the third processing The module 421, the fourth processing module 422, the third obtaining module 423, the calculating module 424, and the playing module 425 may each be a central processing unit (CPU), a microprocessor (Micro Processor Unit, located in the wireless data transmitting device, MPU), digital signal processor (DSP) or Field Programmable Gate Array (FPGA).
本领域内的技术人员应明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present disclosure can be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包 括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that an instruction generation package stored in the computer readable memory Included is the manufacture of an instruction device that implements the functions specified in one or more blocks of a flow or a flow diagram and/or block diagram of a flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上所述,仅为本公开的较佳实施例而已,并非用于限定本公开的保护范围。The above description is only for the preferred embodiments of the present disclosure, and is not intended to limit the scope of the disclosure.
工业实用性Industrial applicability
本发明实施例提供的技术方案可以应用于通信领域中的信息同步技术,并且利用本发明实施例提供的信息同步方法和装置和计算机存储介质可以实现不同终端同步播放同一内容,进而提高了用户和终端的交互能力。 The technical solution provided by the embodiment of the present invention can be applied to the information synchronization technology in the communication field, and the information synchronization method and device and the computer storage medium provided by the embodiments of the present invention can realize different terminals synchronously playing the same content, thereby improving the user and The interactive ability of the terminal.

Claims (14)

  1. 一种信息同步方法,其中,所述方法包括:An information synchronization method, wherein the method comprises:
    获取待播放信息;Get the information to be played;
    根据预设规则对所述待播放信息进行分析处理得到目标播放进度,并按照所述目标播放进度播放所述待播放信息。And analyzing the to-be-played information according to a preset rule to obtain a target playing progress, and playing the to-be-played information according to the target playing progress.
  2. 根据权利要求1所述的方法,其中,所述获取待播放信息,包括:The method of claim 1, wherein the obtaining information to be played comprises:
    获取外界音频信息;其中,所述外界音频信息包括主控终端发出的具有特征信息的目标音频信息;Acquiring external audio information; wherein the external audio information includes target audio information with characteristic information sent by the main control terminal;
    对所述外界音频信息进行分析处理,得到所述特征信息;Performing analysis processing on the external audio information to obtain the feature information;
    对所述特征信息进行分析处理,得到所述目标音频信息中的标识信息;Performing analysis processing on the feature information to obtain identification information in the target audio information;
    根据所述目标音频信息中的标识信息,获取与所述目标音频信息中的标识信息对应的所述待播放信息。Obtaining the to-be-played information corresponding to the identification information in the target audio information according to the identification information in the target audio information.
  3. 根据权利要求2所述的方法,其中,所述根据预设规则对所述待播放信息进行分析处理得到目标播放进度,并按照所述目标播放进度播放所述待播放信息,包括:The method according to claim 2, wherein the analyzing the to-be-played information according to the preset rule to obtain a target playing progress, and playing the to-be-played information according to the target playing progress, includes:
    对所述特征信息进行分析处理,得到所述目标音频信息中的播放进度;其中,所述特征信息是所述主控终端根据预设信息处理规则对所述目标音频信息中的标识信息和播放进度进行处理得到的;Performing analysis processing on the feature information to obtain a playback progress in the target audio information; wherein the feature information is identification information and playback of the target audio information by the main control terminal according to a preset information processing rule The progress is processed;
    确定所述目标音频信息中的播放进度为所述目标播放进度,并按照所述目标播放进度播放所述待播放信息。Determining a play progress in the target audio information as the target play progress, and playing the to-be-played information according to the target play progress.
  4. 根据权利要求2或3所述的方法,其中,所述对所述外界音频信息进行分析处理,得到所述特征信息,包括:The method according to claim 2 or 3, wherein the analyzing and processing the external audio information to obtain the feature information comprises:
    对所述外界音频信息进行滤波处理,得到所述目标音频信息;Performing filtering processing on the external audio information to obtain the target audio information;
    对所述目标音频信息进行处理,得到所述特征信息。The target audio information is processed to obtain the feature information.
  5. 根据权利要求1所述的方法,其中,所述获取待播放信息,还包括:The method of claim 1, wherein the obtaining information to be played further comprises:
    接收用于获取所述待播放信息的控制指令;Receiving a control instruction for acquiring the information to be played;
    响应所述控制指令,获取所述待播放信息。And acquiring the to-be-played information in response to the control instruction.
  6. 根据权利要求5所述的方法,其中,所述根据预设规则对所述待播放信息进行分析处理得到目标播放进度,并按照所述目标播放进度播放所述待播放信息,还包括:The method according to claim 5, wherein the analyzing the to-be-played information according to the preset rule to obtain the target playing progress, and playing the to-be-played information according to the target playing progress, further comprising:
    获取所述待播放信息的总播放时间长度;Obtaining a total playing time length of the to-be-played information;
    获取终端的当前时间;Obtain the current time of the terminal;
    根据所述终端的当前时间和所述待播放信息的总播放时间长度,利用所述预设算法计算得到所述目标播放进度; And determining, according to the current time of the terminal and the total playing time of the to-be-played information, the target playing progress by using the preset algorithm;
    按照所述待播放信息的目标播放进度播放所述待播放信息。The to-be-played information is played according to the target playback progress of the to-be-played information.
  7. 一种信息同步装置,其中,所述装置包括:获取单元和处理单元;其中:An information synchronization device, wherein the device comprises: an acquisition unit and a processing unit; wherein:
    所述获取单元,设置为获取待播放信息;The acquiring unit is configured to acquire information to be played;
    所述处理单元,设置为根据预设规则对所述待播放信息进行分析处理得到目标播放进度,并按照所述目标播放进度播放所述待播放信息。The processing unit is configured to analyze the to-be-played information according to a preset rule to obtain a target playback progress, and play the to-be-played information according to the target playback progress.
  8. 根据权利要求7所述的装置,其中,所述获取单元包括:第一获取模块、第一处理模块、第二处理模块和第二获取模块;其中:The apparatus according to claim 7, wherein the obtaining unit comprises: a first obtaining module, a first processing module, a second processing module, and a second acquiring module; wherein:
    所述第一获取模块,设置为获取外界音频信息;其中,所述外界音频信息包括主控终端发出的具有特征信息的目标音频信息;The first acquiring module is configured to acquire external audio information, where the external audio information includes target audio information with feature information sent by the master terminal;
    所述第一处理模块,设置为对所述外界音频信息进行分析处理,得到所述特征信息;The first processing module is configured to perform analysis processing on the external audio information to obtain the feature information;
    所述第二处理模块,设置为对所述特征信息进行分析处理,得到所述目标音频信息中的标识信息;The second processing module is configured to perform analysis processing on the feature information to obtain identification information in the target audio information;
    所述第二获取模块,设置为根据所述目标音频信息中的标识信息,获取与所述目标音频信息中的标识信息对应的所述待播放信息。The second acquiring module is configured to acquire the to-be-played information corresponding to the identifier information in the target audio information according to the identifier information in the target audio information.
  9. 根据权利要求7所述的装置,其中,所述处理单元包括:第三处理模块和第四处理模块;其中:The apparatus of claim 7, wherein the processing unit comprises: a third processing module and a fourth processing module; wherein:
    所述第三处理模块,设置为对所述特征信息进行分析处理,得到所述目标音频信息中的播放进度;其中,所述特征信息是所述主控终端根据预设信息处理规则对所述目标音频信息中的标识信息和播放进度进行处理得到的;The third processing module is configured to perform an analysis process on the feature information to obtain a play progress in the target audio information, where the feature information is that the master control terminal processes the rule according to a preset information processing rule. The identification information and the playback progress in the target audio information are processed;
    所述第四处理模块,设置为确定所述目标音频信息中的播放进度为所述目标播放进度,并按照所述目标播放进度播放所述待播放信息。The fourth processing module is configured to determine that the playing progress in the target audio information is the target playing progress, and play the to-be-played information according to the target playing progress.
  10. 根据权利要求8或9所述的装置,其中,所述第一处理模块设置为:The apparatus according to claim 8 or 9, wherein said first processing module is configured to:
    对所述外界音频信息进行滤波处理,得到所述目标音频信息;Performing filtering processing on the external audio information to obtain the target audio information;
    对所述目标音频信息进行处理,得到所述特征信息。The target audio information is processed to obtain the feature information.
  11. 根据权利要求7所述的装置,其中,所述获取单元还包括:接收模块和第五处理模块;其中:The apparatus according to claim 7, wherein the obtaining unit further comprises: a receiving module and a fifth processing module; wherein:
    所述接收模块,设置为接收用于获取所述待播放信息的控制指令;The receiving module is configured to receive a control instruction for acquiring the information to be played;
    所述第二处理模块,设置为响应所述控制指令,获取所述待播放信息。The second processing module is configured to obtain the to-be-played information in response to the control instruction.
  12. 根据权利要求11所述的装置,其中,所述处理单元还包括:第三获取模块、计算模块和播放模块;其中:The apparatus according to claim 11, wherein the processing unit further comprises: a third obtaining module, a calculating module and a playing module; wherein:
    所述第三获取模块,设置为获取所述待播放信息的总播放时间长度;The third acquiring module is configured to acquire a total playing time length of the to-be-played information;
    所述第三获取模块,还设置为获取终端的当前时间;The third obtaining module is further configured to acquire a current time of the terminal;
    所述计算模块,设置为根据所述终端的当前时间和所述待播放信息的总播放时间长度,利用所述预设算法计算得到所述目标播放进度; The calculating module is configured to calculate the target playing progress by using the preset algorithm according to the current time of the terminal and the total playing time length of the to-be-played information;
    所述播放模块,设置为按照所述待播放信息的目标播放进度播放所述待播放信息。The playing module is configured to play the to-be-played information according to a target playing progress of the to-be-played information.
  13. 一种信息同步装置,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现以下步骤:An information synchronization apparatus includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the following steps:
    获取待播放信息;Get the information to be played;
    根据预设规则对所述待播放信息进行分析处理得到目标播放进度,并按照所述目标播放进度播放所述待播放信息。And analyzing the to-be-played information according to a preset rule to obtain a target playing progress, and playing the to-be-played information according to the target playing progress.
  14. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行的一个或多个程序,所述一个或多个程序被所述计算机执行时使所述计算机执行如根据权利要求1-6中任一项所述的信息同步方法。 A computer storage medium having stored therein one or more programs executable by a computer, the one or more programs being executed by the computer to cause the computer to perform as in claims 1-6 The information synchronization method of any of the above.
PCT/CN2017/114312 2017-01-03 2017-12-01 Information synchronization method and device, and computer storage medium WO2018126829A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710000765.9 2017-01-03
CN201710000765.9A CN108270501A (en) 2017-01-03 2017-01-03 A kind of information synchronization method and device

Publications (1)

Publication Number Publication Date
WO2018126829A1 true WO2018126829A1 (en) 2018-07-12

Family

ID=62770570

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/114312 WO2018126829A1 (en) 2017-01-03 2017-12-01 Information synchronization method and device, and computer storage medium

Country Status (2)

Country Link
CN (1) CN108270501A (en)
WO (1) WO2018126829A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115632731A (en) * 2022-10-26 2023-01-20 广州市保伦电子有限公司 Synchronous playing strategy for multi-playing terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110238192A1 (en) * 2010-03-25 2011-09-29 Mehul Shah Systems and Methods for Providing Access to Resources Through Enhanced Audio Signals
CN103634621A (en) * 2012-08-27 2014-03-12 中兴通讯股份有限公司 Method, apparatuses and system for playing synchronization controlling in video recommendation service
CN103985387A (en) * 2014-04-17 2014-08-13 苏州乐聚一堂电子科技有限公司 Audio instruction and intelligent control method thereof
CN104092654A (en) * 2014-01-22 2014-10-08 腾讯科技(深圳)有限公司 Media playing method, client and system
CN105763933A (en) * 2014-12-19 2016-07-13 中兴通讯股份有限公司 Media file current playing position sharing method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7894511B2 (en) * 2006-07-21 2011-02-22 Motorola Mobility, Inc. Multi-device coordinated audio playback
CN103888819A (en) * 2012-12-20 2014-06-25 联想(北京)有限公司 Electronic equipment, data transmission method and data transmission system
CN104424970B (en) * 2013-08-19 2019-02-05 腾讯科技(深圳)有限公司 A kind of synchronous method and device of multimedia information
CN105117367A (en) * 2015-09-21 2015-12-02 联想(北京)有限公司 Electronic book switching method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110238192A1 (en) * 2010-03-25 2011-09-29 Mehul Shah Systems and Methods for Providing Access to Resources Through Enhanced Audio Signals
CN103634621A (en) * 2012-08-27 2014-03-12 中兴通讯股份有限公司 Method, apparatuses and system for playing synchronization controlling in video recommendation service
CN104092654A (en) * 2014-01-22 2014-10-08 腾讯科技(深圳)有限公司 Media playing method, client and system
CN103985387A (en) * 2014-04-17 2014-08-13 苏州乐聚一堂电子科技有限公司 Audio instruction and intelligent control method thereof
CN105763933A (en) * 2014-12-19 2016-07-13 中兴通讯股份有限公司 Media file current playing position sharing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115632731A (en) * 2022-10-26 2023-01-20 广州市保伦电子有限公司 Synchronous playing strategy for multi-playing terminal
CN115632731B (en) * 2022-10-26 2023-10-13 广东保伦电子股份有限公司 Synchronous playing strategy for multi-playing terminal

Also Published As

Publication number Publication date
CN108270501A (en) 2018-07-10

Similar Documents

Publication Publication Date Title
US10671042B2 (en) Remote command learning
CN111641828B (en) Video processing method and device, storage medium and electronic equipment
US20230026035A1 (en) Systems and Methods for Configuring a Media Player Device on a Local Network using a Graphical User Interface
CN105376628A (en) Method and device for synchronizing audio-video signals
CN109275130A (en) A kind of throwing screen method, apparatus and storage medium
WO2020253844A1 (en) Method and device for processing multimedia information, and storage medium
WO2014085510A1 (en) Method and apparatus for personalized audio virtualization
US10841697B1 (en) Method and apparatus for playing audio, playing device, and storage medium
US20190373313A1 (en) Playback Device Setup
WO2013169935A1 (en) Methods and apparatuses for communication of audio tokens
CN104112459B (en) Method and apparatus for playing audio data
CN106878915B (en) Control method, device and the playback equipment and mobile terminal of playback equipment
CN111462746B (en) TWS earphone-based control method, system, device and equipment
CN111641829B (en) Video processing method, device and system, storage medium and electronic equipment
CN107911777B (en) Processing method and device for return-to-ear function and mobile terminal
WO2018126829A1 (en) Information synchronization method and device, and computer storage medium
TW201627987A (en) Singing visual effect system and method for processing singing visual effect
CN112612444A (en) Sound source position positioning method, sound source position positioning device, electronic equipment and storage medium
US11113092B2 (en) Global HRTF repository
CN115767158A (en) Synchronous playing method, terminal equipment and storage medium
CN109473096B (en) Intelligent voice equipment and control method thereof
CN112307161B (en) Method and apparatus for playing audio
CN105682010B (en) Bluetooth connection control method, device and playback equipment in audio frequency broadcast system
TW201627886A (en) Accompaniment visual effect system and method for processing accompaniment visual effect
CN108260115A (en) Bluetooth equipment position information processing method, device, terminal device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17890388

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17890388

Country of ref document: EP

Kind code of ref document: A1