CN113890752A - Audio playing method and device, storage medium and electronic equipment - Google Patents

Audio playing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113890752A
CN113890752A CN202111115340.5A CN202111115340A CN113890752A CN 113890752 A CN113890752 A CN 113890752A CN 202111115340 A CN202111115340 A CN 202111115340A CN 113890752 A CN113890752 A CN 113890752A
Authority
CN
China
Prior art keywords
target
module
account
platform
authorization information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111115340.5A
Other languages
Chinese (zh)
Other versions
CN113890752B (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202111115340.5A priority Critical patent/CN113890752B/en
Publication of CN113890752A publication Critical patent/CN113890752A/en
Application granted granted Critical
Publication of CN113890752B publication Critical patent/CN113890752B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Abstract

The application discloses an audio playing method, an audio playing device, a storage medium and electronic equipment, and relates to the technical field of Internet of things, wherein the method comprises the following steps: receiving a sharing authorization instruction for audio sharing aiming at a non-screen module of a target platform; according to the sharing authorization instruction, account authorization information of a target account is acquired from a third-party music platform, and the account authorization information is used for granting the permission for acquiring audio content across platforms; transmitting the account authorization information to the target non-screen module; and sending an audio playing instruction to the target screen-less module to trigger the target screen-less module to acquire the audio content granted with the authority from the third-party music platform in a cross-platform manner through the account authorization information for playing. This application effectively promotes the audio playback performance of the equipment that uses the no screen module, and the audio customization is broadcast with low costs moreover.

Description

Audio playing method and device, storage medium and electronic equipment
Technical Field
The application relates to the technical field of internet of things, in particular to an audio playing method, an audio playing device, a storage medium and electronic equipment.
Background
The screenless module is widely used in equipment such as a refrigerator and an air conditioner, and the voice function of the screenless module on the equipment is a trend of iterative upgrade, and it is generally desired to provide more convenient and personalized services on the voice function, wherein music playing is one of the services.
At present, normal users generally have own music on each large music platform, the music played by the conventional screen-free module group cannot be customized, the screen-free module group cannot be directly integrated with a development kit of each large music platform, the music data of the users in each large platform cannot be played, and the module group transformation is required to be carried out at the cost when the music of the users is required to be played.
Therefore, the audio playing performance of the existing equipment using the screen-free module is poor, and the audio customized playing cost is high.
Disclosure of Invention
The embodiment of the application provides a scheme, can effectively promote the audio playback performance who uses the equipment of no screen module, and audio customization broadcast is with low costs moreover.
In order to solve the above technical problem, an embodiment of the present application provides the following technical solutions:
according to an embodiment of the present application, an audio playing method includes: receiving a sharing authorization instruction for audio sharing aiming at a non-screen module of a target platform; according to the sharing authorization instruction, account authorization information of a target account is acquired from a third-party music platform, and the account authorization information is used for granting the permission for acquiring audio content across platforms; transmitting the account authorization information to the target non-screen module; and sending an audio playing instruction to the target screen-less module, and triggering the target screen-less module to acquire the audio content granted with the authority from the third-party music platform in a cross-platform manner through the account authorization information for playing.
In some embodiments of the present application, the obtaining account authorization information of the target account from the third-party music platform includes: and acquiring account authorization information of a target account from the third-party music platform through a music platform development kit integrated in the target application, wherein the music platform development kit corresponds to the third-party music platform.
In some embodiments of the present application, the obtaining, by a music platform development kit integrated in a target application, account authorization information of a target account from the third party music platform includes: registering or logging in the target account on the third-party music platform through a music platform development kit integrated in the target application; and obtaining user authorization login information corresponding to the target account from the third-party music platform as the account authorization information.
In some embodiments of the present application, the target screenless module establishes a network connection with a cloud; the transmitting the account authorization information to the target screen-less module includes: and uploading the account authorization information to the cloud end so as to transmit the account authorization information to the target non-screen module through the cloud end.
In some embodiments of the present application, the target screenless module is connected to a target local area network; the transmitting the account authorization information to the target screen-less module includes: and transmitting the account authorization information to the target non-screen module through the target local area network.
In some embodiments of the present application, the sending an audio playing instruction to the target screen-less module to trigger the target screen-less module to acquire, from the third-party music platform across platforms, the audio content granted with a right to be played through the account authorization information includes: and sending an audio playing instruction carrying music information to the target screen-free module to trigger the target screen-free module, requesting audio content matched with the music information and the account authorization information from the third-party music platform through a music platform interface, and playing the audio content.
In some embodiments of the present application, the sending an audio playing instruction carrying music information to the target screenless module includes: acquiring music description information of music to be played; coding the music description information to convert the music description information into music information matched with the third-party music platform; and sending the audio playing instruction carrying the music information to the target screenless module.
According to an embodiment of the present application, an audio playback apparatus, the apparatus comprising: the receiving module is used for receiving a sharing authorization instruction for audio sharing aiming at a non-screen module of a target platform; the acquisition module is used for acquiring account authorization information of a target account from a third-party music platform according to the sharing authorization instruction, wherein the account authorization information is used for granting the permission for acquiring audio content across platforms; the transmission module is used for transmitting the account authorization information to the target non-screen module; and the playing module is used for sending an audio playing instruction to the target screen-free module, triggering the target screen-free module to acquire the audio content granted with the authority from the third-party music platform in a cross-platform manner through the account authorization information, and playing the audio content.
According to another embodiment of the present application, a storage medium has stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method of an embodiment of the present application.
According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; and the processor reads the computer program stored in the memory to execute the method in the embodiment of the application.
In the embodiment of the application, a sharing authorization instruction for audio sharing of a non-screen module of a target platform is received; according to the sharing authorization instruction, account authorization information of a target account is acquired from a third-party music platform, and the account authorization information is used for granting the permission for acquiring audio content across platforms; transmitting account authorization information to a target screen-free module; and sending an audio playing instruction to the target non-screen module to trigger the target non-screen module to acquire the audio content granted with the authority from the third-party music platform in a cross-platform mode through account authorization information for playing.
In this way, the account authorization information of the target account is acquired from the third-party music platform and then transmitted to the target screen-free module, the target object module can acquire audio content from the third-party music platform across platforms through the account authorization information to play, customized playing of audio in the screen-free module is achieved, and the audio in the target account of the user can be played in a customized mode. And then effectively promote the audio playback performance of the equipment that uses the no screen module, audio customization broadcast cost is low simultaneously.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 shows a schematic diagram of a system to which embodiments of the present application may be applied.
Fig. 2 shows a flow chart of an audio playback method according to an embodiment of the application.
Fig. 3 shows a block diagram of an audio playback device according to an embodiment of the application.
FIG. 4 shows a block diagram of an electronic device according to an embodiment of the application.
Detailed Description
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 only a part of the embodiments of the present application, and not all of the 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 description that follows, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing unit of the computer in electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, the principles of the present application are described in the foregoing text and are not meant to be limiting, as those of ordinary skill in the art will appreciate that various steps and operations described below may be implemented in hardware.
FIG. 1 shows a schematic diagram of a system 100 to which embodiments of the present application may be applied. As shown in fig. 1, the system 100 may include a cloud server 101, a terminal 102, a network device 103, a device 104 (a wireless module is disposed on the device 104), and a platform server 105 corresponding to a third-party music platform.
The network device 103 may be a router, wifi device, or other network connection device. The device 104 (the target non-screen module set on the device 104) may be any household device, such as a refrigerator, an air conditioner, a humidifier, and the like. The terminal 102 may be any computer device, such as a computer, a mobile phone, etc. The cloud server 101 is a server providing cloud services. The platform server 105 may be a cloud server, a stand-alone physical server or a cluster of servers, etc.
In an implementation manner of this example, the terminal 102 may: receiving a sharing authorization instruction for audio sharing of a target screenless module of a target platform; according to the sharing authorization instruction, account authorization information of a target account is acquired from a third-party music platform, and the account authorization information is used for granting the permission for acquiring audio content across platforms; transmitting the account authorization information to a target screen-free module; and sending an audio playing instruction to the target screen-free module, and triggering the target screen-free module to acquire the audio content granted with the authority from the third-party music platform in a cross-platform manner through the account authorization information for playing.
The account authorization information of the target account obtained from the third-party music platform may be obtained from the platform server 105 corresponding to the third-party music platform through the network device 103. The account authorization information may be transmitted to a target non-screen module, and the account authorization information may be uploaded to the cloud (i.e., the cloud server 101), so that the account authorization information is transmitted to the target non-screen module through the cloud. The target screenless module acquires the audio content from the third-party music platform through the account authorization information for playing, or the target screenless module acquires the audio content from the platform server 105 corresponding to the third-party music platform through the account authorization information for playing.
Fig. 2 schematically shows a flow chart of an audio playback method according to an embodiment of the application. The execution subject of the audio playing method may be any device, such as the terminal 102 shown in fig. 1.
As shown in fig. 2, the audio playing method may include steps S210 to S230.
Step S210, receiving a sharing authorization instruction for audio sharing aiming at a target non-screen module of a target platform;
step S220, according to the sharing authorization instruction, obtaining account authorization information of a target account from a third-party music platform, wherein the account authorization information is used for granting the permission for obtaining the audio content across platforms;
step S230, transmitting the account authorization information to a target screen-free module;
step S240, sending an audio playing instruction to the target non-screen module, and triggering the target non-screen module to acquire, from the third-party music platform, an audio content granted with a permission from a cross-platform through the account authorization information for playing.
The target platform may be a certain internet of things platform, for example, an internet of things platform built by a certain manufacturer, a local terminal (e.g., the terminal 102 in fig. 1) may run a target application (e.g., an internet of things application adapted to the target platform itself) interacting with the target platform, and the target application may receive a sharing authorization instruction for audio sharing for a target screenless module of the target platform.
The third party music platform may be any music platform. The target account is the user account registered in the third-party music platform. The account authorization information is authorization information of a permission granted by a target account for legally obtaining the audio content from the third-party music platform, and the account authorization information may be user authorization login information or a specific authorization code and the like.
The target application may obtain corresponding account authorization information from a platform server (e.g., the platform server 105 shown in fig. 1) corresponding to the third-party music platform according to the account information of the target account.
After the account authorization information is obtained, the account authorization information can be transmitted to the target screen-less module through a cloud, a local area network, an infrared channel and the like.
After receiving the account authorization information, the target screenless module can legally and conveniently request the audio content granted with the authority to be played from a server corresponding to the third-party music platform in a cross-platform mode based on the account authorization information.
Furthermore, the account authorization information of the target account is acquired from the third-party music platform and then transmitted to the target screen-free module, the target object module can acquire audio content from the third-party music platform through the account authorization information to play, customized playing of audio in the screen-free module is achieved, and the audio in the target account of the user can be played in a customized mode. And then effectively promote the audio playback performance of the equipment that uses the no screen module, audio customization broadcast cost is low simultaneously. Particularly, the audio playing performance of the household appliance using the screen-free module can be effectively improved, and meanwhile, the audio customized playing cost is low.
The following describes a specific process of each step performed when audio playback is performed.
In step S210, a sharing authorization instruction for audio sharing of a target screenless module of a target platform is received.
In this example embodiment, the target platform may be a certain internet of things platform, for example, an internet of things platform built by a certain manufacturer, and a local terminal (e.g., the terminal 102 in fig. 1) may run a target application interacting with the target platform.
The local terminal can receive a sharing authorization instruction for audio sharing for a target non-screen module of a target platform through the target application, for example, a user can select the target non-screen module in the target application and click a confirmation control to generate the sharing authorization instruction, or after receiving a voice command for controlling the target non-screen module of the target platform, the local terminal generates the sharing authorization instruction through voice recognition, and then receives the sharing authorization instruction in the local terminal.
In step S220, according to the sharing authorization instruction, account authorization information of the target account is acquired from the third-party music platform, where the account authorization information is used to grant an authority to acquire audio content across platforms.
In the exemplary embodiment, the third party music platform may be any music platform. The target account is the user account registered in the third-party music platform. The account authorization information is authorization information of a permission granted by a target account for legally obtaining the audio content from the third-party music platform, and the account authorization information may be user authorization login information or a specific authorization code and the like.
The target application may obtain corresponding account authorization information from a platform server (e.g., the platform server 105 shown in fig. 1) corresponding to the third-party music platform according to the account information of the target account.
In one embodiment, step S220 is implemented to acquire account authorization information of a target account from a third-party music platform, where the account authorization information includes: and acquiring account authorization information of the target account from a third-party music platform through a music platform development kit integrated in the target application, wherein the music platform development kit corresponds to the third-party music platform.
The target application can be an internet of things application adaptive to the target platform, namely the target application can be an application matched with a target screen-free module of the target platform at will, the target screen-free module can also be used for installing the module application adaptive to the target platform, and then the target application in the local terminal can send account authorization information to the module application in the target screen-free module. In one example, the target non-screen module is a non-screen module on a home device (e.g., a refrigerator), and then the target application is a home application (e.g., a refrigerator application), and the home application may also be installed in the target non-screen module.
The music platform development kit is the SDK, and the music platform development kit is integrated in the target application, so that the music platform development kit of a third-party music platform can be conveniently integrated in the application matched with the screen-free module, and the account authorization information of the target account can be conveniently and legally acquired from the third-party music platform through the music platform development kit.
In one embodiment, acquiring account authorization information of a target account from a third-party music platform through a music platform development kit integrated in a target application includes:
registering or logging in a target account number on a third-party music platform through a music platform development kit integrated in a target application; and obtaining user authorization login information corresponding to the target account from the third-party music platform as account authorization information.
The user authorized login information is login information used for a user to log in a platform server corresponding to the third-party music platform, such as an account number, a password, a mobile phone number and the like. The user authorized login information uniquely corresponds to the target account, and the user authorized login information remains unchanged for a long time.
If the user applies for account authorization information for the first time, the user can register a target account on a third-party music platform through a music platform development kit on a target application, and can acquire corresponding user authorization login information as account authorization information after registering the target account. If the user does not apply for account authorization information for the first time, the user can log in a target account on a third-party music platform through a music platform development kit on the target application, and can acquire corresponding user authorization login information as account authorization information after registering the target account.
In one embodiment, acquiring account authorization information of a target account from a third-party music platform through a music platform development kit integrated in a target application includes:
registering or logging in a target account number on a third-party music platform through a music platform development kit integrated in a target application; and acquiring a specific authorization code corresponding to the target account from the third-party music platform as account authorization information.
The specific authorization code, namely the authorization code granted by the third-party music platform, is different from the authorization login information of the user, and the specific authorization code applied by the user every time the user applies the account authorization information to the third-party music platform may be different but uniquely corresponds to the target account.
In step S230, the account authorization information is transmitted to the target screenless module.
In the embodiment of the present example, after the account authorization information is obtained, the account authorization information may be transmitted to the target screen-less module through a cloud, a local area network, an infrared channel, and the like.
The local terminal can install target application, the target application can be internet of things application of self adaptation of a target platform, namely the target application can be any application matched with a target screen-free module of the target platform, the target screen-free module can also install module application of the adaptation of the target platform, and then the target application in the local terminal can send account authorization information to module application in the target screen-free module through a cloud end, a local area network, an infrared channel and the like.
In one embodiment, the target screenless module establishes network connection with the cloud; step S230, transmitting the account authorization information to the target screenless module, including: and uploading the account authorization information to a cloud end so as to transmit the account authorization information to the target screen-free module through the cloud end.
The target wireless module and a cloud (such as the cloud server 101 shown in fig. 1) establish a network connection through a network device, at this time, the account authorization information can be uploaded to the cloud through the network device, and the account authorization information is issued to the target wireless module through the cloud.
In one embodiment, the target screenless module is connected to a target local area network; step S230, transmitting the account authorization information to the target screenless module, including: and transmitting the account authorization information to the target screen-free module through the target local area network.
The target screen-less module is connected to a target local area network (for example, a local area network under the action of the network device 103 shown in fig. 1), and at this time, the account authorization information may be directly transmitted to the target screen-less module through the target local area network.
In step S240, an audio playing instruction is sent to the target non-screen module, and the target non-screen module is triggered to acquire, from the third-party music platform, the audio content granted with the permission across the platform through the account authorization information for playing.
In the embodiment of the present example, after the target screenless module of the target platform receives the account authorization information, the target screenless module may, without integrating a music platform development kit of the third-party music platform, legally and conveniently request, across platforms, the audio content granted with the right from the server corresponding to the third-party music platform based on the account authorization information to be played.
In one embodiment, step S240 is to send an audio playing instruction to the target non-screen module to trigger the target non-screen module to acquire, from the third-party music platform, the audio content granted with the right across platforms through account authorization information, and includes:
and sending an audio playing instruction carrying music information to the target screen-free module to trigger the target screen-free module, requesting the music information and the audio content matched with the account authorization information from the third-party music platform through the music platform interface, and playing the audio content.
The music information can be catalog information such as music hobbies and collections or music description information such as music names, and after the user selects the music description information by triggering the related control on the target application, an audio playing instruction carrying the music information can be generated, and then the audio playing instruction can be sent to the target screen-free module through a cloud end, a local area network, an infrared channel and the like.
After receiving the audio playing instruction, the target screenless module may request the audio content (e.g., the audio content of the music in the user's favorite column in the target account) with the music information and the account authorization information matched from the third-party music platform through the music platform interface, and play the audio content. The third-party music platform receives the account authorization information and judges that the no-screen playing module has the authority to acquire the audio content.
In one embodiment, sending an audio playing instruction carrying music information to a target screenless module includes: acquiring music description information of music to be played; coding the music description information to convert the music description information into music information matched with a third-party music platform; and sending an audio playing instruction carrying music information to the target screenless module.
The music description information may be catalog information such as music preference and collection or information such as music name. The music description information is encoded and converted into music information matched with a third-party music platform (for example, information in a specific format when audio content is requested, which is agreed in the third-party music platform), and then an audio playing instruction carrying the music information is sent to the target screen-free module, so that the target object module can request the third-party music platform for the audio content without processing, and the processing load of the screen-free module is further reduced.
In one embodiment, the music description information may be directly used as the music information.
In this way, based on steps S210 to S230, the account authorization information of the target account is acquired from the third-party music platform and then transmitted to the target screenless module, and the target article module may acquire audio content from the third-party music platform through the account authorization information to play, so that customized play of audio in the screenless module is realized, and the audio in the target account of the user can be customized and played. And then effectively promote the audio playback performance of the equipment that uses the no screen module, audio customization broadcast cost is low simultaneously.
In order to better implement the audio playing method provided by the embodiment of the present application, an embodiment of the present application further provides an audio playing device based on the audio playing method. Wherein the meaning of the noun is the same as that in the above audio playing method, and the specific implementation details can refer to the description in the method embodiment. Fig. 3 shows a block diagram of an audio playback device according to an embodiment of the application.
As shown in fig. 3, the audio playing apparatus 300 may include a receiving module 310, an obtaining module 320, a transmitting module 330, and a playing module 340.
The receiving module 310 may be configured to receive a sharing authorization instruction for audio sharing for a screenless module of a target platform; the obtaining module 320 may be configured to obtain account authorization information of a target account from a third-party music platform according to the sharing authorization instruction, where the account authorization information is used to grant an authority to obtain audio content across platforms; the transmission module 330 may be configured to transmit the account authorization information to the target non-screen module; the playing module 340 may be configured to send an audio playing instruction to the target screenless module, and trigger the target screenless module to acquire, from the third-party music platform across platforms, the audio content granted with the permission for playing through the account authorization information.
In some embodiments of the present application, the obtaining module 320 includes: the information acquisition unit is used for acquiring account authorization information of a target account from a third-party music platform through a music platform development kit integrated in a target application, wherein the music platform development kit corresponds to the third-party music platform.
In some embodiments of the present application, the information obtaining unit is configured to: registering or logging in the target account on the third-party music platform through a music platform development kit integrated in the target application; and obtaining user authorization login information corresponding to the target account from the third-party music platform as the account authorization information.
In some embodiments of the present application, the target screenless module establishes a network connection with a cloud; the transmission module 330 includes: the first transmission unit is used for uploading the account authorization information to the cloud end so as to transmit the account authorization information to the target screen-free module through the cloud end.
In some embodiments of the present application, the target screenless module is connected to a target local area network; the transmission module 330 includes: and the second transmission unit is used for transmitting the account authorization information to the target non-screen module through the target local area network.
In some embodiments of the present application, the playing module 340 includes: and the playing indication unit is used for sending an audio playing instruction carrying music information to the target screen-free module so as to trigger the target screen-free module, requesting audio content matched with the music information and the account authorization information from the third-party music platform through a music platform interface, and playing the audio content.
In some embodiments of the present application, the play instruction unit is configured to: acquiring music description information of music to be played; coding the music description information to convert the music description information into music information matched with the third-party music platform; and sending the audio playing instruction carrying the music information to the target screenless module.
In this way, based on the audio playing device 300, the account authorization information of the target account is acquired from the third-party music platform and then transmitted to the target screenless module, and the target object module can acquire audio content from the third-party music platform through the account authorization information to play, so that customized playing of audio in the screenless module is realized, and the audio in the target account of the user can be customized and played. And then effectively promote the audio playback performance of the equipment that uses the no screen module, audio customization broadcast cost is low simultaneously.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In addition, an embodiment of the present application further provides an electronic device, where the electronic device may be a terminal or a server, as shown in fig. 4, which shows a schematic structural diagram of the electronic device according to the embodiment of the present application, and specifically:
the electronic device may include components such as a processor 401 of one or more processing cores, memory 402 of one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 4 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 401 is a control center of the electronic device, connects various parts of the entire computer device using various interfaces and lines, and performs various functions of the computer device and processes data by operating or executing software programs and/or modules stored in the memory 402 and calling data stored in the memory 402, thereby integrally monitoring the electronic device. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user pages, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by operating the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the computer device, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 access to the memory 402.
The electronic device further comprises a power supply 403 for supplying power to the various components, and preferably, the power supply 403 is logically connected to the processor 401 through a power management system, so that functions of managing charging, discharging, and power consumption are realized through the power management system. The power supply 403 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The electronic device may further include an input unit 404, and the input unit 404 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the electronic device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 401 in the electronic device loads the executable file corresponding to the process of one or more computer programs into the memory 402 according to the following instructions, and the processor 401 runs the computer program stored in the memory 402, so as to implement various functions, for example, the processor 401 may execute the following steps:
receiving a sharing authorization instruction for audio sharing of a target screenless module of a target platform; according to the sharing authorization instruction, account authorization information of a target account is acquired from a third-party music platform, and the account authorization information is used for granting the permission for acquiring audio content across platforms; transmitting the account authorization information to the target non-screen module; and sending an audio playing instruction to the target screen-less module, and triggering the target screen-less module to acquire the audio content granted with the authority from the third-party music platform in a cross-platform manner through the account authorization information for playing.
In some embodiments of the present application, when the account authorization information of the target account is acquired from the third-party music platform, the processor 401 may perform: and acquiring account authorization information of a target account from the third-party music platform through a music platform development kit integrated in the target application, wherein the music platform development kit corresponds to the third-party music platform.
In some embodiments of the present application, when the account authorization information of the target account is acquired from the third party music platform through a music platform development kit integrated in the target application, the processor 401 may perform: registering or logging in the target account on the third-party music platform through a music platform development kit integrated in the target application; and obtaining user authorization login information corresponding to the target account from the third-party music platform as the account authorization information.
In some embodiments of the present application, the target screenless module establishes a network connection with a cloud; when the account authorization information is transmitted to the target screenless module, the processor 401 may execute: and uploading the account authorization information to the cloud end so as to transmit the account authorization information to the target non-screen module through the cloud end.
In some embodiments of the present application, the target screenless module is connected to a target local area network; when the account authorization information is transmitted to the target screenless module, the processor 401 may execute: and transmitting the account authorization information to the target non-screen module through the target local area network.
In some embodiments of the present application, when sending an audio playing instruction to the target screenless module, and triggering the target screenless module to acquire, from the third-party music platform across platforms, the audio content granted with the permission for playing through the account authorization information, the processor 401 may execute: and sending an audio playing instruction carrying music information to the target screen-free module to trigger the target screen-free module, requesting audio content matched with the music information and the account authorization information from the third-party music platform through a music platform interface, and playing the audio content.
In some embodiments of the present application, when the audio playing instruction carrying the music information is sent to the target screenless module, the processor 401 may perform: acquiring music description information of music to be played; coding the music description information to convert the music description information into music information matched with the third-party music platform; and sending the audio playing instruction carrying the music information to the target screenless module.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by a computer program, which may be stored in a computer-readable storage medium and loaded and executed by a processor, or by related hardware controlled by the computer program.
To this end, the present application further provides a storage medium, in which a computer program is stored, where the computer program can be loaded by a processor to execute the steps in any one of the methods provided in the present application.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the computer program stored in the storage medium can execute the steps in any method provided in the embodiments of the present application, the beneficial effects that can be achieved by the methods provided in the embodiments of the present application can be achieved, for details, see the foregoing embodiments, and are not described herein again.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains.
It will be understood that the present application is not limited to the embodiments that have been described above and shown in the drawings, but that various modifications and changes can be made without departing from the scope thereof.

Claims (10)

1. An audio playing method, the method comprising:
receiving a sharing authorization instruction for audio sharing of a target screenless module of a target platform;
according to the sharing authorization instruction, account authorization information of a target account is acquired from a third-party music platform, and the account authorization information is used for granting the permission for acquiring audio content across platforms;
transmitting the account authorization information to the target non-screen module;
and sending an audio playing instruction to the target screen-less module, and triggering the target screen-less module to acquire the audio content granted with the authority from the third-party music platform in a cross-platform manner through the account authorization information for playing.
2. The method of claim 1, wherein the obtaining account authorization information of the target account from the third-party music platform comprises:
and acquiring account authorization information of a target account from the third-party music platform through a music platform development kit integrated in the target application, wherein the music platform development kit corresponds to the third-party music platform.
3. The method of claim 2, wherein the obtaining account authorization information of the target account from the third-party music platform through a music platform development kit integrated in the target application comprises:
registering or logging in the target account on the third-party music platform through a music platform development kit integrated in the target application;
and obtaining user authorization login information corresponding to the target account from the third-party music platform as the account authorization information.
4. The method of claim 1, wherein the target screenless module establishes a network connection with a cloud;
the transmitting the account authorization information to the target screen-less module includes:
and uploading the account authorization information to the cloud end so as to transmit the account authorization information to the target non-screen module through the cloud end.
5. The method of claim 1, wherein the target screenless module is connected to a target local area network;
the transmitting the account authorization information to the target screen-less module includes:
and transmitting the account authorization information to the target non-screen module through the target local area network.
6. The method according to claim 1, wherein the sending an audio playing instruction to the target screenless module, triggering the target screenless module to acquire the audio content granted with the right from the third party music platform across platforms through the account authorization information, comprises:
and sending an audio playing instruction carrying music information to the target screen-free module to trigger the target screen-free module, requesting audio content matched with the music information and the account authorization information from the third-party music platform through a music platform interface, and playing the audio content.
7. The method of claim 6, wherein the sending an audio playing instruction carrying music information to the target screenless module comprises:
acquiring music description information of music to be played;
coding the music description information to convert the music description information into music information matched with the third-party music platform;
and sending the audio playing instruction carrying the music information to the target screenless module.
8. An audio playback apparatus, comprising:
the receiving module is used for receiving a sharing authorization instruction for audio sharing aiming at a non-screen module of a target platform;
the acquisition module is used for acquiring account authorization information of a target account from a third-party music platform, wherein the account authorization information is used for granting the permission for acquiring audio content across platforms;
the transmission module is used for transmitting the account authorization information to the target non-screen module;
and the playing module is used for sending an audio playing instruction to the target screen-free module, triggering the target screen-free module to acquire the audio content granted with the authority from the third-party music platform in a cross-platform manner through the account authorization information, and playing the audio content.
9. A storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method of any one of claims 1 to 7.
10. An electronic device, comprising: a memory storing a computer program; a processor reading a computer program stored in the memory to perform the method of any of claims 1 to 7.
CN202111115340.5A 2021-09-23 2021-09-23 Audio playing method and device, storage medium and electronic equipment Active CN113890752B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111115340.5A CN113890752B (en) 2021-09-23 2021-09-23 Audio playing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111115340.5A CN113890752B (en) 2021-09-23 2021-09-23 Audio playing method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113890752A true CN113890752A (en) 2022-01-04
CN113890752B CN113890752B (en) 2024-02-06

Family

ID=79010332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111115340.5A Active CN113890752B (en) 2021-09-23 2021-09-23 Audio playing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113890752B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248683A (en) * 2013-04-28 2013-08-14 中国地质大学(武汉) IOT cloud music speaker and audio data play method thereof
US20130346859A1 (en) * 2012-06-26 2013-12-26 Paul Bates Systems, Methods, Apparatus, and Articles of Manufacture to Provide a Crowd-Sourced Playlist with Guest Access
CN104065718A (en) * 2014-06-19 2014-09-24 深圳米唐科技有限公司 Method and system for achieving social sharing through intelligent loudspeaker box
CN105825101A (en) * 2016-05-11 2016-08-03 百度在线网络技术(北京)有限公司 Account number management method and device for smart home platform
CN106341489A (en) * 2016-10-09 2017-01-18 珠海我爱拍科技有限公司 Control system for remote interaction with intelligent Internet of things equipment through webpage
US20190012134A1 (en) * 2017-07-05 2019-01-10 Baidu Online Network Technology (Beijing) Co., Ltd. Audio playing method,apparatus, device and server
CN110049125A (en) * 2019-04-18 2019-07-23 珠海迈科智能科技股份有限公司 The multiple terminals audio of intelligent sound box is shared and Multi-screen interaction system and implementation method
US20200059477A1 (en) * 2018-08-20 2020-02-20 Jpmorgan Chase Bank, N.A. Systems and methods for binding authorization to a proxy using a get/authorize url through a native application

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130346859A1 (en) * 2012-06-26 2013-12-26 Paul Bates Systems, Methods, Apparatus, and Articles of Manufacture to Provide a Crowd-Sourced Playlist with Guest Access
CN103248683A (en) * 2013-04-28 2013-08-14 中国地质大学(武汉) IOT cloud music speaker and audio data play method thereof
CN104065718A (en) * 2014-06-19 2014-09-24 深圳米唐科技有限公司 Method and system for achieving social sharing through intelligent loudspeaker box
CN105825101A (en) * 2016-05-11 2016-08-03 百度在线网络技术(北京)有限公司 Account number management method and device for smart home platform
CN106341489A (en) * 2016-10-09 2017-01-18 珠海我爱拍科技有限公司 Control system for remote interaction with intelligent Internet of things equipment through webpage
US20190012134A1 (en) * 2017-07-05 2019-01-10 Baidu Online Network Technology (Beijing) Co., Ltd. Audio playing method,apparatus, device and server
US20200059477A1 (en) * 2018-08-20 2020-02-20 Jpmorgan Chase Bank, N.A. Systems and methods for binding authorization to a proxy using a get/authorize url through a native application
CN110049125A (en) * 2019-04-18 2019-07-23 珠海迈科智能科技股份有限公司 The multiple terminals audio of intelligent sound box is shared and Multi-screen interaction system and implementation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
教学助手: "小度怎么绑定音乐平台", pages 1 - 2, Retrieved from the Internet <URL:https://www.pc6.com/video/26784.html> *

Also Published As

Publication number Publication date
CN113890752B (en) 2024-02-06

Similar Documents

Publication Publication Date Title
US20170230696A1 (en) Device registration process from a second display
CN112199652B (en) Login method, terminal, server, system, medium and equipment of application program
US8601546B2 (en) Apparatus, methods, and computer program products for providing portable communication identity services
US11716516B2 (en) Validating parameters on discrete computing applications to grant access control to content or commands
CN105453126A (en) Application sharing service method and apparatus applied thereto
CN113672748A (en) Multimedia information playing method and device
WO2008042341A2 (en) Systems, devices, and methods for remote access
KR20080089851A (en) Server based bodiless computer
US8620520B2 (en) Method for controlling devices, and a device in a communications network in a motor vehicle
CN114143371A (en) Screen projection method and device, storage medium and electronic equipment
CN105491153A (en) Sharing method and device and mobile terminal
CN109948332A (en) A kind of physical machine login password remapping method and device
CN113890752B (en) Audio playing method and device, storage medium and electronic equipment
US20090055402A1 (en) Method and apparatus to automatically receive and/or transmit contents
GB2623466A (en) Device network distribution method, apparatus, storage medium, and electronic device
KR100638207B1 (en) Server-Client system and its method for the same
JP4543432B2 (en) Electronic music apparatus, server and program
WO2007054866A2 (en) Method and apparatus for managing tasks
CN114090054A (en) Intelligent equipment upgrading method and device, storage medium and electronic equipment
WO2010050934A1 (en) Media shadow files and system
KR100555935B1 (en) Mutimedia Player and User PC&#39;s Remote Access Controlling System and Remote Access Control Method
CN117041353B (en) Task processing method and device, electronic equipment and storage medium
JP2019023838A (en) Information processing device, information processing method, and program
CN113794929A (en) Audio and video sharing method and device, storage medium and electronic equipment
CN113890872B (en) Data set uploading method and device, electronic 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