WO2020034531A1 - 空间清理方法、装置、设备和计算机可读存储介质 - Google Patents

空间清理方法、装置、设备和计算机可读存储介质 Download PDF

Info

Publication number
WO2020034531A1
WO2020034531A1 PCT/CN2018/122715 CN2018122715W WO2020034531A1 WO 2020034531 A1 WO2020034531 A1 WO 2020034531A1 CN 2018122715 W CN2018122715 W CN 2018122715W WO 2020034531 A1 WO2020034531 A1 WO 2020034531A1
Authority
WO
WIPO (PCT)
Prior art keywords
operation mode
space capacity
space
target
interface
Prior art date
Application number
PCT/CN2018/122715
Other languages
English (en)
French (fr)
Inventor
付舒婷
Original Assignee
深圳壹账通智能科技有限公司
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 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2020034531A1 publication Critical patent/WO2020034531A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]

Definitions

  • the present application relates to the technical field of space cleaning, and in particular, to a space cleaning method, device, device, and computer-readable storage medium.
  • the main purpose of this application is to provide a method, device, equipment and computer-readable storage medium for space cleaning, which aims to solve the technical problems of existing space cleaning methods, tedious operation and low intelligence.
  • the present application provides a space cleaning method, and the space cleaning method includes:
  • the present application also provides a space cleaning device, where the space cleaning device includes:
  • a first determining module configured to determine a target service type corresponding to the selection instruction when a selection instruction of a service type is received in an application interface of a preset application
  • a second determining module configured to determine a target operation mode of the target service type
  • a processing module configured to extract a space capacity required by the target operation mode in a background server through a background interface, and compare the required space capacity with a current remaining space capacity of a device sending the selection instruction;
  • An output module configured to output prompt information for clearing the space if the required space capacity is greater than the current remaining space capacity
  • the comparison module is further configured to compare the cleaned remaining space capacity with the required space capacity again after clearing the space;
  • An execution module is configured to execute an operation process according to the target operation mode when the required space capacity is less than the cleaned remaining space capacity.
  • the present application also provides a space cleaning device, where the space cleaning device includes a memory, a processor, a communication bus, and a computer-readable program stored on the memory and running on the processor. instruction;
  • the communication bus is used to implement a communication connection between the processor and the memory
  • the processor is configured to execute the computer-readable instructions to implement the steps of the space cleaning method described above.
  • the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions are implemented as described above when executed by a processor. Steps of space cleaning method.
  • a target business type corresponding to the selection instruction is first determined, and then a target operation mode of the target business type is determined.
  • the space capacity required by the target operation mode is extracted in the background server through the background interface, and the required space capacity is compared with the current remaining space capacity of the device sending the selection instruction, if the required If the space capacity is greater than the current remaining space capacity, a prompt message for clearing the space is output, and after the space is cleared, the remaining space capacity after cleaning is compared with the required space capacity again.
  • the operation process is performed according to the target operation mode.
  • the space capacity required to perform the operation is extracted from the background server through the background interface. If the required space capacity is greater than the current remaining space capacity of the device, the space is cleared first for subsequent execution of the operation. The process is executed smoothly, which prevents interruptions due to insufficient storage space during the execution of the operation. This application improves the intelligence of operation execution.
  • FIG. 1 is a schematic structural diagram of a space cleaning device of a hardware operating environment involved in a solution according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a first embodiment of a space cleaning method of the present application
  • FIG. 3 is a detailed flowchart of step S20 in FIG. 2; FIG.
  • FIG. 4 is a detailed flowchart of step S30 in FIG. 2; FIG.
  • FIG. 5 is a schematic flowchart of a third embodiment of a space cleaning method of the present application.
  • the solution in the embodiment of the present application mainly includes: when receiving a selection instruction of a service type in an application interface of a preset application, first determining a target service type corresponding to the selection instruction, and then determining a target operation mode of the target service type Then, the space capacity required for the target operation mode is extracted from the background server through the background interface, and the required space capacity is compared with the current remaining space capacity of the device sending the selection instruction. If the required space capacity is greater than the current remaining space capacity, a prompt message for clearing the space is output, and after the space is cleared, the remaining space capacity after cleaning is compared with the required space capacity again. When the required space capacity is less than the cleaned remaining space capacity, the operation process is performed according to the target operation mode. In order to solve the existing space cleaning methods, the operation is cumbersome and the problem of low intelligence.
  • FIG. 1 is a schematic structural diagram of a space cleaning device of a hardware operating environment involved in the solution of the embodiment of the present application.
  • the space cleaning device in the embodiment of the present application may be a PC, or a device with a display function such as a smart phone, a tablet computer, a portable computer, or the like.
  • the space cleaning device 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.
  • the communication bus 1002 is used to implement connection and communication between these components.
  • the user interface 1003 may include a display, an input unit such as a keyboard, and the optional user interface 1003 may further include a standard wired interface (for example, for connecting a wired keyboard, a wired mouse, etc.), and a wireless interface (for example, for Connect a wireless keyboard, wireless mouse).
  • the network interface 1004 may optionally include a standard wired interface (for connecting a wired network) and a wireless interface (such as a WI-FI interface, a Bluetooth interface, an infrared interface, etc., for connecting to a wireless network).
  • the memory 1005 may be a high-speed RAM memory or a non-volatile memory. memory), such as disk storage.
  • the memory 1005 may optionally be a storage device independent of the foregoing processor 1001.
  • the device may further include a camera, RF (Radio Frequency) circuits, sensors, audio circuits, WiFi modules, and more.
  • RF Radio Frequency
  • FIG. 1 does not constitute a limitation on the conversion equipment, and may include more or fewer components than shown in the figure, or combine certain components, or different component arrangements .
  • the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and computer-readable instructions.
  • the operating system is a program that manages and controls the space cleaning equipment and software resources, and supports the operation of the network communication module, user interface module, computer-readable instructions, and other programs or software;
  • the network communication module is used to manage and control the network interface 1002;
  • the user interface module is used to manage and control the user interface 1003.
  • the space cleaning device invokes computer-readable instructions stored in the memory 1005 through the processor 1001 to implement the steps of the space cleaning method as described below.
  • FIG. 2 is a schematic flowchart of a first embodiment of a space cleaning method of the present application.
  • the space cleaning method includes:
  • Step S10 When a selection instruction of a service type is received in an application interface of a preset application, determine a target service type corresponding to the selection instruction;
  • Step S20 Determine a target operation mode of the target service type
  • step S30 the space capacity required by the target operation mode is extracted from the background server through the background interface, and the required space capacity is compared with the current remaining space capacity of the device sending the selection instruction;
  • step S40 if the required space capacity is greater than the current remaining space capacity, a prompt message for clearing the space is output, and after clearing the space, the cleared remaining space capacity and the required space capacity are again Compare;
  • Step S50 When the required space capacity is less than the cleaned remaining space capacity, perform an operation process according to the target operation mode.
  • the space cleaning method is applied to a space cleaning device, and the space cleaning device is shown in FIG. 1.
  • Step S10 When a selection instruction of a service type is received in an application interface of a preset application, determine a target service type corresponding to the selection instruction;
  • the space cleaning device is activated according to a startup instruction touched by a user, and then various service types are displayed in an application interface where a preset application is located, where the preset applications include, but are not limited to, insurance applications, social
  • the service type includes various types of insurance products; when the preset application is a social application, the service type includes a chat window type and a message release window type.
  • Step S20 Determine a target operation mode of the target service type
  • an operation mode of the service type is determined.
  • the operation mode includes recording audio and video, taking a picture, or recording a voice guidance interface.
  • the step S20 includes:
  • Step S21 Obtain a type identifier of the target service type.
  • the type identifier of the target service type is obtained first.
  • the target service type can be uniquely determined through the type identifier.
  • the target service type is various insurances.
  • the type identifier may be an insurance product name or an insurance product ID number.
  • the type identifier may be a window name or a window ID number.
  • Step S22 Send the type identifier of the target service type to the background server through the background interface for the background server to find the operation mode of the type identifier mapping;
  • the type identifier of the target service type is sent to the background server through the background interface for the background server to find the operation mode of the type identifier mapping.
  • the background interface communicates with the background server.
  • the mapping relationship between the type identifier and the operation mode is recorded in the background server.
  • the mapping relationship includes a one-to-one or one-to-many mapping relationship, that is, a type identifier can correspond to an operation mode. It can correspond to a variety of operation modes, and is not specifically limited.
  • the background server After the background server receives the type identification of the target service type sent by the space cleaning device through the background interface, it can find the mapping operation mode according to the type identification, which is the above-mentioned recording audio and video, taking a picture, or Voice guidance interface recording process.
  • Step S23 Receive an operation mode feedback from the background server, wherein the received operation mode is determined as a target operation mode of the target service type.
  • the background server finds the operation mode of the type identifier mapping, it feeds back the found operation mode to the space cleaning device, the space cleaning device receives the operation mode feedback from the background server, and determines that the received operation mode is the determined one.
  • Target operation mode corresponding to the target business type.
  • step S30 the space capacity required by the target operation mode is extracted from the background server through the background interface, and the required space capacity is compared with the current remaining space capacity of the device sending the selection instruction;
  • the step S30 includes:
  • Step S31 acquiring a mark of the target operation mode
  • the space cleaning device when the space cleaning device receives the target operation mode in the background server through the background interface, it first obtains the mark of the target operation mode. Similarly, the mark of the target operation mode is also used to determine the corresponding target operation mode.
  • Step S32 Send the mark of the target operation mode to the background server through the background interface to extract the space capacity required by the target operation mode in the background server;
  • the space capacity required for the target operation mode is extracted from the background server through the background interface. Specifically, the target operation mode is sent to the background server through the background interface to be in the background. The server needs to extract the space capacity required by the target operation mode. It should be understood that the corresponding relationship between the target operation mode and the space capacity is also stored in the background server. Specifically, it is a target operation mode and a corresponding space is provided. capacity.
  • Step S33 Compare the space capacity required by the target operation mode with the current remaining space capacity of the device sending the selection instruction.
  • the space capacity required by the target operation mode can be compared with the current remaining space capacity of the device.
  • step S40 if the required space capacity is greater than the current remaining space capacity, a prompt message for clearing the space is output, and after clearing the space, the cleared remaining space capacity and the required space capacity are again Compare;
  • a prompt message for clearing the space is output to perform space
  • Step S50 When the required space capacity is less than the cleaned remaining space capacity, perform an operation process according to the target operation mode.
  • the operation process can be performed according to the determined target operation mode.
  • the method for performing the operation process according to the determined target operation mode includes: When the method is to take a picture, the camera is started to take a picture according to the target operation mode of the picture; when the target operation is to record audio and video, the audio and video recording process is performed according to the target operation mode of recording audio and video; the target operation mode is a voice guidance interface During the recording process, the interface recording process is performed according to the target operation mode of the voice guidance interface recording process.
  • the interface recording process may be the recording process of the file operation interface, the operation process of the product use, and so on.
  • a selection instruction of a service type is received in an application interface of a preset application, first a target service type corresponding to the selection instruction is determined, and then a target operation mode of the target service type is determined. Then, the space capacity required by the target operation mode is extracted from the background server through the background interface, and the required space capacity is compared with the current remaining space capacity of the device sending the selection instruction. If the space capacity is greater than the current remaining space capacity, a prompt message for clearing the space is output, and after the space is cleared, the remaining space capacity after cleaning is compared with the required space capacity again. When the space capacity is smaller than the remaining space capacity after the cleaning, the operation process is performed according to the target operation mode.
  • the space capacity required to perform the operation is extracted from the background server through the background interface. If the required space capacity is greater than the current remaining space capacity of the device, the space is cleared first for subsequent execution of the operation. The process is executed smoothly, which prevents interruptions due to insufficient storage space during the execution of the operation. This application improves the intelligence of operation execution.
  • the difference between the second embodiment of the space cleaning method and the first embodiment of the space cleaning method is that when the operation mode is a recording audio or video or a voice guidance interface recording process, before the step S10, the method further includes:
  • step A the operation modes are sorted according to the business type of the product, and the business types and operation modes are stored in the back-end server in association, wherein the operation modes include recording audio and video, taking pictures, or recording a voice guidance interface;
  • the step of performing an operation process according to the target operation mode includes:
  • the audio / video recording process is performed according to the target operation mode corresponding to the recorded audio / video, or according to the target operation mode corresponding to the recording process of the audio guidance interface Interface recording process.
  • the space cleaning device needs to first classify the operation mode according to the business type of the product, and then store the classified operation mode and the corresponding business type in a background server, and store the operation mode and business type in association with
  • the operation mode is returned to the space cleaning device according to the service type, so that the space cleaning device performs the recording operation according to the recording mode. That is, after the space cleaning device determines the service type in the application interface, the type identifier of the business type is sent to the background server through the background interface, and the background server returns the target operation mode mapped by the type identifier.
  • the space cleaning device When the space cleaning device receives the target operation, After the mode, if the operation mode is recording audio / video or voice guidance interface recording, the space capacity required by the target operation mode is extracted from the background server through the background interface to compare the required space capacity with the current remaining space of the device The capacity is compared. If the space required by the target operation mode is greater than the current remaining space capacity, the space is cleared first, and after the space is cleared, the cleaned remaining space capacity and the required space capacity are compared again.
  • the operation process can be performed according to the determined target operation mode, and the specific method for performing the operation process according to the determined target operation mode includes: Corresponding target operation mode execution sound Frequency recording, or performs an interface operation during recording in accordance with said target voice guidance interface corresponding to the recording process.
  • configuration is performed in the background server in advance, and the configured recording rule can be changed at any time.
  • the space cleaning device needs to perform recording on the front end, the corresponding recording rule can be queried according to the service type, and the recording can be obtained according to the query.
  • the rule performs the recording process.
  • the existing recording process such as the sales process of insurance products
  • the space cleaning device prompts the user to perform the recording according to the recording rule. Since the recording rule is classified according to the service type, the recording rule is more clear and accurate; the back-end server supports the configuration of the rule. Modify at any time to facilitate dynamic adjustment.
  • the recording rules are reminded to the user during recording, so that users can refer to improve the recording accuracy and reduce the repeated recording rate, which not only improves the accuracy but also improves the user experience.
  • a third embodiment of the space cleaning method of the present application is proposed based on the first or second embodiment.
  • the third embodiment of the space cleaning method is different from the first or second embodiment of the space cleaning method in that, referring to FIG. 5, after step S50, the method further includes:
  • Step S60 acquiring data obtained by performing the operation process
  • step S70 the acquired data is compressed according to a preset ratio to obtain compressed data.
  • the space cleaning device executes the operation process according to the determined operation mode, first obtain the data obtained by performing the operation process, and then in order to reduce the storage space occupied by the data, the obtained data is compressed according to a preset ratio.
  • the compressed data is obtained, and the specific value of the preset ratio is not limited, and is set according to actual needs.
  • the storage space occupied by the data is reduced, the space occupied by the data is prevented from being too large, the multiple space cleaning processes of the space cleaning equipment are reduced, and the intelligence of space cleaning is improved.
  • the present application also provides a space cleaning device.
  • the space cleaning device includes:
  • a first determination module is configured to determine a target service type corresponding to the selection instruction when a selection instruction of a service type is received in an application interface of a preset application; a second determination module is used to determine a target of the target service type Operation mode; a processing module, configured to extract a space capacity required by the target operation mode in a background server through a background interface, and compare the required space capacity with a current remaining space capacity of a device sending the selection instruction Comparison; an output module for outputting a prompt for clearing the space if the required space capacity is greater than the current remaining space capacity; the comparison module is also used for clearing the remaining space capacity after the space is cleared Compare again with the required space capacity; an execution module is configured to execute an operation process according to the target operation mode when the required space capacity is less than the cleaned up remaining space capacity.
  • the second determining module includes: a first obtaining unit configured to obtain a type identifier of the target service type; and a first sending unit configured to send the type identifier of the target service type to a background through a background interface.
  • the server is used for a background server to find the operation mode of the type identifier mapping; the receiving unit is used to receive the operation mode feedback from the background server, wherein the received operation mode is determined as the target operation mode of the target service type.
  • the processing module includes: a second obtaining unit for obtaining a mark of the target operation mode; and a second sending unit for sending the mark of the target operation mode to a background server through a background interface to Extracting the space capacity required by the target operation mode in the background server; a comparison unit, configured to compare the space capacity required by the target operation mode with the current remaining space capacity of the device sending the selection instruction.
  • An embodiment of the present application further provides a computer-readable storage medium, where computer-readable instructions are stored, and when the computer-readable instructions are executed by a processor, the space cleaning method described above is implemented.
  • the computer-readable storage medium may be a non-volatile readable storage medium.
  • the present application also provides a space cleaning system, which includes a space cleaning device and a background server, where the space cleaning device is the space cleaning device described above;
  • the background server is configured to first determine various operation modes corresponding to each service type in a preset application
  • the space capacity required for each operation mode in each service type is stored in association with the corresponding operation mode identifier.
  • the background server first determines various operation modes corresponding to each service type in the preset application, and then configures the required space capacity for each operation mode corresponding to each service type. Configuration is performed in the interface. After the configuration is completed, the space capacity required for each operation mode in each service type is associated with the corresponding operation mode identifier and saved. When the operation mode mark sent by the space clearing device is subsequently received through the background interface, the required space capacity can be fed back to the space clearing device.
  • the background server is further configured to perform a capacity test on the space capacity required for various operation modes in each service type to determine after the test. Whether the space capacity meets the configured space capacity;
  • the space capacity required for each operation mode in each service type is stored in association with the corresponding operation mode identifier.
  • a capacity test is performed on the space capacity required for various operation modes in each service type to determine whether the tested space capacity meets the configured space capacity. Specifically, the execution The process of each operation mode to obtain the actual space capacity of each operation mode, and compare the actual space capacity of each operation mode with the required space capacity of the configuration to determine whether the tested space capacity meets the configured space capacity. If the space capacity after the test satisfies the configured space capacity, the space capacity required for the test operation mode can be stored in association with the corresponding operation mode identifier.
  • the accuracy of the space capacity configuration is improved by testing the space capacity required for the operation mode.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Telephonic Communication Services (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

一种空间清理方法、装置、设备和计算机可读存储介质,该方法基于云存储技术,该方法包括:在预设应用的应用界面中接收到业务类型的选择指令时,确定选择指令对应的目标业务类型(S10);确定所述目标业务类型的目标操作方式(S20);提取所述目标操作方式所需的空间容量,并与发送所述选择指令的设备当前的剩余空间容量进行比较(S30);若所述所需的空间容量大于所述当前的剩余空间容量,则输出清理空间的提示信息,并在清理空间之后,将清理后的剩余空间容量和所述所需的空间容量再次进行比较(S40);在所述所需的空间容量小于所述清理后的剩余空间容量时,按照所述目标操作方式执行操作过程(S50)。该方法基于云存储技术的空间清理方法提高了操作执行的智能性。

Description

空间清理方法、装置、设备和计算机可读存储介质
本申请要求于2018年8月17日提交中国专利局、申请号为201810951314.8、发明名称为“空间清理方法、装置、设备和计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中
技术领域
本申请涉及空间清理技术领域,尤其涉及一种空间清理方法、装置、设备和计算机可读存储介质。
背景技术
现有的终端在执行占用较大空间的操作时,经常会因为终端存储空间不足导致操作中断或者死机的现象发生。终端只能先中断操作或者进行重启,然后进行空间清理,之后再重新执行相应的操作过程。显然,现有的操作执行过程,容易因为存储空间不足导致无法顺利进行,而空间清理的方式,操作繁琐,智能性较低。
发明内容
本申请的主要目的在于提供一种空间清理方法、装置、设备和计算机可读存储介质,旨在解决现有的空间清理方式,操作繁琐,智能性较低的技术问题。
为实现上述目的,本申请提供一种空间清理方法,所述空间清理方法包括:
在预设应用的应用界面中接收到业务类型的选择指令时,确定所述选择指令对应的目标业务类型;
确定所述目标业务类型的目标操作方式;
通过后台接口在后台服务器中提取所述目标操作方式所需的空间容量,并将所述所需的空间容量与发送所述选择指令的设备当前的剩余空间容量进行比较;
若所述所需的空间容量大于所述当前的剩余空间容量,则输出清理空间的提示信息,并在清理空间之后,将清理后的剩余空间容量和所述所需的空间容量再次进行比较;
在所述所需的空间容量小于所述清理后的剩余空间容量时,按照所述目标操作方式执行操作过程。
此外,为实现上述目的,本申请还提供一种空间清理装置,所述空间清理装置包括:
第一确定模块,用于在预设应用的应用界面中接收到业务类型的选择指令时,确定所述选择指令对应的目标业务类型;
第二确定模块,用于确定所述目标业务类型的目标操作方式;
处理模块,用于通过后台接口在后台服务器中提取所述目标操作方式所需的空间容量,并将所述所需的空间容量与发送所述选择指令的设备当前的剩余空间容量进行比较;
输出模块,用于若所述所需的空间容量大于所述当前的剩余空间容量,则输出清理空间的提示信息;
比较模块,还用于在清理空间之后,将清理后的剩余空间容量和所述所需的空间容量再次进行比较;
执行模块,用于在所述所需的空间容量小于所述清理后的剩余空间容量时,按照所述目标操作方式执行操作过程。
此外,为实现上述目的,本申请还提供一种空间清理设备,所述空间清理设备包括存储器、处理器、通信总线及存储在所述存储器上并可在所述处理器上运行的计算机可读指令;
所述通信总线用于实现处理器与存储器间的通信连接;
所述处理器用于执行所述计算机可读指令,以实现如上文所述的空间清理方法的步骤。
此外,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如上文所述的空间清理方法的步骤。
本申请提出的空间清理方法,在预设应用的应用界面中接收到业务类型的选择指令时,先确定所述选择指令对应的目标业务类型,再确定所述目标业务类型的目标操作方式,之后通过后台接口在后台服务器中提取所述目标操作方式所需的空间容量,并将所述所需的空间容量与发送所述选择指令的设备当前的剩余空间容量进行比较,若所述所需的空间容量大于所述当前的剩余空间容量,则输出清理空间的提示信息,并在清理空间之后,将清理后的剩余空间容量和所述所需的空间容量再次进行比较,在所述所需的空间容量小于所述清理后的剩余空间容量时,按照所述目标操作方式执行操作过程。本申请在进行操作之前,先通过后台接口在后台服务器中提取执行该操作所需的空间容量,若所需的空间容量大于设备当前的剩余空间容量,则先进行空间清理,以便后续执行该操作过程时顺利执行,防止了操作执行过程中,由于存储空间不足造成的中断,本申请提高了操作执行的智能性。
附图说明
图1是本申请实施例方案涉及的硬件运行环境的空间清理设备结构示意图;
图2为本申请空间清理方法第一实施例的流程示意图;
图3为图2中步骤S20的细化流程示意图;
图4为图2中步骤S30的细化流程示意图;
图5为本申请空间清理方法第三实施例的流程示意图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请实施例的解决方案主要是:在预设应用的应用界面中接收到业务类型的选择指令时,先确定所述选择指令对应的目标业务类型,再确定所述目标业务类型的目标操作方式,之后通过后台接口在后台服务器中提取所述目标操作方式所需的空间容量,并将所述所需的空间容量与发送所述选择指令的设备当前的剩余空间容量进行比较,若所述所需的空间容量大于所述当前的剩余空间容量,则输出清理空间的提示信息,并在清理空间之后,将清理后的剩余空间容量和所述所需的空间容量再次进行比较,在所述所需的空间容量小于所述清理后的剩余空间容量时,按照所述目标操作方式执行操作过程。以解决现有的空间清理方式,操作繁琐,智能性低的问题。
如图1所示,图1是本申请实施例方案涉及的硬件运行环境的空间清理设备结构示意图。
本申请实施例空间清理设备可以是PC,也可以是智能手机、平板电脑、便携计算机等具有显示功能的设备。
如图1所示,该空间清理设备可以包括:处理器1001,例如CPU,通信总线1002、用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口(例如用于连接有线键盘、有线鼠标等)、无线接口(例如用于连接无线键盘、无线鼠标)。网络接口1004可选的可以包括标准的有线接口(用于连接有线网络)、无线接口(如WI-FI接口、蓝牙接口、红外线接口等,用于连接无线网络)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。
可选地,设备还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。
本领域技术人员可以理解,图1中示出的空间清理设备结构并不构成对转换设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种计算机可读存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及计算机可读指令。其中,操作系统是管理和控制空间清理设备与软件资源的程序,支持网络通信模块、用户接口模块、计算机可读指令以及其他程序或软件的运行;网络通信模块用于管理和控制网络接口1002;用户接口模块用于管理和控制用户接口1003。
在图1所示的空间清理设备中,所述空间清理设备通过处理器1001调用存储器1005中存储的计算机可读指令,以实现如下文所述的空间清理方法的步骤。
基于上述空间清理设备的硬件结构,提出本申请空间清理方法的各个实施例。
参照图2,图2为本申请空间清理方法第一实施例的流程示意图。
在本实施例中,所述空间清理方法包括:
步骤S10,在预设应用的应用界面中接收到业务类型的选择指令时,确定所述选择指令对应的目标业务类型;
步骤S20,确定所述目标业务类型的目标操作方式;
步骤S30,通过后台接口在后台服务器中提取所述目标操作方式所需的空间容量,并将所述所需的空间容量与发送所述选择指令的设备当前的剩余空间容量进行比较;
步骤S40,若所述所需的空间容量大于所述当前的剩余空间容量,则输出清理空间的提示信息,并在清理空间之后,将清理后的剩余空间容量和所述所需的空间容量再次进行比较;
步骤S50,在所述所需的空间容量小于所述清理后的剩余空间容量时,按照所述目标操作方式执行操作过程。
在本实施例中,所述空间清理方法应用于空间清理设备,所述空间清理设备如图1所示的空间清理设备。
以下是本实施例中实现空间清理的具体步骤:
步骤S10,在预设应用的应用界面中接收到业务类型的选择指令时,确定所述选择指令对应的目标业务类型;
在本实施例中,空间清理设备先根据用户触控的启动指令进行启动,然后在预设应用所在应用界面中显示各种业务类型,其中,所述预设应用包括但不限于保险应用、社交应用;当预设应用为保险应用时,业务类型包括各种保险产品类型;当预设应用为社交应用时,业务类型包括聊天窗口类型、消息发布窗口类型。当预设应用的应用界面中显示有各种业务类型的情况下,若在预设应用的应用界面中接收到业务类型的选择指令时,即可根据该选择指令触控的区域确定对应的目标业务类型。
步骤S20,确定所述目标业务类型的目标操作方式;
确定选择指令对应的业务类型之后,再确定该业务类型的操作方式,其中,所述操作方式包括录制音视频、拍照或语音指引界面录制过程。在本实施例中,参照图3,所述步骤S20包括:
步骤S21,获取所述目标业务类型的类型标识;
即,在确定选择指令对应的目标业务类型之后,先获取该目标业务类型的类型标识,本实施例中,通过所述类型标识,可唯一确定目标业务类型,在该目标业务类型为各种保险产品类型时,类型标识可选为保险产品名称或者保险产品ID号,在该目标业务类型为社交应用的聊天窗口类型或消息发布窗口类型时,类型标识可选为窗口名称或者窗口ID号。
步骤S22,通过后台接口将所述目标业务类型的类型标识发送至后台服务器中,以供后台服务器查找所述类型标识映射的操作方式;
在获取到目标业务类型的类型标识之后,通过后台接口将所述目标业务类型的类型标识发送至后台服务器中,以供后台服务器查找所述类型标识映射的操作方式,应理解,空间清理设备通过后台接口与后台服务器相互通信,后台服务器中记录有类型标识与操作方式的映射关系,该映射关系包括一对一或一对多的映射关系,即一种类型标识可以对应一种操作方式,也可以对应多种操作方式,具体不做限定。当后台服务器通过后台接口接收到空间清理设备发送的目标业务类型的类型标识后,即可根据该类型标识查找到映射的操作方式,所述操作方式即上文所述的录制音视频、拍照或语音指引界面录制过程。
步骤S23,接收后台服务器反馈的操作方式,其中,接收到的操作方式确定为所述目标业务类型的目标操作方式。
当后台服务器查找所述类型标识映射的操作方式之后,将查找的到的操作方式反馈至空间清理设备,空间清理设备接收后台服务器反馈的操作方式,并确定接收到的操作方式为确定的所述目标业务类型对应的目标操作方式。
步骤S30,通过后台接口在后台服务器中提取所述目标操作方式所需的空间容量,并将所述所需的空间容量与发送所述选择指令的设备当前的剩余空间容量进行比较;
具体地,参照图4,所述步骤S30包括:
步骤S31,获取所述目标操作方式的标记;
即,当空间清理设备通过后台接口在后台服务器中接收到目标操作方式之后,先获取该目标操作方式的标记,同理,目标操作方式的标记同样用于确定对应的目标操作方式。
步骤S32,通过后台接口将所述目标操作方式的标记发送至后台服务器中,以在所述后台服务器中提取所述目标操作方式所需的空间容量;
在获取到目标操作方式的标记之后,再通过该后台接口从后台服务器中提取所述目标操作方式所需的空间容量,具体地,通过后台接口将目标操作方式发送至后台服务器中,以在后台服务器中提取所述目标操作方式所需的空间容量,应理解,后台服务器中也同样存储有目标操作方式与空间容量之间的对应关系,具体为一种目标操作方式,设置有一种对应的空间容量。
步骤S33,将所述目标操作方式所需的空间容量与发送所述选择指令的设备当前的剩余空间容量进行比较。
在通过后台接口从后台服务器中提取出该目标操作方式所需的空间容量之后,即可将该目标操作方式所需的空间容量与设备当前的剩余空间容量进行比较。
步骤S40,若所述所需的空间容量大于所述当前的剩余空间容量,则输出清理空间的提示信息,并在清理空间之后,将清理后的剩余空间容量和所述所需的空间容量再次进行比较;
将该目标操作方式所需的空间容量与设备当前的剩余空间容量进行比较之后,若该目标操作方式所需的空间容量大于当前的剩余空间容量,则输出清理空间的提示信息,以进行空间的清理,可选在输出清理空间的提示信息之后,设备直接进行空间的清理,还可选在输出清理空间的提示信息之后,显示确认按钮,并在确认按钮所在位置检测到触控操作时进行空间的清理。在清理空间之后,将清理后的剩余空间容量和所需的空间容量再次进行比较。
步骤S50,在所述所需的空间容量小于所述清理后的剩余空间容量时,按照所述目标操作方式执行操作过程。
本实施例中,当所需的空间容量小于清理后的剩余空间容量时,即可按照确定的目标操作方式执行操作过程,其中,按照确定的目标操作方式执行操作过程的方式包括:在目标操作方式为拍照时,则按照拍照的目标操作方式启动摄像头进行拍照;在目标操作方式为录制音视频时,则按照录制音视频的目标操作方式执行音视频录制过程;在目标操作方式为语音指引界面录制过程时,则按照语音指引界面录制过程的目标操作方式执行界面录制过程,其中,界面录制过程可选是文件操作界面的录制过程、产品使用的操作过程等等。
本实施例提出的空间清理方法,在预设应用的应用界面中接收到业务类型的选择指令时,先确定所述选择指令对应的目标业务类型,再确定所述目标业务类型的目标操作方式,之后通过后台接口在后台服务器中提取所述目标操作方式所需的空间容量,并将所述所需的空间容量与发送所述选择指令的设备当前的剩余空间容量进行比较,若所述所需的空间容量大于所述当前的剩余空间容量,则输出清理空间的提示信息,并在清理空间之后,将清理后的剩余空间容量和所述所需的空间容量再次进行比较,在所述所需的空间容量小于所述清理后的剩余空间容量时,按照所述目标操作方式执行操作过程。本申请在进行操作之前,先通过后台接口在后台服务器中提取执行该操作所需的空间容量,若所需的空间容量大于设备当前的剩余空间容量,则先进行空间清理,以便后续执行该操作过程时顺利执行,防止了操作执行过程中,由于存储空间不足造成的中断,本申请提高了操作执行的智能性。
进一步地,基于第一实施例提出本申请空间清理方法的第二实施例。
空间清理方法的第二实施例与空间清理方法的第一实施例的区别在于,在操作方式为录制音视频或语音指引界面录制过程时,所述步骤S10之前,所述方法还包括:
步骤A,将操作方式按照产品的业务类型进行分类整理,并将业务类型和操作方式关联存储到后台服务器中,其中,所述操作方式包括录制音视频、拍照或语音指引界面录制过程;
所述按照所述目标操作方式执行操作过程的步骤包括:
若所述操作方式为录制音视频或语音指引界面录制,则按照与所述录制音视频对应的目标操作方式执行音视频录制过程,或者按照与所述语音指引界面录制过程对应的目标操作方式执行界面录制过程。
在本实施例中,空间清理设备需要先将操作方式按照产品的业务类型进行分类,然后将分类后的操作方式与对应的业务类型关联存储到后台服务器中,将操作方式与业务类型关联存储到后台服务器之后,后续需要进行录制音视频、拍照或语音指引界面录制过程时,根据业务类型返回操作方式给空间清理设备,以便空间清理设备按照录制方式执行录制操作。即,空间清理设备在应用界面中确定业务类型之后,通过后台接口将业务类型的类型标识发送至后台服务器中,由后台服务器返回该类型标识映射的目标操作方式,当空间清理设备接收到目标操作方式之后,若所述操作方式为录制音视频或语音指引界面录制,则通过后台接口从后台服务器中提取该目标操作方式所需的空间容量,以将所需的空间容量与设备当前的剩余空间容量进行比较,若目标操作方式所需的空间容量大于当前的剩余空间容量,则先进行空间的清理,并在清理空间之后,将清理后的剩余空间容量和所需的空间容量再次进行比较,在所需的空间容量小于清理后的剩余空间容量时,即可按照确定的目标操作方式执行操作过程,所述按照确定的目标操作方式执行操作过程的具体方式包括:按照与所述录制音视频对应的目标操作方式执行音视频录制过程,或者按照与所述语音指引界面录制过程对应的目标操作方式执行界面录制过程。
在本实施例中,事先在后台服务器中进行配置,该配置的录制规则可随时更改,当空间清理设备需要在前端进行录制时,根据业务类型查询到对应的录制规则,即可按照查询到录制规则执行录制过程。
需要说明的是,现有的录制过程,如保险产品的销售过程,一般是用户自行进行录制,录制之前或录制过程读取文字规则进行录制,操作较为繁琐,并且智能性低。而本实施例中,录制规则按照业务类型反馈之后,空间清理设备按照录制规则提示用户进行录制,由于录制规则根据业务类型分类整理,使得录制规则更加清晰和准确;后台服务器支持规则的配置,可随时修改,便于动态调整;此外,录制规则在录制时提示给用户,便于用户参考提高录制准确率,降低重复录制率,不仅提高了准确性,还提高了用户体验。
进一步地,基于第一或第二实施例提出本申请空间清理方法的第三实施例。
空间清理方法的第三实施例与空间清理方法的第一或第二实施例的区别在于,参照图5,所述步骤S50之后,所述方法还包括:
步骤S60,获取执行所述操作过程得到的数据;
步骤S70,对获取的数据按照预设比例进行压缩,得到压缩后的数据。
在本实施例中,在空间清理设备按照确定的操作方式执行操作过程之后,先获取执行该操作过程得到的数据,然后为了降低数据占用的存储空间,对获取的数据按照预设比例进行压缩,得到压缩后的数据,其中,该预设比例的具体数值不做限定,根据实际需要设置。
在本实施例中,通过对数据进行压缩,从而减小数据占用的存储空间,防止数据占用的空间过大,也减少了空间清理设备的多次空间清理过程,提高了空间清理的智能性。
本申请还提供一种空间清理装置,所述空间清理装置包括:
第一确定模块,用于在预设应用的应用界面中接收到业务类型的选择指令时,确定所述选择指令对应的目标业务类型;第二确定模块,用于确定所述目标业务类型的目标操作方式;处理模块,用于通过后台接口在后台服务器中提取所述目标操作方式所需的空间容量,并将所述所需的空间容量与发送所述选择指令的设备当前的剩余空间容量进行比较;输出模块,用于若所述所需的空间容量大于所述当前的剩余空间容量,则输出清理空间的提示信息;比较模块,还用于在清理空间之后,将清理后的剩余空间容量和所述所需的空间容量再次进行比较;执行模块,用于在所述所需的空间容量小于所述清理后的剩余空间容量时,按照所述目标操作方式执行操作过程。
具体地,所述第二确定模块包括:第一获取单元,用于获取所述目标业务类型的类型标识;第一发送单元,用于通过后台接口将所述目标业务类型的类型标识发送至后台服务器中,以供后台服务器查找所述类型标识映射的操作方式;接收单元,用于接收后台服务器反馈的操作方式,其中,接收到的操作方式确定为所述目标业务类型的目标操作方式。
具体地,所述处理模块包括:第二获取单元,用于获取所述目标操作方式的标记;第二发送单元,用于通过后台接口将所述目标操作方式的标记发送至后台服务器中,以在所述后台服务器中提取所述目标操作方式所需的空间容量;比较单元,用于将所述目标操作方式所需的空间容量与发送所述选择指令的设备当前的剩余空间容量进行比较。
本申请空间清理装置的具体实施方式与上述空间清理方法各实施例基本相同,在此不再赘述。
本申请实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如上文所述的空间清理方法。该计算机可读存储介质可为非易失性可读存储介质。
本申请计算机可读存储介质具体实施方式与上述空间清理方法各实施例基本相同,在此不再赘述。
本申请还提供一种空间清理系统,所述空间清理系统包括空间清理设备和后台服务器,所述空间清理设备如上文所述的空间清理设备;
所述后台服务器,用于先确定预设应用中每种业务类型对应的各种操作方式;
针对每种业务类型对应的各种操作方式配置所需的空间容量;
将每种业务类型中的各种操作方式所需的空间容量与对应的操作方式标识进行关联保存。
在本实施例中,后台服务器先确定预设应用中每种业务类型对应的各种操作方式,然后对每种业务类型对应的各种操作方式配置所需的空间容量,配置的方式由用户在界面中进行配置,在配置完成后,将每种业务类型中的各种操作方式所需的空间容量与对应的操作方式标识进行关联保存。后续通过后台接口接收到空间清理设备发送的操作方式标记时,即可反馈所需的空间容量给空间清理设备。
进一步地,为了提高各种操作方式所需空间容量配置的准确性,所述后台服务器,还用于对每种业务类型中的各种操作方式所需的空间容量进行容量测试,以判断测试后的空间容量是否满足配置的空间容量;
若是,则将每种业务类型中的各种操作方式所需的空间容量与对应的操作方式标识进行关联保存。
即,在对操作方式配置了空间容量之后,对每种业务类型中的各种操作方式所需的空间容量进行容量测试,以判断测试后的空间容量是否满足配置的空间容量,具体地,执行每种操作方式的过程,以得到每种操作方式实际的空间容量,并将每种操作方式实际的空间容量与配置的所需空间容量进行比较,以判断测试后的空间容量是否满足配置的空间容量。若测试后的空间容量满足配置的空间容量,即可测试完成的操作方式所需的空间容量与对应的操作方式标识进行关联保存。
在本实施例中,通过对操作方式所需的空间容量进行测试,提高了空间容量配置的准确性。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其它变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其它要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁盘、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (20)

  1. 一种空间清理方法,其特征在于,所述空间清理方法包括:
    在预设应用的应用界面中接收到业务类型的选择指令时,确定所述选择指令对应的目标业务类型;
    确定所述目标业务类型的目标操作方式;
    通过后台接口在后台服务器中提取所述目标操作方式所需的空间容量,并将所述所需的空间容量与发送所述选择指令的设备当前的剩余空间容量进行比较;
    若所述所需的空间容量大于所述当前的剩余空间容量,则输出清理空间的提示信息,并在清理空间之后,将清理后的剩余空间容量和所述所需的空间容量再次进行比较;
    在所述所需的空间容量小于所述清理后的剩余空间容量时,按照所述目标操作方式执行操作过程。
  2. 如权利要求1所述的空间清理方法,其特征在于,所述确定所述目标业务类型的目标操作方式的步骤包括:
    获取所述目标业务类型的类型标识;
    通过后台接口将所述目标业务类型的类型标识发送至后台服务器中,以供后台服务器查找所述类型标识映射的操作方式;
    接收后台服务器反馈的操作方式,其中,接收到的操作方式确定为所述目标业务类型的目标操作方式。
  3. 如权利要求1所述的空间清理方法,其特征在于,所述通过后台接口在后台服务器中提取所述目标操作方式所需的空间容量,并将所述所需的空间容量与发送所述选择指令的设备当前的剩余空间容量进行比较的步骤包括:
    获取所述目标操作方式的标记;
    通过后台接口将所述目标操作方式的标记发送至后台服务器中,以在所述后台服务器中提取所述目标操作方式所需的空间容量;
    将所述目标操作方式所需的空间容量与发送所述选择指令的设备当前的剩余空间容量进行比较。
  4. 如权利要求1所述的空间清理方法,其特征在于,所述在预设应用的应用界面中接收到业务类型的选择指令时,确定所述选择指令对应的目标业务类型的步骤之前,所述方法还包括:
    将操作方式按照产品的业务类型进行分类整理,并将业务类型和操作方式关联存储到后台服务器中,其中,所述操作方式包括录制音视频、拍照或语音指引界面录制过程;
    所述按照所述目标操作方式执行操作过程的步骤包括:
    若所述操作方式为录制音视频或语音指引界面录制,则按照与所述录制音视频对应的目标操作方式执行音视频录制过程,或者按照与所述语音指引界面录制过程对应的目标操作方式执行界面录制过程。
  5. 如权利要求1所述的空间清理方法,其特征在于,所述在所述所需的空间容量小于所述清理后的剩余空间容量时,按照所述目标操作方式执行操作过程的步骤之后,所述方法还包括:
    获取执行所述操作过程得到的数据;
    对获取的数据按照预设比例进行压缩,得到压缩后的数据。
  6. 一种空间清理装置,其特征在于,所述空间清理装置包括:
    第一确定模块,用于在预设应用的应用界面中接收到业务类型的选择指令时,确定所述选择指令对应的目标业务类型;
    第二确定模块,用于确定所述目标业务类型的目标操作方式;
    处理模块,用于通过后台接口在后台服务器中提取所述目标操作方式所需的空间容量,并将所述所需的空间容量与发送所述选择指令的设备当前的剩余空间容量进行比较;
    输出模块,用于若所述所需的空间容量大于所述当前的剩余空间容量,则输出清理空间的提示信息;
    比较模块,还用于在清理空间之后,将清理后的剩余空间容量和所述所需的空间容量再次进行比较;
    执行模块,用于在所述所需的空间容量小于所述清理后的剩余空间容量时,按照所述目标操作方式执行操作过程。
  7. 如权利要求6所述的空间清理装置,其特征在于,所述第二确定模块包括:
    第一获取单元,用于获取所述目标业务类型的类型标识;
    第一发送单元,用于通过后台接口将所述目标业务类型的类型标识发送至后台服务器中,以供后台服务器查找所述类型标识映射的操作方式;
    接收单元,用于接收后台服务器反馈的操作方式,其中,接收到的操作方式确定为所述目标业务类型的目标操作方式。
  8. 如权利要求6所述的空间清理装置,其特征在于,所述处理模块包括:
    第二获取单元,用于获取所述目标操作方式的标记;
    第二发送单元,用于通过后台接口将所述目标操作方式的标记发送至后台服务器中,以在所述后台服务器中提取所述目标操作方式所需的空间容量;
    比较单元,用于将所述目标操作方式所需的空间容量与发送所述选择指令的设备当前的剩余空间容量进行比较。
  9. 如权利要求6所述的空间清理装置,其特征在于,所述空间清理装置还包括:
    整理模块,用于将操作方式按照产品的业务类型进行分类整理;
    存储模块,用于将业务类型和操作方式关联存储到后台服务器中,其中,所述操作方式包括录制音视频、拍照或语音指引界面录制过程;
    所述执行模块还用于若所述操作方式为录制音视频或语音指引界面录制,则按照与所述录制音视频对应的目标操作方式执行音视频录制过程,或者按照与所述语音指引界面录制过程对应的目标操作方式执行界面录制过程。
  10. 如权利要求6所述的空间清理装置,其特征在于,所述空间清理装置还包括:
    获取模块,用于获取执行所述操作过程得到的数据;
    压缩模块,用于对获取的数据按照预设比例进行压缩,得到压缩后的数据。
  11. 一种空间清理设备,其特征在于,所述空间清理设备包括存储器、处理器、通信总线及存储在所述存储器上并可在所述处理器上运行的计算机可读指令;
    所述通信总线用于实现处理器与存储器间的通信连接;
    所述处理器用于执行所述计算机可读指令,以实现如下步骤:
    在预设应用的应用界面中接收到业务类型的选择指令时,确定所述选择指令对应的目标业务类型;
    确定所述目标业务类型的目标操作方式;
    通过后台接口在后台服务器中提取所述目标操作方式所需的空间容量,并将所述所需的空间容量与发送所述选择指令的设备当前的剩余空间容量进行比较;
    若所述所需的空间容量大于所述当前的剩余空间容量,则输出清理空间的提示信息,并在清理空间之后,将清理后的剩余空间容量和所述所需的空间容量再次进行比较;
    在所述所需的空间容量小于所述清理后的剩余空间容量时,按照所述目标操作方式执行操作过程。
  12. 如权利要求11所述的空间清理设备,其特征在于,所述确定所述目标业务类型的目标操作方式的步骤包括:
    获取所述目标业务类型的类型标识;
    通过后台接口将所述目标业务类型的类型标识发送至后台服务器中,以供后台服务器查找所述类型标识映射的操作方式;
    接收后台服务器反馈的操作方式,其中,接收到的操作方式确定为所述目标业务类型的目标操作方式。
  13. 如权利要求11所述的空间清理设备,其特征在于,所述通过后台接口在后台服务器中提取所述目标操作方式所需的空间容量,并将所述所需的空间容量与发送所述选择指令的设备当前的剩余空间容量进行比较的步骤包括:
    获取所述目标操作方式的标记;
    通过后台接口将所述目标操作方式的标记发送至后台服务器中,以在所述后台服务器中提取所述目标操作方式所需的空间容量;
    将所述目标操作方式所需的空间容量与发送所述选择指令的设备当前的剩余空间容量进行比较。
  14. 如权利要求11所述的空间清理设备,其特征在于,所述在预设应用的应用界面中接收到业务类型的选择指令时,确定所述选择指令对应的目标业务类型的步骤之前,所述处理器用于执行所述计算机可读指令,以实现如下步骤:
    将操作方式按照产品的业务类型进行分类整理,并将业务类型和操作方式关联存储到后台服务器中,其中,所述操作方式包括录制音视频、拍照或语音指引界面录制过程;
    所述按照所述目标操作方式执行操作过程的步骤包括:
    若所述操作方式为录制音视频或语音指引界面录制,则按照与所述录制音视频对应的目标操作方式执行音视频录制过程,或者按照与所述语音指引界面录制过程对应的目标操作方式执行界面录制过程。
  15. 如权利要求11所述的空间清理设备,其特征在于,所述在所述所需的空间容量小于所述清理后的剩余空间容量时,按照所述目标操作方式执行操作过程的步骤之后,所述处理器用于执行所述计算机可读指令,以实现如下步骤:
    获取执行所述操作过程得到的数据;
    对获取的数据按照预设比例进行压缩,得到压缩后的数据。
  16. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如下步骤:
    在预设应用的应用界面中接收到业务类型的选择指令时,确定所述选择指令对应的目标业务类型;
    确定所述目标业务类型的目标操作方式;
    通过后台接口在后台服务器中提取所述目标操作方式所需的空间容量,并将所述所需的空间容量与发送所述选择指令的设备当前的剩余空间容量进行比较;
    若所述所需的空间容量大于所述当前的剩余空间容量,则输出清理空间的提示信息,并在清理空间之后,将清理后的剩余空间容量和所述所需的空间容量再次进行比较;
    在所述所需的空间容量小于所述清理后的剩余空间容量时,按照所述目标操作方式执行操作过程。
  17. 如权利要求16所述的计算机可读存储介质,其特征在于,所述确定所述目标业务类型的目标操作方式的步骤包括:
    获取所述目标业务类型的类型标识;
    通过后台接口将所述目标业务类型的类型标识发送至后台服务器中,以供后台服务器查找所述类型标识映射的操作方式;
    接收后台服务器反馈的操作方式,其中,接收到的操作方式确定为所述目标业务类型的目标操作方式。
  18. 如权利要求16所述的计算机可读存储介质,其特征在于,所述通过后台接口在后台服务器中提取所述目标操作方式所需的空间容量,并将所述所需的空间容量与发送所述选择指令的设备当前的剩余空间容量进行比较的步骤包括:
    获取所述目标操作方式的标记;
    通过后台接口将所述目标操作方式的标记发送至后台服务器中,以在所述后台服务器中提取所述目标操作方式所需的空间容量;
    将所述目标操作方式所需的空间容量与发送所述选择指令的设备当前的剩余空间容量进行比较。
  19. 如权利要求16所述的计算机可读存储介质,其特征在于,所述在预设应用的应用界面中接收到业务类型的选择指令时,确定所述选择指令对应的目标业务类型的步骤之前,所述计算机可读指令被处理器执行时实现如下步骤:
    将操作方式按照产品的业务类型进行分类整理,并将业务类型和操作方式关联存储到后台服务器中,其中,所述操作方式包括录制音视频、拍照或语音指引界面录制过程;
    所述按照所述目标操作方式执行操作过程的步骤包括:
    若所述操作方式为录制音视频或语音指引界面录制,则按照与所述录制音视频对应的目标操作方式执行音视频录制过程,或者按照与所述语音指引界面录制过程对应的目标操作方式执行界面录制过程。
  20. 如权利要求16所述的计算机可读存储介质,其特征在于,所述在所述所需的空间容量小于所述清理后的剩余空间容量时,按照所述目标操作方式执行操作过程的步骤之后,所述计算机可读指令被处理器执行时实现如下步骤:
    获取执行所述操作过程得到的数据;
    对获取的数据按照预设比例进行压缩,得到压缩后的数据。
PCT/CN2018/122715 2018-08-17 2018-12-21 空间清理方法、装置、设备和计算机可读存储介质 WO2020034531A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810951314.8A CN109710436B (zh) 2018-08-17 2018-08-17 空间清理方法、装置、设备和计算机可读存储介质
CN201810951314.8 2018-08-17

Publications (1)

Publication Number Publication Date
WO2020034531A1 true WO2020034531A1 (zh) 2020-02-20

Family

ID=66253657

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/122715 WO2020034531A1 (zh) 2018-08-17 2018-12-21 空间清理方法、装置、设备和计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN109710436B (zh)
WO (1) WO2020034531A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111538464B (zh) * 2020-05-10 2021-05-07 浙江智飨科技有限公司 一种基于物联网平台的数据清理方法及装置
CN113010551B (zh) * 2021-03-02 2022-05-10 北京三快在线科技有限公司 一种资源缓存方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219561A (zh) * 2014-08-20 2014-12-17 北京奇艺世纪科技有限公司 一种离线视频的清理方法和用户设备
CN104639860A (zh) * 2014-12-31 2015-05-20 安科智慧城市技术(中国)有限公司 一种监控录像的存储方法和装置
CN105653582A (zh) * 2015-12-21 2016-06-08 联想(北京)有限公司 一种电子设备的文件管理方法及电子设备
CN105740017A (zh) * 2016-01-29 2016-07-06 贵阳海信电子有限公司 云电视系统的升级方法及装置
CN107608634A (zh) * 2017-09-25 2018-01-19 四川长虹电器股份有限公司 安卓系统空间处理方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100392604C (zh) * 2005-06-27 2008-06-04 腾讯科技(深圳)有限公司 一种实现程序资源共享的系统及方法
CN103853610B (zh) * 2012-12-07 2018-11-16 腾讯科技(深圳)有限公司 资源优化方法及装置
CN104077191A (zh) * 2014-07-18 2014-10-01 广州金山网络科技有限公司 一种用于管理内存资源的方法及装置
CN106909447B (zh) * 2015-12-23 2019-11-15 北京金山安全软件有限公司 一种后台应用程序的处理方法、装置及终端
CN107844333A (zh) * 2017-09-06 2018-03-27 努比亚技术有限公司 一种应用清理方法、移动终端及计算机可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219561A (zh) * 2014-08-20 2014-12-17 北京奇艺世纪科技有限公司 一种离线视频的清理方法和用户设备
CN104639860A (zh) * 2014-12-31 2015-05-20 安科智慧城市技术(中国)有限公司 一种监控录像的存储方法和装置
CN105653582A (zh) * 2015-12-21 2016-06-08 联想(北京)有限公司 一种电子设备的文件管理方法及电子设备
CN105740017A (zh) * 2016-01-29 2016-07-06 贵阳海信电子有限公司 云电视系统的升级方法及装置
CN107608634A (zh) * 2017-09-25 2018-01-19 四川长虹电器股份有限公司 安卓系统空间处理方法

Also Published As

Publication number Publication date
CN109710436A (zh) 2019-05-03
CN109710436B (zh) 2021-03-30

Similar Documents

Publication Publication Date Title
WO2020015067A1 (zh) 数据采集方法、装置、设备及存储介质
WO2020224246A1 (zh) 基于区块链的数据管理方法、装置、设备和存储介质
WO2019037196A1 (zh) 任务分配方法、装置及计算机可读存储介质
WO2020015064A1 (zh) 系统故障处理方法、装置、设备及存储介质
WO2013118988A1 (en) Method and apparatus for interoperably performing services and system supporting the same
WO2020147264A1 (zh) 多系统日志数据的监控方法、装置、设备及可读存储介质
WO2019024485A1 (zh) 数据共享方法、装置及计算机可读存储介质
WO2012100607A1 (zh) 终端桌面处理系统、终端及服务器和方法
WO2020015060A1 (zh) 用电量异常评估方法、装置、设备和计算机存储介质
WO2020052152A1 (zh) 用户常驻地判断方法、装置、设备及计算机可读存储介质
WO2021012489A1 (zh) 电话平台日志查询方法、终端设备、存储介质及装置
WO2020119115A1 (zh) 数据审核方法、装置、设备及存储介质
WO2020087981A1 (zh) 风控审核模型生成方法、装置、设备及可读存储介质
WO2021027143A1 (zh) 信息推送方法、装置、设备及计算机可读存储介质
WO2019233190A1 (zh) 基于显示终端的文本转语音方法、显示终端及存储介质
WO2020034531A1 (zh) 空间清理方法、装置、设备和计算机可读存储介质
WO2020098078A1 (zh) Ocr训练样本的生成方法、装置、设备及可读存储介质
WO2020107591A1 (zh) 重复投保限制方法、装置、设备及可读存储介质
WO2015147599A1 (en) Data sharing method and electronic device thereof
WO2021017332A1 (zh) 语音控制报错方法、电器及计算机可读存储介质
WO2019184436A1 (zh) 视频推送方法、装置及计算机可读存储介质
WO2020186780A1 (zh) 用户操作录制还原方法、装置、设备及可读存储介质
WO2014133227A1 (ko) 오디오 데이터를 이용한 프레즌스 정보 제공 시스템, 이를 위한 장치 및 이를 위한 방법
WO2021162323A1 (ko) 전자 장치 및 상기 전자 장치를 이용한 콘텐츠 운용 방법
WO2019033511A1 (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: 18929917

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 25.06.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18929917

Country of ref document: EP

Kind code of ref document: A1