CN112188362B - Playing method, device and computer readable storage medium - Google Patents

Playing method, device and computer readable storage medium Download PDF

Info

Publication number
CN112188362B
CN112188362B CN202011049225.8A CN202011049225A CN112188362B CN 112188362 B CN112188362 B CN 112188362B CN 202011049225 A CN202011049225 A CN 202011049225A CN 112188362 B CN112188362 B CN 112188362B
Authority
CN
China
Prior art keywords
playing
playing device
detection distance
module
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011049225.8A
Other languages
Chinese (zh)
Other versions
CN112188362A (en
Inventor
崔文秋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202011049225.8A priority Critical patent/CN112188362B/en
Publication of CN112188362A publication Critical patent/CN112188362A/en
Application granted granted Critical
Publication of CN112188362B publication Critical patent/CN112188362B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds

Abstract

The application discloses a playing method, which comprises the following steps: when the first playing device receives a playing terminal switching instruction sent by the detection distance module, the playing of the current content is stopped; the playing terminal switching instruction is generated by the detection distance module according to the distance information; and sending the acquired playing node information of the first playing device to the second playing device so that the second playing device continues to play the remaining content according to the playing node information. According to the method, when the first playing device receives the instruction of switching the playing terminal, the first playing device is automatically switched to the second playing device to continue playing the remaining content, so that the defect that the second playing device continues playing the remaining content because the first playing device needs to be manually switched to the second playing device in the related art is overcome, the playing efficiency is improved, and the user experience is improved. The application also provides a playing device, electronic equipment and a computer readable storage medium, and the playing device, the electronic equipment and the computer readable storage medium have the beneficial effects.

Description

Playing method, device and computer readable storage medium
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a playing method, an apparatus, and a computer-readable storage medium.
Background
With the development of technology, intelligent electronic products are also rapidly developed and are increasingly used by people, and the intelligent products play an increasingly important role in our lives, but the intelligent product experience of users is not high sometimes. For example, when a user wears the earphones to return to home and wants to switch to the smart sound box to continue playing current music, the user needs to manually connect the mobile phone and the smart sound box, and then clicks the playing button of the mobile phone to enable the smart sound box to take over the earphones to continue playing, so that the switching process is complicated, the speed is low, and the user experience effect on smart products is poor.
Disclosure of Invention
The application aims to provide a playing method, when a first playing device receives a playing terminal switching instruction, the first playing device is automatically switched to a second playing device to continue playing the remaining content, playing efficiency is improved, and user experience is improved. The specific scheme is as follows:
in a first aspect, the present application discloses a playing method, including:
when the first playing device receives a playing terminal switching instruction sent by the detection distance module, the playing of the current content is stopped; the switching playing terminal instruction is generated by the detection distance module according to the distance information;
and sending the acquired playing node information of the first playing device to a second playing device so that the second playing device continues to play the remaining content according to the playing node information.
Optionally, the switching the playing terminal instruction is generated by the detection distance module according to the distance information, and includes:
the switching playing terminal instruction is sent by a detection distance module in the first playing device when the second playing device is just detected.
Optionally, the switching the playing terminal instruction is generated by the detection distance module according to the distance information, and includes:
the switching playing terminal instruction is sent by a detection distance module in the first playing device when the second playing device is just not detected.
Optionally, when the first playing device receives a play terminal switching instruction sent by the detection distance module, the playing of the current content is stopped, including:
and when the first playing equipment receives a playing terminal switching instruction sent by the NFMI communication module, stopping playing the current content.
Optionally, the sending the acquired information of the playing node of the first playing device to the second playing device includes:
and sending the acquired playing node information of the first playing device to a cloud end, so that the cloud end sends the received playing node information to the second playing device.
Optionally, before the first playing device receives the play terminal switching instruction sent by the detection distance module, the method further includes:
after the detection distance module of the first playing device and the detection distance module of the second playing device successfully handshake, detecting whether the detection distance module of the first playing device generates the playing terminal switching instruction;
and if so, executing the step that the first playing equipment receives a playing terminal switching instruction sent by the detection distance module.
In a second aspect, the present application discloses a playback apparatus, comprising:
the playing stopping module is used for stopping playing the current content by the first playing device when the detection distance module sends a playing terminal switching instruction; the switching playing terminal instruction is generated by the detection distance module according to the distance information;
and the sending module is used for sending the playing node information to the second playing device so that the second playing device plays the remaining content according to the playing node information.
Optionally, the sending module includes:
the middle unit is used for sending the acquired playing node information of the first playing device to a cloud end, so that the cloud end sends the received playing node information to the second playing device.
In a third aspect, the present application discloses an electronic device, comprising:
a memory for storing a computer program;
a processor, configured to implement the steps of the playback method according to any embodiment of the present application when the computer program is executed.
In a third aspect, the present application discloses a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the playback method according to any of the embodiments of the present application.
The application provides a playing method, which comprises the following steps: when the first playing device receives a playing terminal switching instruction sent by the detection distance module, the playing of the current content is stopped; the switching playing terminal instruction is generated by the detection distance module according to the distance information; and sending the acquired playing node information of the first playing device to a second playing device so that the second playing device continues to play the remaining content according to the playing node information.
Therefore, the method stops playing the current content when the first playing device receives a playing terminal switching instruction sent by the detection distance module, and the second playing device continues playing the remaining content according to the received playing node information of the first playing device, that is, when the first playing device receives the playing terminal switching instruction, the first playing device automatically switches to the second playing device to continue playing the remaining content, so that the defect that the first playing device needs to be manually switched to the second playing device in the related art to enable the second playing device to continue playing the remaining content is avoided, the playing efficiency is improved, and the user experience is improved. The application also provides a playing device, an electronic device and a computer readable storage medium, which have the beneficial effects and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or related technologies of the present application, the drawings needed to be used in the description of the embodiments or related technologies are briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a playing method according to an embodiment of the present application;
fig. 2 is a flowchart of another playing method provided in the embodiment of the present application;
fig. 3 is a block diagram illustrating an overall scheme of a playing method according to an embodiment of the present application;
fig. 4 is a specific workflow of a playing method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a playback device according to an embodiment of the present application;
fig. 6 is a block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a block diagram of another electronic device according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the situation that the common earphone is switched to the sound to play the remaining audio, the playing equipment needs to be manually switched, the switching process is complicated, and the user experience is poor. Based on the foregoing technical problem, this embodiment provides a playing method, which can implement that a first playing device automatically switches to a second playing device to continue playing remaining content, specifically referring to fig. 1, where fig. 1 is a flowchart of a playing method provided in this embodiment of the present application, and specifically includes:
s101, when the first playing device receives a playing terminal switching instruction sent by a detection distance module, stopping playing the current content; the switching playing terminal instruction is generated by the detection distance module according to the distance information.
In this embodiment, when the detection distance module generates a switch playing terminal instruction according to the distance information, the first playing terminal receives the switch playing terminal instruction and stops playing the current content. In this embodiment, a device that plays the current content is referred to as a first playback device, and a playback device that switches the first playback device to another playback device is referred to as a second playback device. The present embodiment does not limit the types of the first playback device and the second playback device, and may be, for example, an earphone, a sound box, a television, or the like. The user can select according to actual requirements.
In this embodiment, the sending end of the command for switching the playing terminal is not limited, and the command may be a command for switching the playing terminal sent by a first playing device, or a command for switching the playing terminal sent by a second playing device. Furthermore, in order to improve the efficiency of receiving the switching playing terminal instruction, the execution main bodies for receiving the switching playing instruction and sending the switching playing instruction are set to be consistent, so that the situation that one playing device needs to send the switching playing instruction to the other playing device after generating the switching playing instruction is avoided, and therefore data interaction between the two playing devices is reduced, the possibility of data sending failure is reduced, and the time consumption for obtaining data is reduced. Therefore, the setting of the switching playing instruction in this embodiment may be sent by the distance detection module in the first playing device.
It is understood that the distance information refers to a distance between the first playback device and the second playback device. The embodiment does not limit the manner of generating the playing terminal switching instruction according to the distance information, and may be that the playing terminal switching instruction is issued when the detection distance module in the first playing device detects the second playing device, or the playing terminal switching instruction is issued when the detection distance module in the first playing device does not detect the second playing device, or the playing terminal switching instruction is generated when the distance between the first playing device and the second playing device is smaller than a preset distance threshold after the detection distance module in the first playing device detects the second playing device; of course, the preset distance threshold is not limited in this embodiment, and may be 2 meters or 3 meters, and the user may set the distance threshold according to the actual situation.
Further, in order to improve user experience, the generating of the instruction for switching the playback terminal by the sounding distance module according to the distance information in this embodiment may include: the switching playing terminal instruction is sent by a detection distance module in the first playing device when the second playing device is just detected, namely the first playing device just detects the second playing device, and then the switching playing terminal instruction is sent, so that the playing devices can be switched timely, and better intelligent experience is provided for users. For example, when the first playback device is an earphone and the second playback device is a sound box, the instruction for switching the playback terminal is sent by the detection distance module in the earphone when the sound box is just detected. It can be understood that, when the detection distance module in the earphone just detects the audio amplifier, the switching playing terminal instruction is sent out to make the audio amplifier continue to play the remaining content, and can satisfy the user and come back to home to take off the earphone, just can be timely listen to the music, satisfied user's actual demand, improved user experience.
Further, in order to meet the requirement that the user can listen to the music being played in time when going out, the step of switching the playing terminal to generate the instruction by the detection distance module according to the distance information may include: the switching playing terminal instruction is sent by a detection distance module in the first playing device when the second playing device cannot be detected, namely, the first playing device can not detect the second playing device, the switching playing terminal instruction is sent, the second playing device can be switched timely, a user can continue to listen to the current content timely, and better intelligent experience is provided for the user. For example, when the first playback device is a sound box and the second playback device is an earphone, the instruction for switching the playback terminal is sent by the detection distance module in the sound box when the earphone is not detected. It can be understood that, when the detection distance module in the sound box does not detect the sound box, that is, the sound box and the earphone cannot find each other locally through the detection distance module, the sound box sends an instruction to switch the playing terminal. When the user walks to the open air from home, the remaining content is continuously played by switching the sound box playing to the earphone in time, the actual requirements of the user are met, and the user experience is improved.
The embodiment also does not limit the specific form of the current content, and may be audio or video. The specific positions of the detection distance module in the first playing device and the second playing device are not limited in this embodiment, and certainly, as long as the two devices can detect each other, the user can set the detection distance according to actual requirements. The embodiment also does not limit the specific type of the range finding module, and the range finding module may be a bluetooth module, a range finding module that is an entire body of a TOF sensor (calculating range information) and the bluetooth module, or an NFMI communication module. Further, in order to reduce the power consumption of the detection distance module, an NFMI communication module may be selected. That is, when the first playing device receives a playing terminal switching instruction sent by the NFMI communication module, the playing of the current content is stopped. It can be understood that: the NFMI technology has low power consumption, the communication distance is proper (within 3 m), the distance from a home door of a general user to an indoor sound box is generally within 3m, when the user wears the earphone and returns home, the NFMI communication module of the earphone detects the sound box and sends a command for switching the playing terminal, the earphone stops playing the current content, the current content is switched to the sound box to continue playing the residual content, switching at a proper node can be realized, the situation that the switching is too early or too late is avoided, and the user experience is improved.
S102, the acquired playing node information of the first playing device is sent to the second playing device, so that the second playing device continues to play the remaining content according to the playing node information.
The specific content of the playing node information is not limited in this embodiment, and the specific content may be a time node at which the audio or video is paused when receiving an instruction to switch the playing terminal in the playing process, a pause playing time node and a play list, or all audio or video stored by the first playing device. Of course, the present embodiment also does not limit the specific form of the remaining content, and the specific form of the remaining content is determined according to the specific content of the playback node information. It can be understood that the first playing device acquires the local playing node information and sends the playing node information to the second playing device, so that the second playing device continues to play the remaining content according to the playing node information. For example, when the first playing device is an earphone and the second playing device is a sound, and when the earphone plays the current audio for 1 minute and 30 seconds, a command for switching the playing terminal is received, and at this time, the playing time node information is a playing pause time node of the current audio, the playing pause time node of the current audio is sent to the second playing device, so that the second playing device starts to continue playing the remaining audio at the time of 1 minute and 30 seconds. For another example, when the playing node information is a playing pause time node and a playing list, and when the earphone plays the current audio for 1 minute 50 seconds, a playing terminal switching instruction is received, and at this time, the playing pause time node and the playing list of the earphone are sent to the second playing device as the playing node information, so that the second playing device starts to continue the current audio and the remaining audio of the playing list at the time of 1 minute 50 seconds.
The present embodiment does not limit the transmission manner of transmitting the playback node information to the second playback device. The first playing device may directly send the playing node information to the second playing device, or the first playing device may indirectly send the playing node information to the second playing device. If so, the first playing device sends the playing node information to the intermediate device, and the intermediate device sends the playing node information to the second playing device. Further, in order to improve the playing effect and improve the user experience, the obtained playing node information of the first playing device is sent to the cloud end, so that the cloud end sends the received playing node information to the second playing device. If so, the first playing device sends the playing node information to the cloud, and the cloud sends the playing node information to the second playing device. It can be understood that, when first playback devices is the earphone, when second playback devices is the stereo set, the memory space of earphone is less, the local music of storage is less, therefore, the music list storage is more suitable at the high in the clouds, the earphone sends broadcast node information to the high in the clouds, the high in the clouds sends broadcast node information and playlist for the stereo set jointly, make the stereo set continue to broadcast surplus content according to broadcast node information and playlist, and send the tone quality for the stereo set through the high in the clouds more clearly, speed and quality are higher, user experience is improved.
Based on the above technical solution, in this embodiment, when the first playing device receives a playing terminal switching instruction sent by the detection distance module, the playing of the current content is stopped, and the second playing device continues to play the remaining content according to the received playing node information of the first playing device, so that a defect that the first playing device needs to be manually switched to the second playing device in the related art to enable the second playing device to continue to play the remaining content is avoided, the playing efficiency is improved, and the user experience is improved.
Based on the foregoing embodiments, in order to improve the accuracy of switching the playback terminal, this embodiment provides a playback method, where before receiving the playback terminal switching instruction sent by the detection distance module, after confirming that the detection distance module of the first playback device and the detection distance module of the second playback device handshake successfully, the playback terminal switching instruction sent by the detection distance module is executed again. Referring to fig. 2 in detail, fig. 2 is a flowchart of another playing method provided in the embodiment of the present application, including:
s201, after the detection distance module of the first playing device and the detection distance module of the second playing device successfully handshake, whether the detection distance module of the first playing device generates a playing terminal switching instruction is detected.
When the detection distance module of the first playing device and the detection distance module of the second playing device handshake successfully, namely, after confirming the mutual state, detecting whether the detection distance module of the first playing device generates a playing terminal switching instruction or not.
S202, when detecting that a detection distance module of first playing equipment generates a playing terminal switching instruction, the first playing equipment receives the playing terminal switching instruction sent by the detection distance module and stops playing current content; the switching playing terminal instruction is generated by the detection distance module according to the distance information.
When detecting that the detection distance module of the first playing device generates a playing terminal switching instruction according to the distance information, the first playing device receives the playing terminal switching instruction and stops playing the current content.
And S204, sending the acquired playing node information of the first playing device to a second playing device so that the second playing device continues to play the remaining content according to the playing node information.
For details of step S202 and step S204, reference may be made to the foregoing embodiments, and details are not described in this embodiment.
Based on the above technical solution, in this embodiment, before the first playback device receives the switch playback terminal instruction, the detection distance module of the first playback device and the detection distance module of the second playback device perform handshaking, and after confirming that the handshaking is successful, the first playback device receives the detection distance module to generate the switch playback terminal instruction, the accuracy of switching the playback terminal is improved, and the playback efficiency is also improved.
The following embodiments provide a specific application scenario, in which an NFMI communication module is added to a smart audio device and a smart headset, when a user wears the smart headset with NFMI functionality and comes from outdoors to indoors, and a first playback device is the smart headset and a second playback device is the smart audio device, so that the headset is automatically switched to the audio device to continue playing the remaining content, which may include:
1. after the detection distance module of the earphone and the detection distance module of the sound equipment are successfully handshake, whether the detection distance module of the earphone generates a command for switching the playing terminal is detected.
When the NFMI communication module in the earphone successfully handshakes with the NFMI communication module in the sound, namely the earphone detects that the periphery is provided with the matched sound, the handshake information and the information of the playing node on the earphone (namely the music playing node) are synchronously uploaded to a Cloud platform (Cloud), and meanwhile, when the NFMI communication module in the earphone detects that the distance between the NFMI communication module in the earphone and the sound is smaller than a preset distance threshold, a playing terminal switching instruction is generated.
2. And when the earphone receives a playing terminal switching instruction sent by the detection distance module, stopping playing the current content.
When the earphone receives the command of switching the playing terminal, the cloud platform issues a playing stopping command to the earphone, and the earphone stops playing the current content.
3. And sending the acquired playing node information of the earphone to the sound equipment so that the sound equipment continues to play the residual content according to the playing node information.
The cloud platform issues a playing command and a playing information node of the earphone to the sound box, the sound box continues to play the remaining content according to the playing node information, and accordingly automatic switching from the earphone to the sound box is completed, namely the sound box starts playing, and the earphone stops playing.
Based on the embodiment, when a user wears the earphone with the NFMI function and comes from the outdoors to the indoors, the detection distance module in the earphone automatically switches to the sound box to continue playing the residual content when receiving the instruction of switching the playing terminal, so that the defect that the playing terminal needs to be manually switched in the related technology is overcome, the playing efficiency is improved, and the user experience is improved.
For example, by adding an NFMI communication module to the audio device and the earphone, when a user goes from home to outdoors, wears the earphone and powers on the audio device, and the first playback device is the audio device, and the second playback device is the earphone, the audio device is automatically switched to the earphone to continue playing the remaining content, which may include:
1. and the NFMI communication module in the sound equipment sends a play terminal switching instruction when the earphone is not detected, and stops playing the current content.
When a user comes outdoors from home, the user wears the earphones and starts the audio equipment, the NFMI communication module in the audio equipment sends a playing terminal switching instruction when the earphones cannot be found locally, namely the audio equipment cannot detect that the peripheral earphones are matched, the cloud platform checks that the earphones are started, the cloud platform sends a playing stopping instruction to the audio equipment, and the audio equipment stops playing current content.
2. And sending the playing node information of the sound to the earphone so that the earphone continuously plays the remaining content according to the playing node information.
The broadcast node information of stereo set is synchronous to the high in the clouds platform, and the high in the clouds platform will broadcast the content node and download to the earphone on, and the synchronous music broadcast node of high in the clouds platform arrives the earphone promptly, and the earphone begins to continue the surplus content according to broadcast node information, accomplishes from the stereo set to the automatic switch-over of earphone so far, and the earphone begins to broadcast promptly, and the stereo set stops the broadcast.
Based on the embodiment, when the user comes outdoors from home, the earphone is worn and the audio equipment is started, the audio equipment is automatically switched to the earphone to continue playing the residual content, manual switching and synchronous working are avoided, the intelligent experience of user integration is greatly improved, and the user experience is improved.
In the two embodiments, the earphone and the sound equipment comprise a control unit, a power supply management unit, a data processing unit, a data acquisition unit, a data output unit and a communication unit, local communication and detection mechanisms based on NFMI communication are added to the sound equipment and the earphone, and content synchronization, switching and sharing are skillfully realized through a cloud platform, so that intelligent use experience can be brought to users, convenience is brought to the users, the whole block diagram of the scheme is shown in fig. 3, and the specific work flow is shown in fig. 4.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a playing device provided in an embodiment of the present application, and includes:
in some specific embodiments, the method specifically includes:
a play stop module 501, configured to stop playing the current content by the first playing device when the detection distance module sends a command to switch the playing terminal; wherein, the instruction of switching the playing terminal is generated by the detection distance module according to the distance information;
the sending module 502 is configured to send the playback node information to the second playback device, so that the second playback device plays the remaining content according to the playback node information.
In some specific embodiments, the stop playing module 501 includes:
the first detection unit is used for switching the playing terminal instruction and sending the instruction by the detection distance module in the first playing device when the second playing device is just detected.
In some specific embodiments, the stop playing module 501 includes:
and the second detection unit is used for switching the playing terminal instruction and sending the instruction by the detection distance module in the first playing device when the second playing device is not detected.
In some specific embodiments, the stop playing module 501 includes:
and the receiving unit is used for stopping playing the current content when the first playing device receives a playing terminal switching instruction sent by the NFMI communication module.
In some specific embodiments, the sending module 502 includes:
and the intermediate unit is used for sending the acquired playing node information of the first playing device to the cloud end, so that the cloud end sends the received playing node information to the second playing device.
In some specific embodiments, the method further comprises:
the detection module is used for detecting whether the detection distance module of the first playing device generates a playing terminal switching instruction or not after the detection distance module of the first playing device successfully handshakes with the detection distance module of the second playing device;
and the execution module is used for executing the step that the first playing device receives the playing terminal switching instruction sent by the detection distance module when the detection distance module of the first playing device generates the playing terminal switching instruction.
Since the embodiment of the playing apparatus portion and the embodiment of the playing method portion correspond to each other, please refer to the description of the embodiment of the playing method portion for the embodiment of the playing apparatus portion, which is not repeated here.
The present application also discloses a computer-readable storage medium having a computer program stored thereon, which, when executed, may implement the steps provided by the above-described embodiments. The storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk. The storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of: when the first playing device receives a playing terminal switching instruction sent by the detection distance module, the playing of the current content is stopped; wherein, the instruction of switching the playing terminal is generated by the detection distance module according to the distance information; and sending the acquired playing node information of the first playing device to a second playing device so that the second playing device continues to play the remaining content according to the playing node information.
According to the method and the device, when the first playing device receives a playing terminal switching instruction sent by the detection distance module, the playing of the current content is stopped, the second playing device continues to play the residual content according to the received playing node information of the first playing device, namely when the first playing device receives the playing terminal switching instruction, the first playing device is automatically switched to the second playing device to continue to play the residual content, the defect that the first playing device needs to be manually switched to the second playing device in the related technology to enable the second playing device to continue to play the residual content is avoided, the playing efficiency is improved, and the user experience is improved.
In some specific embodiments, the computer subprogram stored in the computer readable storage medium, when executed by the processor, may specifically implement the following steps: the instruction of switching the playing terminal is sent by a detection distance module in the first playing device when the second playing device is detected.
In some specific embodiments, the computer subprogram stored in the computer readable storage medium, when executed by the processor, may specifically implement the following steps: the switching playing terminal instruction is sent by a detection distance module in the first playing device when the second playing device is just not detected.
In some specific embodiments, the computer subprogram stored in the computer readable storage medium, when executed by the processor, may specifically implement the following steps: and when the first playing equipment receives a playing terminal switching instruction sent by the NFMI communication module, stopping playing the current content.
In some specific embodiments, the computer subprogram stored in the computer readable storage medium, when executed by the processor, may specifically implement the following steps: and sending the acquired playing node information of the first playing device to the cloud end, so that the cloud end sends the received playing node information to the second playing device.
In some specific embodiments, the computer subprogram stored in the computer readable storage medium, when executed by the processor, may specifically implement the following steps: after the detection distance module of the first playing device successfully handshakes with the detection distance module of the second playing device, detecting whether the detection distance module of the first playing device generates a playing terminal switching instruction or not;
and if so, executing the step that the first playing equipment receives a playing terminal switching instruction sent by the detection distance module.
The present application further discloses an electronic device, referring to fig. 6, where fig. 6 is a structural diagram of an electronic device provided in an embodiment of the present application, including:
a memory 100 for storing a computer program;
the processor 200, when executing the computer program, may implement the steps provided by the above embodiments.
Specifically, the memory 100 includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions, and the internal memory provides an environment for the operating system and the computer-readable instructions in the non-volatile storage medium to run. The processor 200 provides the computing and control capabilities for the electronic device and, when executing the computer program stored in the memory 100, may perform the following steps: when the first playing device receives a playing terminal switching instruction sent by the detection distance module, the playing of the current content is stopped; the playing terminal switching instruction is generated by the detection distance module according to the distance information; and sending the acquired playing node information of the first playing device to the second playing device so that the second playing device continues to play the remaining content according to the playing node information.
In this embodiment, when the first playing device receives a playing terminal switching instruction sent by the detection distance module, the playing of the current content is stopped, and the second playing device continues to play the remaining content according to the received playing node information of the first playing device, that is, when the first playing device receives the playing terminal switching instruction, the first playing device automatically switches to the second playing device to continue to play the remaining content, which avoids the defect that the first playing device needs to be manually switched to the second playing device in the related art, so that the second playing device continues to play the remaining content, improves the playing efficiency, and improves the user experience.
In some specific embodiments, when the processor 200 executes the computer subprogram stored in the memory 100, the following steps can be implemented: the switching playing terminal instruction is sent by a detection distance module in the first playing device when the second playing device is just detected.
In some specific embodiments, when the processor 200 executes the computer subprogram stored in the memory 100, the following steps can be implemented: the switching playing terminal instruction is sent by a detection distance module in the first playing device when the second playing device is just not detected.
In some specific embodiments, when the processor 200 executes the computer subprogram stored in the memory 100, the following steps can be implemented: and when the first playing equipment receives a playing terminal switching instruction sent by the NFMI communication module, stopping playing the current content.
In some specific embodiments, when the processor 200 executes the computer subprogram stored in the memory 100, the following steps can be implemented: and sending the acquired playing node information of the first playing device to the cloud end, so that the cloud end sends the received playing node information to the second playing device.
In some specific embodiments, when the processor 200 executes the computer subprogram stored in the memory 100, the following steps can be implemented: after the detection distance module of the first playing device successfully handshakes with the detection distance module of the second playing device, detecting whether the detection distance module of the first playing device generates a playing terminal switching instruction or not; and if so, executing the step that the first playing equipment receives a playing terminal switching instruction sent by the detection distance module.
On the basis of the foregoing embodiment, as a preferred implementation, referring to fig. 7, fig. 7 is a structural diagram of another electronic device provided in an embodiment of the present application, where the electronic device further includes:
and an input interface 300 connected to the processor 200, for acquiring computer programs, parameters and instructions imported from the outside, and storing the computer programs, parameters and instructions into the memory 100 under the control of the processor 200. The input interface 300 may be connected to an input device for receiving parameters or instructions manually input by a user. The input device may be a touch layer covered on a display screen, or a button, a track ball or a touch pad arranged on a terminal shell, or a keyboard, a touch pad or a mouse, etc.
And a display unit 400 connected to the processor 200 for displaying data transmitted by the processor 200. The display unit 400 may be a display screen on a PC, a liquid crystal display screen, or an electronic ink display screen.
And a network port 500 connected to the processor 200 for performing communication connection with each external terminal device. The communication technology adopted by the communication connection can be a wired communication technology or a wireless communication technology, such as a mobile high definition link (MHL) technology, a Universal Serial Bus (USB), a High Definition Multimedia Interface (HDMI), a wireless fidelity (WiFi), a bluetooth communication technology, a low power consumption bluetooth communication technology, an ieee802.11 s-based communication technology, and the like.
The embodiments are described in a progressive mode in the specification, the emphasis of each embodiment is on the difference from the other embodiments, and the same and similar parts among the embodiments can be referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It should also be noted that, in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (8)

1. A playback method, comprising:
after a detection distance module of first playing equipment successfully handshakes with a detection distance module of second playing equipment, detecting whether the detection distance module of the first playing equipment generates a playing terminal switching instruction or not;
when the first playing device receives a playing terminal switching instruction sent by the detection distance module, the playing of the current content is stopped; the switching playing terminal instruction is generated by the detection distance module according to the distance information; the switching playing terminal instruction is sent out by a detection distance module in the first playing device;
sending the acquired playing node information of the first playing device to a second playing device, wherein the playing node information comprises a playing pause time node and a playing list, so that the second playing device continues to play the current audio and the residual audio of the playing list according to the playing node information;
when the first playing device receives a playing terminal switching instruction sent by the detection distance module, the playing device stops playing the current content, and the method comprises the following steps: and when the first playing equipment receives a playing terminal switching instruction sent by the NFMI communication module, stopping playing the current content.
2. The playback method according to claim 1, wherein the switching playback terminal command is generated by the range module according to the distance information, and comprises:
the switching playing terminal instruction is sent by a detection distance module in the first playing device when the second playing device is just detected.
3. The playback method according to claim 1, wherein the switching playback terminal command is generated by the probe distance module according to the distance information, and comprises:
the switching playing terminal instruction is sent by a detection distance module in the first playing device when the second playing device is just not detected.
4. The playback method according to any one of claims 1 to 3, wherein sending the acquired playback node information of the first playback device to a second playback device includes:
and sending the acquired playing node information of the first playing device to a cloud end, so that the cloud end sends the received playing node information to the second playing device.
5. A playback apparatus, comprising:
the playing stopping module is used for stopping the playing of the current content by the first playing device when the detection distance module sends a playing terminal switching instruction; the switching playing terminal instruction is generated by the detection distance module according to the distance information; the switching playing terminal instruction is sent out by a detection distance module in the first playing device;
the sending module is used for sending the playing node information to second playing equipment, wherein the playing node information comprises a playing pause time node and a playing list, so that the second playing equipment plays the current audio and the residual audio of the playing list according to the playing node information;
wherein, stop playing the module, include:
a receiving unit, configured to stop playing the current content when the first playing device receives a play terminal switching instruction sent by the NFMI communication module;
the detection module is used for detecting whether the detection distance module of the first playing device generates a playing terminal switching instruction or not after the detection distance module of the first playing device successfully handshakes with the detection distance module of the second playing device;
and the execution module is used for executing the step that the first playing device receives the playing terminal switching instruction sent by the detection distance module when the detection distance module of the first playing device generates the playing terminal switching instruction.
6. The playback device as claimed in claim 5, wherein the sending module comprises:
the middle unit is used for sending the acquired playing node information of the first playing device to a cloud end, so that the cloud end sends the received playing node information to the second playing device.
7. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the playback method as claimed in any one of claims 1 to 4 when executing the computer program.
8. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the playback method according to one of claims 1 to 4.
CN202011049225.8A 2020-09-29 2020-09-29 Playing method, device and computer readable storage medium Active CN112188362B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011049225.8A CN112188362B (en) 2020-09-29 2020-09-29 Playing method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011049225.8A CN112188362B (en) 2020-09-29 2020-09-29 Playing method, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112188362A CN112188362A (en) 2021-01-05
CN112188362B true CN112188362B (en) 2022-06-03

Family

ID=73946489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011049225.8A Active CN112188362B (en) 2020-09-29 2020-09-29 Playing method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112188362B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115379043A (en) * 2021-05-18 2022-11-22 华为技术有限公司 Cross-device text continuing method and electronic device
CN113656260B (en) * 2021-08-06 2024-04-19 Oppo广东移动通信有限公司 Control method and control device for electronic equipment, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04339386A (en) * 1991-05-16 1992-11-26 Sony Corp Disk reproducing device
JPH08317304A (en) * 1995-05-19 1996-11-29 Utec:Kk Television receiver
EP1791359A1 (en) * 2004-08-19 2007-05-30 Sony Computer Entertainment Inc. Picture reproducing aparatus and method, recording medium and picture reproducing program
CN104025559A (en) * 2011-12-30 2014-09-03 Gn奈康有限公司 Transferring of audio routing in a premises distribution network
CN107205192A (en) * 2017-07-28 2017-09-26 广州黑格智能科技有限公司 A kind of audio frequency playing method of ears wireless headset and ears wireless headset
CN109379491A (en) * 2018-09-30 2019-02-22 Oppo广东移动通信有限公司 Audio frequency playing method, device, electronic equipment and computer-readable medium
CN111698369A (en) * 2020-06-12 2020-09-22 赵辛 Music playing system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101415762B1 (en) * 2007-07-25 2014-07-08 엘지전자 주식회사 Auxiliary output apparatus, Portable computer having auxiliary output apparatus and Changing method of Operating Systerm thereof
CN104270668B (en) * 2014-09-26 2018-03-20 广州创维平面显示科技有限公司 A kind of video content continuous playing method and system
CN105872896A (en) * 2016-03-31 2016-08-17 乐视控股(北京)有限公司 Switching method and device of external connection loudspeaker
WO2019080065A1 (en) * 2017-10-26 2019-05-02 华为技术有限公司 Display method and apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04339386A (en) * 1991-05-16 1992-11-26 Sony Corp Disk reproducing device
JPH08317304A (en) * 1995-05-19 1996-11-29 Utec:Kk Television receiver
EP1791359A1 (en) * 2004-08-19 2007-05-30 Sony Computer Entertainment Inc. Picture reproducing aparatus and method, recording medium and picture reproducing program
CN104025559A (en) * 2011-12-30 2014-09-03 Gn奈康有限公司 Transferring of audio routing in a premises distribution network
CN107205192A (en) * 2017-07-28 2017-09-26 广州黑格智能科技有限公司 A kind of audio frequency playing method of ears wireless headset and ears wireless headset
CN109379491A (en) * 2018-09-30 2019-02-22 Oppo广东移动通信有限公司 Audio frequency playing method, device, electronic equipment and computer-readable medium
CN111698369A (en) * 2020-06-12 2020-09-22 赵辛 Music playing system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Android控制的蓝牙模块音频控制电路设计;黄春平;《单片机与嵌入式系统应用》;20190531;全文 *

Also Published As

Publication number Publication date
CN112188362A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
US9553972B2 (en) Method and system for reproducing contents, and computer-readable recording medium thereof
CN110622123B (en) Display method and device
US10674219B2 (en) Method and system for reproducing contents, and computer-readable recording medium thereof
CN107360458B (en) Play control method, device, storage medium and terminal
CN112188362B (en) Playing method, device and computer readable storage medium
CN108024128B (en) Control method and device for Bluetooth music playing, terminal equipment and storage medium
JP2017528009A (en) Method and apparatus for playing multimedia files
CN104519051A (en) Method and terminals for sharing multimedia data
CN104320735A (en) Sound box internally provided with projection module and projection curtain
WO2017032080A1 (en) Method and device for address book control and mobile terminal
CN104539999A (en) Multimedia data sharing method and terminal
CN107911777B (en) Processing method and device for return-to-ear function and mobile terminal
KR101876394B1 (en) Method and device for playing media data on a terminal
CN111385781B (en) File sharing method, smart watch, storage medium and electronic device
CN105912351A (en) Method and PC client for transferring application program from PC to mobile device
CN104104997A (en) Television silent starting control method, device and system
CN104284221B (en) A kind of method of information processing, wearable device and digital television devices
CN103945305A (en) Information processing method and electronic equipment
CN113746982B (en) Audio playing control method and device, electronic equipment and readable storage medium
US20160155280A1 (en) Information processing methods, electronic devices and wearable electronic devices
US20230297324A1 (en) Audio Control Method, System, and Electronic Device
AU2017202560B2 (en) Method and system for reproducing contents, and computer-readable recording medium thereof
CN115794634A (en) Communication method and device of application program, electronic equipment and storage medium
CN104159143A (en) Energy-saving media playing system and energy-saving media playing method
CN116847318A (en) Sound connection method, equipment and storage medium

Legal Events

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