CN112367394A - Large-screen cloud disk data request method, intelligent large-screen terminal and readable storage medium - Google Patents

Large-screen cloud disk data request method, intelligent large-screen terminal and readable storage medium Download PDF

Info

Publication number
CN112367394A
CN112367394A CN202011228912.6A CN202011228912A CN112367394A CN 112367394 A CN112367394 A CN 112367394A CN 202011228912 A CN202011228912 A CN 202011228912A CN 112367394 A CN112367394 A CN 112367394A
Authority
CN
China
Prior art keywords
cloud disk
screen
application
cloud
data
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.)
Pending
Application number
CN202011228912.6A
Other languages
Chinese (zh)
Inventor
程俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202011228912.6A priority Critical patent/CN112367394A/en
Publication of CN112367394A publication Critical patent/CN112367394A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a large-screen cloud disk data request method, an intelligent large-screen terminal and a readable storage medium, wherein the method comprises the following steps: acquiring a cloud disk starting identifier, and determining that a cloud disk application is started; sending a login request to the cloud disk, performing identity authorization verification, and acquiring an authorized access token; and accessing the cloud disk through an HTTP (hyper text transport protocol) protocol to carry out cloud disk data requests, receiving json character strings returned by the cloud disk, converting the character strings into corresponding json objects, and acquiring corresponding cloud disk data. According to the invention, data interaction is carried out between the large-screen cloud disk application and the cloud disk, so that the intelligent large-screen terminal can make a data request to the cloud disk to obtain cloud disk data stored by the cloud disk, the available storage space of the intelligent large-screen terminal is expanded, the problem that the traditional intelligent large screen is frequently insufficient in memory in the use process is solved, the working efficiency of the intelligent large screen is improved, and the user operation experience is optimized.

Description

Large-screen cloud disk data request method, intelligent large-screen terminal and readable storage medium
Technical Field
The invention relates to the field of intelligent terminals, in particular to a large-screen cloud disk data request method, an intelligent large-screen terminal and a readable storage medium.
Background
In the prior art, along with the wide application of the intelligent large screen, more and more household appliance terminals start to carry the intelligent large screen to be used more intelligently, and different requirements of users are met, such as an intelligent large-screen refrigerator, an intelligent large-screen range hood and the like. The traditional intelligent large screen is limited by a plurality of factors such as installation stations, cost and the like, and the problem of insufficient memory storage performance exists in the using process, so that other functions of the intelligent large screen are limited, and the user experience is poor when the user uses the intelligent large screen.
Disclosure of Invention
The invention mainly aims to provide a large-screen cloud disk data request method, so that an intelligent large-screen system can request cloud disk data from a cloud disk, the available storage space of the intelligent large-screen system is effectively expanded, the working efficiency of an intelligent large screen is improved, and the technical problem which cannot be realized in the prior art is solved.
In order to achieve the above object, the present invention provides a large-screen cloud disk data request method, including:
acquiring a cloud disk application starting identifier, and determining that the cloud disk application is started;
sending a login request to the cloud disk, and performing identity authorization verification;
accessing the cloud disk through an HTTP (hyper text transport protocol) protocol to initiate a cloud disk data acquisition request, receiving a json character string returned by the cloud disk, converting the json character string into a corresponding json object, and analyzing the json object to acquire cloud disk data carried by the json object.
In addition, in order to achieve the above object, the present invention further provides an intelligent large-screen terminal, where the intelligent large-screen terminal includes a memory, a processor, and a large-screen cloud disk data request program stored in the memory and executable on the processor, and the processor implements the steps of the method when executing the large-screen cloud disk data request program.
The invention also provides a computer readable storage medium, wherein a large-screen cloud disk data request program is stored on the computer readable storage medium, and the steps of the large-screen cloud disk data request method are realized when the large-screen cloud disk data request program is executed by a processor.
According to the large-screen cloud disk data request method provided by the embodiment of the invention, the cloud disk application is determined to be started by obtaining the cloud disk application starting identification, the login request is sent to the cloud disk, the identity authorization verification is carried out, so that a user can access the cloud disk through the authorization verification when accessing the cloud disk, the cloud disk data request is carried out by accessing the cloud disk through an HTTP (hyper text transport protocol), the json character string returned by the cloud disk is received, the json character string is converted into the corresponding json object, and then the json object is analyzed to obtain the cloud disk data carried by the json object. The intelligent large-screen terminal can effectively request the cloud disk to acquire cloud disk data, the available storage space of the intelligent large-screen terminal is expanded, the problem that insufficient memory frequently occurs in the use process of a traditional intelligent large screen is solved, and the working efficiency of the intelligent large-screen terminal is effectively improved.
Drawings
Fig. 1 is a schematic structural diagram of an intelligent large-screen terminal of a hardware operating environment according to an embodiment of a large-screen cloud disk data request method of the present invention;
fig. 2 is a schematic flowchart of a first embodiment of a large-screen cloud disk data requesting method according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a method for requesting cloud disk data according to the present invention;
fig. 4 is a flowchart illustrating a third embodiment of a large-screen cloud disk data requesting method according to the present invention;
FIG. 5 is a flowchart illustrating a fourth embodiment of a method for requesting cloud disk data according to the present invention;
fig. 6 is a schematic flowchart of a fifth embodiment of a large-screen cloud disk data requesting method according to the present invention;
fig. 7 is a flowchart illustrating a sixth embodiment of a large-screen cloud disk data requesting method according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: acquiring a cloud disk application starting identifier, determining that the cloud disk application is started, sending a login request to the cloud disk, and performing identity authorization verification; accessing the cloud disk through an HTTP (hyper text transport protocol) protocol to initiate a cloud disk data acquisition request, receiving a JSON character string returned by the cloud disk, converting the JSON character string into a corresponding JSON object, and analyzing the JSON object to acquire cloud disk data carried by the JSON object.
In the prior art, along with the wide application of the intelligent large screen, more and more household appliance terminals start to carry the intelligent large screen to be used more intelligently, and different requirements of users are met, such as an intelligent large-screen refrigerator, an intelligent large-screen range hood and the like. The traditional intelligent large screen is limited by a plurality of factors such as installation stations, cost and the like, and the problem of insufficient memory storage performance exists in the using process, so that other functions of the intelligent large screen are limited, and the user experience is poor when the user uses the intelligent large screen.
Based on the above, the invention provides a solution, which is characterized in that a cloud disk start identifier is obtained, it is determined that a cloud disk application is started, a login request is sent to the cloud disk, and authentication is performed, so that a user can pass authentication when accessing the cloud disk, after the authentication is performed, the cloud disk is accessed through an HTTP protocol to initiate a cloud disk data acquisition request, a json character string returned by the cloud disk is received, the json character string is converted into a corresponding json object, and the json object is analyzed to acquire cloud disk data carried by the json object. The cloud disk data can be effectively requested by the intelligent large-screen terminal, the available storage space of the intelligent large-screen terminal is expanded, and the working efficiency of the intelligent large-screen terminal is effectively improved.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an intelligent large-screen terminal in a hardware operating environment according to an embodiment of a large-screen cloud disk data request method of the present invention.
As shown in fig. 1, the intelligent large-screen terminal may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display). The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory).
Optionally, the smart large-screen terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, a remote controller, an audio circuit, a WiFi module, a detector, and the like. Of course, the terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer and a temperature sensor, which are not described herein again.
It should be understood by those skilled in the art that the hardware structure of the intelligent large-screen terminal shown in fig. 1 does not constitute a limitation of the intelligent large-screen terminal, and may include more or less components than those shown, or combine some components, or arrange different locations.
As shown in fig. 1, a memory 1005, which is a kind of computer-readable storage medium, may include therein an operating system, a network communication module, a user interface, and a computer program, such as a large-screen cloud disk data request program, and the like. The operating system is a program for managing and controlling the intelligent large-screen terminal and other large-screen software resources, and supports the operation of the network communication module, the user interface module, the large-screen cloud disk request program and other large-screen programs or large-screen software; the network communication module is used for managing and controlling the network interface 1002; the user interface module is used to manage and control the user interface 1003.
In the hardware structure of the intelligent large-screen terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a system background and performing data communication with the system background; the user interface 1003 is mainly used for receiving an operation instruction issued by a user, and the processor 1001 may be configured to invoke a large-screen cloud disk data request program stored in the memory 1005, and perform the following operations:
acquiring a cloud disk starting identifier, and determining that a cloud disk application is started;
sending a login request to the cloud disk, and performing identity authorization verification;
accessing the cloud disk through an HTTP (hyper text transport protocol) protocol to initiate a cloud disk data acquisition request, receiving a json character string returned by the cloud disk, converting the json character string into a corresponding json object, and analyzing the json object to acquire cloud disk data carried by the json object.
Referring to fig. 2, fig. 2 is a schematic flowchart of a first embodiment of a large-screen cloud disk data requesting method according to the present application.
The embodiments of the present application provide an embodiment of a large-screen cloud disk data request method, and it should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that here.
The large-screen cloud disk data request method comprises the following steps:
step S10: the large screen system of the intelligent large screen terminal acquires a cloud disk application starting identifier and determines that the cloud disk application is started;
the intelligent large-screen terminal is a newly-developed intelligent large-screen household appliance terminal which is developed and formed along with the accelerated intelligent progress of the Internet of things and the household appliance terminal and carries an intelligent large-screen system, such as an intelligent large-screen refrigerator, an intelligent large-screen range hood and the like, and when a user uses the intelligent large-screen terminal, the intelligent large-screen terminal can be interacted on the large-screen system carried by the intelligent large-screen terminal, so that more intelligent operation is realized; in a specific embodiment, the intelligent large-screen terminal is an intelligent large-screen refrigerator, a user can check the storage time of frozen objects in the intelligent large-screen refrigerator on a large-screen system of the intelligent large-screen refrigerator, and the storage time is the freezing time from the time when the frozen objects are placed in the intelligent large-screen refrigerator to the time when the user checks the frozen objects through the large-screen system; optionally, the user can also perform other intelligent operations such as intelligent recipe recommendation and the like on the large-screen system of the intelligent large-screen refrigerator according to frozen articles in the intelligent large-screen refrigerator.
In other specific embodiments, the intelligent large-screen terminal may also be other home appliance terminals carrying the large-screen system.
Optionally, after the intelligent large-screen terminal is powered on and started, the available network in the large-screen system search area performs network access, and optionally, the available network includes network access modes such as WIFI (wireless local area network) or mobile network. After the cloud disk is accessed to the network, the large-screen system performs cloud disk connection query operation and detects whether the large-screen system is accessed to the cloud disk, wherein the cloud disk is also called a network disk and is an internet storage tool, and services such as storage, reading, downloading and the like of cloud disk data are provided for a user through the internet. And if the cloud disk connection query result indicates that the large-screen system does not access the cloud disk server, the large-screen system acquires the cloud disk application starting identifier. Specifically, before the cloud disk application of the large-screen system is started for the first time, the large-screen system creates a cloud disk application monitoring process, the cloud disk application monitoring process is used for monitoring whether the large-screen system runs the cloud disk application or not, and transmitting a detection result to a cloud disk application starting identifier for displaying. Optionally, the large-screen system presets a cloud disk application start identifier in a cloud disk start folder of the specified storage, where the cloud disk application start identifier is used to reflect a cloud disk application start result. Optionally, the cloud disk application start identifier receives monitoring data transmitted by the cloud disk application monitoring process, and obtains a start condition of the cloud disk application, if the large-screen system has started the cloud disk application, the cloud disk application start identifier in the cloud disk start folder is changed to that the cloud disk application is successfully started, and if the cloud disk application is closed, the cloud disk application start identifier in the cloud disk start folder is changed to that the cloud disk application is not started. And the large screen system reads the cloud disk application starting identifier in the cloud disk starting folder and judges the starting condition of the cloud disk application. If the cloud disk application starting identifier is that the cloud disk application is successfully started, the cloud disk application of the large-screen system is started; if the cloud disk application starting identifier indicates that the cloud disk application is not started, the cloud disk application of the large-screen system is not started, and the large-screen system sends an operation instruction for starting the cloud disk application to start the cloud disk application. Optionally, in a specific embodiment, the cloud disk application start identifier may also be preset to 1 or 0 to indicate that the cloud disk application start identifier of the cloud disk start folder is changed to 1 if the cloud disk application of the large-screen system is started; and if the cloud disk application of the large-screen system is not started, the cloud disk application starting identifier of the cloud disk starting folder is changed into 0.
After the large screen system of the intelligent large screen terminal determines that the cloud disk application is started, the large screen system is accessed to the cloud disk server through the cloud disk application.
Step S20, sending a login request to the cloud disk for authentication;
optionally, the large-screen system calls a cloud disk login interface through a cloud disk application and an API (application program interface) of a cloud disk SDK (software development kit) provided by a cloud disk service provider, where the cloud disk SDK is a development tool set established by a cloud disk software engineer for cloud disk application software, and the API is an interface for calling the cloud disk application and other application programs, so as to implement interaction between the application program and the cloud disk server; and the large screen system keys in a cloud disk account password on a cloud disk login interface called by the SDK API interface to log in. And logging in the cloud disk server by the large-screen system to perform identity authorization verification. The large screen system receives login information returned by the cloud disk server, if the cloud disk account password passes verification, the identity authorization passes verification, and the login information is that the cloud disk is successfully logged in; if the cloud disk account password is not matched, the cloud disk account password authentication fails, the identity authorization authentication fails, the login information is the cloud disk login failure, and the large-screen system re-keys the cloud disk account password in the login interface to log in.
Optionally, the large-screen system logs in the cloud disk server through the cloud disk application, after the authentication of the identity is passed, the cloud disk application jumps to a callback interface to obtain an access token (authorized access token) associated with the logged cloud disk account, where the access token is a credential for user authentication and authorization and contains security information of logging in the cloud disk server after the large-screen system keys in a cloud disk account password, and the large-screen system needs to be accompanied by the access token for authentication when performing data interaction with the cloud disk server in a cloud disk SDK or HTTP (hypertext transfer protocol) mode. After the large-screen system obtains the access token through the cloud disk application callback interface, the access token is recorded so that the large-screen system can use the access token to verify when calling other interfaces of the cloud disk application.
Step S30: the large screen system accesses the cloud disk through an HTTP (hyper text transport protocol) protocol to carry out cloud disk data requests, receives json character strings returned by the cloud disk, converts the json character strings into corresponding json objects, and analyzes the json objects to obtain cloud disk data carried by the json objects.
Optionally, after receiving the operation instruction for calling the cloud disk data, the large-screen system accesses the cloud disk server through the HTTP protocol in the cloud disk application, and specifically, the large-screen system generates a URL address for accessing the cloud disk server and a request parameter for obtaining the cloud disk data according to the operation requirement for calling the operation instruction for the cloud disk data, so as to form a cloud disk data request.
Optionally, after the large-screen system generates the cloud disk data request, a request address is randomly generated, the cloud disk server is accessed by using the request address through an HTTP protocol, and the cloud disk data request is transmitted to the cloud disk server. And after the cloud disk server analyzes the cloud disk data request, calling the cloud disk data request according to the cloud disk data request to reply the cloud disk data request, wherein the cloud disk data request reply comprises cloud disk data file information and prompt information of the specified cloud disk data which is not found. The cloud disk server replies the cloud disk data request to generate a corresponding json character string (string), wherein json is a lightweight data exchange format, and a user can easily read and write the data and is convenient for a machine to analyze the data. The json character string is a set of any number of unicode characters defined by double quotation marks and generated by json, and the cloud disk server transmits the generated json character string back to the large-screen system. The large screen system converts the acquired json character string into a json object (object), wherein the json object is a set of key/value pairs without fixed sequence, the key and the value are separated by colons, and the key/value pairs are separated by commas. And traversing the json object obtained by conversion by the large-screen system, acquiring a key value of the json object, and acquiring a cloud disk data request reply carried by the json object according to the key value. And checking the cloud disk data request reply to obtain the cloud disk data file information. And analyzing the cloud disk data file information, acquiring a file path under a cloud disk data file list, generating a corresponding download request link according to the file path, and downloading the cloud disk data.
The large-screen system of the intelligent large-screen terminal in the embodiment performs the cloud disk data request through the SDK applied by the cloud disk and the cloud disk server, so that a user can avoid being limited by insufficient memory of the large-screen system and being unable to perform diversified intelligent control on the intelligent large-screen terminal when using the intelligent large-screen terminal; the large-screen system accesses the cloud disk server through the HTTP after receiving a cloud disk data request sent by a user, acquires a json character string which is transmitted by the cloud disk server and carries a cloud disk data request reply, converts the json character string into a json object and then traverses the cloud disk data request reply contained in the json object, acquires corresponding cloud disk data, improves cloud disk data acquisition efficiency, enables an intelligent large-screen terminal user to quickly perform data interaction with the cloud disk server, is convenient for expanding the storage space of the intelligent large-screen terminal at low cost, optimizes storage support of other large-screen application programs, and can effectively optimize user experience of the user when the intelligent large-screen terminal is used.
Further, referring to fig. 3, a second embodiment of the method for requesting data of a large-screen cloud disk of the present application is provided.
The difference between the second embodiment of the large-screen cloud disk data request method and the first embodiment of the large-screen cloud disk data request method is that before the large-screen system of the intelligent large-screen terminal acquires the cloud disk application starting identifier, the method further comprises the following steps:
step S01: a large screen system of the intelligent large screen terminal registers a cloud disk account, and a background accesses a cloud disk developer platform to perform identity verification;
step S02: and adding the cloud disk application to the large-screen system, acquiring application keywords of the cloud disk application, and acquiring access cloud disk application authorization according to the application keywords.
The large-screen system background starts a cloud disk connection preparation thread, the large-screen system acquires system authority, and scans and acquires the equipment number and the MAC address (hardware address) of the intelligent large-screen terminal, wherein the MAC address is an address which is burnt inside the intelligent large-screen terminal and used for confirming the position of the intelligent large-screen terminal network equipment, the address is generally expressed as 12 16-system-bit numbers, and the MAC address has uniqueness. The large-screen system takes the acquired equipment number of the intelligent large-screen terminal as the name of the cloud disk user; and performing cloud disk account registration by using the acquired MAC address as a password, and storing the cloud disk account into a specified storage folder after the registration is successful.
After the cloud disk account of the large-screen system is successfully registered, a background starts a mail application program, sends an identity verification mail to a cloud disk application developer platform, performs identity verification and acquires the authority of the cloud disk application developer.
Optionally, after the intelligent large-screen terminal is powered on and started for the first time, during personalized setting after the large-screen system is connected with a network, the large-screen system generates prompt information of whether a cloud disk account is set in a user interface in a user-defined mode, receives a user-defined set cloud disk application account operating instruction sent by a user, receives a cloud disk user name and a cloud disk password set in the user-defined mode, registers according to the cloud disk user name and the cloud disk password set in the user-defined mode, and stores the cloud disk account into a specified storage folder after the user-defined registration is successful.
After the large-screen system obtains the prompt that the cloud disk account registration is successful, the background starts a mail application program process, sends an identity verification mail to the cloud disk application developer platform, performs identity verification and obtains the cloud disk application developer permission.
The large-screen cloud disk application adding method includes the steps that a large-screen system background starts a cloud disk application adding task, the large-screen system accesses a cloud disk developer page, a cloud disk account number is logged in, a large-screen cloud disk application is created on the cloud disk developer page, the large-screen system acquires a corresponding large-screen cloud disk application keyword (API _ KEY) through an HTTPPOST request, relevant developer services needing to be started are selected, after the selection is completed, the large-screen system acquires the large-screen cloud disk application keyword returned by the cloud disk developer page, and the large-screen cloud disk application keyword is used for identifying whether the large-screen cloud disk application is authorized by a cloud disk service provider or not.
After the key words of the large-screen cloud disk application are acquired, the large-screen system establishes the large-screen cloud disk application in the background.
In this embodiment, the device number and the MAC address of the intelligent large-screen terminal are acquired, and the cloud disk account is registered according to the acquired device number and MAC address, so that the intelligent large-screen terminal can use the cloud disk service according to the registered cloud disk account. After the cloud disk account registration is completed, the large-screen system obtains corresponding large-screen cloud disk application keywords, obtains related developer service permissions, and adds large-screen cloud disk application in the background, so that an intelligent large-screen terminal user can upload data to a cloud disk and download cloud disk data to the local on the large-screen system, and the storage performance of the intelligent large-screen terminal is expanded at low cost.
Further, referring to fig. 4, a third embodiment of the method for requesting data of a large-screen cloud disk of the present application is provided,
the difference between the large-screen cloud disk data request method and the other embodiments is that before the large-screen system of the intelligent large-screen terminal acquires the cloud disk application start identifier, the method further includes:
step S03: the large screen system sets a cloud disk application default directory and acquires cloud disk personal cloud storage application interface permission;
step S04: and the large screen system interacts with the cloud disk through the cloud disk personal cloud storage application interface and correspondingly modifies the file of the cloud disk application default directory.
The large-screen system starts an API management process, a cloud disk application default directory is set, specifically, the large-screen system opens a cloud disk application API management interface, and the cloud disk application default directory is set on the API management interface, so that when the large-screen system is connected with a cloud disk server through the API interface to conduct data interaction, files of the cloud disk application default directory are operated. And if the default directory of the cloud disk application is empty, the large-screen system cannot perform data interaction with the cloud disk server through the API.
Optionally, in an embodiment, the large-screen system starts an API management process, and sets the default directory of the cloud disk application as Path (x1) { "1 Path": apps/pcs _ test/"}//. After the setting is finished, the large-screen system is accessed to the cloud disk server through the API interface to carry out data interaction, and the directory of the operated file is apps/pcs _ test/.
The large screen system presets a personal cloud storage application interface authority acquisition identifier, opens an API management interface, sends a request for acquiring the personal cloud storage application interface authority to the cloud disk development platform, the cloud disk development platform audits the legality of the request for acquiring the personal cloud storage application interface authority, the cloud disk development platform sends a notification for opening the personal cloud storage application interface authority to the large screen system after the authority is detected, and after the large screen system receives the personal cloud storage application interface authority notification sent back by the cloud disk development platform, the personal cloud storage application interface authority acquisition identifier is changed into display identifier information of the acquired personal cloud storage application interface authority, and the display identifier information is stored in a designated storage folder.
After the large-screen system acquires the personal cloud storage application interface authority, the large-screen system can access the cloud disk server through the personal cloud storage API of the cloud disk application, perform data interaction with the cloud disk server, and correspondingly operate files under the cloud disk application default directory according to an interaction result.
In the embodiment, by setting the default directory of the cloud disk application and acquiring the authority of the personal cloud storage application interface of the cloud disk, when a user operates the large-screen system to connect with the cloud disk server through the API of the cloud disk application and perform data interaction, the file of the default directory of the cloud disk application can be correspondingly operated according to the interaction result, so that the cloud disk application can effectively operate, the available storage space of the intelligent large-screen terminal is effectively expanded, and the user experience is enhanced.
Further, referring to fig. 5, a fourth embodiment of the method for requesting data of a large-screen cloud disk of the present application is provided.
The fourth embodiment of the large-screen cloud disk data request method is different from the other embodiments of the large-screen cloud disk data request method in that the large-screen system acquires cloud disk space quota information.
Step S21: the large-screen system calls a cloud disk application interface to acquire cloud disk space quota information from a cloud disk;
step S22: and the large screen system acquires the cloud disk return parameters, analyzes the return parameters and acquires the cloud disk space quota information.
The large-screen system logs in the cloud disk server through the cloud disk application, after the access token associated with the cloud disk account is obtained, the large-screen system accesses the cloud disk server through an API (application program interface) of the cloud disk SDK (software development kit) in an HTTP GET (hypertext transfer protocol get access) mode, and sends a request for inquiring the cloud disk space quota information to the cloud disk server, wherein the request comprises the access token associated with the cloud disk account. After receiving the request for inquiring the cloud disk space quota information, the cloud disk server verifies the validity of the access token carried by the request, and after the validity check of the access token is completed, the cloud disk server returns cloud disk space quota information corresponding to the cloud disk application login account and a notification message of the currently used cloud disk space to the large-screen system. And the large screen system receives the notification message, and acquires cloud disk space quota information corresponding to the cloud disk application login account and the current situation of using the cloud disk space.
In this embodiment, cloud disk space quota information is acquired from a cloud disk server by calling a cloud disk application interface, and the actual available memory capacity and the used cloud disk space of the intelligent large-screen terminal after expansion through cloud disk application are further determined, so that a user can further plan the memory application plan of the intelligent large-screen terminal, thereby realizing more diversified operations and optimizing user experience.
Further, referring to fig. 6, a fifth embodiment of the method for requesting data of a large-screen cloud disk of the present application is provided.
The difference between the fifth embodiment of the large-screen cloud disk data request method and the above embodiments is that the large-screen cloud disk system acquires a path of a corresponding cloud disk data file in a default directory of a cloud disk application, and downloads cloud disk data.
Step S31: the large screen system responds to the request for obtaining the cloud disk data and obtains a complete uniform resource locator corresponding to the cloud disk data in the cloud disk application default directory;
step S32: the large screen system analyzes the uniform resource locator, acquires a file path corresponding to the cloud disk data in the default directory of the cloud disk application, generates a download request link of the cloud disk data according to the file path, accesses the download request link, and downloads the corresponding cloud disk data;
specifically, the large screen system generates a URL (uniform resource locator) address for accessing the cloud disk server and request parameters for acquiring the cloud disk data according to an operation requirement for calling a cloud disk data operation instruction, so as to form a cloud disk data request.
Optionally, the large-screen cloud disk system receives a cloud disk data request reply sent back by the cloud disk server, analyzes the cloud disk data request reply, acquires a complete URL (uniform locator) of the corresponding cloud disk data in the cloud disk application default directory, analyzes the URL, acquires a file path of the corresponding cloud disk data in the cloud disk application default directory, combines to form a download request link of the cloud disk data, accesses the download request link, and downloads the corresponding cloud disk data.
In this embodiment, the complete uniform resource locator of the cloud disk data in the cloud disk default application directory is obtained, the uniform resource locator is analyzed, the file path of the cloud disk data in the cloud disk default application directory is obtained, the download request link is generated, the cloud disk data is downloaded, the large-screen system requests the cloud disk data from the cloud disk data, and the storage space of the large-screen system is effectively widened.
Further, referring to fig. 7, a sixth embodiment of the method for requesting data of a large-screen cloud disk of the present application is provided.
The difference between the sixth embodiment of the large-screen cloud disk data request method and the above embodiments is that the large-screen cloud disk system analyzes the acquired cloud disk data type, and outputs the cloud disk data by using the responded data output application.
Step S33: the large screen system scans the download list, determines that the cloud disk data is downloaded, and correspondingly displays a cloud disk data download completion identifier;
step S34: and the large screen system identifies the downloaded cloud disk data and selects corresponding data output application to output the cloud disk data.
The large-screen system scans the download list, acquires the cloud disk data download progress pointed by the cloud disk data request, and generates a cloud disk data download completion prompt, specifically, if the cloud disk download progress of the acquired cloud disk data is downloading, the cloud disk download identification information is set as downloading; and if the next week schedule of the acquired cloud disk data is that the downloading is finished, setting the identification information of the next week of the cloud disk as the downloading of the cloud disk data is finished. Optionally, the large screen system may also set other prompting modes with the same prompting effect.
And after the large-screen system acquires the identification information of the acquired cloud disk data, analyzing the acquired cloud disk data type, and selecting corresponding data output application to output the cloud disk data according to different cloud disk data types.
Optionally, the large-screen system recognizes that the acquired data type of the cloud disk is a picture, and selects a preset default picture player to play the picture;
optionally, the large-screen system recognizes that the acquired data type of the cloud disk is music, and selects a preset default music player to play the music;
optionally, the large-screen system recognizes that the acquired data type of the cloud disk is a video, and selects a preset default video player to play the video at a display port of the intelligent large-screen terminal.
The above cloud disk type and the data output application output mode are only used for illustration, and the cloud disk data obtained in the present application is not limited to the above cloud disk data type, and are not described herein again.
In the embodiment, the acquired cloud disk data is output by selecting the data output application corresponding to the acquired cloud disk data type, so that the cloud disk data is stored by the intelligent large-screen terminal through the cloud disk, when the cloud disk data is required by a user, the cloud disk data is downloaded and then the local data output application is started for outputting, and the user experience of the user when the intelligent large-screen terminal is used is improved.
In addition, the application also provides a computer-readable storage medium, wherein a large-screen cloud disk data request program is stored on the computer-readable storage medium, and any step of the large-screen cloud disk data request method is realized when the processor executes the large-screen cloud disk data request program.
It will be apparent to those skilled in the art that embodiments of the present application may be provided as a method, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention essentially or contributing to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above and includes several instructions for causing a terminal device to execute the method described in the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A large-screen cloud disk data request method is characterized by comprising the following steps:
acquiring a cloud disk application starting identifier, and determining that the cloud disk application is started;
sending a login request to the cloud disk, and performing identity authorization verification;
accessing the cloud disk through an HTTP (hyper text transport protocol) protocol to initiate a cloud disk data acquisition request, receiving a json character string returned by the cloud disk, converting the json character string into a corresponding json object, and analyzing the json object to acquire cloud disk data carried by the json object.
2. The method of claim 1, wherein prior to obtaining the cloud disk application launch identity, the method further comprises:
registering a cloud disk account, and accessing a cloud disk developer platform by a background to perform identity verification;
and adding the cloud disk application to a large-screen system, acquiring application keywords of the cloud disk application, and acquiring cloud disk application authorization according to the application keywords.
3. The method of claim 1, wherein prior to obtaining the cloud disk application launch identity, the method further comprises:
setting the cloud disk application default directory, and acquiring the personal cloud storage application interface permission of the cloud disk;
and interacting with the cloud disk through the cloud disk personal cloud storage application interface, and correspondingly modifying the file of the cloud disk application default directory.
4. The method of claim 1, wherein prior to obtaining the cloud disk application launch identity, the method further comprises:
creating the cloud disk application monitoring process, wherein the cloud disk application monitoring process is used for monitoring the starting condition of the cloud disk application;
presetting the cloud disk application starting identifier, wherein the cloud disk application starting identifier is used for correspondingly displaying the cloud disk application starting result according to the monitoring data of the cloud disk application monitoring process.
5. The method of claim 1, wherein after sending the login request to the cloud disk and performing the authentication, the method further comprises:
calling the cloud disk application interface to acquire cloud disk space quota information from the cloud disk;
and acquiring the cloud disk return parameters, and analyzing the return parameters to acquire the cloud disk space quota information.
6. The method of claim 5, wherein the accessing the cloud disk through the HTTP protocol initiates a cloud disk data acquisition request, receives a json character string returned by the cloud disk, converts the character string into a corresponding json object, and parses the json object to acquire cloud disk data carried by the json object, comprising:
responding to the cloud disk data acquisition request, randomly generating a request address, using the request address to access the cloud disk based on an HTTP (hyper text transport protocol), transmitting request parameters corresponding to the cloud disk data request, receiving a json character string returned by the cloud disk, converting the json character string into a json object, and analyzing to acquire the cloud disk data.
7. The method of claim 5, wherein the accessing the cloud disk through the HTTP protocol to initiate a cloud disk data acquisition request, receiving a json character string returned by the cloud disk, converting the json character string into a corresponding json object, and parsing the json object to acquire cloud disk data carried by the json object comprises:
responding to the request for acquiring the cloud disk data, and acquiring a complete uniform resource locator of the corresponding cloud disk data in the cloud disk application default directory;
analyzing the uniform resource locator, acquiring a file path corresponding to the cloud disk data in the default directory of the cloud disk application, generating a download request link of the cloud disk data according to the file path, accessing the download request link, and downloading the cloud disk data.
8. The method of claim 1, wherein after accessing the cloud disk via the HTTP protocol to initiate a cloud disk data acquisition request, receiving a json string returned by the cloud disk, converting the json string into a corresponding json object, and parsing the json object to acquire cloud disk data carried by the json object, the method further comprises:
scanning a download list, determining that the cloud disk data is downloaded, and correspondingly displaying a cloud disk data download completion identifier;
and identifying the downloaded cloud disk data, and selecting a corresponding data output application to output the cloud disk data.
9. An intelligent large-screen terminal, comprising an intelligent large screen, a memory, a processor and a large-screen cloud disk data request program stored in the memory and operable on the processor, wherein the processor implements the steps of the cloud disk data request method according to any one of claims 1 to 8 when executing the large-screen cloud disk data request program.
10. A computer-readable storage medium, wherein a large-screen cloud disk data request program is stored on the computer-readable storage medium, and when executed by a processor, the large-screen cloud disk data request program implements the steps of the cloud disk data request method according to any one of claims 1 to 8.
CN202011228912.6A 2020-11-05 2020-11-05 Large-screen cloud disk data request method, intelligent large-screen terminal and readable storage medium Pending CN112367394A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011228912.6A CN112367394A (en) 2020-11-05 2020-11-05 Large-screen cloud disk data request method, intelligent large-screen terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011228912.6A CN112367394A (en) 2020-11-05 2020-11-05 Large-screen cloud disk data request method, intelligent large-screen terminal and readable storage medium

Publications (1)

Publication Number Publication Date
CN112367394A true CN112367394A (en) 2021-02-12

Family

ID=74508780

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011228912.6A Pending CN112367394A (en) 2020-11-05 2020-11-05 Large-screen cloud disk data request method, intelligent large-screen terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN112367394A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369008A (en) * 2012-04-01 2013-10-23 金蝶软件(中国)有限公司 Mobile terminal based information storage method and system
CN103491172A (en) * 2013-09-25 2014-01-01 深圳Tcl新技术有限公司 Method and system for sharing cloud file
CN105908446A (en) * 2016-05-31 2016-08-31 青岛海尔智能家电科技有限公司 Clothes washing control method and device based on Internet of Things
CN106652819A (en) * 2016-12-23 2017-05-10 Tcl集团股份有限公司 Screen-lightening advertisement realization method and system based on smart home equipment
CN107786602A (en) * 2016-08-30 2018-03-09 九阳股份有限公司 A kind of Synergistic method of intelligent cooking equipment
CN108917283A (en) * 2018-07-12 2018-11-30 四川虹美智能科技有限公司 A kind of intelligent refrigerator control method, system, intelligent refrigerator and cloud server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369008A (en) * 2012-04-01 2013-10-23 金蝶软件(中国)有限公司 Mobile terminal based information storage method and system
CN103491172A (en) * 2013-09-25 2014-01-01 深圳Tcl新技术有限公司 Method and system for sharing cloud file
CN105908446A (en) * 2016-05-31 2016-08-31 青岛海尔智能家电科技有限公司 Clothes washing control method and device based on Internet of Things
CN107786602A (en) * 2016-08-30 2018-03-09 九阳股份有限公司 A kind of Synergistic method of intelligent cooking equipment
CN106652819A (en) * 2016-12-23 2017-05-10 Tcl集团股份有限公司 Screen-lightening advertisement realization method and system based on smart home equipment
CN108917283A (en) * 2018-07-12 2018-11-30 四川虹美智能科技有限公司 A kind of intelligent refrigerator control method, system, intelligent refrigerator and cloud server

Similar Documents

Publication Publication Date Title
CN106254560B (en) Information transmission method and device
EP2680500B1 (en) Application discovery
KR101270323B1 (en) Methods, apparatuses, and computer program products for providing a single service sign-on
US9391961B2 (en) Information operating device, information output device, and information processing method
KR101938332B1 (en) Method, service server, mobile phone and computer readable recording medium for mobile phone authentication
CN112399130B (en) Processing method and device of cloud video conference information, storage medium and communication equipment
TWI455558B (en) Authentication in communication networks
US20170012976A1 (en) Authentication method, apparatus, and system
US9232340B2 (en) Application store system and application development method using the application store system
US20140359738A1 (en) Communication apparatus, method of controlling, and storage medium
CN108650243B (en) Connection establishment method, system, device and computer readable storage medium
CN112448873A (en) Equipment binding method and device and computer readable storage medium
CN111522849A (en) Database dynamic access method, server and storage medium
CN109510799B (en) Page display method, browser client, equipment and storage medium
CN106856575B (en) Automatic configuration method of IPTV terminal, server and IPTV system
CN107534859B (en) Network authentication method, client, terminal equipment and platform
CN109451497B (en) Wireless network connection method and device, electronic equipment and storage medium
CN114338130B (en) Information processing method, device, server and storage medium
CN112367394A (en) Large-screen cloud disk data request method, intelligent large-screen terminal and readable storage medium
KR100774475B1 (en) Method for downloading software of mobile terminal
CN114585055A (en) Vehicle-mounted WiFi access method, vehicle controller, cloud server and mobile terminal
KR20150109233A (en) method and server for performing log-in for application
KR102133903B1 (en) Electronic device and Method for registering personal cloud apparatus in user portal server thereof
KR101548529B1 (en) Local service providing apparatus, method for providing local service and recording medium for the same
CN113207123B (en) Wireless network access method and device based on browser, storage medium and terminal

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