[go: up one dir, main page]

WO2019140565A1 - 云存储命令管理方法及系统 - Google Patents

云存储命令管理方法及系统 Download PDF

Info

Publication number
WO2019140565A1
WO2019140565A1 PCT/CN2018/072986 CN2018072986W WO2019140565A1 WO 2019140565 A1 WO2019140565 A1 WO 2019140565A1 CN 2018072986 W CN2018072986 W CN 2018072986W WO 2019140565 A1 WO2019140565 A1 WO 2019140565A1
Authority
WO
WIPO (PCT)
Prior art keywords
storage
command
domain
interpretation
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.)
Ceased
Application number
PCT/CN2018/072986
Other languages
English (en)
French (fr)
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.)
New Intelligent Information Technology (shenzhen) Co Ltd
Original Assignee
New Intelligent Information Technology (shenzhen) 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 New Intelligent Information Technology (shenzhen) Co Ltd filed Critical New Intelligent Information Technology (shenzhen) Co Ltd
Priority to PCT/CN2018/072986 priority Critical patent/WO2019140565A1/zh
Publication of WO2019140565A1 publication Critical patent/WO2019140565A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • 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/40Network security protocols

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a cloud storage command management method and system.
  • the existing cloud platform provides a variety of storage functions, referred to as cloud storage.
  • cloud storage multiple companies provide cloud storage platforms, such as Baidu Cloud, Huawei Cloud, Facebook Cloud, etc., for various cloud platforms, Each has its own command of the cloud platform, and the commands cannot communicate with each other, which reduces the visualization and affects the user experience.
  • the embodiment of the present invention provides a cloud storage command management method and system, which implements application to a plurality of cloud platforms by command management of the cloud storage, thereby improving user experience.
  • an embodiment of the present application provides a cloud storage command management method, where the method includes the following steps:
  • the terminal receives a cloud storage command, where the cloud storage command includes: a command domain and an interpretation domain, where the command domain includes: a command identifier, a path for storing data, and a storage indication, the interpretation domain is based on a hypertext transfer protocol HTTP, the interpretation The domain includes: an explanation of the command identifier;
  • the terminal parses the command domain of the cloud storage command. If the command identifier is successfully parsed, the interpretation domain is discarded. If the command identifier is not successfully resolved, the interpretation domain is parsed to identify the command identifier.
  • the terminal extracts the storage data corresponding to the path of the stored data, and executes the cloud storage according to the storage indication and the command.
  • a command management system for cloud storage comprising:
  • the transceiver unit is configured to receive a cloud storage command, where the cloud storage command includes: a command domain and an interpretation domain, where the command domain includes: a command identifier, a path for storing data, and a storage indication, where the interpretation domain is based on a hypertext transfer protocol HTTP
  • the interpretation domain includes: an interpretation of the command identifier;
  • the processing unit parses the command domain of the cloud storage command in English, and if the command identifier is successfully parsed, discards the interpretation domain, such as unsuccessful resolution of the command identifier, parses the interpretation domain to identify the command identifier, and extracts the stored data.
  • the storage data corresponding to the path is stored in the cloud according to the storage indication and the command.
  • an embodiment of the present application provides a computer readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method as described in the first aspect.
  • an embodiment of the present application provides a computer program product, comprising: a non-transitory computer readable storage medium storing a computer program, the computer being operative to cause a computer to perform the method as described in the first aspect Methods.
  • the technical solution provided by the application increases the interpretation domain in the command, and the interpretation domain is based on the HTTP protocol.
  • the interpretation domain is based on the HTTP protocol.
  • it needs to implement the networking function that is, it needs to be able to resolve the HTTP protocol, so that
  • the addition of the interpretation domain in the cloud command enables all platforms to know the meaning of their commands, thereby realizing the exchange of commands between the platforms and improving the user experience.
  • 1 is a schematic flow chart of a call method
  • FIG. 2 is a schematic diagram of a call method provided by an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a hardware provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a network topology according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a cloud storage command management system according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of another terminal according to an embodiment of the present application.
  • references to "an embodiment” herein mean that a particular feature, result, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention.
  • the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
  • a mobile terminal also called a User Equipment (UE) is a device that provides voice and/or data connectivity to users, for example, a handheld device with an infinite connection function, an in-vehicle device, and the like.
  • Common terminals include, for example, mobile phones, tablets, laptops, PDAs, mobile internet devices (mobile Internet device, MID), wearable devices such as smart watches, smart bracelets, pedometers, etc.
  • FIG. 1 is a cloud storage command management method. As shown in FIG. 1 , the storage command management method includes the following steps. The method may be performed by a terminal, and the terminal may be: a mobile phone, a tablet computer, or a notebook. Computer, PDA, mobile internet device (mobile Internet device, MID), one or more of wearable devices.
  • a terminal may be: a mobile phone, a tablet computer, or a notebook.
  • MID mobile internet device
  • Step S101 The terminal receives a cloud storage command.
  • Step S102 The terminal parses the cloud storage command to obtain storage data corresponding to the cloud storage command and a storage indication.
  • Step S103 The terminal stores the stored data in the cloud storage according to the storage indication.
  • the foregoing storage indication includes, but is not limited to, one or any combination of a storage manner, a storage location, a storage time, an importance, a storage format, and the like.
  • the cloud storage command management method shown in FIG. 1 it is relatively important for the analysis of the cloud storage command to obtain the storage data and the storage indication, and the cloud platform provided by different companies, for example, Huawei, Baidu, Ali, etc.
  • the expression of the same storage command may be different. If it is not marked or interpreted, it cannot implement efficient reading of the command.
  • FIG. 2 is a command management method for cloud storage. As shown in FIG. 2, the method is performed by any terminal in the cloud platform. The method is shown in the hardware architecture shown in FIG. The implementation is implemented in the network topology. The method is as shown in FIG. 2 and includes the following steps:
  • Step S201 The terminal receives a cloud storage command, where the cloud storage command includes: a command domain and an interpretation domain, where the command domain includes: a command identifier, a path for storing data, and a storage indication, where the interpretation domain is based on a hypertext transfer protocol (HTTP) a protocol, the interpretation field comprising: an interpretation of the command identifier.
  • HTTP hypertext transfer protocol
  • Step S202 The terminal parses the command domain of the cloud storage command. If the command identifier is successfully parsed, the interpretation domain is discarded. If the command identifier is not successfully resolved, the interpretation domain is parsed to identify the command identifier.
  • Step S203 The terminal extracts the storage data corresponding to the path of the stored data, and executes the cloud storage according to the storage indication and the command.
  • the technical solution provided by the application increases the interpretation domain in the command, and the interpretation domain is based on the HTTP protocol.
  • the networking function that is, it needs to be able to parse the HTTP protocol, so that the cloud command is added.
  • Interpreting the domain that is, enabling all platforms to know the meaning of their commands, thereby realizing the exchange of commands between the platforms and improving the user experience.
  • the foregoing storage indication includes, but is not limited to, one of a storage mode, a storage location, a save time, an importance, a storage format, or any combination.
  • the foregoing method further includes:
  • the terminal obtains whether the storage address corresponding to the stored data is a local address, such as a local address, and stores the stored data in a local storage. If the storage address is a non-local address, the storage data is sent to the cloud storage.
  • the control terminal controls the terminal to allocate the stored data to other terminal storage.
  • the foregoing method may further include:
  • the storage indication includes a save time
  • a timer is established, which is used to indicate the save time of the stored data.
  • FIG. 5 provides a command management system for cloud storage, where the system includes:
  • the transceiver unit 501 is configured to receive a cloud storage command, where the cloud storage command includes: a command domain and an interpretation domain, where the command domain includes: a command identifier, a path for storing data, and a storage indication, where the interpretation domain is based on a hypertext transfer protocol HTTP, the interpretation domain includes: an interpretation of the command identifier;
  • the processing unit 502 parses the command domain of the cloud storage command in English, and if the command identifier is successfully parsed, discards the interpretation domain, such as unsuccessful resolution of the command identifier, parses the interpretation domain to identify the command identifier, and extracts the storage data.
  • the path corresponds to storing data, and the stored data is executed according to the storage indication and the command execution cloud storage.
  • the foregoing storage indication includes one of a storage mode, a storage location, a save time, an importance, and a storage format, or any combination thereof.
  • the processing unit is configured to obtain whether the storage address corresponding to the storage data is a local address, such as a local address, and store the storage data in a local storage, if the storage address is a non-local address, The stored data is sent to the control terminal of the cloud storage, and the control terminal allocates the stored data to other terminal storage.
  • a local address such as a local address
  • the processing unit is further configured to: after storing the stored data, establish a timer, where the timer is used to indicate a storage time of the stored data.
  • FIG. 6 is a block diagram showing a partial structure of a terminal provided by an embodiment of the present application.
  • the server includes: a radio frequency (RF) circuit 910, a memory 920, an input unit 930, a sensor 950, an audio circuit 960, and wireless fidelity (Wireless).
  • RF radio frequency
  • Fidelity, WiFi Fidelity, WiFi
  • application processor AP980 application processor AP980 and power supply 990 and other components.
  • FIG. 6 does not constitute a limitation to the smart device, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
  • the input unit 930 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the smart device.
  • the input unit 930 may include a touch display screen 933, a stylus 931, and other input devices 932.
  • the input unit 930 can also include other input devices 932.
  • other input devices 932 may include, but are not limited to, one or more of physical buttons, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the AP 980 is a control center for smart devices that connects various portions of the entire smart device using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 920, and invoking data stored in the memory 920, executing The intelligent device's various functions and processing data, so that the smart device is monitored as a whole.
  • the AP 980 may include one or more processing units; optionally, the AP 980 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like, and the modulation solution The processor mainly handles wireless communication. It can be understood that the above modem processor may not be integrated into the AP 980.
  • the AP980 can be integrated with the face recognition module. Of course, in the actual application, the face recognition module can also be separately set or integrated in the camera 770. The face recognition module shown in FIG. 6 is integrated in the AP980. example.
  • memory 920 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the RF circuit 910 can be used for receiving and transmitting information.
  • RF circuit 910 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low) Noise Amplifier, LNA), duplexer, etc.
  • RF circuitry 910 can also communicate with the network and other devices via wireless communication.
  • the above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (General Packet) Radio Service, GPRS), Code Division Multiple Access (Code) Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Message Service (Short Messaging) Service, SMS), etc.
  • GSM Global System of Mobile communication
  • General Packet General Packet Radio Service
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • SMS Short Message Service
  • the smart device may also include at least one type of sensor 950, such as a light sensor, a motion sensor, a proximity sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the touch display screen according to the brightness of the ambient light, and the proximity sensor can turn off the touch display when the mobile phone moves to the ear. And / or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • Proximity sensor can be used to detect the distance between the phone and the user.
  • Other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like that can be configured in the mobile phone are not described herein.
  • An audio circuit 960, a speaker 961, and a microphone 962 can provide an audio interface between the user and the smart device.
  • the audio circuit 960 can transmit the converted electrical data of the received audio data to the speaker 961 for conversion to the sound signal by the speaker 961; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal by the audio circuit 960. After receiving, it is converted into audio data, and then the audio data is played by the AP 980, sent to the other mobile phone via the RF circuit 910, or the audio data is played to the memory 920 for further processing.
  • WiFi is a short-range wireless transmission technology
  • the mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 970, which provides users with wireless broadband Internet access.
  • FIG. 6 shows the WiFi module 970, it can be understood that it does not belong to the essential configuration of the smart device, and can be omitted as needed within the scope of not changing the essence of the application.
  • the smart device also includes a power supply 990 (such as a battery or a power module) that supplies power to various components.
  • a power supply 990 such as a battery or a power module
  • the power supply can be logically connected to the AP980 through a power management system to manage charging, discharging, and power management through the power management system.
  • the embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program causing the computer to perform some or all of the steps of any of the methods described in the foregoing method embodiments.
  • the computer includes a terminal device.
  • the embodiment of the present application further provides a computer program product, comprising: a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to perform the operations as recited in the foregoing method embodiments Part or all of the steps of either method.
  • the computer program product can be a software installation package, the computer including a terminal device.
  • the steps of the method or algorithm described in the embodiments of the present application may be implemented in a hardware manner, or may be implemented by a processor executing software instructions.
  • Software instructions can be composed of corresponding software modules, which can be stored in random access memory (Random) Access Memory, RAM), Flash, Read Only Memory (Read Only Memory, ROM), Erasable Programmable Read Only Memory (Erasable) Programmable ROM (EPROM), electrically erasable programmable read only memory (EEPROM), registers, hard disk, removable hard disk, compact disk read only (CD-ROM) or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and the storage medium can be located in an ASIC.
  • the ASIC can be located in an access network device, a target network device, or a core network device.
  • the processor and the storage medium may also exist as discrete components in the access network device, the target network device, or the core network device.
  • the functions described in the embodiments of the present application may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the processes or functions described in accordance with embodiments of the present application are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center By wire (eg coaxial cable, fiber optic, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (eg infrared, wireless, microwave, etc.) to another website, computer, server or data center.
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, digital video disc (Digital) Video Disc, DVD)), or semiconductor media (for example, solid state drive (Solid State Disk, SSD)).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种云存储的命令管理方法及系统,所述方法包括:终端接收云存储命令(S201);终端解析该云存储命令的命令域,如对该命令标识解析成功,丢弃所述解释域,如对该命令标识解析不成功,解析该解释域识别该命令标识(S202);终端提取该存储数据的路径对应的存储数据,并将该存储数据依据该存储指示以及命令执行云存储(S203)。本方案具有用户体验度高的优点。

Description

云存储命令管理方法及系统 技术领域
本发明涉及通信技术领域,尤其涉及一种云存储命令管理方法及系统。
背景技术
云平台(cloud platforms)的出现是该转变的最重要环节之一。顾名思义,这种平台允许开发者们或是将写好的程序放在“云”里运行,或是使用“云”里提供的服务,或二者皆是。至于这种平台的名称,现在我们可以听到不止一种称呼,比如按需平台(on-demand platform)、平台即服务(platform as a service,PaaS)等等。但无论称呼它什么,这种新的支持应用的方式有着巨大的潜力。
应用平台(application platforms)是如何被使用的。开发团队在创建一个户内应用(on-premises application,即在机构内运行的应用)时,该应用所需的许多基础都已经事先存在了:操作系统为执行应用和访问存储等提供了基础支持;机构里的其他计算机提供了诸如远程存储之类的服务。倘若每创建一个户内应用都得首先构建所有这些基础的话,那么恐怕我们今天看到的应用会少很多。
现有的云平台提供多种存储的功能,简称云存储,对于云存储来说,多个公司提供云存储的平台,例如百度云、华为云、阿里云等等,对于多种云平台,其均具有自身的云平台的命令,各个命令之间并不能互通,降低了可视化,影响用户体验度。
技术问题
本申请实施例提供一种云存储命令管理方法及系统,通过对云存储的命令管理实现对多种云平台的应用,提高用户体验度。
技术解决方案
第一方面,本申请实施例提供一种云存储的命令管理方法,所述方法包括如下步骤:
终端接收云存储命令,所述云存储命令包括:命令域和解释域,所述命令域包括:命令标识、存储数据的路径和存储指示,所述解释域基于超文本传输协议HTTP,所述解释域包括:对所述命令标识的解释;
终端解析该云存储命令的命令域,如对该命令标识解析成功,丢弃所述解释域,如对该命令标识解析不成功,解析该解释域识别该命令标识;
终端提取该存储数据的路径对应的存储数据,并将该存储数据依据该存储指示以及命令执行云存储。
第二方面,提供一种云存储的命令管理系统,所述系统包括:
收发单元,用于接收云存储命令,所述云存储命令包括:命令域和解释域,所述命令域包括:命令标识、存储数据的路径和存储指示,所述解释域基于超文本传输协议HTTP,所述解释域包括:对所述命令标识的解释;
处理单元,英语解析该云存储命令的命令域,如对该命令标识解析成功,丢弃所述解释域,如对该命令标识解析不成功,解析该解释域识别该命令标识;提取该存储数据的路径对应的存储数据,并将该存储数据依据该存储指示以及命令执行云存储。
第三方面,本申请实施例提供一种计算机可读存储介质,其存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如第一方面所述的方法。
第四方面,本申请实施例提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机可操作来使计算机执行如第一方面所述的方法。
采用本申请实施例,具有以下有益效果:
有益效果
可以看出,本申请提供的技术方案在命令增加解释域,该解释域基于HTTP协议,对于任何的云存储来说,其均需要实现联网的功能,即均需要能够解析HTTP协议,这样通过在云命令中增加解释域,即能够使得所有的平台均能够获知其命令对应的含义,从而实现跨平台的命令之间实现互换,提升了用户体验度。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是一种通话方法的流程示意图;
图2是本申请实施例提供的通话方法的示意图;
图3是本申请实施例提供的一种硬件构架示意图;
图4是本申请实施例提供的一种网络拓扑的结构示意图;
图5是本申请实施例提供的一种云存储的命令管理系统示意图;
图6是本申请实施例提供的另一种终端的结构示意图。
本发明的实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结果或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
以下,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。
移动终端,又称之为用户设备(User Equipment,UE),是一种向用户提供语音和/或数据连通性的设备,例如,具有无限连接功能的手持式设备、车载设备等。常见的终端例如包括:手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,例如智能手表、智能手环、计步器等。
参阅图1,图1为一种云存储命令管理方法,如图1所示,该存储命令的管理方法包括如下步骤,该方法可以由终端执行,该终端具体可以为:手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备中的一种或多种。
步骤S101、终端接收云存储命令;
步骤S102、终端解析该云存储命令,得到该云存储命令对应的存储数据以及存储指示;
步骤S103、终端将该存储数据依据该存储指示存储在云存储内。
需要说明的是,上述存储指示包括但不限于:存储方式、存储位置、保存时间、重要性、存储格式等等方式中的一种或任意组合。
对于如图1所示的云存储命令管理方法,其对于云存储命令的解析能够获取存储数据以及存储指示是比较关键的,对于不同的公司,例如,华为、百度、阿里等等提供的云平台,其相同的存储命令的表述方式可能不同,如果不进行标注或解释,其无法实现对命令的有效的读取。
参阅图2,图2为一种云存储的命令管理方法,如图2所示,该方法由云平台内的任意一个终端执行,该方法在如图3所示的硬件构架和如图4所示的网络拓扑结构内实现,该方法如图2所示,包括如下步骤:
步骤S201、终端接收云存储命令,所述云存储命令包括:命令域和解释域,所述命令域包括:命令标识、存储数据的路径和存储指示,所述解释域基于超文本传输协议(HTTP)协议,所述解释域包括:对所述命令标识的解释。
步骤S202、终端解析该云存储命令的命令域,如对该命令标识解析成功,丢弃所述解释域,如对该命令标识解析不成功,解析该解释域识别该命令标识。
步骤S203、终端提取该存储数据的路径对应的存储数据,并将该存储数据依据该存储指示以及命令执行云存储。
本申请提供的技术方案在命令增加解释域,该解释域基于HTTP协议,对于任何的云存储来说,其均需要实现联网的功能,即均需要能够解析HTTP协议,这样通过在云命令中增加解释域,即能够使得所有的平台均能够获知其命令对应的含义,从而实现跨平台的命令之间实现互换,提升了用户体验度。
可选的,上述存储指示包括但不限于:存储方式、存储位置、保存时间、重要性、存储格式中的一种或任意组合。
可选的,上述方法还包括:
终端获取该存储数据对应的存储地址是否为本地的地址,如为本地的地址,将该存储数据存储在本地存储器内,如该存储地址为非本地的地址,将该存储数据发送给云存储的控制终端,控制终端依据将该存储数据分配给其他终端存储。
可选的,上述方法还可以包括:
如该存储指示包括保存时间,则在存储该存储数据后,建立一计时器,该计时器用于指示该存储数据的保存时间。
参阅图5,图5提供了一种云存储的命令管理系统,所述系统包括:
收发单元501,用于接收云存储命令,所述云存储命令包括:命令域和解释域,所述命令域包括:命令标识、存储数据的路径和存储指示,所述解释域基于超文本传输协议HTTP,所述解释域包括:对所述命令标识的解释;
处理单元502,英语解析该云存储命令的命令域,如对该命令标识解析成功,丢弃所述解释域,如对该命令标识解析不成功,解析该解释域识别该命令标识;提取该存储数据的路径对应的存储数据,并将该存储数据依据该存储指示以及命令执行云存储。
可选的,上述存储指示包括:存储方式、存储位置、保存时间、重要性、存储格式中的一种或任意组合。
可选的,处理单元,用于获取该存储数据对应的存储地址是否为本地的地址,如为本地的地址,将该存储数据存储在本地存储器内,如该存储地址为非本地的地址,将该存储数据发送给云存储的控制终端,控制终端依据将该存储数据分配给其他终端存储。
可选的,如该存储指示包括保存时间,所述处理单元,还用于在存储该存储数据后,建立一计时器,该计时器用于指示该存储数据的保存时间。
图6示出的是与本申请实施例提供的终端的部分结构的框图。参考图6,服务器包括:射频(Radio Frequency,RF)电路910、存储器920、输入单元930、传感器950、音频电路960、无线保真(Wireless Fidelity,WiFi)模块970、应用处理器AP980以及电源990等部件。本领域技术人员可以理解,图6中示出的智能设备结构并不构成对智能设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图6对智能设备的各个构成部件进行具体的介绍:
输入单元930可用于接收输入的数字或字符信息,以及产生与智能设备的用户设置以及功能控制有关的键信号输入。具体地,输入单元930可包括触控显示屏933、手写笔931以及其他输入设备932。输入单元930还可以包括其他输入设备932。具体地,其他输入设备932可以包括但不限于物理按键、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
AP980是智能设备的控制中心,利用各种接口和线路连接整个智能设备的各个部分,通过运行或执行存储在存储器920内的软件程序和/或模块,以及调用存储在存储器920内的数据,执行智能设备的各种功能和处理数据,从而对智能设备进行整体监控。可选的,AP980可包括一个或多个处理单元;可选的,AP980可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到AP980中。上述AP980可以集成人脸识别模组,当然在实际应用中,上述人脸识别模组也可以单独设置或集成在摄像头770内,如图6所示的人脸识别模组以集成在AP980内为例。
此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
RF电路910可用于信息的接收和发送。通常,RF电路910包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路910还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统 (Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access, WCDMA)、长期演进 (Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。
智能设备还可包括至少一种传感器950,比如光传感器、运动传感器、近距离传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节触控显示屏的亮度,接近传感器可在手机移动到耳边时,关闭触控显示屏和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等; 近距离传感器可以用于检测手机与用户之间距离。至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路960、扬声器961,传声器962可提供用户与智能设备之间的音频接口。音频电路960可将接收到的音频数据转换后的电信号,传输到扬声器961,由扬声器961转换为声音信号播放;另一方面,传声器962将收集的声音信号转换为电信号,由音频电路960接收后转换为音频数据,再将音频数据播放AP980处理后,经RF电路910以发送给比如另一手机,或者将音频数据播放至存储器920以便进一步处理。
WiFi属于短距离无线传输技术,手机通过WiFi模块970可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图6示出了WiFi模块970,但是可以理解的是,其并不属于智能设备的必须构成,完全可以根据需要在不改变申请的本质的范围内而省略。
智能设备还包括给各个部件供电的电源990(比如电池或电源模块),可选 的,电源可以通过电源管理系统与AP980逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,所述计算机包括终端设备。
本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,所述计算机包括终端设备。
本申请实施例所描述的方法或者算法的步骤可以以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(Random Access Memory,RAM)、闪存、只读存储器(Read Only Memory,ROM)、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、电可擦可编程只读存储器(Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于接入网设备、目标网络设备或核心网设备中。当然,处理器和存储介质也可以作为分立组件存在于接入网设备、目标网络设备或核心网设备中。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(Digital Subscriber Line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,数字视频光盘(Digital Video Disc,DVD))、或者半导体介质(例如,固态硬盘(Solid State Disk,SSD))等。
以上所述的具体实施方式,对本申请实施例的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本申请实施例的具体实施方式而已,并不用于限定本申请实施例的保护范围,凡在本申请实施例的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本申请实施例的保护范围之内。

Claims (10)

  1. 一种云存储的命令管理方法,其特征在于,所述方法包括如下步骤:
    终端接收云存储命令,所述云存储命令包括:命令域和解释域,所述命令域包括:命令标识、存储数据的路径和存储指示,所述解释域基于超文本传输协议HTTP,所述解释域包括:对所述命令标识的解释;
    终端解析该云存储命令的命令域,如对该命令标识解析成功,丢弃所述解释域,如对该命令标识解析不成功,解析该解释域识别该命令标识;
    终端提取该存储数据的路径对应的存储数据,并将该存储数据依据该存储指示以及命令执行云存储。
  2. 根据权利要求1所述的方法,其特征在于,
    存储指示包括:存储方式、存储位置、保存时间、重要性、存储格式中的一种或任意组合。
  3. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    终端获取该存储数据对应的存储地址是否为本地的地址,如为本地的地址,将该存储数据存储在本地存储器内,如该存储地址为非本地的地址,将该存储数据发送给云存储的控制终端,控制终端依据将该存储数据分配给其他终端存储。
  4. 根据权利要求2所述的方法,其特征在于,如该存储指示包括保存时间,所述方法还包括:
    在存储该存储数据后,建立一计时器,该计时器用于指示该存储数据的保存时间。
  5. 一种云存储的命令管理系统,其特征在于,所述系统包括:
    收发单元,用于接收云存储命令,所述云存储命令包括:命令域和解释域,所述命令域包括:命令标识、存储数据的路径和存储指示,所述解释域基于超文本传输协议HTTP,所述解释域包括:对所述命令标识的解释;
    处理单元,英语解析该云存储命令的命令域,如对该命令标识解析成功,丢弃所述解释域,如对该命令标识解析不成功,解析该解释域识别该命令标识;提取该存储数据的路径对应的存储数据,并将该存储数据依据该存储指示以及命令执行云存储。
  6. 根据权利要求5所述的系统,其特征在于,
    存储指示包括:存储方式、存储位置、保存时间、重要性、存储格式中的一种或任意组合。
  7. 根据权利要求5所述的系统,其特征在于,
    处理单元,用于获取该存储数据对应的存储地址是否为本地的地址,如为本地的地址,将该存储数据存储在本地存储器内,如该存储地址为非本地的地址,将该存储数据发送给云存储的控制终端,控制终端依据将该存储数据分配给其他终端存储。
  8. 根据权利要求6所述的系统,其特征在于,如该存储指示包括保存时间,所述处理单元,还用于在存储该存储数据后,建立一计时器,该计时器用于指示该存储数据的保存时间。
  9. 一种计算机可读存储介质,其特征在于,其存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-4任一项所述的方法。
  10. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如权利要求1-4任一项所述的方法。
PCT/CN2018/072986 2018-01-17 2018-01-17 云存储命令管理方法及系统 Ceased WO2019140565A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/072986 WO2019140565A1 (zh) 2018-01-17 2018-01-17 云存储命令管理方法及系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/072986 WO2019140565A1 (zh) 2018-01-17 2018-01-17 云存储命令管理方法及系统

Publications (1)

Publication Number Publication Date
WO2019140565A1 true WO2019140565A1 (zh) 2019-07-25

Family

ID=67301605

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/072986 Ceased WO2019140565A1 (zh) 2018-01-17 2018-01-17 云存储命令管理方法及系统

Country Status (1)

Country Link
WO (1) WO2019140565A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256671A (zh) * 2020-10-21 2021-01-22 上海博泰悦臻电子设备制造有限公司 数据存储方法及相关设备
CN113157373A (zh) * 2021-04-27 2021-07-23 上海全云互联网科技有限公司 一种基于云桌面的内容标注平台及方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694804A (zh) * 2012-05-29 2012-09-26 华南理工大学 基于UPnP协议的智能家居统一平台的实现方法及装置
CN102932405A (zh) * 2011-09-14 2013-02-13 微软公司 对应用的多租户访问
US20140143083A1 (en) * 2012-09-07 2014-05-22 Oracle International Corporation Subscription order generation for cloud services
US20150154156A1 (en) * 2013-12-03 2015-06-04 Microsoft Corporation Document link previewing and permissioning while composing an email

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932405A (zh) * 2011-09-14 2013-02-13 微软公司 对应用的多租户访问
CN102694804A (zh) * 2012-05-29 2012-09-26 华南理工大学 基于UPnP协议的智能家居统一平台的实现方法及装置
US20140143083A1 (en) * 2012-09-07 2014-05-22 Oracle International Corporation Subscription order generation for cloud services
US20150154156A1 (en) * 2013-12-03 2015-06-04 Microsoft Corporation Document link previewing and permissioning while composing an email

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256671A (zh) * 2020-10-21 2021-01-22 上海博泰悦臻电子设备制造有限公司 数据存储方法及相关设备
CN112256671B (zh) * 2020-10-21 2023-11-24 博泰车联网科技(上海)股份有限公司 数据存储方法及相关设备
CN113157373A (zh) * 2021-04-27 2021-07-23 上海全云互联网科技有限公司 一种基于云桌面的内容标注平台及方法

Similar Documents

Publication Publication Date Title
US10959124B2 (en) Uplink data transmission method, terminal, network side device and system
CN107302628B (zh) 应用功能的控制方法及相关产品
CN107153576A (zh) 一种内存资源的分配方法及终端设备
EP2869604B1 (en) Method, apparatus and device for processing a mobile terminal resource
CN107220344B (zh) 文件处理方法及相关产品
WO2018170835A1 (zh) 一种上行数据传输方法、终端、网络侧设备及系统
CN106230919B (zh) 一种文件上传的方法和装置
WO2019140565A1 (zh) 云存储命令管理方法及系统
CN106792896B (zh) 一种数据发送方法及移动终端
CN111435318A (zh) 应用程序的dex优化方法及终端
US12417209B2 (en) Distributed file access method and related device
CN106686428A (zh) 一种视频播放方法及设备
CN104254020A (zh) 媒体数据的播放方法、装置及终端
WO2019140578A1 (zh) 数据备份指令管理方法及系统
CN107659976B (zh) 网络接入方法及相关产品
CN106776041B (zh) 一种数据处理方法及装置
CN110262840A (zh) 设备启动监控方法及相关产品
WO2019140567A1 (zh) 大数据的分析方法及系统
CN108279997A (zh) 数据备份指令管理方法及系统
CN115632942A (zh) 联机接口配置方法、系统、计算机设备及可读存储介质
CN108282473B (zh) 云存储命令管理方法及系统
CN109710576B (zh) 文件展示的方法、终端及存储介质
CN106802828A (zh) 一种应用数据处理方法及设备
CN106572166B (zh) 数据传输方法、备份服务器及移动终端
WO2019140566A1 (zh) 云计算的资源分配方法及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18901669

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 24.11.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18901669

Country of ref document: EP

Kind code of ref document: A1