CN114554251A - Multimedia data request method and device, storage medium and electronic device - Google Patents

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

Info

Publication number
CN114554251A
CN114554251A CN202210125948.4A CN202210125948A CN114554251A CN 114554251 A CN114554251 A CN 114554251A CN 202210125948 A CN202210125948 A CN 202210125948A CN 114554251 A CN114554251 A CN 114554251A
Authority
CN
China
Prior art keywords
account
target
multimedia data
multimedia
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.)
Granted
Application number
CN202210125948.4A
Other languages
Chinese (zh)
Other versions
CN114554251B (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Computer Graphics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephonic Communication Services (AREA)

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; under the condition that the intelligent equipment is determined not to register an application account on the multimedia application, registering a target account on the multimedia application for the intelligent equipment, wherein the multimedia application is used for providing multimedia data service; forwarding a multimedia data request carrying a target account to the multimedia application by using the target account; and sending the target multimedia data returned by the received multimedia application according to the target account response multimedia data request to the intelligent equipment. By adopting the technical scheme, the problems that the data acquisition efficiency of the intelligent equipment is low and the like in the related technology are solved.

Description

Multimedia data request 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 an apparatus for requesting multimedia data, a storage medium, and an electronic apparatus.
Background
In recent years, with the rapid development of internet technology, smart devices are also gradually applied to work and life of people, such as smart home devices, smart office devices and the like, and applications with different functions are installed on the smart devices, so that various functional services can be provided for people in work and life, and the work and life of people are facilitated. The premise that multimedia data can be called through an intelligent device at present is that a user logs in an account of a multimedia application on the intelligent device, if the user information is not bound on the multimedia application or the user information bound on the multimedia application is overdue, the intelligent device cannot call the multimedia data to provide service for the user, the user can only repeatedly request the account of the user for logging in the multimedia application, and the user experience is poor.
Aiming at the problems of low data acquisition efficiency and the like of intelligent equipment in the related art, an effective solution is not provided yet.
Disclosure of Invention
The embodiment of the invention provides a multimedia data request method and device, a storage medium and an electronic device, and aims to at least solve the problems that in the related art, the data acquisition efficiency of intelligent equipment is low and the like.
According to an embodiment of the present invention, there is provided a multimedia data request method, including: receiving a multimedia data request initiated by intelligent equipment; under the condition that the intelligent device is determined not to register an application account on a multimedia application, registering a target account on the multimedia application for the intelligent device, wherein the multimedia application is used for providing 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 responding to the multimedia data request according to the target account to the intelligent equipment.
Optionally, registering a target account on the multimedia application for the smart device includes: generating an account registration request according to the 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 responding 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 perform temporary 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 for the smart device on the multimedia application; and generating the account registration request carrying the access token and the target device information.
Optionally, before registering the target account on the multimedia application for the smart device, 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 determining that the intelligent device does not register an application account on the multimedia application under the condition that account information corresponding to the target device information is not inquired from the account information list and/or account information of the intelligent device is not carried in the inquired multimedia data request.
Optionally, the sending the received target multimedia data returned by the multimedia application responding to the multimedia data request according to the target account 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 multimedia data request method including: registering a target account of the intelligent equipment indicated by an 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 the multimedia application; sending 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, registering the target account of the smart device indicated by the smart device server includes: receiving an account registration request sent by the intelligent device server, wherein 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; 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 under the condition that the access token is successfully verified, distributing the target account for the target equipment information carried in the account registration request.
Optionally, before the receiving the account registration request sent by the smart device server, the method further includes: receiving an access request which is sent by the intelligent equipment server and carries the target equipment information, wherein the access request is used for requesting the multimedia application to allow the intelligent equipment to perform temporary access; and responding to the access request to send 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, registering the target account of the smart device indicated by the smart device server includes: receiving an access request which is sent by the intelligent equipment server and carries target equipment information through a token management server, wherein the access request is used for requesting a multimedia application to allow the intelligent equipment to perform temporary access, and the token management server and an account registration server are deployed in the multimedia application; sending an access token generated for the smart device in response to the access request to the smart device server; 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 the account registration request, and verifying the access token; and under the condition that the verification of the access token is determined to be successful, distributing the target account number to the target device information.
According to another embodiment of the present invention, there is also provided a multimedia data request apparatus including: the first receiving module is used for receiving a multimedia data request initiated by the intelligent equipment; the first registration module is used for registering a target account on the multimedia application for the intelligent equipment under the condition that the intelligent equipment is determined not to 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 responding to the multimedia data request to the intelligent equipment.
According to another embodiment of the present invention, there is also provided a multimedia data request apparatus including: the second registration module is used for registering a target account of the intelligent equipment indicated by the 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 the multimedia application; the second sending module is used for sending the target account to the intelligent equipment server; a second receiving module, configured to receive the multimedia data request with the target account sent by the smart device 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 still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned method for requesting multimedia data when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method for requesting multimedia data through the computer program.
In the embodiment of the invention, a multimedia data request initiated by intelligent equipment is received; under the condition that the intelligent equipment is determined not to register an application account on the multimedia application, registering a target account on the multimedia application for the intelligent equipment, wherein the multimedia application is used for providing multimedia data service; forwarding a multimedia data request carrying the target account to a multimedia application; sending the target multimedia data returned by the received multimedia application responding to the multimedia data request to the intelligent equipment according to the target account, namely, if the multimedia data request initiated by the intelligent equipment is received under the condition that the intelligent equipment does not register an account on the multimedia application, automatically registering the target account for the intelligent equipment on the multimedia application, then requesting the multimedia data for the intelligent equipment through the registered target account on the multimedia application, forwarding the multimedia data request carrying the marked account to the multimedia application to obtain the target multimedia data returned by the multimedia application responding to the multimedia data request, and sending the received target multimedia data to the intelligent equipment for use, thereby realizing that the multimedia data can be obtained on the multimedia application under the condition that the intelligent equipment does not register an application account on the multimedia application, therefore, the multimedia data on the application can be acquired no matter whether the intelligent equipment registers the application account on the multimedia application or not, the user cannot perceive the unavailability of the multimedia data service, the user can smoothly use the multimedia data service, and the experience degree of the user is improved. By adopting the technical scheme, the problems that the data acquisition efficiency of the intelligent equipment is low and the like 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 embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration 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 alternative interaction diagram of a smart device requesting multimedia data according to an embodiment of the present invention;
FIG. 4 is an interaction diagram illustrating an alternative smart device requesting multimedia data according to an embodiment of the present invention;
FIG. 5 is a flow chart of an alternative method for acquiring multimedia data for a smart device according to 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, according to an embodiment of the present invention;
FIG. 8 is an alternative interaction diagram for requesting data on a multimedia application, according to an embodiment of the present invention;
fig. 9 is a block diagram showing the construction of a multimedia data request apparatus according to an embodiment of the present invention;
fig. 10 is a block diagram of a multimedia data requesting apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other sequences than those illustrated or 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 provided by the embodiment of the application can be executed in a computer terminal, a computer terminal or a similar operation device. Taking the example of being operated on a computer terminal, fig. 1 is a hardware structure block diagram of a computer terminal of a multimedia data request method according to an embodiment of the present invention. As shown in fig. 1, the computer terminal may include one or more (only one shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and in an exemplary embodiment, may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the computer terminal. For example, the computer terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or with more functionality than that shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the multimedia data requesting method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The 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 located remotely from the processor 102, which may be connected to a computer terminal over 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 device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In the present embodiment, a multimedia data requesting method is provided, and fig. 2 is a flowchart of a multimedia data requesting method 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 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, sending the received target multimedia data returned by the multimedia application responding to the multimedia data request according to the target account to the intelligent device.
Through the steps, if a 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, a 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 through the registered target account on the multimedia application, the target multimedia data returned by the multimedia application responding to the multimedia data request can be obtained by forwarding the multimedia data request carrying the registered 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 under the condition that the intelligent device does not register the application account on the multimedia application, and the multimedia data on the application can be obtained no matter whether the intelligent device registers the application account on the multimedia application or not, the user does not perceive the unavailability of the multimedia data service, so that the user can smoothly use the multimedia data service, and the experience degree of the user is improved. By adopting the technical scheme, the problems that the data acquisition efficiency of the intelligent equipment is low and the like in the related technology are solved, and the technical effect of improving the data acquisition efficiency of the intelligent equipment is realized.
Optionally, in this embodiment, the multimedia data requesting method may be applied to, but not limited to, a device (e.g., a smart device server) that provides a network service for a smart device. If the user sends an instruction to the intelligent device to play the multimedia data, 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 intelligent device server can provide multimedia data services for the intelligent device through the deployed service skills.
In the technical solution provided in step S202, the intelligent device may include, but is not limited to, various intelligent service devices, the intelligent service device is an intelligent device that provides services for use scenarios such as work or life of the user, and the intelligent service device may include, but is not limited to: intelligent home equipment, intelligent office equipment, intelligent trip equipment and so on, for example, intelligent home equipment includes intelligent refrigerator, intelligent TV, intelligent audio amplifier and so on, and intelligent office equipment includes intelligent printer, intelligent drawing board, intelligent projecting apparatus and so on, and intelligent trip equipment includes intelligent car, intelligent balance car, intelligent electric motor car and so on, and this scheme does not limit to this.
Optionally, in this embodiment, the smart device may be, but is not limited to, a device deployed in a smart scene to provide smart services, and the smart scene may include, but is not limited to, a work scene, a life scene, an entertainment scene, a trip scene, an office scene, a business scene, a leisure scene, and the like.
Optionally, 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 of a service provider that belongs to a different service provider from the smart device, for example, the smart device is a smart device produced by company a, the multimedia application may be an application developed by company a, or an application developed by another third-party service provider other than company a, and this is not limited in this embodiment.
Optionally, in this embodiment, the multimedia data may include, but is not limited to, audio data, video data, picture data, and the like, which is not limited in this embodiment.
In the technical solution provided in step S204 above, registering the target account for the smart device may be, but is not limited to, registering according to device information of the smart device, for example, registering the target account 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 permission in the multimedia application, and the multimedia data of the permission corresponding to the target account can be acquired in the multimedia application through the target account.
In the technical solution provided in step S206, the multimedia data request carries a target account for indicating whether the multimedia application has the right to acquire data corresponding to the multimedia data request, and when the multimedia application receives the multimedia data request, the multimedia application verifies the carried target account to determine whether the multimedia data request needs to be responded.
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 initiating 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, target device information, and the like.
As an optional embodiment, the registering a target account on the multimedia application for the smart device includes:
generating an account registration request according to the target device information of the intelligent device 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 responding to the account registration request.
Optionally, in this embodiment, the target device information may include, but is not limited to: the device ID, the device address (e.g., MAC address, IP address), the device name, etc. are used to uniquely identify the smart device.
Optionally, in this embodiment, when registering the temporary account on the multimedia application, on 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 device, an account registration request that can distinguish between the smart devices may be generated, for example, target device information of the smart device is carried in the account registration request, and the target device information plays a role in distinguishing between the smart devices.
On the other hand, some multimedia applications may require the registration qualification of the registered smart device, and then register a temporary account for the smart device with the registration qualification. For such multimedia applications that require registration qualification of smart devices, account registration requests can be generated that can serve both to differentiate between smart devices and to prove registration qualification.
Such as: in one case, the information capable of proving the registration qualification carried in the account registration request may be target device information of the smart device, the smart device having what characteristics may be agreed with the multimedia application in advance may have qualification for registering the temporary account, and the multimedia application may verify the registration qualification according to the characteristics of the target device information. The target device information can also play a role in distinguishing each intelligent device, and the target device information is carried in the account registration request to request the multimedia application to register a temporary account for the intelligent device.
In another case, the information capable of proving the registration qualification carried in the account registration request may be a registration qualification certificate (e.g., a token, a check code, etc.) allocated to the smart device, and both the target device information and the registration qualification certificate may be carried in the account registration request to request the multimedia application to register a temporary account for the smart 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 perform temporary 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 for the smart device on the multimedia application;
and generating the account registration request carrying the access token and the target device information.
Optionally, in this embodiment, the access token may carry, but is not limited to, access right information, access valid time information, and the like.
Optionally, in this embodiment, when the multimedia application returns the access token in response to the access request, but not limited to, generating the access token and authentication information corresponding to the access token, returning the access token to the access request sender, and storing the authentication information in a storage space corresponding to the multimedia application, where the authentication information is used to authenticate whether the access token is valid.
As an optional embodiment, before registering a target account on the multimedia application for the smart device, 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 determining that the intelligent device does not register an application account on the multimedia application under the condition that account information corresponding to the target device information is not inquired from the account information list and/or account information of the intelligent device is not carried in the inquired multimedia data request.
Optionally, in this embodiment, the account information may include, but is not limited to, an account name, an account password, account permission information, and the like, which is not limited in this embodiment.
Optionally, in this 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 by this scheme.
Optionally, 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 meanwhile, the multimedia data request may also carry account information registered on the multimedia application.
Optionally, in this embodiment, it may be queried whether the intelligent device has registered an application account on the multimedia application according to the multimedia data request, for example, to query account information carried in the multimedia data request, or to query account information corresponding to device information in an intelligent device server that manages the intelligent device, which is not limited in this scheme.
As an alternative implementation, the multimedia data service is provided for the smart device through an interaction between the smart device server and the multimedia application, the smart device server deploys a service skill for executing a request of multimedia data of the smart device, the smart device server provides the multimedia data service for the smart device through the service skill deployed by the smart device server, 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, fig. 3 is an interaction diagram of an alternative 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 a requirement for reading 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 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;
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, the intelligent device server inquires whether account information corresponding to the 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 corresponding to the target device information is included in the account information list stored by the intelligent device server, the account information corresponding to the target device information is used for requesting multimedia data from a multimedia application, and when the server detects that the account information corresponding to the target device information is not included in a corresponding relation stored by the intelligent device server, an account registration request for requesting registration of a target account temporarily accessing the multimedia application is generated, the account registration request carries target equipment information of the intelligent equipment;
s303, the intelligent device server sends the generated account registration request to the multimedia application to request the multimedia application to register a target account temporarily accessing the multimedia application;
s304, the multimedia application detects the legality 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 device server;
s305, after receiving the target account, the intelligent device server generates a multimedia data request carrying the target account and identification information of 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 of reading the target multimedia data according to the target account and the identification information of the multimedia data carried in the multimedia application, and when the target account has the authority of reading the target multimedia data, the multimedia application sends the target multimedia data corresponding to the identification information to the intelligent equipment server;
and S307, the intelligent equipment server sends the target multimedia data to the intelligent equipment after receiving the returned target multimedia data.
In the above embodiment, the intelligent device server stores the correspondence between the device information and the account information of the intelligent device, and when the multimedia data request generated by the intelligent device does not include an application account registered in the multimedia application by the multimedia application, it is detected whether account information corresponding to the target device information exists in the correspondence between the device information and the account information stored in the intelligent device server, so that the intelligent device server determines a manner of requesting the target multimedia data from the multimedia application according to the detection result.
As another optional implementation, when generating a multimedia data request, the intelligent device may also generate a multimedia data request carrying account information of whether an application account is registered on the multimedia application, and the intelligent device server determines a manner of requesting target multimedia data from the multimedia application only according to whether the multimedia data request carries the account information of the application account registered on the multimedia application without storing a corresponding relationship between the device information and the account information of the intelligent device, where fig. 4 is an interaction diagram of another optional intelligent device requesting multimedia data according to an embodiment of the present invention, and as shown in fig. 4, the interaction process may include, but is not limited to, the following steps:
s401, when the intelligent device has a requirement for reading multimedia data on the multimedia application, firstly determining whether the intelligent device has registered an application account on the multimedia application, and 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 a multimedia data request, an intelligent device server detects whether the multimedia data request carries account information of intelligent devices or not, generates an account registration request of a target account requesting temporary access on a multimedia application under the condition that the multimedia data request does not carry account information, wherein the account registration request carries the target device information of the intelligent devices, sends the account registration request to the multimedia application, and requests to register the target account temporarily accessing the multimedia application on the multimedia application;
s403, after receiving the account registration request, the multimedia application firstly detects the legality of 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 device server;
s404, after receiving the target account, the intelligent device server generates a multimedia data request carrying the target account and the identification information of the 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 and the identification information of the multimedia data requested to be read, and when the target account is determined to have 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 optional implementation manner, when there is a need to read multimedia data on a multimedia application, an intelligent device may request multimedia data in the multimedia application for the intelligent device through an intelligent device server for managing the intelligent device, where the multimedia application may be a server for providing multimedia data for the intelligent device, the multimedia application can register a temporary account for the intelligent device and provide a multimedia data service for the intelligent device according to the temporary account, fig. 5 is a flowchart of an optional method for acquiring multimedia data for the intelligent device according to an embodiment of the present invention, as shown in fig. 5, which may include, but is not 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 registered on the multimedia application by the intelligent equipment;
s503, when it is detected that the multimedia data request does not carry account information of the registered application account, querying whether 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, under the condition that account information corresponding to the target device information does not exist in the account information list, generating an account registration request for requesting to register a target account for temporarily accessing the multimedia application on the multimedia application;
s505, using a target account generated by the multimedia application responding to the account registration request, generating a multimedia data acquisition request carrying account information and identification information of multimedia data requested to be read, thereby acquiring target multimedia data corresponding to the identification information in the multimedia application;
s506, under the condition that the intelligent device server detects that the account information of the registered application is carried in the multimedia data request, generating a multimedia data acquisition request carrying the account information and a target multimedia data identifier of the target multimedia data, so as to acquire the target multimedia data in the multimedia application;
and S507, sending the target multimedia data to the intelligent equipment.
As an optional embodiment, the sending, to the intelligent device, the received target multimedia data returned by the multimedia application in response to the multimedia data request according to the target account 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.
Optionally, in this embodiment, the device information is used to determine the intelligent device requesting the target multimedia data, and the device information may include, but is not limited to, a device identifier that uniquely identifies the intelligent device, such as a device name and a device address of the intelligent device, for example, a specific device managed under the intelligent device server and corresponding to the device name can be determined according to the device name, or the intelligent device corresponding to the address can be determined according to an IP address and a 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 the like.
Another method for requesting multimedia data is provided in this embodiment, 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, sending the target account to the intelligent equipment server;
step S606, receiving the multimedia data request carrying the target account sent by the intelligent device server;
step S608, responding to the multimedia data request, sending the target multimedia data to the smart device server.
Through the steps, the intelligent equipment server can receive a multimedia data request initiated by the intelligent equipment and determine whether the intelligent equipment registers an application account on the multimedia application, under the condition that the intelligent equipment server determines that the intelligent equipment registers the application account on the multimedia application, a target account of the intelligent equipment indicated by the intelligent equipment server is registered, the generated target account is sent to the intelligent equipment server, the intelligent equipment server sends a multimedia data request with the target account after receiving the target account, so that data is requested to the multimedia application through the target account, further, the multimedia data request with the target account sent by the intelligent equipment is received, the target multimedia data is sent to the intelligent service equipment through responding to the multimedia data request, and the purpose that the multimedia number can be obtained on the multimedia application under the condition that the intelligent equipment does not register the application account on the multimedia application is achieved Therefore, the multimedia data on the application can be acquired no matter whether the intelligent equipment registers the application account on the multimedia application or not, the user cannot perceive the unavailability of the multimedia data service, the user can smoothly use the multimedia data service, and the experience degree of the user is improved. By adopting the technical scheme, the problems that the data acquisition efficiency of the intelligent equipment is low and the like in the related technology are solved, and the technical effect of improving the data acquisition efficiency of the intelligent equipment is realized.
Optionally, in this embodiment, the multimedia data requesting method may be applied to, but not limited to, a multimedia application (e.g., a multimedia application server, a multimedia application service system, etc.) providing a multimedia data service for the smart device. The multimedia application is deployed with a function for executing the above-described request method for multimedia data. The function can provide services for registering the temporary account for the intelligent device and can provide multimedia data services 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 a 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 the smart device, and the smart device server controls the operation of the smart device.
Optionally, 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 of a service provider that belongs to a different service provider from the smart device, for example, the smart device is a smart device produced by company a, the multimedia application may be an application developed by company a, or an application developed by another third-party service provider other than company a, and this is not limited in this embodiment.
Optionally, in this embodiment, the multimedia data may include, but is not limited to, audio data, video data, picture data, and the like, which is not limited in this embodiment.
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 read permission for the common multimedia data is provided, the permission only allows reading the common multimedia data on the multimedia application, the target valid time is used to indicate an available time of the target account, and data cannot be requested through the target account after the time exceeds the available time.
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 (lyric, nostalgic, etc.), or an author of the song, and this scheme is not limited to this.
In the technical solution provided in step S608, when responding to the multimedia data request, the permission of the target account is detected, whether the permission of the target account matches the target multimedia data requested by the multimedia data request is detected, and the target multimedia data is sent to the intelligent device server only when the permission matches the target multimedia data.
As an alternative 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 device server, wherein 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;
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 under the condition that the access token is successfully verified, distributing the target account for the target equipment information carried in the account registration request.
Optionally, in this embodiment, the access token may include, but is not limited to, right information written to the access, access validity time information, and the like.
Optionally, in this embodiment, the manner of verifying the access token may include, but is not limited to, performing a target calculation (e.g., calculating an MD5 value) on the access token and determining whether the access token is valid according to a calculation result, or may also be determining whether the access token is valid according to a matching result by matching the access token with pre-stored verification information corresponding to the access token.
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 which is sent by the intelligent equipment server and carries the target equipment information, wherein the access request is used for requesting the multimedia application to allow the intelligent equipment to perform temporary access;
and responding to the access request to send 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, in this embodiment, when the access token is returned in response to the access request, but not limited to, generating the access token and authentication information corresponding to the access token, returning the access token to the access request sender, and storing the authentication information 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 alternative embodiment, the registering the target account number of the smart device indicated by the smart device server includes:
receiving an access request which is sent by the intelligent equipment server and carries target equipment information through a token management server, wherein the access request is used for requesting a multimedia application to allow the intelligent equipment to perform temporary access, and the token management server and an account registration server are deployed in the multimedia application; sending an access token generated for the smart device in response to the access request to the smart device server;
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 the account registration request, and verifying the access token; and under the condition that the access token is determined to be successfully verified, distributing the target account number for the target device information.
Optionally, in this embodiment, the multimedia application is used to provide multimedia data services for the smart device, including a service of registering a temporary account for the smart device and a service of 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 performed through cooperation of multiple servers, for example, a certain service provider develops multiple applications (music playing application, video playing application, social entertainment application), each application provides a corresponding data service for a user through a separate server, in order to facilitate the service provider to manage subordinate applications, an upper management server of the multiple application servers is constructed, the upper management server may be a token management server, issues an access token for a smart device requesting to access the application server, the access token is used to indicate whether to allow temporary access to the application server, and the application server may receive an account registration request carrying the access token and target device information of the smart device sent by the smart device server, and responding to the account registration request to generate a target account for the intelligent equipment and providing multimedia data for the target account.
As an optional implementation manner, when there is a need to read multimedia data on a multimedia application, the smart device may request multimedia data in the multimedia application for the smart device through a smart device server for managing the smart device, where the multimedia application is used to provide the multimedia data for the smart device, the multimedia application can register a temporary account for the smart device and provide a multimedia data service for the smart device according to the temporary account, fig. 7 is an alternative interaction diagram for requesting 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 speaker, and the smart device server is used to manage a server of the smart speaker, as shown in fig. 7, the process may include, but is not limited to, the following steps:
s701, the intelligent equipment sends a request for playing the phase sound to an intelligent equipment server;
s702, after receiving a request for playing phase sounds sent by an intelligent device, an intelligent device server queries whether the intelligent device has registered an application account on a multimedia application according to the phase sound playing request, and under the condition that the registered application account is not queried as a result of the query, the intelligent device server generates a temporary access request according to a device address of the intelligent device carried in the request for playing the phase sounds, 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 the device address, wherein the account registration request is used for requesting the multimedia application to register the temporary account;
s705, after receiving the 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 phase sound and a request for playing the phase sound of a temporary account number (OpenId), 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 device server, and the intelligent device server correspondingly stores the device information of the intelligent device, the temporary access request, the temporary access token (token), the temporary account number (OpenId) and the data returned by the multimedia application, which have a corresponding relationship with the device information, in a redis database, so that the fast processing is facilitated;
and S708, the intelligent device server transmits the phase sound returned by the multimedia application to the intelligent device.
In practical applications, due to the service requirement of a service provider, a phenomenon that a multimedia application includes multiple servers may occur, and different servers are used to perform different service functions, for example, the multimedia application may include a token management server and an account registration server, 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 for playing a song sent by the intelligent device, the intelligent device server inquires whether the intelligent device has registered an application account on the multimedia application according to the song request, and under the condition that the registered application account is not inquired in the inquiry result, the intelligent device server generates a temporary access request according to a device address of the intelligent device carried in the song playing request, and requests to acquire a temporary access token (token) of a token management server of the multimedia application;
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 a 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 a song information and a temporary account number (OpenId) song request carrying the request, transmits the song information and the temporary account number (OpenId) song request to the token management server, and transmits the song information and the temporary account number to the account number registration server through the token management server;
s807, the token management server transmits the song request to the account management server after checking the temporary account (OpenId);
s808, the account management server transmits the song requested to be acquired in the multimedia data request to the upper token management server;
s809, the upper token management server transmits the song to the intelligent device server, and the intelligent device server correspondingly stores the device information of the intelligent device, the temporary access request, the temporary access token (token), the temporary account number (OpenId) and the returned data which have a corresponding relationship with the device information in a redis database, so that the rapid processing is facilitated;
and S810, the intelligent equipment server transmits the returned song to the intelligent equipment.
In the above embodiment, data on the intelligent device and data in the APP can be synchronized through the message middleware rockMQ between the intelligent device and the APP for controlling the intelligent device, so that high concurrency of the data is ensured, the message is reliable and is not easy to lose, and the scene execution rate is higher.
In the above embodiment, data on the intelligent device and data in the APP can be synchronized through the message middleware rockMQ between the intelligent device and the APP for controlling the intelligent device, so that high concurrency of the data is ensured, the message is reliable and is not easy to lose, and the scene execution rate is higher.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the 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 on a multimedia application for the smart device if it is determined that the smart device does not register an application account on the multimedia application, where the multimedia application is used for providing a multimedia data service;
a forwarding module 96, configured to forward the multimedia data request carrying the target account to the multimedia application;
a first sending module 98, configured to send target multimedia data returned by the multimedia application in response to the multimedia data request to the smart device.
Through the device, if a 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, a 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 through the registered target account on the multimedia application, the target multimedia data returned by the multimedia application responding to the multimedia data request can be obtained by forwarding the multimedia data request carrying the registered 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 under the condition that the intelligent device does not register the application account on the multimedia application, and the multimedia data on the application can be obtained no matter whether the intelligent device registers the application account on the multimedia application or not, the user does not perceive the unavailability of the multimedia data service, so that the user can smoothly use the multimedia data service, and the experience degree of the user is improved. By adopting the technical scheme, the problems that the data acquisition efficiency of the intelligent equipment is low and the like 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 generating unit is used for generating an account registration request according to the target device information of the intelligent device carried in the multimedia data request;
the first sending unit is used for sending the account registration request to the multimedia application;
a first receiving unit, configured to receive 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 perform temporary 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 for the smart device on the multimedia application;
and generating the account registration request carrying the access token and the target device information.
Optionally, the apparatus further comprises:
the query module is used for querying account information corresponding to the target device information of the intelligent device carried in the multimedia data request from an account information list before registering a target account on the multimedia application for the intelligent device, wherein the account information list records device information, application information and account information which have corresponding relations; and/or inquiring account information of the intelligent equipment carried in the multimedia data request;
a determining module, configured to determine that the intelligent device does not register an application account on the multimedia application when account information corresponding to the target device information is not queried in the account information list and/or when the account information of the intelligent device is not carried in the multimedia data request.
Optionally, the second sending module includes:
a second receiving unit, configured to receive the target multimedia data returned by the multimedia application according to the target account in response to the multimedia data request, where the target multimedia data carries the target account;
a determining unit, configured to determine, from a correspondence between account information and device information, target device information corresponding to the target account;
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 register a target account of the smart device indicated by the 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 with the 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;
a third sending module 1008, configured to respond to the multimedia data request and send the target multimedia data to the smart device server.
Through the steps, the intelligent equipment server can receive a multimedia data request initiated by the intelligent equipment and determine whether the intelligent equipment registers an application account on the multimedia application, under the condition that the intelligent equipment server determines that the intelligent equipment registers the application account on the multimedia application, a target account of the intelligent equipment indicated by the intelligent equipment server is registered, the generated target account is sent to the intelligent equipment server, the intelligent equipment server sends a multimedia data request with the target account after receiving the target account, so that data is requested to the multimedia application through the target account, further, the multimedia data request with the target account sent by the intelligent equipment is received, the target multimedia data is sent to the intelligent service equipment through responding to the multimedia data request, and the purpose that the multimedia number can be obtained on the multimedia application under the condition that the intelligent equipment does not register the application account on the multimedia application is achieved Therefore, the multimedia data on the application can be acquired no matter whether the intelligent equipment registers the application account on the multimedia application or not, the user cannot perceive the unavailability of the multimedia data service, the user can smoothly use the multimedia data service, and the experience degree of the user is improved. By adopting the technical scheme, the problems that the data acquisition efficiency of the intelligent equipment is low and the like 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 device;
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 is determined to be successfully verified.
Optionally, the apparatus further comprises:
a third receiving module, configured to receive, before the receiving of the account registration request sent by the intelligent device server, an access request that is sent by the intelligent device server and carries the target device information, where the access request is used to request the multimedia application to allow the intelligent device to perform temporary access;
a fourth sending module, configured to send the access token to the smart device server in response to the access request, where the smart device server is configured to generate the account registration request carrying the access token and the target device information.
Optionally, the second registration module includes:
the system comprises a first processing unit, a second processing unit and a third processing unit, wherein the first processing unit is used for receiving an access request which is sent by an intelligent equipment server and carries target equipment information through a token management server, the access request is used for requesting a multimedia application to allow the intelligent equipment to perform temporary access, and the token management server and an account registration server are deployed in the multimedia application; sending an access token generated for the smart device in response to the access request to the smart 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 the account registration request, and verifying the access token; and under the condition that the verification of the access token is determined to be successful, distributing the target account number to the target device information.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (13)

1. A method for requesting multimedia data, comprising:
receiving a multimedia data request initiated by intelligent equipment;
under the condition that the intelligent device is determined not to register an application account on a multimedia application, registering a target account on the multimedia application for the intelligent device, wherein the multimedia application is used for providing multimedia data service;
forwarding the multimedia data request carrying the target account to the multimedia application;
and sending the received target multimedia data returned by the multimedia application responding to the multimedia data request according to the target account to the intelligent equipment.
2. The method for requesting multimedia data according to claim 1, wherein the registering a target account on the multimedia application for the smart device comprises:
generating an account registration request according to the target device information of the intelligent device 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 responding to the account registration request.
3. The method for requesting multimedia data according to claim 2, wherein the generating an account registration request according to the target device information of the smart device carried in the multimedia data request comprises:
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 perform temporary 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 for the smart device on the multimedia application;
and generating the account registration request carrying the access token and the target device information.
4. The method of claim 1, wherein prior to registering a target account on the multimedia application for the smart device, 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 determining that the intelligent device does not register an application account on the multimedia application under the condition that account information corresponding to the target device information is not inquired from the account information list and/or account information of the intelligent device is not carried in the inquired multimedia data request.
5. The method for requesting multimedia data according to claim 1, wherein the sending the received target multimedia data returned by the multimedia application in response to the multimedia data request according to the target account to the smart device comprises:
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.
6. A method for requesting multimedia data, 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 the multimedia application;
sending 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.
7. The method for requesting multimedia data according to claim 6, 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 device server, wherein 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;
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 under the condition that the access token is successfully verified, distributing the target account for the target equipment information carried in the account registration request.
8. The method for requesting multimedia data according to claim 7, wherein before said receiving the account registration request sent by the smart device server, the method further comprises:
receiving an access request which is sent by the intelligent equipment server and carries the target equipment information, wherein the access request is used for requesting the multimedia application to allow the intelligent equipment to perform temporary access;
and responding 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.
9. The method for requesting multimedia data according to claim 6, wherein registering the target account number of the smart device indicated by the smart device server comprises:
receiving an access request which is sent by the intelligent equipment server and carries target equipment information through a token management server, wherein the access request is used for requesting a multimedia application to allow the intelligent equipment to perform temporary access, and the token management server and an account registration server are deployed in the multimedia application; sending an access token generated for the smart device in response to the access request to the smart device server;
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 the account registration request, and verifying the access token; and under the condition that the access token is determined to be successfully verified, distributing the target account number for the target device information.
10. A multimedia data requesting apparatus, comprising:
the first receiving module is used for receiving a multimedia data request initiated by the intelligent equipment;
the first registration module is used for registering a target account on the multimedia application for the intelligent equipment under the condition that the intelligent equipment is determined not to 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 responding to the multimedia data request to the intelligent equipment.
11. A multimedia data requesting apparatus, comprising:
the second registration module is used for registering a target account of the intelligent equipment indicated by the 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 the 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 which is sent by the intelligent equipment server and carries the target account;
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.
12. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 9.
13. 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 of any of claims 1 to 9 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 true CN114554251A (en) 2022-05-27
CN114554251B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115866316A (en) * 2022-11-23 2023-03-28 上海卓悠网络科技有限公司 Multimedia file sharing method and system

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115866316A (en) * 2022-11-23 2023-03-28 上海卓悠网络科技有限公司 Multimedia file sharing method and system

Also Published As

Publication number Publication date
CN114554251B (en) 2024-01-23

Similar Documents

Publication Publication Date Title
CN108171083B (en) Block chain trusted data management method, system and computer readable storage medium
CN108681965B (en) Block chain network transaction processing method and device for offline node
CN110798466B (en) Verification method and system for software license in virtual machine scene
JP6574168B2 (en) Terminal identification method, and method, system, and apparatus for registering machine identification code
CN108769230B (en) Transaction data storage method, device, server and storage medium
CN109413096B (en) A kind of login method and device more applied
CN105592011B (en) Account login method and device
CN109688186B (en) Data interaction method, device, equipment and readable storage medium
CN108965469B (en) Dynamic management method, device, equipment and storage medium for members of block chain network
CN108023881B (en) Application login method, device, medium and electronic equipment
CN109635550B (en) Permission verification method, gateway and system for cluster data
CN108260015B (en) Voting data processing method and device and electronic equipment
CN106464667B (en) Certificate management method, equipment and system
CN112188493A (en) Authentication method, system and related equipment
CN108933789B (en) Method for preventing personal information leakage and third-party application server
CN109299333B (en) Block chain network account book member management method, device, equipment and storage medium
CN111176794A (en) Container management method and device and readable storage medium
CN112333289A (en) Reverse proxy access method, device, electronic equipment and storage medium
CN111339524A (en) Multi-tenant permission control method and device
CN114339755A (en) Registration verification method and device, electronic equipment and computer readable storage medium
CN114554251B (en) Multimedia data requesting method and device, storage medium and electronic device
CN108632037B (en) Public key processing method and device of public key infrastructure
CN101896917B (en) Method for moving rights object and method for managing rights of issuing rights object and system thereof
CN113225350B (en) Network resource management method, device, medium and electronic equipment
CN113117339B (en) Data processing method, device, server and storage medium

Legal Events

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