CN114554251B - Multimedia data requesting method and device, storage medium and electronic device - Google Patents

Multimedia data requesting method and device, storage medium and electronic device Download PDF

Info

Publication number
CN114554251B
CN114554251B CN202210125948.4A CN202210125948A CN114554251B CN 114554251 B CN114554251 B CN 114554251B CN 202210125948 A CN202210125948 A CN 202210125948A CN 114554251 B CN114554251 B CN 114554251B
Authority
CN
China
Prior art keywords
account
target
multimedia
multimedia data
intelligent
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
CN202210125948.4A
Other languages
Chinese (zh)
Other versions
CN114554251A (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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202210125948.4A priority Critical patent/CN114554251B/en
Publication of CN114554251A publication Critical patent/CN114554251A/en
Application granted granted Critical
Publication of CN114554251B publication Critical patent/CN114554251B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/321Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority
    • H04L9/3213Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority using tickets or tokens, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • H04N21/25816Management of client data involving client authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4627Rights management associated to the content

Abstract

The invention discloses a multimedia data request method and device, a storage medium and an electronic device, wherein the method comprises the following steps: receiving a multimedia data request initiated by intelligent equipment; registering a target account for the intelligent device on the multimedia application if it is determined that the intelligent device does not register the application account on the multimedia application, wherein the multimedia application is used for providing multimedia data services; forwarding a multimedia data request carrying the target account to the multimedia application by using the target account; and sending the received target multimedia data returned by the multimedia application according to the target account response multimedia data request to the intelligent equipment. By adopting the technical scheme, the problems of low data acquisition efficiency and the like of the intelligent equipment in the related technology are solved.

Description

Multimedia data requesting method and device, storage medium and electronic device
Technical Field
The present invention relates to the field of communications, and in particular, to a method and apparatus for requesting multimedia data, a storage medium, and an electronic apparatus.
Background
In recent years, with the rapid development of internet technology, intelligent devices are also gradually applied to the work and life of people, such as intelligent home devices, intelligent office devices and the like, and applications with different functions are installed on the intelligent devices, so that various functional services can be provided for people in the work and life, and the work and life of people are facilitated. The precondition that the multimedia data can be called through the intelligent device is that the user logs in the account of the multimedia application on the intelligent device, if the user does not bind the user information on the multimedia application or the user information bound by the user on the multimedia application is out of date, the intelligent device cannot call the multimedia data to provide services for the user, and only the user can repeatedly request the account logged in the multimedia application, so that the user experience is poor.
Aiming at the problems of low data acquisition efficiency and the like of the intelligent equipment in the related technology, no effective solution is proposed yet.
Disclosure of Invention
The embodiment of the invention provides a multimedia data request method and device, a storage medium and an electronic device, which are used for at least solving the problems of low data acquisition efficiency and the like of intelligent equipment in the related technology.
According to an embodiment of the present invention, there is provided a method for requesting multimedia data, including: receiving a multimedia data request initiated by intelligent equipment; registering a target account for the intelligent device on a multimedia application if it is determined that the intelligent device does not register an application account on the multimedia application, wherein the multimedia application is used for providing a multimedia data service; forwarding the multimedia data request carrying the target account to the multimedia application by using the target account; and sending the received target multimedia data returned by the multimedia application according to the target account response to the multimedia data request to the intelligent equipment.
Optionally, registering the target account for the intelligent device on the multimedia application includes: generating an account registration request according to target equipment information of the intelligent equipment carried in the multimedia data request; sending the account registration request to the multimedia application; and receiving the target account returned by the multimedia application in response to the account registration request.
Optionally, the generating an account registration request according to the target device information of the intelligent device carried in the multimedia data request includes: sending an access request carrying the target equipment information to the multimedia application, wherein the access request is used for requesting the multimedia application to allow the intelligent equipment to temporarily access; receiving an access token returned by the multimedia application in response to the access request, wherein the access token is a temporary access credential generated on the multimedia application for the intelligent device; and generating the account registration request carrying the access token and the target equipment information.
Optionally, before registering the target account for the smart device on the multimedia application, the method further includes: inquiring account information corresponding to target equipment information of the intelligent equipment carried in the multimedia data request from an account information list, wherein the account information list records equipment information and account information with corresponding relations; and/or inquiring account information of the intelligent equipment carried in the multimedia data request; and under the condition that the account information corresponding to the target equipment information is not queried from the account information list and/or the account information of the intelligent equipment is not carried in the multimedia data request, determining that the intelligent equipment does not register an application account on the multimedia application.
Optionally, the sending the received target multimedia data returned by the multimedia application according to the target account in response to the multimedia data request to the intelligent device includes: receiving the target multimedia data returned by the multimedia application according to the target account responding to the multimedia data request, wherein the target multimedia data carries the target account; determining target equipment information corresponding to the target account from the corresponding relation between the account information and the equipment information; and sending the target multimedia data to the intelligent equipment corresponding to the target equipment information.
According to another embodiment of the present invention, there is provided a method for requesting multimedia data, including: registering a target account of the intelligent device indicated by an intelligent device server, wherein the intelligent device server is used for receiving a multimedia data request initiated by the intelligent device and determining that the intelligent device does not register an application account on a multimedia application; transmitting the target account to the intelligent equipment server; receiving the multimedia data request carrying the target account sent by the intelligent equipment server; and responding to the multimedia data request, and sending target multimedia data to the intelligent equipment server.
Optionally, the registering the target account number of the smart device indicated by the smart device server includes: receiving an account registration request sent by the intelligent equipment server, wherein the account registration request is generated by the intelligent equipment server according to target equipment information of the intelligent equipment carried in the multimedia data request; verifying an access token carried in the account registration request, wherein the access token is a temporary access credential generated for the intelligent device; and distributing the target account for the target equipment information carried in the account registration request under the condition that the access token is successfully verified.
Optionally, before the receiving the account registration request sent by the smart device server, the method further includes: receiving an access request carrying the target equipment information sent by the intelligent equipment server, wherein the access request is used for requesting the multimedia application to allow the intelligent equipment to temporarily access; and responding to the access request and sending the access token to the intelligent equipment server, wherein the intelligent equipment server is used for generating the account registration request carrying the access token and the target equipment information.
Optionally, the registering the target account number of the smart device indicated by the smart device server includes: receiving an access request carrying target equipment information sent by the intelligent equipment server through a token management server, wherein the access request is used for requesting a multimedia application to allow the intelligent equipment to temporarily access, and the token management server and an account registration server are deployed in the multimedia application; sending an access token generated for the intelligent device in response to the access request to the intelligent device server; receiving an account registration request carrying the access token and target equipment information of the intelligent equipment sent by the intelligent equipment server through the account registration server; responding to the account registration request and verifying the access token; and under the condition that the access token verification is successful, distributing the target account number for the target equipment information.
According to another embodiment of the present invention, there is provided a multimedia data requesting apparatus including: the first receiving module is used for receiving a multimedia data request initiated by the intelligent equipment; a first registration module, configured to register a target account for the intelligent device on the multimedia application if it is determined that the intelligent device does not register an application account on the multimedia application; a forwarding module, configured to forward the multimedia data request to the multimedia application using the target account; and the first sending module is used for sending the target multimedia data returned by the multimedia application in response to the multimedia data request to the intelligent equipment.
According to another embodiment of the present invention, there is provided a multimedia data requesting apparatus including: the second registration module is provided with a target account of the intelligent equipment indicated by a registration intelligent equipment server, wherein the intelligent equipment server is used for receiving a multimedia data request initiated by the intelligent equipment and determining that the intelligent equipment does not register an application account on a multimedia application; the second sending module is used for sending the target account to the intelligent equipment server; the second receiving module is used for receiving the multimedia data request carrying the target account sent by the intelligent equipment server; and the third sending module is used for responding to the multimedia data request and sending the target multimedia data to the intelligent equipment server.
According to yet another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to perform the above-described multimedia data requesting method when run.
According to still another aspect of the embodiments of the present invention, there is further provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the method for requesting multimedia data according to the above-mentioned computer program.
In the embodiment of the invention, a multimedia data request initiated by intelligent equipment is received; registering a target account for the intelligent device on the multimedia application if it is determined that the intelligent device does not register the application account on the multimedia application, wherein the multimedia application is used for providing multimedia data services; forwarding a multimedia data request carrying the target account to a multimedia application; the received target multimedia data returned by the multimedia application in response to the multimedia data request is sent to the intelligent device according to the target account, namely if the multimedia data request initiated by the intelligent device is received under the condition that the intelligent device does not register an account on the multimedia application, the target account can be automatically registered for the intelligent device on the multimedia application first, then the multimedia data can be requested for the intelligent device through the registered target account on the multimedia application, the target multimedia data returned by the multimedia application in response to the multimedia data request can be obtained by forwarding the multimedia data request carrying the indicated account to the multimedia application, and the received target multimedia data is sent to the intelligent device for use, so that the multimedia data can be still acquired on the multimedia application under the condition that the intelligent device does not register an application account on the multimedia application, the multimedia data on the application can be acquired no matter whether the intelligent device has registered the application account on the multimedia application, a user does not perceive the unavailability of the multimedia data service, the user can smoothly use the multimedia data, and the user experience is improved. By adopting the technical scheme, the problems of low data acquisition efficiency and the like of the intelligent equipment in the related technology are solved, and the technical effect of improving the data acquisition efficiency of the intelligent equipment is realized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
fig. 1 is a hardware block diagram of a computer terminal of a multimedia data requesting method according to an embodiment of the present invention;
fig. 2 is a flowchart of a method of requesting multimedia data according to an embodiment of the present invention;
FIG. 3 is an interactive schematic diagram of an alternative smart device requesting multimedia data, in accordance with an embodiment of the present invention;
FIG. 4 is an interactive schematic diagram of an alternative smart device requesting multimedia data, in accordance with an embodiment of the present invention;
FIG. 5 is a flowchart of an alternative method for acquiring multimedia data for a smart device in accordance with an embodiment of the present invention;
fig. 6 is a flowchart of another multimedia data requesting method according to an embodiment of the present invention;
FIG. 7 is an alternative interaction diagram for requesting data on a multimedia application in accordance with an embodiment of the present invention;
FIG. 8 is an alternative interaction diagram for requesting data on a multimedia application in accordance with an embodiment of the present invention;
Fig. 9 is a block diagram of a multimedia data requesting apparatus according to an embodiment of the present invention;
fig. 10 is a block diagram of a multimedia data requesting device according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The method embodiments provided by the embodiments of the present application may be performed in a computer terminal, or a similar computing device. Taking a computer terminal as an example, fig. 1 is a block diagram of a hardware structure of a computer terminal of a multimedia data requesting method according to an embodiment of the present invention. As shown in fig. 1, the computer terminal may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, and in one exemplary embodiment, may also include a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the configuration shown in fig. 1 is merely illustrative and is not intended to limit the configuration of the computer terminal described above. For example, a computer terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than the equivalent functions shown in FIG. 1 or more than the functions shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a method for requesting multimedia data in an embodiment of the present invention, and the processor 102 executes the computer program stored in the memory 104 to perform various functional applications and data processing, that is, to implement the above-mentioned method. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the computer terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 106 is arranged to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
In this embodiment, a method for requesting multimedia data is provided, and fig. 2 is a flowchart of a method for requesting multimedia data according to an embodiment of the present invention, where the flowchart includes the following steps:
step S202, receiving a multimedia data request initiated by intelligent equipment;
step S204, under the condition that the intelligent equipment is determined not to register an application account on a multimedia application, registering a target account on the multimedia application for the intelligent equipment, wherein the multimedia application is used for providing a multimedia data service;
step S206, forwarding the multimedia data request carrying the target account to the multimedia application by using the target account;
Step S208, the received target multimedia data returned by the multimedia application according to the target account response to the multimedia data request is sent to the intelligent device.
Through the steps, if the multimedia data request initiated by the intelligent device is received under the condition that the intelligent device does not register the account on the multimedia application, the target account can be automatically registered for the intelligent device on the multimedia application, then the multimedia data can be requested for the intelligent device on the multimedia application through the registered target account, the target multimedia data returned by the multimedia application in response to the multimedia data request can be obtained by forwarding the multimedia data request carrying the marked account to the multimedia application, and the received target multimedia data is sent to the intelligent device for use, so that the multimedia data can still be acquired on the multimedia application under the condition that the intelligent device does not register the application account on the multimedia application, the multimedia data on the application can be acquired no matter whether the intelligent device has registered the application account on the multimedia application, the user does not perceive the unavailability of the multimedia data service, the user can smoothly use the multimedia data service, and the user experience is improved. By adopting the technical scheme, the problems of low data acquisition efficiency and the like of the intelligent equipment in the related technology are solved, and the technical effect of improving the data acquisition efficiency of the intelligent equipment is realized.
Alternatively, in this embodiment, the method for requesting multimedia data may be applied, but not limited to, to a device that provides network services for a smart device (e.g., a smart device server). The smart device server deploys a service skill for executing the request method of multimedia data, if the user sends an instruction for playing multimedia data to the smart device, the smart device can convert the instruction into a multimedia data request and send the multimedia data request to the smart device server, and the smart device server can provide multimedia data service for the smart device through the deployed service skill.
In the technical solution provided in step S202, the smart device may include, but is not limited to, various smart service devices, where the smart service device is a smart device that provides services for use scenarios such as work or life of a user, and the smart service device may include, but is not limited to: intelligent household equipment, intelligent office equipment, intelligent travel equipment and the like, for example, intelligent household equipment comprises an intelligent refrigerator, an intelligent television, an intelligent sound box and the like, intelligent office equipment comprises an intelligent printer, an intelligent drawing board, an intelligent projector and the like, and intelligent travel equipment comprises an intelligent automobile, an intelligent balance car, an intelligent electric car and the like.
Alternatively, in this embodiment, the smart device may be, but is not limited to, a device deployed in a smart scenario to provide a smart service, and the smart scenario may be, but is not limited to, a scenario including work, life, entertainment, travel, office, business, leisure, and the like.
Alternatively, in this embodiment, the multimedia application may be an application that belongs to the same service provider as the smart device, or may be a third party application that belongs to a different service provider than the smart device, for example, the smart device is a smart device manufactured by company a, and the multimedia application may be an application developed by company a, or may be an application developed by a third party service provider other than company a.
Alternatively, in the present embodiment, the multimedia data may include, but is not limited to, audio data, video data, picture data, and the like, which is not limited thereto.
In the technical solution provided in step S204, the target account may be registered for the smart device according to, but not limited to, device information of the smart device, for example, the target account is registered according to a function type, a device name, a device address, and the like of the smart device.
Optionally, in this embodiment, the target account has a target right in the multimedia application, and the multimedia data corresponding to the right of the target account can be obtained in the multimedia application through the target account.
In the technical solution provided in step S206, the target account is carried in the multimedia data request to indicate whether the request has permission to obtain the data corresponding to the multimedia data request, and when the multimedia application receives the multimedia data request, it is determined whether the request needs to be responded to the multimedia data by verifying the carried target account.
In the technical solution provided in step S208, the target multimedia data returned by the multimedia application carries indication information for indicating the intelligent device that initiates the multimedia data request, and the target multimedia application is accurately sent to the corresponding intelligent device by using the intelligent information, where the indication information may include, but is not limited to, a target account number, target device information, and the like.
As an optional embodiment, the registering the target account for the smart device on the multimedia application includes:
generating an account registration request according to target equipment information of the intelligent equipment carried in the multimedia data request;
Sending the account registration request to the multimedia application;
and receiving the target account returned by the multimedia application in response to the account registration request.
Alternatively, in the present embodiment, the target device information may include, but is not limited to: device ID, device address (e.g., MAC address, IP address), device name, etc. are used to uniquely identify the device identification of the smart device.
Alternatively, in this embodiment, when the temporary account is registered on the multimedia application, on the one hand, some multimedia applications may not require the registration qualification of the registered smart device, and any smart device may register the temporary account. For such multimedia applications that do not require registration qualification of the smart devices, an account registration request may be generated that may serve to differentiate the respective smart devices, such as carrying target device information of the smart devices in the account registration request, where the target device information serves to differentiate the respective smart devices.
On the other hand, some multimedia applications may require registration qualifications for the registered smart device, and register temporary accounts for the registered smart device. For such multimedia applications requiring registration qualification of the smart device, an account registration request may be generated that can function both to differentiate individual smart devices and to qualify for registration.
Such as: in one case, the information which can play a role in proving registration qualification and is carried in the account registration request can be target equipment information of the intelligent equipment, the intelligent equipment which has the characteristics can be agreed with the multimedia application in advance to have the qualification of registering the temporary account, and the multimedia application can verify the registration qualification according to the characteristics of the target equipment information. The target device information can also play a role in distinguishing each intelligent device, and the target device information is carried in an account registration request to request the multimedia application to register a temporary account for the intelligent device.
In another case, the information which can play a role in proving registration qualification and is carried in the account registration request may be a registration qualification credential (such as a token, a check code, etc.) allocated to the intelligent device, and the target device information and the registration qualification credential may be carried in the account registration request to request the multimedia application to register a temporary account for the intelligent device.
As an optional embodiment, the generating an account registration request according to the target device information of the intelligent device carried in the multimedia data request includes:
sending an access request carrying the target equipment information to the multimedia application, wherein the access request is used for requesting the multimedia application to allow the intelligent equipment to temporarily access;
Receiving an access token returned by the multimedia application in response to the access request, wherein the access token is a temporary access credential generated on the multimedia application for the intelligent device;
and generating the account registration request carrying the access token and the target equipment information.
Alternatively, in the present embodiment, the access token may, but is not limited to, carry access rights information, access validity time information, and the like.
Alternatively, in this embodiment, when the multimedia application returns the access token in response to the access request, the access token and verification information corresponding to the access token may be generated, and the access token is returned to the access request sender, and the verification information is stored in a storage space corresponding to the multimedia application, where the verification information is used to verify whether the access token is valid.
As an alternative embodiment, before said registering the target account for the smart device on the multimedia application, the method further comprises:
inquiring account information corresponding to target equipment information of the intelligent equipment carried in the multimedia data request from an account information list, wherein the account information list records equipment information and account information with corresponding relations; and/or inquiring account information of the intelligent equipment carried in the multimedia data request;
And under the condition that the account information corresponding to the target equipment information is not queried from the account information list and/or the account information of the intelligent equipment is not carried in the multimedia data request, determining that the intelligent equipment does not register an application account on the multimedia application.
Optionally, in this embodiment, the account information may include, but is not limited to, account name, account password, account authority information, and the like, which is not limited to this scheme.
Alternatively, in the present embodiment, the target device information may include, but is not limited to, a device name, a device address, and the like, which is not limited in this scheme.
Alternatively, in this embodiment, the multimedia data request may carry information of the requested multimedia data, device information of the intelligent device, and the like, and at the same time, the multimedia data request may also carry account information registered on the multimedia application.
Optionally, in this embodiment, whether the intelligent device has registered an application account on the multimedia application can be queried according to the multimedia data request, for example, query account information carried in the multimedia data request, or query account information corresponding to the device information in an intelligent device server that manages the intelligent device, which is not limited in this scheme.
As an alternative embodiment, the smart device server deploys a service skill for executing a request for multimedia data of the smart device through interaction between the smart device server and the multimedia application, the smart device server deploys the service skill for providing the multimedia data service for the smart device through the deployed service skill, the multimedia application is used for providing the multimedia data for the smart device, the multimedia application is capable of registering a temporary account for the smart device and providing the multimedia data service for the smart device according to the temporary account, and fig. 3 is an alternative interaction schematic diagram of the smart device requesting the multimedia data according to an embodiment of the present invention, as shown in fig. 3, the interaction process may include, but is not limited to, the following steps:
s301, when the intelligent device has the requirement of reading the multimedia data on the multimedia application, generating a multimedia data request carrying identification information of the multimedia data to be read and target device information (such as device address of the intelligent device) of the intelligent device, and sending the multimedia data request to an intelligent device server for managing the intelligent device;
s302, after receiving a multimedia data request sent by an intelligent device, an intelligent device server analyzes the multimedia data request to obtain carried target device information, and inquires whether account information corresponding to target device information of the intelligent device carried in the multimedia data request exists in an account information list stored by the intelligent device server, when the intelligent device server detects that the account information list stored by the intelligent device server includes the account information corresponding to the target device information, the intelligent device server uses the account information corresponding to the target device information to request multimedia data from a multimedia application, when the server detects that the corresponding relation stored by the intelligent device server does not include the account information corresponding to the target device information, an account registration request for requesting to register a target account temporarily accessed by the multimedia application is generated, and the account registration request carries the target device information of the intelligent device;
S303, the intelligent equipment server sends the generated account registration request to the multimedia application to request the multimedia application to register a target account temporarily accessed to the multimedia application row;
s304, the multimedia application detects the legitimacy of the account registration request after receiving the account registration request, generates a target account corresponding to the account registration request after determining that the account registration request is legal, and sends the target account to the intelligent equipment server;
s305, after receiving the target account, the intelligent equipment server generates a multimedia data request carrying identification information of the target account and the multimedia data, and requests to read the multimedia data in the multimedia application;
s306, after receiving the multimedia data reading request, the multimedia application detects whether the target account has the authority to read the target multimedia data according to the target account and the identification information of the multimedia data carried in the multimedia application, and after determining that the target account has the authority to read the target multimedia data, the multimedia application sends the target multimedia data corresponding to the identification information to the intelligent equipment server;
s307, the intelligent device server sends the target multimedia data to the intelligent device after receiving the returned target multimedia data.
In the above embodiment, the corresponding relationship between the device information and the account information of the smart device is stored in the smart device server, and when the multimedia data request generated by the smart device does not include the application account registered by the multimedia application, the smart device server detects whether the corresponding relationship between the device information and the account information stored in the smart device server has the account information corresponding to the target device information, so that the smart device server determines, according to the detection result, a manner of requesting the target multimedia data from the multimedia application.
As another alternative implementation manner, when the smart device generates the multimedia data request, the smart device also generates the multimedia data request carrying the account information about whether to register the application account on the multimedia application, and the smart device server does not need to store the correspondence between the device information of the smart device and the account information, and determines the manner of requesting the target multimedia data from the multimedia application only according to whether the multimedia data request carries the account information about the application account registered on the multimedia application, where fig. 4 is an alternative interaction schematic diagram of the smart device requesting the multimedia data according to an embodiment of the present invention, as shown in fig. 4, the interaction process may include, but is not limited to, the following steps:
S401, when the intelligent device has the requirement of reading the multimedia data on the multimedia application, firstly determining whether the intelligent device registers an application account on the multimedia application, after determining that the application account is not registered on the multimedia application, generating a multimedia data request carrying target multimedia data identification information and target device information (such as a device address of the intelligent device) of the intelligent device, and sending the multimedia data request to an intelligent device server for managing the intelligent device;
s402, after receiving the multimedia data request, the intelligent device server detects whether the multimedia data request carries account information of the intelligent device, and generates an account registration request of a target account for requesting temporary access on the multimedia application under the condition that the multimedia data request is determined to not carry the account information, wherein the account registration request carries target device information of the intelligent device, and sends the account registration request to the multimedia application, and the request registers the target account for temporary access on the multimedia application;
s403, the multimedia application detects the legitimacy of the account registration request after receiving the account registration request, generates a target account corresponding to the account registration request after detecting that the account registration request is legal, and sends the target account to the intelligent equipment server;
S404, after receiving the target account, the intelligent device server generates a multimedia data request carrying identification information of the target account and target multimedia data, and requests to read the multimedia data corresponding to the identification information in the multimedia application;
s405, after receiving a multimedia data reading request, the multimedia application detects whether the target account has the authority of reading the multimedia data corresponding to the identification information according to the target account carried in the multimedia data reading request and the identification information of the multimedia data requested to be read, and after determining that the target account has the authority of reading the multimedia data corresponding to the identification information, the multimedia application sends the target multimedia data corresponding to the identification information to the intelligent equipment server;
s406, the intelligent device server sends the target multimedia data to the intelligent device after receiving the returned target multimedia data.
As an alternative implementation manner, when the smart device needs to read the multimedia data on the multimedia application, the smart device requests the multimedia data in the multimedia application for the smart device through the smart device server for managing the smart device, where the multimedia application may be a server for providing the multimedia data for the smart device, and the multimedia application may register a temporary account for the smart device and provide the multimedia data service for the smart device according to the temporary account, and fig. 5 is a flowchart of an alternative method for obtaining the multimedia data for the smart device according to an embodiment of the present invention, as shown in fig. 5, and may include, but not be limited to, the following steps:
S501, an intelligent device server receives a multimedia data request sent by an intelligent device, wherein the multimedia data request is used for requesting to read multimedia data in a multimedia application;
s502, analyzing information carried in the multimedia data request, and detecting whether the analysis result comprises account information which is registered on the multimedia application by the intelligent equipment;
s503, under the condition that the multimedia data request does not carry the account information of the registered application account, inquiring whether the account information corresponding to the target device information of the intelligent device carried in the multimedia data request exists in an account information list of the intelligent device server.
S504, generating an account registration request for requesting to register a target account for temporarily accessing the multimedia application on the multimedia application when the account information corresponding to the target device information does not exist in the account information list;
s505, a target account generated by the multimedia application in response to the account registration request is used for generating a multimedia data acquisition request carrying account information and identification information of the multimedia data requested to be read, so that target multimedia data corresponding to the identification information is acquired in the multimedia application;
S506, under the condition that the intelligent equipment server detects that the multimedia data request carries account information of registered applications, generating a multimedia data acquisition request carrying account information and a target multimedia data identifier of target multimedia data, thereby acquiring the target multimedia data in the multimedia applications;
and S507, transmitting the target multimedia data to the intelligent equipment.
As an optional embodiment, the sending, to the smart device, the received target multimedia data returned by the multimedia application according to the target account in response to the multimedia data request includes:
receiving the target multimedia data returned by the multimedia application according to the target account responding to the multimedia data request, wherein the target multimedia data carries the target account;
determining target equipment information corresponding to the target account from the corresponding relation between the account information and the equipment information;
and sending the target multimedia data to the intelligent equipment corresponding to the target equipment information.
Alternatively, in this embodiment, the device information is used to determine the smart device requesting the target multimedia data, and the device information may, but is not limited to, include a device name, a device address, and other device identifier of the smart device, where the device identifier uniquely identifies the smart device, for example, a specific device corresponding to the device name managed under the smart device server can be determined according to the device name, or an intelligent device corresponding to the address can be determined according to the IP address and the MAC address of the device.
Optionally, in this embodiment, the account information may include, but is not limited to, an application account, a password corresponding to the application account, a multimedia application corresponding to the application account, and so on.
In this embodiment, another method for requesting multimedia data is provided, and fig. 6 is a flowchart of another method for requesting multimedia data according to an embodiment of the present invention, where the flowchart includes the following steps:
step S602, registering a target account of the intelligent device indicated by an intelligent device server, wherein the intelligent device server is used for receiving a multimedia data request initiated by the intelligent device and determining that the intelligent device does not register an application account on a multimedia application;
step S604, transmitting the target account to the smart device server;
step S606, receiving the multimedia data request carrying the target account sent by the smart device server;
and step S608, the target multimedia data is sent to the intelligent device server in response to the multimedia data request.
Through the steps, the intelligent device server can receive the multimedia data request initiated by the intelligent device and determine whether the intelligent device registers an application account on the multimedia application, and under the condition that the intelligent device determines that the intelligent device registers the application account on the multimedia application, the intelligent device server registers the target account of the intelligent device indicated by the intelligent device server and sends the generated target account to the intelligent device server, after receiving the target account, the intelligent device server sends the multimedia data request carrying the target account, so that the multimedia application requests data through the target account, and further receives the multimedia data request carrying the target account sent by the intelligent device, and sends the target multimedia data to the intelligent service device through responding to the multimedia data request, so that the multimedia data can still be acquired on the multimedia application under the condition that the intelligent device does not register the application account on the multimedia application, the user can acquire the multimedia data on the application no matter whether the intelligent device has registered the application account on the multimedia application, the user cannot perceive the unavailability of the multimedia data service, the user can smoothly use the multimedia data service, and the user experience is improved. By adopting the technical scheme, the problems of low data acquisition efficiency and the like of the intelligent equipment in the related technology are solved, and the technical effect of improving the data acquisition efficiency of the intelligent equipment is realized.
Alternatively, in this embodiment, the method for requesting multimedia data may be applied to, but not limited to, a multimedia application (such as a multimedia application server, a multimedia application service system, etc.) that provides a multimedia data service for an intelligent device. The multimedia application is provided with a function for executing the request method of multimedia data. The function can provide the service of registering the temporary account for the intelligent device and can provide the multimedia data service for the temporary account. If the user sends an instruction for playing the multimedia data to the intelligent device, the intelligent device can convert the instruction into a multimedia data request and send the multimedia data request to the intelligent device server, and the multimedia application can register the temporary account for the intelligent device according to the instruction of the intelligent device server by calling the functions and provide the multimedia data for the temporary account.
In the technical solution provided in step S602, the smart device server is a server for managing smart devices, and controls the operation of the smart devices through the smart device server.
Alternatively, in this embodiment, the multimedia application may be an application that belongs to the same service provider as the smart device, or may be a third party application that belongs to a different service provider than the smart device, for example, the smart device is a smart device manufactured by company a, and the multimedia application may be an application developed by company a, or may be an application developed by a third party service provider other than company a.
Alternatively, in the present embodiment, the multimedia data may include, but is not limited to, audio data, video data, picture data, and the like, which is not limited thereto.
In the technical solution provided in step S604, the target account may be an account with a target permission, or may also be an account with a target valid time, for example, the target permission is used to indicate that the user has a read permission to the common multimedia data, the permission only allows the user to read the common multimedia data on the multimedia application, the target valid time is used to indicate the available time of the target account, and if the available time exceeds the available time, the user cannot request the data through the target account.
In the technical solution provided in step S606, the multimedia data request further carries tag information of the requested multimedia data, for example, taking the multimedia data as a song, the tag information may be a name of the song, a type of the song (lyrics, nostalgia, etc.), or an author of the song, which is not limited in this aspect.
In the technical scheme provided in the step S608, when responding to the multimedia data request, the authority of the target account is detected, whether the authority of the target account is matched with the target multimedia data requested by the multimedia data request is detected, and the target multimedia data is sent to the intelligent device server when the authority is matched with the target multimedia data.
As an optional embodiment, the registering the target account number of the smart device indicated by the smart device server includes:
receiving an account registration request sent by the intelligent equipment server, wherein the account registration request is generated by the intelligent equipment server according to target equipment information of the intelligent equipment carried in the multimedia data request;
verifying an access token carried in the account registration request, wherein the access token is a temporary access credential generated for the intelligent device;
and distributing the target account for the target equipment information carried in the account registration request under the condition that the access token is successfully verified.
Alternatively, in the present embodiment, the access token may be, but is not limited to, rights information written to the access, access validity time information, and the like.
Optionally, in this embodiment, the method of verifying the access token may, but is not limited to, performing target calculation (such as calculating an MD5 value) on the access token and determining whether the access token is valid according to a calculation result, or may also match the access token with pre-stored verification information corresponding to the access token, and determine whether the access token is valid according to a matching result.
As an optional embodiment, before the receiving the account registration request sent by the smart device server, the method further includes:
receiving an access request carrying the target equipment information sent by the intelligent equipment server, wherein the access request is used for requesting the multimedia application to allow the intelligent equipment to temporarily access;
and responding to the access request and sending the access token to the intelligent equipment server, wherein the intelligent equipment server is used for generating the account registration request carrying the access token and the target equipment information.
Alternatively, in this embodiment, the access token may be generated and the authentication information corresponding to the access token may be returned to the access request sender when the access token is returned in response to the access request, and the authentication information may be stored in a storage list corresponding to the multimedia application, where the authentication information is used to authenticate whether the access token is valid.
As an optional embodiment, the registering the target account number of the smart device indicated by the smart device server includes:
receiving an access request carrying target equipment information sent by the intelligent equipment server through a token management server, wherein the access request is used for requesting a multimedia application to allow the intelligent equipment to temporarily access, and the token management server and an account registration server are deployed in the multimedia application; sending an access token generated for the intelligent device in response to the access request to the intelligent device server;
Receiving an account registration request carrying the access token and target equipment information of the intelligent equipment sent by the intelligent equipment server through the account registration server; responding to the account registration request and verifying the access token; and under the condition that the access token verification is successful, distributing the target account number for the target equipment information.
Alternatively, in the present embodiment, the multimedia application is used to provide multimedia data services for the smart device, including a service for registering a temporary account for the smart device and a service for providing multimedia data for the temporary account, and the multimedia application may be, but is not limited to, a multimedia application server.
Optionally, in this embodiment, the multimedia data service provided by the multimedia application (including registering a temporary account for the smart device, providing multimedia data for the temporary account, etc.) may be implemented by a plurality of servers, for example, a service provider develops a plurality of applications (a music playing application, a video playing application, and a social entertainment application), each of which provides a corresponding data service for a user through a separate server, and for facilitating management of the subordinate application by the service provider, an upper management server of the plurality of application servers is constructed, and the upper management server may be a token management server, and issues an access token for the smart device requesting access to the application server, where the access token is used to indicate whether temporary access to the application server is allowed, and the application server may receive a registration request carrying the access token and target device information of the smart device sent by the smart device server, and generate the target account for the smart device in response to the registration request of the account, and provide multimedia data for the target.
As an alternative implementation manner, when the smart device needs to read the multimedia data on the multimedia application, the smart device requests the multimedia data in the multimedia application for the smart device through the smart device server for managing the smart device, the multimedia application is used for providing the multimedia data for the smart device, the multimedia application can register a temporary account for the smart device, and provide the multimedia data service for the smart device according to the temporary account, fig. 7 is an alternative interaction diagram for requesting the data on the multimedia application according to an embodiment of the present invention, the smart device may be, but is not limited to, a smart sound box, and the smart device server is used for managing the smart sound box, as shown in fig. 7, the process may be, but is not limited to, including the following steps:
s701, the intelligent device sends a request for playing the phase sound to an intelligent device server;
s702, after receiving a request of playing the audio sent by the intelligent device, the intelligent device server inquires whether the intelligent device registers an application account on the multimedia application according to the audio playing request, and generates a temporary access request according to the device address of the intelligent device carried in the request of playing the audio under the condition that the registered application account is not inquired as the inquiring result, and requests to acquire a temporary access token (token) of the multimedia application;
S703, the multimedia application generates a temporary access token (token) according to the received temporary access request, and sends the temporary access token (token) to the intelligent device server;
s704, after receiving the temporary access token (token), the intelligent device server generates an account registration request carrying the temporary access token (token) and a device address, wherein the account registration request is used for requesting the multimedia application to register the temporary account;
s705, after receiving an account registration request, the multimedia application verifies whether a temporary access token (token) carried in the account registration request is valid, and returns a temporary account (OpenId) to the intelligent device server under the condition that the temporary access token (token) is valid;
s706, the intelligent device server generates a request carrying information requesting to play the audio and the temporary account (OpenId) audio playing, and transmits the request to the multimedia application;
s707, the multimedia application transmits the phase sound requested to be acquired in the phase sound playing request to an intelligent equipment server, and the intelligent equipment server correspondingly stores equipment information of the intelligent equipment, a temporary access request, a temporary access token (token), a temporary account number (OpenId) and data returned by the multimedia application in a redis database, so that the intelligent equipment server is convenient and quick to process;
S708, the smart device server transmits the phase sound returned by the multimedia application to the smart device.
In practical applications, due to the service requirement of the service provider, the phenomenon that the multimedia application includes a plurality of servers may occur, and different service functions are completed by using different servers, for example, the multimedia application may include a token management server and an account registration server, and fig. 8 is an alternative interaction diagram for requesting data on the multimedia application according to an embodiment of the present invention, as shown in fig. 8, which may include, but is not limited to, the following steps:
s801, the intelligent device sends a song request for playing songs to an intelligent device server;
s802, after receiving a song request of playing songs sent by an intelligent device, the intelligent device server inquires whether the intelligent device registers an application account on a multimedia application according to the song request, and generates a temporary access request according to a device address of the intelligent device carried in the song playing request to acquire a temporary access token (token) of a token management server of the multimedia application under the condition that the registered application account is not inquired as a query result;
s803, the token management server generates a temporary access token (token) according to the received temporary access request, and sends the temporary access token (token) to the intelligent device server;
S804, after receiving the temporary access token (token), the intelligent device server generates an account registration request carrying the temporary access token (token) and the device address, wherein the account registration request is used for requesting the account registration server to register the temporary account;
s805, after receiving the account registration request, the account registration server verifies whether a temporary access token (token) carried in the account registration request is valid, and returns a temporary account (OpenId) to the intelligent device server under the condition that the temporary access token (token) is valid;
s806, the intelligent device server generates song information carrying the request and a temporary account number (OpenId) song request, transmits the song information carrying the request and the temporary account number (OpenId) song request to the token management server, and transmits the song information and the temporary account number (OpenId) song request to the account number registration server through the token management server;
s807, the token management server transmits a song request to the account management server after verifying a temporary account (OpenId);
s808, the account management server transmits the song requested to be acquired in the multimedia data request to an upper token management server;
s809, the upper token management server transmits songs to the intelligent device server, and the intelligent device server correspondingly stores the device information of the intelligent device, a temporary access request, a temporary access token (token), a temporary account number (OpenId) and returned data which have corresponding relations with the device information in a redis database, so that the intelligent device server is convenient and quick to process;
And S810, the intelligent device server transmits the returned songs to the intelligent device.
In the embodiment, the data on the intelligent device and the data in the APP can be synchronized through the message middleware, the rock MQ, between the intelligent device and the APP controlling the intelligent device, so that high concurrency of the data is guaranteed, the messages are reliable and are not easy to lose, and the scene execution rate is higher.
In the embodiment, the data on the intelligent device and the data in the APP can be synchronized through the message middleware, the rock MQ, between the intelligent device and the APP controlling the intelligent device, so that high concurrency of the data is guaranteed, the messages are reliable and are not easy to lose, and the scene execution rate is higher.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the various embodiments of the present invention.
Fig. 9 is a block diagram of a multimedia data requesting apparatus according to an embodiment of the present invention; as shown in fig. 9, includes:
a first receiving module 92, configured to receive a multimedia data request initiated by an intelligent device;
a first registration module 94, configured to register a target account for the smart device on a multimedia application, where the multimedia application is configured to provide a multimedia data service, if it is determined that the smart device does not register an application account on the multimedia application;
a forwarding module 96, configured to forward the multimedia data request carrying the target account to the multimedia application;
and the first sending module 98 is configured to send target multimedia data returned by the multimedia application in response to the multimedia data request to the intelligent device.
Through the device, if the multimedia data request initiated by the intelligent device is received under the condition that the intelligent device does not register the account on the multimedia application, the target account can be automatically registered for the intelligent device on the multimedia application, then the multimedia data can be requested for the intelligent device on the multimedia application through the registered target account, the target multimedia data returned by the multimedia application in response to the multimedia data request can be obtained by forwarding the multimedia data request carrying the marked account to the multimedia application, and the received target multimedia data is sent to the intelligent device for use, so that the multimedia data can be obtained on the multimedia application still under the condition that the intelligent device does not register the application account on the multimedia application, the multimedia data on the application can be obtained no matter whether the intelligent device has registered the application account on the multimedia application, the user can not perceive the unavailability of the multimedia data service, the user can smoothly use the multimedia data service, and the user experience is improved. By adopting the technical scheme, the problems of low data acquisition efficiency and the like of the intelligent equipment in the related technology are solved, and the technical effect of improving the data acquisition efficiency of the intelligent equipment is realized.
Optionally, the first registration module includes:
the generation unit is used for generating an account registration request according to the target equipment information of the intelligent equipment carried in the multimedia data request;
the first sending unit is used for sending the account registration request to the multimedia application;
and the first receiving unit is used for receiving the target account returned by the multimedia application in response to the account registration request.
Optionally, the generating unit is configured to:
sending an access request carrying the target equipment information to the multimedia application, wherein the access request is used for requesting the multimedia application to allow the intelligent equipment to temporarily access;
receiving an access token returned by the multimedia application in response to the access request, wherein the access token is a temporary access credential generated on the multimedia application for the intelligent device;
and generating the account registration request carrying the access token and the target equipment information.
Optionally, the apparatus further includes:
the query module is used for querying account information corresponding to target equipment information of the intelligent equipment carried in the multimedia data request from an account information list before registering the target account for the intelligent equipment on the multimedia application, wherein equipment information, application and account information with corresponding relations are recorded in the account information list; and/or inquiring account information of the intelligent equipment carried in the multimedia data request;
The determining module is configured to determine that the intelligent device does not register an application account on the multimedia application when no account information corresponding to the target device information is queried from the account information list and/or no account information of the intelligent device is carried in the multimedia data request is queried.
Optionally, the second sending module includes:
the second receiving unit is used for receiving the target multimedia data returned by the multimedia application according to the response of the target account to the multimedia data request, wherein the target multimedia data carries the target account;
a determining unit, configured to determine target device information corresponding to the target account from a correspondence between account information and device information;
and the second sending unit is used for sending the target multimedia data to the intelligent equipment corresponding to the target equipment information.
Fig. 10 is a block diagram of a multimedia data requesting apparatus according to an embodiment of the present invention; as shown in fig. 10, includes:
a second registration module 1002, configured to have a target account of the smart device indicated by a registration smart device server, where the smart device server is configured to receive a multimedia data request initiated by the smart device and determine that the smart device does not register an application account on a multimedia application;
A second sending module 1004, configured to send the target account to the smart device server;
a second receiving module 1006, configured to receive the multimedia data request carrying the target account sent by the smart device server;
and a third sending module 1008, configured to send, in response to the multimedia data request, the target multimedia data to the smart device server.
Through the steps, the intelligent device server can receive the multimedia data request initiated by the intelligent device and determine whether the intelligent device registers an application account on the multimedia application, and under the condition that the intelligent device determines that the intelligent device registers the application account on the multimedia application, the intelligent device server registers the target account of the intelligent device indicated by the intelligent device server and sends the generated target account to the intelligent device server, after receiving the target account, the intelligent device server sends the multimedia data request carrying the target account, so that the multimedia application requests data through the target account, and further receives the multimedia data request carrying the target account sent by the intelligent device, and sends the target multimedia data to the intelligent service device through responding to the multimedia data request, so that the multimedia data can still be acquired on the multimedia application under the condition that the intelligent device does not register the application account on the multimedia application, the user can acquire the multimedia data on the application no matter whether the intelligent device has registered the application account on the multimedia application, the user cannot perceive the unavailability of the multimedia data service, the user can smoothly use the multimedia data service, and the user experience is improved. By adopting the technical scheme, the problems of low data acquisition efficiency and the like of the intelligent equipment in the related technology are solved, and the technical effect of improving the data acquisition efficiency of the intelligent equipment is realized.
Optionally, the second registration module includes:
a third receiving unit, configured to receive an account registration request sent by the intelligent device server, where the account registration request is generated by the intelligent device server according to target device information of the intelligent device carried in the multimedia data request;
the verification unit is used for verifying an access token carried in the account registration request, wherein the access token is a temporary access credential generated for the intelligent equipment;
and the distribution unit is used for distributing the target account for the target equipment information carried in the account registration request under the condition that the access token verification is determined to be successful.
Optionally, the apparatus further includes:
a third receiving module, configured to receive, before the receiving an account registration request sent by the smart device server, an access request carrying the target device information sent by the smart device server, where the access request is used to request the multimedia application to allow the smart device to perform temporary access;
and the fourth sending module is used for responding to the access request and sending the access token to the intelligent equipment server, wherein the intelligent equipment server is used for generating the account registration request carrying the access token and the target equipment information.
Optionally, the second registration module includes:
the first processing unit is used for receiving an access request carrying target equipment information sent by the intelligent equipment server through the token management server, wherein the access request is used for requesting a multimedia application to allow the intelligent equipment to temporarily access, and the token management server and the account registration server are deployed in the multimedia application; sending an access token generated for the intelligent device in response to the access request to the intelligent device server;
the second processing unit is used for receiving an account registration request which is sent by the intelligent equipment server and carries the access token and the target equipment information of the intelligent equipment through the account registration server; responding to the account registration request and verifying the access token; and under the condition that the access token verification is successful, distributing the target account number for the target equipment information.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a memory device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (11)

1. A method for requesting multimedia data, applied to an intelligent device server, comprising:
receiving a multimedia data request initiated by intelligent equipment;
registering a target account for the intelligent device on a multimedia application if it is determined that the intelligent device does not register an application account on the multimedia application, wherein the multimedia application is used for providing a multimedia data service;
forwarding the multimedia data request carrying the target account to the multimedia application; the received target multimedia data returned by the multimedia application according to the response of the target account to the multimedia data request is sent to the intelligent equipment;
wherein registering a target account for the intelligent device on the multimedia application comprises: generating an account registration request according to target equipment information of the intelligent equipment carried in the multimedia data request; sending the account registration request to the multimedia application server;
receiving the target account returned by the multimedia application server in response to the account registration request;
the generating an account registration request according to the target device information of the intelligent device carried in the multimedia data request includes: sending an access request carrying the target equipment information to the multimedia application server, wherein the access request is used for requesting the multimedia application server to allow the intelligent equipment to temporarily access; receiving an access token returned by the multimedia application server in response to the access request, wherein the access token is a temporary access credential generated on the multimedia application server for the intelligent device; and generating the account registration request carrying the access token and the target equipment information.
2. The method of claim 1, wherein prior to said registering a target account for said smart device with said multimedia application, said method further comprises:
inquiring account information corresponding to target equipment information of the intelligent equipment carried in the multimedia data request from an account information list, wherein the account information list records equipment information and account information with corresponding relations; and/or inquiring account information of the intelligent equipment carried in the multimedia data request;
and under the condition that the account information corresponding to the target equipment information is not queried from the account information list and/or the account information of the intelligent equipment is not carried in the multimedia data request, determining that the intelligent equipment does not register an application account on the multimedia application.
3. The method according to claim 1, wherein the sending the received target multimedia data returned by the multimedia application according to the target account in response to the multimedia data request to the smart device includes:
Receiving the target multimedia data returned by the multimedia application according to the target account responding to the multimedia data request, wherein the target multimedia data carries the target account;
determining target equipment information corresponding to the target account from the corresponding relation between the account information and the equipment information;
and sending the target multimedia data to the intelligent equipment corresponding to the target equipment information.
4. A method for requesting multimedia data, applied to a multimedia application server, comprising:
registering a target account of the intelligent device indicated by an intelligent device server, wherein the intelligent device server is used for receiving a multimedia data request initiated by the intelligent device and determining that the intelligent device does not register an application account on a multimedia application, and is also used for generating an account registration request according to target device information of the intelligent device carried in the multimedia data request; sending the account registration request to the multimedia application server; receiving the target account returned by the multimedia application server in response to the account registration request; the generating an account registration request according to the target device information of the intelligent device carried in the multimedia data request includes: sending an access request carrying the target equipment information to the multimedia application server, wherein the access request is used for requesting the multimedia application server to allow the intelligent equipment to temporarily access; receiving an access token returned by the multimedia application server in response to the access request, wherein the access token is a temporary access credential generated on the multimedia application server for the intelligent device; generating the account registration request carrying the access token and the target equipment information;
Transmitting the target account to the intelligent equipment server;
receiving the multimedia data request carrying the target account sent by the intelligent equipment server;
and responding to the multimedia data request, and sending target multimedia data to the intelligent equipment server.
5. The method according to claim 4, wherein registering the target account number of the smart device indicated by the smart device server, comprises:
receiving an account registration request sent by the intelligent equipment server, wherein the account registration request is generated by the intelligent equipment server according to target equipment information of the intelligent equipment carried in the multimedia data request;
verifying an access token carried in the account registration request, wherein the access token is a temporary access credential generated for the intelligent device;
and distributing the target account for the target equipment information carried in the account registration request under the condition that the access token is successfully verified.
6. The method according to claim 5, wherein before said receiving an account registration request sent by the smart device server, the method further comprises:
Receiving an access request carrying the target equipment information sent by the intelligent equipment server, wherein the access request is used for requesting the multimedia application to allow the intelligent equipment to temporarily access;
and responding to the access request and sending the access token to the intelligent equipment server, wherein the intelligent equipment server is used for generating the account registration request carrying the access token and the target equipment information.
7. The method according to claim 4, wherein registering the target account number of the smart device indicated by the smart device server, comprises:
receiving an access request carrying target equipment information sent by the intelligent equipment server through a token management server, wherein the access request is used for requesting a multimedia application to allow the intelligent equipment to temporarily access, and the token management server and an account registration server are deployed in the multimedia application; sending an access token generated for the intelligent device in response to the access request to the intelligent device server;
receiving an account registration request carrying the access token and target equipment information of the intelligent equipment sent by the intelligent equipment server through the account registration server; responding to the account registration request and verifying the access token; and under the condition that the access token verification is successful, distributing the target account number for the target equipment information.
8. A multimedia data requesting apparatus, applied to a multimedia application server, comprising:
the first receiving module is used for receiving a multimedia data request initiated by the intelligent equipment;
a first registration module, configured to register a target account for the intelligent device on the multimedia application if it is determined that the intelligent device does not register an application account on the multimedia application; a forwarding module, configured to forward the multimedia data request to the multimedia application using the target account;
the first sending module is used for sending target multimedia data returned by the multimedia application in response to the multimedia data request to the intelligent equipment;
wherein the first registration module includes: the generation unit is used for generating an account registration request according to the target equipment information of the intelligent equipment carried in the multimedia data request; the first sending unit is used for sending the account registration request to the multimedia application server; the first receiving unit is used for receiving the target account returned by the multimedia application server in response to the account registration request;
the generating unit is used for: sending an access request carrying the target equipment information to the multimedia application server, wherein the access request is used for requesting the multimedia application server to allow the intelligent equipment to temporarily access; receiving an access token returned by the multimedia application server in response to the access request, wherein the access token is a temporary access credential generated on the multimedia application server for the intelligent device; and generating the account registration request carrying the access token and the target equipment information.
9. A multimedia data requesting apparatus, applied to a multimedia application server, comprising:
the second registration module is provided with a target account of the intelligent equipment indicated by a registration intelligent equipment server, wherein the intelligent equipment server is used for receiving a multimedia data request initiated by the intelligent equipment and determining that the intelligent equipment does not register an application account on a multimedia application, and the intelligent equipment server is also used for generating an account registration request according to target equipment information of the intelligent equipment carried in the multimedia data request; sending the account registration request to the multimedia application server; receiving the target account returned by the multimedia application server in response to the account registration request; the generating an account registration request according to the target device information of the intelligent device carried in the multimedia data request includes: sending an access request carrying the target equipment information to the multimedia application server, wherein the access request is used for requesting the multimedia application server to allow the intelligent equipment to temporarily access; receiving an access token returned by the multimedia application server in response to the access request, wherein the access token is a temporary access credential generated on the multimedia application server for the intelligent device; generating the account registration request carrying the access token and the target equipment information;
The second sending module is used for sending the target account to the intelligent equipment server; the second receiving module is used for receiving the multimedia data request carrying the target account sent by the intelligent equipment server;
and the third sending module is used for responding to the multimedia data request and sending the target multimedia data to the intelligent equipment server.
10. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored program, wherein the program when run performs the method of any of the preceding claims 1 to 7.
11. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of the claims 1 to 7 by means of the computer program.
CN202210125948.4A 2022-02-10 2022-02-10 Multimedia data requesting method and device, storage medium and electronic device Active CN114554251B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210125948.4A CN114554251B (en) 2022-02-10 2022-02-10 Multimedia data requesting method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210125948.4A CN114554251B (en) 2022-02-10 2022-02-10 Multimedia data requesting method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN114554251A CN114554251A (en) 2022-05-27
CN114554251B true CN114554251B (en) 2024-01-23

Family

ID=81673419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210125948.4A Active CN114554251B (en) 2022-02-10 2022-02-10 Multimedia data requesting method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN114554251B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075977A (en) * 2006-06-20 2007-11-21 腾讯科技(深圳)有限公司 Method for acquiring instant telecommunication software account
CN103944963A (en) * 2014-03-26 2014-07-23 小米科技有限责任公司 Data synchronization method, device and system and equipment
CN105530239A (en) * 2015-11-26 2016-04-27 广州酷狗计算机科技有限公司 Multimedia data obtaining method and device
CN107534670A (en) * 2015-07-15 2018-01-02 谷歌有限责任公司 Scrip is used under guest mode
CN110402570A (en) * 2017-11-03 2019-11-01 腾讯科技(深圳)有限公司 Information processing method and system, server, terminal, computer storage medium
CN110585705A (en) * 2019-09-23 2019-12-20 腾讯科技(深圳)有限公司 Network game control method, device and storage medium
CN112182411A (en) * 2020-11-09 2021-01-05 广州酷狗计算机科技有限公司 Multimedia data recommendation method and device, computer equipment and readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075977A (en) * 2006-06-20 2007-11-21 腾讯科技(深圳)有限公司 Method for acquiring instant telecommunication software account
CN103944963A (en) * 2014-03-26 2014-07-23 小米科技有限责任公司 Data synchronization method, device and system and equipment
CN107534670A (en) * 2015-07-15 2018-01-02 谷歌有限责任公司 Scrip is used under guest mode
CN105530239A (en) * 2015-11-26 2016-04-27 广州酷狗计算机科技有限公司 Multimedia data obtaining method and device
CN110402570A (en) * 2017-11-03 2019-11-01 腾讯科技(深圳)有限公司 Information processing method and system, server, terminal, computer storage medium
CN110585705A (en) * 2019-09-23 2019-12-20 腾讯科技(深圳)有限公司 Network game control method, device and storage medium
CN112182411A (en) * 2020-11-09 2021-01-05 广州酷狗计算机科技有限公司 Multimedia data recommendation method and device, computer equipment and readable storage medium

Also Published As

Publication number Publication date
CN114554251A (en) 2022-05-27

Similar Documents

Publication Publication Date Title
CN107993149B (en) Account information management method, system and readable storage medium
CN110311899A (en) Multiservice system access method, device and server
CN110798466B (en) Verification method and system for software license in virtual machine scene
CN109413096B (en) A kind of login method and device more applied
CN108769230B (en) Transaction data storage method, device, server and storage medium
CN108023881B (en) Application login method, device, medium and electronic equipment
CN109246078B (en) Data interaction method and server
CN106464667B (en) Certificate management method, equipment and system
EP3249882A1 (en) Data uploading method, device and system
CN112188493A (en) Authentication method, system and related equipment
CN108933789B (en) Method for preventing personal information leakage and third-party application server
CN108260015B (en) Voting data processing method and device and electronic equipment
CN105493064A (en) Identity management system
CN108366176A (en) A kind of charging method of terminal applies, apparatus and system
CN111353136B (en) Method and device for processing operation request
CN109558710B (en) User login method, device, system and storage medium
CN101896917B (en) Method for moving rights object and method for managing rights of issuing rights object and system thereof
JP2013517717A (en) Network access method and system in public facilities
CN111866993B (en) Wireless local area network connection management method, device, software program and storage medium
CN110808841B (en) Communication system based on block chain network and communication method thereof
CN114554251B (en) Multimedia data requesting method and device, storage medium and electronic device
CN106487776B (en) Method, network entity and system for protecting machine type communication equipment
GB2520938A (en) Mobile device location
CN112583606A (en) Security verification method, server, terminal and storage medium
CN101414334B (en) Method, apparatus and system for distributing copyright object based on digital copyright management

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