CN113890752B - 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
CN113890752B
CN113890752B CN202111115340.5A CN202111115340A CN113890752B CN 113890752 B CN113890752 B CN 113890752B CN 202111115340 A CN202111115340 A CN 202111115340A CN 113890752 B CN113890752 B CN 113890752B
Authority
CN
China
Prior art keywords
target
platform
account
music
screen module
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
CN202111115340.5A
Other languages
Chinese (zh)
Other versions
CN113890752A (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

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, acquiring account authorization information of a target account from a third-party music platform, wherein the account authorization information is used for granting cross-platform permission to acquire audio content; transmitting the account authorization information to the target non-screen 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 manner through the account authorization information for playing. The audio playing performance of equipment using the screen-free module is effectively improved, and the audio customization playing cost is low.

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 non-screen module is widely used in refrigerators, air conditioners and other devices, and the voice function of the non-screen module on the devices is a trend of iterative upgrade, so that more convenient and personalized services are generally expected to be provided on the voice function, wherein music playing is one of the services.
At present, a normal user generally has own music on each big music platform, the conventional screen-free module cannot customize the music, the screen-free module cannot directly integrate a development kit of each big music platform, the music data of the user in each big music platform cannot be taken for playing, and the module transformation is required when the music of the user needs to be played.
Therefore, the existing equipment using the screen-free module has poor audio playing performance and high audio customized playing cost.
Disclosure of Invention
The embodiment of the application provides a scheme, which can effectively improve the audio playing performance of equipment using the screen-free module and has low audio customization playing cost.
In order to solve the technical problems, the embodiment of the application provides the following technical scheme:
according to one 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, acquiring account authorization information of a target account from a third-party music platform, wherein the account authorization information is used for granting cross-platform permission to acquire audio content; transmitting the account authorization information to the target non-screen module; and sending an audio playing instruction to the target non-screen module, and triggering the target non-screen module to obtain 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 acquiring, by using 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 number on the third-party music platform through a music platform development kit integrated in the target application; and acquiring user authorization login information corresponding to the target account number from the third-party music platform as the account number authorization information.
In some embodiments of the present application, the target non-screen module establishes a network connection with a cloud; the transmitting the account authorization information to the target non-screen module comprises the following steps: 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 non-screen module comprises the following steps: 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 non-screen module to trigger the target non-screen module to obtain, through the account authorization information, the audio content granted with the permission from the third party music platform in a cross-platform manner for playing includes: and sending an audio playing instruction carrying music information to the target non-screen module to trigger the target non-screen module, requesting audio contents 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 contents.
In some embodiments of the present application, the sending, to the target non-screen module, an audio playing instruction carrying music information includes: acquiring music description information of music to be played; encoding 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 non-screen module.
According to one embodiment of the present application, an audio playing device, the device comprises: the receiving module is used for receiving a sharing authorization instruction for audio sharing aiming at the non-screen module of the 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 permission of 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 non-screen module and triggering the target non-screen 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 so as to play 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 described in the embodiments 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 according to the embodiment of the application.
In the embodiment of the application, a sharing authorization instruction for audio sharing is received aiming at a non-screen module of a target platform; according to the sharing authorization instruction, acquiring account authorization information of a target account from a third-party music platform, wherein the account authorization information is used for granting cross-platform permission to acquire audio content; transmitting account authorization information to a target non-screen 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 manner 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 non-screen module, and the target object module can acquire audio content from the third-party music platform in a cross-platform manner through the account authorization information for playing, so that the customized playing of the audio in the non-screen module is realized, and the audio in the target account of the user can be customized played. And furthermore, the audio playing performance of equipment using the screen-free module is effectively improved, and the audio customized playing cost is low.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
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 playing method according to one embodiment of the present application.
Fig. 3 shows a block diagram of an audio playback device according to an embodiment of the present application.
Fig. 4 shows a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In the following description, specific embodiments of the present application will be described with reference to steps and symbols performed by one or more computers, unless otherwise indicated. Thus, these steps and operations will be referred to in several instances as being performed by a computer, which as referred to herein performs operations that include processing units by the computer that represent electronic signals that represent data in a structured form. This operation transforms the data or maintains it in place in the memory system of the computer, which may be reconfigured or otherwise altered in ways well known to those skilled in the art. The data structure maintained by the data is the physical location of the memory, which has specific 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, and one skilled in the art will recognize that various steps and operations described below may also 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 device 104 is provided with a non-screen module), and a platform server 105 corresponding to a third party music platform.
The network device 103 may be a network connection device such as a router, wifi device, or the like. The device 104 (the target non-screen module set on the device 104) may be any home appliance, 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 cell phone, etc. The cloud server 101 is a server that provides cloud services. The platform server 105 may be a cloud server, a stand-alone physical server, or a cluster of servers, etc.
In one implementation of this example, the terminal 102 may: receiving a sharing authorization instruction for audio sharing aiming at a target non-screen module of a target platform; according to the sharing authorization instruction, acquiring account authorization information of a target account from a third-party music platform, wherein the account authorization information is used for granting cross-platform permission to acquire audio content; transmitting the account authorization information to a target non-screen module; and sending an audio playing instruction to the target non-screen module, and triggering the target non-screen 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 obtaining the account authorization information of the target account from the third-party music platform may be obtaining the account authorization information of the target account 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 the target non-screen module, or 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 non-screen module obtains the audio content from the third-party music platform through the account authorization information to play, which may be that the target non-screen module obtains the audio content from the platform server 105 corresponding to the third-party music platform through the account authorization information to play.
Fig. 2 schematically shows a flow chart of an audio playing method according to an embodiment of the present application. The main implementation body of the audio playing method may be any device, for example, a home 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, acquiring account authorization information of a target account from a third party music platform, wherein the account authorization information is used for granting permission of acquiring audio content in a cross-platform manner;
step S230, transmitting the account authorization information to a target non-screen module;
step S240, an audio playing instruction is sent to the target non-screen module, and the target non-screen module is triggered to obtain 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 target platform may be a certain internet of things platform, for example, an internet of things platform set up by a certain manufacturer, and a target application (for example, an internet of things application adapted by the target platform) interacting with the target platform may be run on a local terminal (for example, a terminal 102 in fig. 1), and a sharing authorization instruction for performing audio sharing on a target non-screen module of the target platform may be received through the target application.
The third party music platform may be any music platform. The target account number is a user account number registered in the third party music platform. The account authorization information is authorization information of the right granted to the target account for legally acquiring the audio content from the third party music platform, and the account authorization information can be user authorization login information or a specific authorization code and the like.
The corresponding account authorization information can be obtained from a platform server (for example, the platform server 105 shown in fig. 1) corresponding to the third-party music platform according to the account information of the target account through the target application.
After the account authorization information is obtained, the account authorization information can be transmitted to the target non-screen module through a cloud, a local area network, an infrared channel and the like.
After receiving the account authorization information, the target non-screen module can legally and conveniently request the audio content granted with the authority to play from the server corresponding to the third-party music platform based on the account authorization information.
And then, the account authorization information of the target account is acquired from the third-party music platform and then transmitted to the target non-screen module, and the target object module can acquire the audio content from the third-party music platform through the account authorization information for playing, so that the customized playing of the audio in the non-screen module is realized, and the audio in the target account of the user can be customized played. And furthermore, the audio playing performance of equipment using the screen-free module is effectively improved, and the audio customized playing cost is low. Particularly, the audio playing performance of the household appliance using the non-screen module can be effectively improved, and meanwhile, the audio customized playing cost is low.
The specific procedure of each step performed when audio playback is performed is described below.
In step S210, a sharing authorization instruction for audio sharing is received for the target non-screen module of the target platform.
In this example embodiment, the target platform may be a certain internet of things platform, for example, an internet of things platform set up by a certain manufacturer, and the local terminal (such as the terminal 102 in fig. 1) may run a target application that interacts with the target platform.
The local terminal can receive a sharing authorization instruction for audio sharing by the target non-screen module of the 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 sharing authorization instruction is generated through voice recognition, and then the sharing authorization instruction is received in the local terminal.
In step S220, according to the sharing authorization instruction, account authorization information of the target account is obtained from the third party music platform, where the account authorization information is used to grant permission to obtain audio content across platforms.
In the embodiment of the present example, the third party music platform may be any music platform. The target account number is a user account number registered in the third party music platform. The account authorization information is authorization information of the right granted to the target account for legally acquiring the audio content from the third party music platform, and the account authorization information can be user authorization login information or a specific authorization code and the like.
The corresponding account authorization information can be obtained from a platform server (for example, the platform server 105 shown in fig. 1) corresponding to the third-party music platform according to the account information of the target account through the target application.
In one embodiment, step S220, obtaining account authorization information of the target account from the third party music platform 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 adapted to the target platform, namely the target application can be any application matched with a target non-screen module of the target platform, the target non-screen module can also be provided with a module application adapted to the target platform, and further the target application in the local terminal can send account authorization information to the module application in the target non-screen module. In one example, the target non-screen module is a non-screen module on a home device (such as a refrigerator), and then the target application is a home application (such as a refrigerator application), and the target non-screen module can also install the home application.
The music platform development kit, namely the SDK, can be conveniently integrated in the application matched with the screen-free module by integrating the music platform development kit in the target application, and further can conveniently and legally acquire account authorization information of the target account from the third-party music platform through the music platform development kit.
In one embodiment, obtaining account authorization information of a target account from a third party music platform through a music platform development kit integrated in the 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 the target application; and acquiring user authorization login information corresponding to the target account number from the third-party music platform as account number authorization information.
The user authorization login information is login information of a platform server corresponding to the third-party music platform, such as account number, password, mobile phone number and the like. The user authorized login information uniquely corresponds to the target account number, 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 the target application, and after registering the target account, the user authorization login information can be obtained as the account authorization information. If the user does not apply for account authorization information for the first time, the user can log in the target account on the third party music platform through the music platform development kit on the target application, and after registering the target account, the user authorization login information can be obtained as the account authorization information.
In one embodiment, obtaining account authorization information of a target account from a third party music platform through a music platform development kit integrated in the 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 the target application; and acquiring a specific authorization code corresponding to the target account number from the third-party music platform as account number authorization information.
The specific authorization code, i.e. the authorization code granted by the third party music platform, differs from the user authorization login information in that each time the user applies account authorization information to the third party music platform, the specific authorization code applied may be different, but corresponds uniquely to the target account.
In step S230, the account authorization information is transmitted to the target no-screen module.
In this example embodiment, after the account authorization information is obtained, the account authorization information may be transmitted to the target non-screen module through the cloud, the local area network, the infrared channel, and the like.
The local terminal can install a target application, the target application can be an Internet of things application matched with the target platform, namely the target application can be any application matched with a target non-screen module of the target platform, the target non-screen module can also install a module application matched with the target platform, and further the target application in the local terminal can send account authorization information to the module application in the target non-screen module through a cloud, a local area network, an infrared channel and the like.
In one embodiment, the target non-screen module establishes a network connection with the cloud; step S230, transmitting account authorization information to the target no-screen module, including: 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.
The target non-screen module and the cloud (such as the cloud server 101 shown in fig. 1) establish network connection through the 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 non-screen module through the cloud.
In one embodiment, the target screenless module is connected to a target local area network; step S230, transmitting account authorization information to the target no-screen module, including: and transmitting the account authorization information to the target non-screen module through the target local area network.
The target non-screen module is connected to a target local area network (such as the local area network under the action of the network device 103 shown in fig. 1), where the account authorization information may be directly transmitted to the target non-screen 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 obtain 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 this example embodiment, after receiving the account authorization information, the target non-screen module of the target platform does not need to integrate the music platform development kit of the third party music platform, and can legally and conveniently request, across platforms, the audio content granted with the rights to be played from the server corresponding to the third party music platform based on the account authorization information.
In one embodiment, step S240 sends an audio playing instruction to the target non-screen module to trigger the target non-screen module to obtain, from the third party music platform, the audio content granted with the authority through the account authorization information for playing, including:
and sending an audio playing instruction carrying music information to the target non-screen module to trigger the target non-screen module, requesting audio contents matched with the music information and the account authorization information from a third-party music platform through a music platform interface, and playing the audio contents.
The music information can be catalog information such as music preference and collection or music description information such as music names, after a user selects the music description information by triggering related controls 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 non-screen module through a cloud, a local area network, an infrared channel and the like.
After receiving the audio playing instruction, the target non-screen module can request the audio content (such as the audio content of the music in the user collection column in the target account) matched with the music information and the account authorization information 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 to judge that the non-screen playing module has permission to acquire the audio content.
In one embodiment, sending an audio play command carrying music information to a target non-screen module includes: acquiring music description information of music to be played; encoding 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 non-screen module.
The music description information may be catalog information such as music preference, collection, etc., or information such as music name, etc. The music description information is converted into music information matched with a third-party music platform (such as information in a specific format appointed in the third-party music platform when the audio content is requested) through encoding processing of the music description information, then an audio playing instruction carrying the music information is sent to the target non-screen module, and the target object module can request the audio content to the third-party music platform without processing, so that the processing load of the non-screen module is further reduced.
In one embodiment, the music description information may be directly used as the music information.
In this way, based on the 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 non-screen module, and the target object module can acquire the audio content from the third-party music platform for playing through the account authorization information, so that the customized playing of the audio in the non-screen module is realized, and the audio in the target account of the user can be customized played. And furthermore, the audio playing performance of equipment using the screen-free module is effectively improved, and the audio customized playing cost is low.
In order to facilitate better implementation of the audio playing method provided by the embodiment of the application, the embodiment of the application also provides an audio playing device based on the audio playing method. The meaning of the nouns is the same as that of the audio playing method, and specific implementation details can be referred to the description of the method embodiment. Fig. 3 shows a block diagram of an audio playback device according to an embodiment of the present application.
As shown in fig. 3, the audio playing device 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 by the non-screen module of the target platform; the obtaining module 320 may be configured to obtain, according to the sharing authorization instruction, account authorization information of a target account from a third party music platform, where the account authorization information is used to grant permission to obtain audio content across platforms; the transmission module 330 may be configured to transmit the account authorization information to the target no-screen module; the playing module 340 may be configured to send an audio playing instruction to the target non-screen module, trigger the target non-screen module to obtain, from the third party music platform, the audio content granted with permission in a cross-platform manner through the account authorization information, and play the audio content.
In some embodiments of the present application, the obtaining module 320 includes: the information acquisition unit is used for acquiring account authorization information of the target account from the third-party music platform through a music platform development kit integrated in the target application, and 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 number on the third-party music platform through a music platform development kit integrated in the target application; and acquiring user authorization login information corresponding to the target account number from the third-party music platform as the account number authorization information.
In some embodiments of the present application, the target non-screen 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 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 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 play indication unit is used for sending an audio play instruction carrying music information to the target screen-free module so as to trigger the target screen-free module, requesting the 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 indication unit is configured to: acquiring music description information of music to be played; encoding 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 non-screen module.
In this way, based on the audio playing device 300, by acquiring the account authorization information of the target account from the third-party music platform and then transmitting the account authorization information to the target non-screen module, the target object module can acquire the audio content from the third-party music platform through the account authorization information to play, thereby realizing the customized playing of the audio in the non-screen module and customizing the audio in the target account of the user. And furthermore, the audio playing performance of equipment using the screen-free module is effectively improved, and the audio customized playing cost is low.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit, in accordance with embodiments of the present application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
In addition, the embodiment of the application further provides an electronic device, which 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 application, specifically:
the electronic device may include one or more processing cores 'processors 401, one or more computer-readable storage media's memory 402, power supply 403, and input unit 404, among other components. Those skilled in the art will appreciate that the electronic device structure shown in fig. 4 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or may be arranged in different 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 running or executing software programs and/or modules stored in the memory 402, and calling data stored in the memory 402, thereby performing overall monitoring of 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 processes an operating system, a user page, an application program, etc., and the modem processor mainly processes wireless communication. 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 executing the software programs and modules stored in the memory 402. The memory 402 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the computer device, etc. In addition, 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 with access to the memory 402.
The electronic device further comprises a power supply 403 for supplying power to the various components, preferably the power supply 403 may be logically connected to the processor 401 by a power management system, so that functions of managing charging, discharging, and power consumption are performed by the power management system. The power supply 403 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The electronic device may further comprise an input unit 404, which input unit 404 may be used for receiving input digital or character information and generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control.
Although not shown, the electronic device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 401 in the electronic device loads executable files corresponding to the processes of one or more computer programs into the memory 402 according to the following instructions, and the processor 401 executes the computer programs stored in the memory 402, so as to implement various functions, for example, the processor 401 may perform the following steps:
receiving a sharing authorization instruction for audio sharing aiming at a target non-screen module of a target platform; according to the sharing authorization instruction, acquiring account authorization information of a target account from a third-party music platform, wherein the account authorization information is used for granting cross-platform permission to acquire audio content; transmitting the account authorization information to the target non-screen module; and sending an audio playing instruction to the target non-screen module, and triggering the target non-screen module to obtain 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 obtained from the third party music platform, the processor 401 may execute: 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 obtained from the third party music platform through the music platform development kit integrated in the target application, the processor 401 may execute: registering or logging in the target account number on the third-party music platform through a music platform development kit integrated in the target application; and acquiring user authorization login information corresponding to the target account number from the third-party music platform as the account number authorization information.
In some embodiments of the present application, the target non-screen module establishes a network connection with a cloud; the processor 401 may execute, when transmitting the account authorization information to the target no-screen module: 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 processor 401 may execute, when transmitting the account authorization information to the target no-screen module: 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 the sending an audio playing instruction to the target no-screen module triggers the target no-screen module to obtain, through the account authorization information, the audio content granted with the permission from the third party music platform in a cross-platform manner for playing, the processor 401 may execute: and sending an audio playing instruction carrying music information to the target non-screen module to trigger the target non-screen module, requesting audio contents 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 contents.
In some embodiments of the present application, when the audio playing instruction carrying music information is sent to the target no-screen module, the processor 401 may execute: acquiring music description information of music to be played; encoding 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 non-screen module.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of the various methods of the above embodiments may be performed by a computer program, or by computer program control related hardware, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present embodiments also provide a storage medium having stored therein a computer program that can be loaded by a processor to perform the steps of any of the methods provided by the embodiments of the present application.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Since the computer program stored in the storage medium may perform any of the steps in the method provided in the embodiment of the present application, the beneficial effects that can be achieved by the method provided in the embodiment of the present application may be achieved, which are detailed in the previous embodiments and are not described herein.
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 application 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 application 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 (8)

1. An audio playing method is characterized by being applied to a target application, wherein the target application is an internet of things application adapted to a target platform, and the method comprises the following steps:
receiving a sharing authorization instruction for audio sharing aiming at a target non-screen module of the target platform, wherein the target non-screen module installs a module application adapted to the target platform;
according to the sharing authorization instruction, acquiring account authorization information of a target account from a third-party music platform, wherein the account authorization information is used for granting permission of acquiring audio content in a cross-platform manner, and comprises user authorization login information or a specific authorization code;
transmitting the account authorization information to the module application installed by the target non-screen module;
sending an audio playing instruction to the target non-screen module, triggering the target non-screen 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 obtaining the account authorization information of the target account from the third party music platform comprises the following steps: acquiring account authorization information of a target account from the 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;
the sending an audio playing instruction to the target non-screen module, triggering the target non-screen module to obtain the audio content granted permission from the third party music platform in a cross-platform manner through the account authorization information for playing, comprises the following steps: and sending an audio playing instruction carrying music information to the target non-screen module to trigger the target non-screen module, requesting audio contents 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 contents.
2. The method of claim 1, 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 number on the third-party music platform through a music platform development kit integrated in the target application;
and acquiring user authorization login information corresponding to the target account number from the third-party music platform as the account number authorization information.
3. The method of claim 1, wherein the target non-screen module establishes a network connection with a cloud;
the transmitting the account authorization information to the module application installed by the target non-screen module comprises the following steps:
and uploading the account authorization information to the cloud end so as to transmit the account authorization information to the module application installed by the target non-screen module through the cloud end.
4. 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 module application installed by the target non-screen module comprises the following steps:
and transmitting the account authorization information to the module application installed by the target non-screen module through the target local area network.
5. The method of claim 1, wherein the sending an audio play command carrying music information to the target screenless module comprises:
acquiring music description information of music to be played;
encoding 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 non-screen module.
6. An audio playing device, characterized by being applied to a target application, the target application being an internet of things application adapted by a target platform itself, the device comprising:
the receiving module is used for receiving a sharing authorization instruction for audio sharing aiming at a target non-screen module of a target platform, and the target non-screen module is used for installing module application adapted to the target platform;
the system comprises an acquisition module, a target account number acquisition module and a third party music platform, wherein the acquisition module is used for acquiring account number authorization information of a target account number from the third party music platform, the account number authorization information is used for granting permission of acquiring audio content across the platform, and the account number authorization information comprises user authorization login information or a specific authorization code; the obtaining the account authorization information of the target account from the third party music platform comprises the following steps: acquiring account authorization information of a target account from the 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;
the transmission module is used for transmitting the account authorization information to the module application installed by the target non-screen module;
the playing module is used for sending an audio playing instruction to the target non-screen module and triggering the target non-screen 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 so as to play the audio content; the sending an audio playing instruction to the target non-screen module, triggering the target non-screen module to obtain the audio content granted permission from the third party music platform in a cross-platform manner through the account authorization information for playing, comprises the following steps: and sending an audio playing instruction carrying music information to the target non-screen module to trigger the target non-screen module, requesting audio contents 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 contents.
7. 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 of claims 1 to 5.
8. An electronic device, comprising: a memory storing a computer program; a processor reading a computer program stored in a memory to perform the method of any one of claims 1 to 5.
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 CN113890752A (en) 2022-01-04
CN113890752B true 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 (5)

* 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
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
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9374607B2 (en) * 2012-06-26 2016-06-21 Sonos, Inc. Media playback system with guest access
CN107480181B (en) * 2017-07-05 2020-11-24 百度在线网络技术(北京)有限公司 Audio playing method, device, equipment and server
WO2020041244A1 (en) * 2018-08-20 2020-02-27 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 (5)

* 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
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
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

Also Published As

Publication number Publication date
CN113890752A (en) 2022-01-04

Similar Documents

Publication Publication Date Title
JP5743245B2 (en) Mobile device and method for publishing and managing a set of performance scaling algorithms
US9413746B2 (en) Extension point application and configuration of a login module
KR102565857B1 (en) Service request processing method and related device
CN101895668A (en) Set top box and family cloud computing method based on same
CN107025120B (en) Software upgrading processing method and device and terminal
CN111130891A (en) Server management device and method, electronic equipment and storage medium
CN113765714A (en) Equipment network distribution method and device, storage medium and electronic equipment
US8365250B2 (en) Apparatus, methods, and computer program products for providing portable communication identity services
CN105453126A (en) Application sharing service method and apparatus applied thereto
CN113890752B (en) Audio playing method and device, storage medium and electronic equipment
US20040122877A1 (en) Permission token managemnet system, permission token management method, program and recording medium
CN105491153A (en) Sharing method and device and mobile terminal
CN110120963B (en) Data processing method, device, equipment and machine readable medium
US9191445B2 (en) Systems and methods for managing emulation sessions
CN113867831A (en) Intelligent device control method, intelligent device, storage medium and electronic device
CN114090054A (en) Intelligent equipment upgrading method and device, storage medium and electronic equipment
CN109343961B (en) Memory information processing method and device, storage medium and terminal
WO2010050934A1 (en) Media shadow files and system
CN110781483A (en) Control method, platform and storage medium for intelligent household control program transmission permission
CN112631692B (en) Application program operation control method, device and storage medium
CN113765886B (en) Multimedia playing method and device, storage medium and electronic equipment
KR20120018717A (en) Method and apparatus for file transfer
CN113794929A (en) Audio and video sharing method and device, storage medium and electronic equipment
CN117119024A (en) Third party equipment control method and device, storage medium and electronic equipment
CN113986279A (en) Intelligent equipment upgrading method and device, storage medium and electronic equipment

Legal Events

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