WO2020037672A1 - 数据的同步方法及系统、可移动平台和可读存储介质 - Google Patents

数据的同步方法及系统、可移动平台和可读存储介质 Download PDF

Info

Publication number
WO2020037672A1
WO2020037672A1 PCT/CN2018/102314 CN2018102314W WO2020037672A1 WO 2020037672 A1 WO2020037672 A1 WO 2020037672A1 CN 2018102314 W CN2018102314 W CN 2018102314W WO 2020037672 A1 WO2020037672 A1 WO 2020037672A1
Authority
WO
WIPO (PCT)
Prior art keywords
storage medium
synchronization
target
data
medium
Prior art date
Application number
PCT/CN2018/102314
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 深圳市大疆创新科技有限公司
Priority to CN201880038819.3A priority Critical patent/CN110809874A/zh
Priority to PCT/CN2018/102314 priority patent/WO2020037672A1/zh
Publication of WO2020037672A1 publication Critical patent/WO2020037672A1/zh
Priority to US17/182,181 priority patent/US20210176314A1/en

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/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data

Definitions

  • the present invention relates to the technical field of data synchronization, and in particular, to a data synchronization method, a data synchronization system, a movable platform, and a computer-readable storage medium.
  • the storage strategy of the electronic device is fixed. For example, when the electronic device has multiple storage media, the data collected by the electronic device will only be stored in one of the storage media, and will not be synchronized to the other storage media. In addition, users cannot configure synchronization policies on their own, which has low flexibility and poor user experience.
  • Embodiments of the present invention provide a data synchronization method, a movable platform, a data synchronization system, and a computer-readable storage medium.
  • a method for synchronizing data in a mobile platform includes: storing the data in a target storage medium; obtaining a synchronization strategy for the data; determining a target synchronization medium according to the synchronization strategy; The data is synchronized to the target synchronization medium.
  • the movable platform includes a processor, a memory, and an executor, wherein the memory is used to store program code, the processor is used to call the program code, and when the program code is executed, the The executor is used to perform the following operations: storing the data in a target storage medium; obtaining a synchronization strategy for the data; determining a target synchronization medium according to the synchronization strategy; synchronizing the data to the target according to the synchronization strategy Syncing media.
  • a data synchronization system includes the above-mentioned movable platform and an external device.
  • the movable platform is connected to the external device.
  • a computer-readable storage medium stores a computer program.
  • the computer program may be executed by a processor to implement the data synchronization method described above.
  • a data synchronization method a movable platform, a data synchronization system, and a computer-readable storage medium according to the embodiments of the present invention.
  • a data synchronization mechanism is provided between multiple storage media.
  • the user can instruct the mobile device to move based on the synchronization policy setting.
  • the platform synchronizes data according to the synchronization strategy, improving the flexibility of data storage and synchronization, and improving the user experience.
  • FIG. 1 is a schematic diagram of a data synchronization system according to some embodiments of the present invention.
  • FIGS. 2 to 19 are schematic flowcharts of a data synchronization method according to some embodiments of the present invention.
  • the present invention provides a data synchronization system 1000.
  • the data synchronization system 1000 includes a movable platform 100 and an external device 200.
  • the mobile platform 100 is connected to the external device 200.
  • the movable platform 100 may be connected to the external device 200 by a wired connection manner, for example, a wired manner such as a data line.
  • the mobile platform 100 may also be connected to the external device 200 through a wireless connection method, for example, via WiFi, Bluetooth, a mobile data network (2G / 3G / 4G / 5G), or the like.
  • the movable platform 100 may include a drone, an unmanned vehicle, an unmanned ship, a robot, or other movable devices.
  • the external device 200 may be a portable device, such as any suitable external device such as a mobile phone, a computer, a smart wearable device, a tablet, and a remote control. It can be understood that, in some embodiments, the external device may also be a mobile platform such as a drone, an unmanned vehicle, an unmanned ship, a robot, or the like.
  • the movable platform 100 further includes an electronic device 40, and the electronic device 40 may be a photographing device such as a camera, a video camera, or a video camera.
  • the electronic device 40 may store data.
  • the electronic device 40 is provided with at least one of an internal storage medium 10 and a first external storage medium 20. That is, the electronic device 40 may be provided with only the internal storage medium 10, or may be provided with only the first external storage medium 20, or may be provided with both the internal storage medium 10 and the first external storage medium 20.
  • the internal storage medium 10 may be, for example, an embedded multimedia card (Embedded Multimedia Card, EMMC), universal flash storage (Universal Flash Storage, UFS), or other suitable storage medium
  • the first external storage medium 20 may be, for example, secure Digital card (Secure Digital, SD), solid state drive (Solid-state drive, SSD) and other suitable storage media.
  • the number of the internal storage medium 10 may be one or more.
  • the number of the first external storage medium 20 may be one or more.
  • the electronic device 40 stores both the internal storage medium 10 and the first external storage medium 20
  • the number of the internal storage medium 10 and the first external storage medium 20 may be one or more.
  • the electronic device 40 stores data, the data may be stored in the internal storage medium 10 or the first external storage medium 20 separately, or may be stored in the internal storage medium 10 and the first external storage medium 20 at the same time.
  • the external device 200 may be provided with a storage medium that stores data.
  • the external device 200 is similar to the electronic device 40.
  • the external device 200 may be provided with only an internal storage medium, or only with an external storage medium, or with both an internal storage medium and an external storage medium.
  • the number of internal storage media and external storage media is not limited.
  • the storage medium in the external device 200 is collectively referred to as the second external storage medium 201.
  • the present invention also provides a method for synchronizing data in the mobile platform 100.
  • Data synchronization methods include:
  • S4 Synchronize data to the target synchronization medium according to the synchronization policy.
  • a data synchronization method may be implemented by the aforementioned mobile platform 100.
  • the movable platform 100 further includes a processor 60, a memory 50, and an actuator 70.
  • the memory 50 is configured to store program code.
  • the processor 30 is configured to call program code.
  • the executor 70 is used to perform operations indicated by the program code.
  • the executor 70 may be integrated in the processor 60 or may be placed outside the processor 60.
  • the electronic device 40 also includes a processor 30.
  • the processor 30 of the electronic device 40 and the processor 60 of the removable platform 100 may be the same processor or different processors.
  • the storage medium of the electronic device 40 and the memory 50 of the removable platform 100 may be the same storage. The medium may also be a different storage medium.
  • the processor 30 and the processor 60 are the same processor at this time, and the memory 30 may be the internal storage medium 10 or the first storage medium 10 In the external storage medium 20, the program code may be stored only in the internal storage medium 10, or only in the first external storage medium 20, or may be stored in both the internal storage medium 10 and the first external storage medium 20.
  • the processor 30 of the electronic device 40 and the processor 60 of the mobile platform 100 are the same processor, and the storage medium of the electronic device 40 and the memory 50 of the mobile platform 100 are the same storage medium. .
  • Step S1, step S2, step S3, and step S4 can all be executed by the actuator 70. That is, when the program code is executed, the executor 70 can execute a synchronization strategy for storing data in a target storage medium, obtaining data, determining a target synchronization medium according to the synchronization strategy, and synchronizing data to the target synchronization according to the synchronization strategy Operations in the media.
  • the target storage medium includes at least one of an internal storage medium 10, a first external storage medium 20, and a second external storage medium 201. That is, the target storage medium may be only the internal storage medium 10, or only the first external storage medium 20, or only the second external storage medium 201.
  • the target storage medium may also include both the internal storage medium 10 and the first external storage medium 20, or both the internal storage medium 10 and the second external storage medium 201, or both the first external storage medium 20 and There are two types of the second external storage medium 201.
  • the target storage medium may further include three types of the internal storage medium 10, the first external storage medium 20, and the second external storage medium 201.
  • the target synchronization medium includes at least one of an internal storage medium 10, a first external storage medium 20, and a second external storage medium 201. That is, the target synchronization medium may be only the internal storage medium 10, or only the first external storage medium 20, or only the second external storage medium 201.
  • the target synchronization medium may also include both the internal storage medium 10 and the first external storage medium 20, or both the internal storage medium 10 and the second external storage medium 201, or both the first external storage medium 20 and There are two types of the second external storage medium 201.
  • the target synchronization medium may also include three types of the internal storage medium 10, the first external storage medium 20, and the second external storage medium 201.
  • the processor 30 stores the collected data in a target storage medium.
  • the target storage medium may be input by a user, or may be preset by the movable platform 100.
  • the target storage medium is input by the user, and the user can set the target storage medium through physical keys or virtual keys on the movable platform 100.
  • the physical buttons may be any suitable physical buttons such as buttons, knobs, and dials.
  • the movable platform 100 may further include a touch screen, and the user may set the touch screen on the touch screen. The virtual keys to set the target storage medium.
  • the user can also set the target storage medium through physical keys (such as buttons, knobs, dials) or virtual keys (such as touch screens) on the external device 200, and the set target storage The medium is sent to the mobile platform 100 for storage by the external device 200 in a wired communication or wireless communication manner.
  • the target storage medium is preset by the removable platform 100
  • the default target storage medium is usually set by the manufacturer before the removable platform 100 leaves the factory. If the user changes the default setting of the target storage medium while using the removable platform 100, the target storage medium is set by the user to manually enter the settings at this time. If the user does not change the default setting of the target storage medium when using the removable platform 100, the target storage medium is preset by the removable platform 100 at this time.
  • the data synchronization strategy is used to indicate the target synchronization medium and the synchronization method of data synchronization from the target storage medium to the target synchronization medium.
  • the processor 30 reads a synchronization strategy pre-stored in the mobile platform 100 to determine which storage medium the data needs to be synchronized to and by which synchronization method to synchronize the collected data, and further utilizes the data.
  • the set synchronization mode synchronizes the collected data to the set target synchronization medium.
  • the synchronization policy may also be input by a user or preset by the mobile platform 100.
  • the user can set the synchronization policy through physical keys (such as buttons, knobs, dials) or virtual keys (such as touch screens) on the movable platform 100; or, the user can also use an external device
  • the physical keys (such as buttons, knobs, dials) or virtual keys (such as touch screens) on 200 set the synchronization strategy.
  • the set synchronization strategy is sent by the external device 200 to the mobile platform through wired or wireless communication. 100 for storage.
  • the synchronization strategy is preset by the movable platform 100, the default target storage medium is usually set by the manufacturer before the movable platform 100 leaves the factory.
  • the synchronization policy is set for the user to manually enter the setting at this time. If the user does not change the default setting of the synchronization policy when using the mobile platform 100, the synchronization policy is preset by the mobile platform 100 at this time.
  • the data synchronization method in the synchronization strategy includes at least one of active synchronization, passive synchronization, and asynchronous synchronization. That is to say, the data synchronization mode can be only active synchronization, passive synchronization only, or asynchronous only.
  • the data synchronization method may include both active synchronization and passive synchronization, may also include both active synchronization and asynchronous synchronization, and may also include both passive synchronization and asynchronous synchronization.
  • the data synchronization method may also include three types of active synchronization, passive synchronization, and asynchronous synchronization.
  • the movable platform 100 must determine a target synchronization method from the multiple synchronization methods based on a preset method or a user input method.
  • the electronic device 40 when the data synchronization method is active synchronization, and the target storage medium and the target synchronization medium are both located in the electronic device 40, the electronic device 40 does not need to do it based on the received synchronization instruction input by the user when collecting data. Synchronization, but when the electronic device 40 meets the first preset condition, the collected data can be actively synchronized to the target synchronization medium.
  • the first preset condition refers to that the load of the processor 30 of the electronic device 40 is less than the first preset threshold.
  • the target storage medium is the internal storage medium 10 of the electronic device 40 and the target synchronization medium is another internal storage medium 10 of the electronic device 40
  • the electronic device 40 actively synchronizes the collected data to the target synchronization medium directly.
  • the target storage medium is the internal storage medium 10 and the target synchronization medium is the first external storage medium 20
  • the load of the processor 30 of the electronic device 40 is less than the first preset threshold
  • the electronic device 40 directly takes the collected data actively. Sync to target sync media.
  • the movable platform 100 is connected to an external device 200.
  • the electronic device 40 collects data It is not necessary to perform synchronization based on the received synchronization instruction input by the user, but when the movable platform 100 and / or the external device 200 meets the second preset condition, the collected data can be actively synchronized to the target synchronization medium.
  • the second preset condition includes that the load of the processor 30 of the electronic device 40 is less than the second preset threshold (the second preset threshold may be equal to or different from the first preset threshold), and the load of the processor 202 of the external device 200 is less than The third preset threshold, the communication bandwidth of the communication link between the movable platform 100 and the external device 200 is greater than at least one of the fourth preset threshold.
  • the target storage medium is the internal storage medium 10 and / or the first external storage medium 20 and the target synchronization medium is the second external storage medium 201
  • the load of the processor 30 of the electronic device 40 is less than the second preset storage medium
  • the electronic device 40 directly synchronizes the collected data to the target synchronization medium.
  • the target storage medium is the second external storage medium 201 and the target synchronization medium is the internal storage medium 10 and / or the first external storage medium 20
  • the load of the processor 30 of the electronic device 40 is less than the second preset threshold
  • the electronic device 40 directly synchronizes the collected data to the target synchronization medium.
  • the second preset condition may only include that the load of the processor 30 of the electronic device 40 is less than the second preset threshold, the load of the processor 202 of the external device 200 is less than the third preset threshold, the movable platform 100 and the external device 200
  • the communication bandwidth between the communication links is greater than one or a combination of any two of the fourth preset thresholds.
  • the electronic device 40 does not need to receive a synchronization instruction input by the user to perform data synchronization, and the data synchronization process is relatively convenient.
  • the electronic device 40 when the data synchronization method is passive synchronization, the electronic device 40 does not actively synchronize the data to the target synchronization medium, but synchronizes the data to the target synchronization after receiving the synchronization instruction input by the user.
  • Media The passive synchronization mode includes the following two cases: (1) the synchronization strategy contains information of the target synchronization medium, at this time, the synchronization instruction entered by the user only instructs the electronic device 40 to perform data synchronization operations; (2) the synchronization strategy does not include Information of the target synchronization medium. At this time, the synchronization instruction input by the user not only instructs the electronic device 40 to perform data synchronization operation, but also indicates the target synchronization medium that the user desires to synchronize.
  • the user may instruct at least one of the internal storage medium 10, the first external storage medium 20, and the second external storage medium 201 as the target synchronization medium.
  • the electronic device 40 performs a data synchronization operation based on the synchronization instruction input by the user.
  • users can perform different synchronization operations based on different types of data (for example, static images are synchronized, dynamic images are not synchronized, etc.), or different types of data are synchronized to different storage media (for example, (Still images are synchronized to the first external storage medium 20, dynamic images are synchronized to the second external storage medium 201, etc.), the flexibility of data synchronization is high, which is beneficial to the classification and arrangement of different types of data.
  • the data synchronization function of the target storage medium is turned off. At this time, no matter whether the target synchronization medium is set or not, the data cannot be synchronized to the target storage medium. . In this way, the data has extremely high security in asynchronous mode. Further, if the user needs to synchronize the data to the target synchronization medium to be synchronized in the asynchronous mode, the target synchronization medium and the target storage medium need to be authenticated. When the authentication is successful, the data synchronization function of the target storage medium will be turned on. At this time, the data in the target storage medium can be synchronized to the target synchronization medium.
  • the synchronization strategy at this time is still out of sync, that is, when the authentication fails, the data in the target synchronization medium Synchronization remains off, and data cannot be synchronized to the target synchronization media.
  • the user wants to synchronize the data stored in the internal storage medium 10 to the first external storage medium 20, and then before performing the synchronization operation, the first external storage medium 20 needs to communicate with the internal storage.
  • the medium 10 performs authentication, and the authentication process may be a user inputting a synchronization instruction to synchronize data from the internal storage medium 10 to the first external storage medium 20, the electronic device 40 pops out of an authentication window, and the electronic device 40 verifies the identity of the user After the identity verification is passed, the authentication of the first external storage medium 20 and the internal storage medium 10 is successful. At this time, the data in the internal storage medium 10 can be synchronized to the first external storage medium 20.
  • the identity verification of the user may be two-dimensional face recognition, three-dimensional face recognition, iris recognition, voice verification, fingerprint verification, digital password verification, pattern password verification, etc., and there is no limitation here.
  • a configuration module 51 is allocated to the memory 50
  • a synchronization control module 71 is allocated to the actuator 70
  • the electronic device 40 further includes a data acquisition module 41, a data acquisition module 41 Used to collect data.
  • the processor 30 sends the target storage medium and / or the synchronization policy to the configuration module 51 for storage based on the user input.
  • the target storage medium and / or synchronization strategy is preset, the target storage medium and / or synchronization strategy is directly set by the manufacturer and stored in the configuration module 51.
  • the executor 70 When the data acquisition module 70 collects data, the executor 70 first reads the target storage medium and the synchronization strategy from the configuration module 51 of the memory 50. Subsequently, the executor 70 stores the collected data in the target storage medium, and the synchronization control module 71 synchronizes the collected data to the target synchronization medium based on the synchronization strategy.
  • a data synchronization mechanism is provided between a plurality of storage media, and the user can instruct the mobile device based on the synchronization policy setting.
  • the platform 100 synchronizes the data according to the synchronization strategy, improves the flexibility of data storage and synchronization, and improves the user experience.
  • the electronic device 40 is provided with a plurality of internal storage media 10, and the plurality of internal storage media 10 includes at least one target internal storage medium set as a target storage medium, And at least one target internal synchronization medium set as the target synchronization medium.
  • step S4 synchronizing the data to the target synchronization medium according to the synchronization strategy includes:
  • step S411 and step S412 can both be implemented by the actuator 70. That is to say, when the program code is executed, the executor 70 is configured to execute the load of the processor 30 of the electronic device 40 and to load data in the target internal storage medium when the load of the processor 30 satisfies the first preset condition. Synchronize operations to the target internal synchronization media.
  • the load of the processor 30 that acquires the electronic device 40 is read from the processor 30 by the actuator 70.
  • the load of the processor 30 can be understood as the number of processes that the processor 30 currently manages and schedules. When the number of processes currently controlled and scheduled by the processor 30 is large, the load of the processor 30 is high, and when the number of processes currently controlled and scheduled by the processor 30 is small, the load of the processor 30 is low.
  • the actuator 70 reads the load of the processor 30, it compares the load of the processor 30 with the first preset threshold. When the load of the processor 30 is less than the first preset threshold, the processor 30 stores the collected data to the target.
  • the data collected in this part of the target internal storage medium is also synchronized to the target internal synchronization medium. If the load of the processor 30 is greater than or equal to the first preset threshold, the executor 70 does not perform data synchronization first, but waits until the load of the processor 30 is less than the first preset threshold before performing data synchronization. In this way, data of multiple internal storage media 10 in the electronic device 40 can be actively shared.
  • the executor 70 needs to perform an operation of synchronizing the collected data stored in the target internal storage medium to the target internal synchronization medium. If the processor 30 has a high load, and the actuator 70 also waits for the processor 30 to load data before the data synchronization operation.
  • the executor 70 needs to perform an operation of synchronizing the collected data stored in the target internal storage medium to the target internal synchronization medium. During the synchronization process, the load of the processor 30 is relatively high, and the executor 70 also waits for the synchronization of the data when the load of the processor 30 is less than the first preset threshold.
  • the electronic device 40 is provided with a plurality of first external storage media 20, and the plurality of first external storage media 20 includes at least one target set as the target storage medium.
  • step S4 synchronizing the data to the target synchronization medium according to the synchronization strategy includes:
  • step S421 and step S422 can both be implemented by the actuator 70. That is to say, when the program code is executed, the executor 70 is configured to execute the load of the processor 30 of the electronic device 40, and when the load of the processor 30 meets the first preset condition, the target 30 is stored in the target first external storage medium. The data is synchronized to the operation in the target first external synchronization medium.
  • the load of the processor 30 that acquires the electronic device 40 is read from the processor 30 by the actuator 70.
  • the load of the processor 30 can be understood as the number of processes that the processor 30 currently manages and schedules. When the number of processes currently controlled and scheduled by the processor 30 is large, the load of the processor 30 is high, and when the number of processes currently controlled and scheduled by the processor 30 is small, the load of the processor 30 is low.
  • the actuator 70 reads the load of the processor 30, it compares the load of the processor 30 with the first preset threshold. When the load of the processor 30 is less than the first preset threshold, the processor 30 stores the collected data to the target.
  • the data collected in this part of the target first external storage medium is also synchronized to the target first external synchronization medium. If the load of the processor 30 is greater than or equal to the first preset threshold, the executor 70 does not perform data synchronization first, but waits until the load of the processor 30 is less than the first preset threshold before performing data synchronization. In this way, active sharing of data of the plurality of first external storage media 20 in the electronic device 40 can be achieved.
  • the executor 70 needs to perform an operation of synchronizing the collected data stored in the target first external storage medium to the target first external synchronization medium.
  • the load of the processor 30 is high, and the actuator 70 also waits for the data synchronization when the load of the processor 30 is less than the first preset threshold.
  • the executor 70 needs to execute synchronization of the collected data stored in the target first external storage medium to the target first. For operations in an external synchronization medium, if the load of the processor 30 is high during the synchronization process, the executor 70 also waits until the load of the processor 30 is less than the first preset threshold before performing a data synchronization operation.
  • steps S4 synchronizing data to the target synchronization medium according to the synchronization strategy includes:
  • S432 Synchronize data in the internal storage medium 10 to the first external storage medium 20 when the load of the processor 30 meets the first preset condition.
  • both step S431 and step S432 may be implemented by the actuator 70. That is, when the program code is executed, the executor 70 is configured to execute the load of the processor 30 of the electronic device 40, and synchronize the data in the internal storage medium 10 to the processor 30 when the load of the processor 30 meets the first preset condition.
  • the first external storage medium 20 may be implemented by the actuator 70.
  • the load of the processor 30 that acquires the electronic device 40 is read from the processor 30 by the actuator 70.
  • the load of the processor 30 can be understood as the number of processes that the processor 30 currently manages and schedules. When the number of processes currently controlled and scheduled by the processor 30 is large, the load of the processor 30 is high, and when the number of processes currently controlled and scheduled by the processor 30 is small, the load of the processor 30 is low.
  • the actuator 70 reads the load of the processor 30, it compares the load of the processor 30 with a first preset threshold. When the load of the processor 30 is less than the first preset threshold, the processor 30 stores the collected data in the internal In the process of the storage medium 10, data collected in this part of the internal storage medium 10 is also synchronized to the first external storage medium 20.
  • the executor 70 does not perform data synchronization first, but waits until the load of the processor 30 is less than the first preset threshold before performing data synchronization. In this way, the data of the internal storage medium 10 and the first external storage medium 20 in the electronic device 40 can be actively shared.
  • the executor 70 needs to perform an operation of synchronizing the collected data stored in the internal storage medium 10 to the first external storage medium 20, and if the synchronization process
  • the load of the processor 30 is relatively high, and the actuator 70 also waits until the load of the processor 30 is less than the first preset threshold, and then performs data synchronization.
  • the executor 70 In the asynchronous mode, if the authentication between the internal storage medium 10 and the first external storage medium 20 is successful, the executor 70 needs to synchronize the collected data stored in the internal storage medium 10 to the first external storage medium 20 If the load of the processor 30 is high during the synchronization process, the executor 70 also waits until the load of the processor 30 is less than the first preset threshold, and then performs a data synchronization operation.
  • steps S4 synchronizing data to the target synchronization medium according to the synchronization strategy includes:
  • S442 Synchronize data in the first external storage medium 20 to the internal storage medium 10 when the load of the processor 30 meets the first preset condition.
  • step S441 and step S442 may be implemented by the actuator 70. That is to say, when the program code is executed, the executor 70 is configured to execute the load of the processor 30 of the electronic device 40, and load the data in the first external storage medium 20 when the processor 30 load meets the first preset condition. Synchronized into the internal storage medium 10.
  • the load of the processor 30 that acquires the electronic device 40 is read from the processor 30 by the actuator 70.
  • the load of the processor 30 can be understood as the number of processes that the processor 30 currently manages and schedules. When the number of processes currently controlled and scheduled by the processor 30 is large, the load of the processor 30 is high, and when the number of processes currently controlled and scheduled by the processor 30 is small, the load of the processor 30 is low.
  • the actuator 70 reads the load of the processor 30, it compares the load of the processor 30 with the first preset threshold. When the load of the processor 30 is less than the first preset threshold, the processor 30 stores the collected data in the first During the process of an external storage medium 20, the data collected in this part of the first external storage medium 20 is also synchronized to the internal storage medium 10.
  • the executor 70 does not perform data synchronization first, but waits until the load of the processor 30 is less than the first preset threshold before performing data synchronization. In this way, the data of the first external storage medium 20 and the internal storage medium 10 in the electronic device 40 can be actively shared.
  • the executor 70 needs to perform an operation of synchronizing the collected data stored in the first external storage medium 20 to the internal storage medium 10, if during the synchronization process, The load of the processor 30 is relatively high, and the actuator 70 also waits until the load of the processor 30 is less than the first preset threshold, and then performs data synchronization.
  • the executor 70 In the asynchronous mode, if the authentication between the internal storage medium 10 and the first external storage medium 20 is successful, the executor 70 needs to synchronize the collected data stored in the first external storage medium 20 to the internal storage medium 10 If the load of the processor 30 is high during the synchronization process, the executor 70 also waits until the load of the processor 30 is less than the first preset threshold, and then performs a data synchronization operation.
  • Step S4 of synchronizing data to the target synchronization medium according to the synchronization strategy includes:
  • S451 Obtain the communication bandwidth and the processor load of the communication link between the mobile platform 100 and the external device 200.
  • the processor load includes at least one of the processor 30 load of the electronic device 40 and the processor 202 load of the external device 200.
  • S452 Synchronize data in the internal storage medium 10 and / or the first external storage medium 20 to the second external storage medium 201 when the communication bandwidth and the processor load meet a second preset condition.
  • both step S451 and step S452 may be implemented by the actuator 70. That is to say, when the program code is executed, the executor 70 is configured to obtain the communication bandwidth of the communication link between the movable platform 100 and the external device 200 and the processor load.
  • the processor load includes the electronic device 40 At least one of the load of the processor 30 and the load of the processor 202 of the external device 200, and synchronizing data in the target storage medium to the second external storage medium 201 when the communication bandwidth and the processor load meet a second preset condition Operation.
  • the target storage medium is the internal storage medium 10 and / or the first external storage medium 20
  • the target synchronization medium is the second external storage medium 201, including the following three data synchronization scenarios: (1) The data collected by the electronic device 40 is stored internally The storage medium 10 is synchronized to the second external storage medium 201; (2) The data collected by the electronic device 40 is stored in the first external storage medium 20 and synchronized to the second external storage medium 201; (3) electronic Part of the data collected by the device 40 is stored in the internal storage medium 10 and part of the data is stored in the first external storage medium 20, and part of the data stored in the internal storage medium 10 and part of the data stored in the first external storage medium 20 are synchronized To the second external storage medium 201.
  • the processor load includes at least one of the processor 30 load of the electronic device 40 and the processor 202 load of the external device 200 including the following situations: (1) considering only the processor 30 load of the electronic device 40; (2) considering only external The load of the processor 202 of the device 200; (3) Consider the load of the processor 30 of the electronic device 40 and the load of the processor 202 of the external device 200 at the same time.
  • the load of the processor 30 of the electronic device 40 and the external device are selected to be considered comprehensively. 200 processors load 202.
  • the communication bandwidth of the communication link between the mobile platform 100 and the external device 200 can be obtained based on the test signal, that is, the external device 200 sends a test signal to the mobile platform 100, and the communication module 80 of the mobile platform 100 After receiving the test signal, the test signal is sent to the processor 30, and the processor 30 calculates the communication bandwidth of the communication link based on the test signal.
  • the actuator 70 reads the communication bandwidth from the processor 30.
  • the processor 202 load of the external device 200 may be obtained by the communication module 80 of the external device 200 sending the processor 202 load to the mobile platform 100, and the communication module 80 of the mobile platform 100 receives the processor 202. After the load, the processor 202 sends the load to the processor 30, and the actuator 70 reads the load from the processor 30.
  • the load of the processor 202 can be understood as the number of processes that the processor 202 currently manages and schedules. When the number of processes currently controlled and scheduled by the processor 202 is large, the load of the processor 202 is high, and when the number of processes currently controlled and scheduled by the processor 202 is small, the load of the processor 202 is low.
  • the load of the processor 30 of the acquisition electronic device 40 is read from the processor 30 by the actuator 70.
  • the load of the processor 30 can be understood as the number of processes that the processor 30 currently manages and schedules. When the number of processes currently controlled and scheduled by the processor 30 is large, the load of the processor 30 is high, and when the number of processes currently controlled and scheduled by the processor 30 is small, the load of the processor 30 is low.
  • the actuator 70 reads the load of the processor 30, the load of the processor 202, and the communication bandwidth, it compares the load of the processor 30 with a second preset threshold, compares the load of the processor 202 with a third preset threshold, and The communication bandwidth is compared with a fourth preset threshold.
  • the executor 70 stores the collected data in the internal storage medium 10 and / Or during the process of the first external storage medium 20, the data collected in this part of the internal storage medium 10 and / or the first external storage medium 20 is also synchronized to the second external storage medium 201.
  • the actuator 70 does not perform a data synchronization action first, but waits until When the load of the processor 30 is less than the second preset threshold, and the load of the processor 202 is less than the third preset threshold and the communication bandwidth is greater than the fourth preset threshold, data synchronization is performed. In this way, the data of the electronic device 40 and the external device 200 can be actively shared.
  • the second preset condition may include only one or a combination of the load of the processor 30 of the electronic device 40, the load of the processor 202 of the external device 200, and the communication bandwidth, which is not limited herein.
  • the executor 70 needs to execute synchronization of the collected data stored in the internal storage medium 10 and / or the first external storage medium 20 to the second external storage medium 201
  • the executor 70 also waits until the processor 30 load is less than the second preset threshold.
  • the load of the processor 202 is less than the third preset threshold and the communication bandwidth is greater than the fourth preset threshold, data synchronization is performed.
  • the actuator 70 In the asynchronous mode, if the authentication between the internal storage medium 10 and / or the first external synchronization medium and the second external storage medium 201 is successful, the actuator 70 needs to execute the storage on the internal storage medium 10 and / or the first external The data collected in the storage medium 20 is synchronized to the operation in the second external storage medium 201. If during the synchronization process, any one of the processor 30 load, the processor 202 load, and the communication bandwidth does not meet the second preset condition The actuator 70 also waits until the load of the processor 30 is less than the second preset threshold, the load of the processor 202 is less than the third preset threshold, and the data is synchronized when the communication bandwidth is greater than the fourth preset threshold.
  • Step S4 of synchronizing data to the target synchronization medium according to the synchronization strategy includes:
  • the processor load includes at least one of the processor 30 load of the electronic device 40 and the processor 202 load of the external device 200.
  • the processor load includes at least one of the processor 30 load of the electronic device 40 and the processor 202 load of the external device 200.
  • S462 Synchronize data in the second external storage medium 201 to the internal storage medium 10 and / or the first external storage medium 20 when the communication bandwidth and the load of the processor 30 satisfy the second preset condition.
  • both step S461 and step S462 may be implemented by the actuator 70. That is to say, when the program code is executed, the executor 70 is configured to obtain the communication bandwidth of the communication link between the movable platform 100 and the external device 200 and the processor load.
  • the processor load includes the electronic device 40 At least one of the load of the processor 30 and the load of the processor 202 of the external device 200, and the data in the second external storage medium 201 is synchronized to the internal storage medium when the communication bandwidth and the load of the processor 30 satisfy a second preset condition 10 and / or the first external storage medium 20.
  • the target storage medium is the second external storage medium 201
  • the target synchronization medium is the internal storage medium 10 and / or the first external storage medium 20 includes the following three data synchronization scenarios: (1) The data collected by the electronic device 40 is stored in the first Two external storage media 201 and synchronized to the internal storage medium 10; (2) data collected by the electronic device 40 is stored in the second external storage medium 201 and synchronized to the first external storage medium 20; (3) electronic The data collected by the device 40 is stored in the second external storage medium 201 and synchronized to the internal storage medium 10 and the first external storage medium 20 at the same time.
  • the processor load includes at least one of the processor 30 load of the electronic device 40 and the processor 202 load of the external device 200 including the following situations: (1) considering only the processor 30 load of the electronic device 40; (2) considering only external The load of the processor 202 of the device 200; (3) Consider the load of the processor 30 of the electronic device 40 and the load of the processor 202 of the external device 200 at the same time.
  • the load of the processor 30 of the electronic device 40 and the external The processor 202 of the device 200 is loaded.
  • the communication bandwidth of the communication link between the mobile platform 100 and the external device 200 can be obtained based on the test signal, that is, the external device 200 sends a test signal to the mobile platform 100, and the communication module 80 of the mobile platform 100 After receiving the test signal, the test signal is sent to the processor 30, and the processor 30 calculates the communication bandwidth of the communication link based on the test signal.
  • the actuator 70 reads the communication bandwidth from the processor 30.
  • the processor 202 load of the external device 200 may be obtained by the communication module 80 of the external device 200 sending the processor 202 load to the mobile platform 100, and the communication module 80 of the mobile platform 100 receives the processor 202. After the load, the processor 202 sends the load to the processor 30, and the actuator 70 reads the load from the processor 30.
  • the load of the processor 202 can be understood as the number of processes that the processor 202 currently manages and schedules. When the number of processes currently controlled and scheduled by the processor 202 is large, the load of the processor 202 is high, and when the number of processes currently controlled and scheduled by the processor 202 is small, the load of the processor 202 is low.
  • the load of the processor 30 of the acquisition electronic device 40 is read from the processor 30 by the actuator 70.
  • the load of the processor 30 can be understood as the number of processes that the processor 30 currently manages and schedules. When the number of processes currently controlled and scheduled by the processor 30 is large, the load of the processor 30 is high, and when the number of processes currently controlled and scheduled by the processor 30 is small, the load of the processor 30 is low.
  • the actuator 70 reads the load of the processor 30, the load of the processor 202, and the communication bandwidth, the load of the processor 30 of the electronic device 40 is compared with the second preset threshold, and the load of the processor 202 of the external device 200 is compared with the third preset load. A threshold is set for comparison, and the communication bandwidth is compared with a fourth preset threshold.
  • the actuator 70 controls the movable platform 100
  • the communication module 80 receives data sent by the external device 200 and stores the data in the internal storage medium 10 and / or the first external storage medium 20.
  • the actuator 70 will not control the communication of the movable platform 100
  • the module 80 receives the data sent by the external device 200, but waits until the load of the processor 30 of the electronic device 40 is less than the second preset threshold, the load of the processor 202 of the external device 200 is less than the third preset threshold, and the communication bandwidth is greater than the fourth preset threshold.
  • the communication module 80 of the movable platform 100 is controlled to receive the data sent by the external device 200 and store the data to complete the data synchronization operation. In this way, the data of the electronic device 40 and the external device 200 can be actively shared.
  • the second preset condition may include only one or a combination of the processor 30 load, the processor 202 load, and the communication bandwidth, which is not limited herein.
  • the executor 70 needs to execute synchronization of the collected data stored in the second external storage medium 201 to the internal storage medium 10 and / or the first external storage medium 20
  • the actuator 70 also waits for the processing of the electronic device 40.
  • the communication module 80 is controlled to receive data to complete the data synchronization action.
  • the executor 70 needs to perform the collection of the data stored in the second external storage medium 201.
  • the actuator 70 For data synchronization to the internal storage medium 10 and / or the first external storage medium 20, if any of the processor 30 load of the electronic device 40, the processor 202 load of the external device 200, and the communication bandwidth are not satisfied during the synchronization process, In the second preset condition, the actuator 70 also waits until the load of the processor 30 of the electronic device 40 is less than the second preset threshold, the load of the processor 202 of the external device 200 is less than the third preset threshold, and the communication bandwidth is greater than the fourth preset threshold. Then the control communication module 80 receives the data to complete the data synchronization operation.
  • the step S1 of storing data in the target storage medium includes:
  • both step S11 and step S12 may be implemented by the actuator 70. That is to say, when the program code is executed, the executor 70 is configured to obtain the communication bandwidth of the communication link between the mobile platform 100 and the external device 200, and perform data transfer when the communication bandwidth meets the third preset condition. Operations transferred to the second external storage medium 201.
  • the data collected by the electronic device 40 is generally directly stored in the second external storage medium 201, and is not stored in the internal storage medium 10 or the first external storage medium. 20 in.
  • the communication bandwidth of the communication link between the mobile platform 100 and the external device 200 does not meet the third preset condition during the data collection by the electronic device 40, for example, it is less than the fifth preset threshold (the fifth preset The threshold may be equal to or different from the fourth preset threshold)
  • the data collected by the electronic device 40 is cached in advance to the internal storage medium 10 and / or the first external storage medium 20.
  • the data collected by the electronic device 40 is data, and data is composed of two parts: data1 and data2.
  • data1 refers to the data directly stored in the second external storage medium 201 during the data collection process
  • data2 refers to the buffering to the internal storage medium 10 and / or the first during the data collection process due to the limitation of the communication bandwidth.
  • the data in an external storage medium 20 data2 can be all cached in the internal storage medium 10, or all of the data can be cached in the first external storage medium 20, or part of the data can be cached in the internal storage medium 10, and some can be cached in the first external storage medium. 20 in.
  • storing the data in the target storage medium in step S1 further includes:
  • step S13 may be implemented by the actuator 70. That is to say, when the program code is executed, the executor 70 is configured to execute all of the data buffered to the internal storage medium 10 and / or the first external storage medium 20 when the communication bandwidth satisfies the third preset condition. Or part of the operation of transferring to the second external storage medium 201.
  • the target storage medium is the second external storage medium 201
  • the data in the internal storage medium 10 and / or the first external storage medium 20 is first buffered due to the limitation of the communication bandwidth, and the subsequent communication bandwidth is greater than or equal to the fifth
  • the executor 70 performs an operation of incremental data transmission. If the complete data cannot be directly stored in the second external storage medium 201, but all are cached in the internal storage medium 10 and / or the first external storage medium 20, the executor 70 will cache the data in the internal storage medium. 10 and / or the complete data data in the first external storage medium 20 is transferred to the second external storage medium 201.
  • the executor 70 will cache the internal storage medium 10 and The data data2 in the first external storage medium 20 is transmitted to the second external storage medium 201. After the transmission is completed, the data buffered in the internal storage medium 10 and / or the first external storage medium 20 may be deleted or retained.
  • Step S4 of synchronizing the data to the target synchronization medium according to the synchronization strategy further includes:
  • steps S471, S472, and S473 may be implemented by the actuator 70. That is, when the program code is executed, the executor 70 is configured to detect whether a file with the same name as the first file exists in the target synchronization medium, and when no file with the same name as the first file exists in the target synchronization medium, the data The operation of storing data in the target synchronization medium in the form of a first file and in the target synchronization medium when a file with the same name as the first file exists in the target synchronization medium.
  • the name of the first file may be the same as the name of the second file or different from the name of the second file.
  • the first file when the data collected by the electronic device 40 is synchronized to the target synchronization medium, the first file may be stored in the same directory as the second file, or may be different from the second file Stored in different directories.
  • the target synchronization medium includes at least two storage directories. The storage location of the first file and the second file with the same name as the first file are stored in different storage directories. In this way, during the data synchronization process, it is possible to avoid the problem that the data already stored in the target synchronization medium is overwritten by the data to be currently synchronized, causing the already stored data to be lost.
  • the data storage method according to the embodiment of the present invention further includes:
  • S5 Obtain a target summary storage medium, where the target summary storage medium is at least one of an internal storage medium 10, a first external storage medium 20, and a second external storage medium 201; and
  • S6 Synchronize the target summary data to the target summary storage medium.
  • steps S5 and S6 may be implemented by the actuator 70. That is, when the program code is executed, the executor 70 is configured to perform operations of acquiring the target summary storage medium and synchronizing the target summary data to the target summary storage medium.
  • the target summary storage medium is at least one of an internal storage medium 10, a first external storage medium 20, and a second external storage medium 201.
  • the target summary medium may be any one of the internal storage medium 10, the first external storage medium 20, and the second external storage medium 201; or, the target summary medium may include both the internal storage medium 10 and the first external storage.
  • the target summary medium may be the same or different from the target storage medium, and may also be the same or different from the target synchronization medium, which is not limited in this embodiment.
  • the target summary data includes data stored in the target storage medium and data synchronized to the target synchronization medium.
  • the data stored in the target storage medium and the data synchronized to the target synchronization medium may be all or part of the same, or they may all be different. Specifically, when the data stored in the target storage medium and the data synchronized to the target synchronization medium are all the same, at this time, the data in the target storage medium are all synchronized to the target synchronization medium, and the data in the target storage medium after synchronization is The data is not deleted. At this time, the target summary data can only summarize the data stored in the target storage medium, or only the data synchronized to the target synchronization medium.
  • the target storage medium includes the stored original data and data obtained directly from the electronic device 40, where The data directly obtained from the electronic device 40 is synchronized to the target synchronization medium, and the original data is not synchronized to the target synchronization medium.
  • the target summary data includes the original data that is not synchronized to the target synchronization medium and the data in the target synchronization medium.
  • the data stored in the target storage medium and the data synchronized to the target synchronization medium are all different, in one embodiment, after the data directly obtained from the electronic device 40 is synchronized to the target synchronization medium, the data stored in the target storage medium is deleted. Synchronized data. Only the original data that is not synchronized to the target synchronization medium remains in the target storage medium. At this time, the data stored in the target storage medium and the data synchronized to the target synchronization medium are all different, and the target summary data includes the original data not synchronized to the target synchronization medium and the data in the target synchronization medium.
  • a management file can be established in the target summary medium to mark the summarized data, so that the summarized data can be quickly distinguished from the unsummarized data during the summary, thereby speeding up the process of data summary and avoiding repeated summary.
  • a management file may also be established in the target storage medium or the target synchronization medium, and the synchronized data is marked, so as to quickly distinguish between synchronized data and unsynchronized data during aggregation to avoid duplicate aggregation.
  • the target summary medium may be set by a user, or may be set in advance.
  • the user sets the target summary medium through a physical key or a virtual key.
  • the electronic device includes only an internal storage medium 10 and a first external storage medium 20
  • the user sets the target summary medium at a certain time t.
  • the target summary medium is the second external storage medium 201.
  • the actuator 70 stores all the storage in the internal storage medium 10 and the external storage.
  • the data in the medium and that have not been aggregated and synchronized to the second external storage medium 201 before time t are summarized in the second external storage medium 201; or, the user can further specify which target summary data is to be executed at this time.
  • 70 summarizes the target summary data specified by the user into the second external storage medium 201. In this way, the target summary medium for storing summary data and the type of summary data can be selected by the user, and the data summary is more flexible.
  • the executor 70 may directly summarize the data not stored in the target summary medium into the target summary medium. If the target summary data is further specified after the data summary instruction input by the user, the executor 70 summarizes the target summary data specified by the user into the second external storage medium 201. In this way, presetting the target summary medium can save the user from setting the target summary medium during the data summary process, and the data summary process is more convenient.
  • Step S1 storing the data in the target storage medium includes:
  • S14 Determine a target resolution of the video and store the video of the target resolution.
  • the target resolution is at least one of a plurality of preset resolutions.
  • step S14 may be implemented by the actuator 70. That is to say, when the program code is executed, the executor 70 is configured to execute the determination of the target resolution of the video and store the video of the target resolution.
  • the target resolution is at least one of a plurality of preset resolutions.
  • the preset resolution may be a first resolution, a second resolution, a third resolution, a fourth resolution, a fifth resolution, and the like arranged in ascending order of resolutions.
  • the number is not limited here.
  • high resolution and low resolution are determined by the resolution limit value.
  • a video with a resolution greater than the first resolution limit value is a high-resolution video
  • a video with a resolution less than the second resolution limit value is a low-resolution video
  • the first resolution limit value is greater than or equal to the second resolution limit value.
  • High-resolution video occupies a large storage space during storage, and occupies more communication bandwidth during transmission.
  • Low-resolution video occupies less storage space during storage and occupies less communication bandwidth during transmission.
  • high resolution and low resolution are related to the performance of the electronic device 40 itself.
  • the electronic device supports both 4K and 1080P videos. At this time, 4K is a high resolution and 1080P is a low resolution.
  • the electronic device supports both 1080P and 720P video. At this time, 1080P is a low resolution and 720P is a low resolution.
  • This embodiment is only an exemplary description here, and is not limited.
  • the actuator 70 stores the video based on a preset target resolution of the video to be stored. For example, if the preset target resolution video is a high resolution video, when the electronic device 40 collects data, the actuator 70 stores the high resolution video in the target storage medium. For another example, the preset target resolution video is a low resolution video. When the electronic device 40 collects data, the actuator 70 stores the low resolution video into the target storage medium. For another example, if the target resolution of the preset video is a high-resolution video and a low-resolution video, when the electronic device 40 collects data, the actuator 70 stores the high-resolution video and the low-resolution video at the same time. To the target storage medium. Storing videos with multiple preset resolutions can facilitate subsequent operations based on videos with different resolutions.
  • the data synchronization method according to the embodiment of the present invention when storing videos of multiple preset resolutions at the same time, the data synchronization method according to the embodiment of the present invention further includes:
  • S81 Determine the target resolution of the video synchronized to the target synchronization medium according to the user input;
  • Step S4 Synchronizing data to the target synchronization medium according to the synchronization strategy includes:
  • both step S81 and step S471 may be implemented by the actuator 70. That is, when the program code is executed, the executor 70 is configured to perform the operations of determining the target resolution of the video synchronized to the target synchronization medium and the operation of synchronizing the video of the target resolution to the target synchronization medium according to the user input. .
  • the user can set a target resolution of the video through a physical button or a virtual button.
  • the executor 70 synchronizes the video of the target resolution stored in the target storage medium to the target synchronization medium.
  • the actuator 70 synchronizes the high resolution video stored in the target storage medium to the target synchronization medium.
  • the actuator 70 combines the high resolution video and the low resolution video stored in the target storage medium together. Sync to target sync media. The user selects the video of the target resolution for synchronization, which can improve the flexibility of video synchronization operation and improve the user experience.
  • the data synchronization method according to the embodiment of the present invention further includes:
  • S83 Determine the target resolution of the video synchronized to the target synchronization medium according to the communication bandwidth
  • Step S4 Synchronizing data to the target synchronization medium according to the synchronization strategy includes:
  • steps S82, S83, and S472 can all be implemented by the actuator 70. That is to say, when the program code is executed, the executor 70 is configured to obtain the communication bandwidth of the communication link between the mobile platform 100 and the external device 200, and determine the video to be synchronized to the target synchronization medium according to the communication bandwidth. The target resolution, and the operation of synchronizing the video of the target resolution to the target synchronization medium.
  • the target resolution of the video may be determined by the communication bandwidth of the communication link during the synchronization process.
  • the actuator 70 synchronizes the high-resolution video stored in the target storage medium to the target synchronization medium; if the communication bandwidth cannot meet the high-resolution video, For transmission of resolution video, the actuator 70 synchronizes the low-resolution video stored in the target storage medium to the target synchronization medium. In this way, the resolution of the synchronized video can be adaptively adjusted without manual setting by the user, which is convenient for the user's operation.
  • the data synchronization method according to the embodiment of the present invention further includes:
  • step S9 may be implemented by the actuator 70. That is to say, when the program code is executed, the executor 70 is used to perform an operation of post-processing the data.
  • the post-processing includes at least one of playback, editing, sharing, and backup. It can be understood that this embodiment is only an exemplary description, and the post-processing may further include other suitable post-processing, which is not limited herein.
  • step S9 performing post-processing on the data includes:
  • step S911, step S912, step S913, and step S914 may be implemented by the actuator 70. That is to say, when the program code is executed, the executor 70 is configured to execute receiving the video playback input of the user, obtain the load of the processor 30 of the electronic device 40, and when the load of the processor 30 meets the fourth preset condition, based on the video The playback input plays back the high-resolution video, and when the load of the processor 30 does not meet the fourth preset condition, the low-resolution video is played back based on the video playback input.
  • the user may perform input of a video playback input instruction through a physical key or a virtual key.
  • the executor 70 obtains the load of the processor 30 of the electronic device 40. If the load of the processor 30 is less than the sixth preset threshold at this time, the executor 70 controls the electronic device 30 to play back the high-resolution video; if the load of the processor 30 is greater than or equal to the sixth preset threshold, the executor 70 controls the electronic The device 30 plays back a low-resolution video. It can be understood that during the video playback process, the processor 30 needs to perform a video decoding operation.
  • the sixth preset threshold value of the load of the processor 30 may be equal to the first preset threshold value, or may be different from the first preset threshold value, which is not limited herein.
  • the post-processing of the data in step S9 includes:
  • S921 Receive user's video editing input
  • steps S921, S922, S923, and S924 may be implemented by the actuator 70. That is to say, when the program code is executed, the executor 70 is configured to receive video editing input from the user, obtain the load of the processor 30 of the electronic device 40, and when the load of the processor 30 meets the fifth preset condition, based on the video The editing input edits the high-resolution video, and when the load of the processor 30 does not satisfy the fifth preset condition, the low-resolution video is edited based on the video editing input.
  • the user may perform input of a video editing input instruction through a physical key or a virtual key.
  • the executor 70 obtains the load of the processor 30 of the electronic device 40. If the load of the processor 30 is less than the seventh preset threshold at this time, the executor 70 controls the electronic device 40 to edit the high-resolution video; if the load of the processor 30 is greater than or equal to the seventh preset threshold at this time, the executor 70 controls the electronic The device 30 edits a low-resolution video. It can be understood that in the process of video editing, the editing of high-resolution video requires more processing space of the processor 30.
  • the seventh preset threshold value of the load of the processor 30 may be equal to the first preset threshold value, or may be different from the first preset threshold value, which is not limited herein.
  • the post-processing of the data in step S8 includes:
  • S932 Obtain the load of the processor 30 of the electronic device 40 and the communication bandwidth between the mobile platform 100 and the communication access device;
  • step S931, step S932, step S933, and step S934 may be implemented by the actuator 70. That is to say, when the program code is executed, the executor 70 is used to receive the user's video sharing input, obtain the load of the processor 30 of the electronic device 40, and the communication bandwidth between the electronic device 40 and the communication access device. When the load of the processor 30 and the communication bandwidth between the mobile platform 100 and the communication access device meet the sixth preset condition, high-resolution video is shared based on the video sharing input. When any one of the communication bandwidths between the input devices does not satisfy the sixth preset condition, the low-resolution video is shared based on the video sharing input.
  • the mobile platform 100 can share videos through communication methods such as WiFi and Bluetooth, and can also share videos through mobile data networks such as 2G / 3G / 4G / 5G.
  • the communication access device is a terminal connected to the mobile platform 100 through Bluetooth matching.
  • the communication access device is a wireless access point AP; when the mobile platform 100 shares video through a 2G / 3G / 4G / 5G mobile data network, the communication access device is Communication base station. It can be understood that the mobile platform 100 can also share videos through wired communication.
  • the user can perform input of the video sharing input instruction through a physical button or a virtual button.
  • the executor 70 obtains the load of the processor 30 of the electronic device 40 and between the mobile platform 100 and the communication access device (wireless access point AP, terminal, or communication base station). Communication bandwidth.
  • the actuator 70 controls the mobile platform 100 to share the high-resolution video ; At this time, if the load of the processor 30 is greater than or equal to the eighth preset threshold, or the communication bandwidth between the movable platform 100 and the communication access device is less than or equal to the ninth preset threshold, the actuator 70 controls the movable platform 100 Share low-resolution videos.
  • the eighth preset threshold value of the load of the processor 30 may be equal to the first preset threshold value, or may be different from the first preset threshold value, which is not limited herein.
  • the ninth preset threshold of the communication bandwidth between the mobile platform 100 and the communication access device may be equal to the fourth preset threshold, or may be different from the fourth preset threshold, which is not limited herein.
  • the sharing of high-resolution video requires more space for the processor 30 to schedule resources and the communication bandwidth of the communication link. If the load of the processor 30 is high, or the communication bandwidth is small, it is high. The sharing process of resolution video is slower, and the sharing process of low-resolution video is faster. At this time, low-resolution video should be shared to speed up the video sharing process and reduce the time of video sharing; if the load of processor 30 is low And the communication bandwidth is large, the mobile platform 100 can directly share high-resolution videos, and at the same time the video sharing time will not be very long. In this way, based on the load of the processor 30 and the communication bandwidth, the video of the target resolution is adaptively selected for sharing, and the user experience is better.
  • step S9 when the post-processing is backup data, step S9 performs post-processing on the data including:
  • S942 Obtain the load of the processor 30 of the electronic device 40 and the communication bandwidth between the mobile platform 100 and the communication access device;
  • step S941, step S942, step S943, and step S944 may be implemented by the actuator 70. That is to say, when the program code is executed, the executor 70 is used to receive the video backup input of the user, obtain the load of the processor 30 of the electronic device 40, and the communication bandwidth between the mobile platform 100 and the communication access device. When the load of the processor 30 and the communication bandwidth between the mobile platform 100 and the communication access device satisfy the seventh preset condition, the high-resolution video is backed up based on the video backup input. When any one of the communication bandwidths between the input devices does not satisfy the seventh preset condition, the low-resolution video is backed up based on the video backup input.
  • data backup refers to data backup to the cloud.
  • the electronic device 40 may transmit data to the cloud for backup by using any suitable communication method such as WiFi, Bluetooth, and mobile data network.
  • the user can perform input of the video sharing input instruction through a physical button or a virtual button.
  • the executor 70 obtains the load of the processor 30 of the electronic device 40 and the communication between the mobile platform 100 and the communication access device (wireless access point AP or communication base station). bandwidth.
  • the actuator 70 controls the mobile platform 100 to back up the high resolution Video; if the load of the processor 30 is greater than or equal to the tenth preset threshold at this time, or the communication bandwidth between the movable platform 100 and the communication access device is less than or equal to the eleventh preset threshold, the actuator 70 controls the movable The platform 100 backs up low-resolution videos.
  • the tenth preset threshold value of the load of the processor 30 may be equal to the first preset threshold value, or may be different from the first preset threshold value, which is not limited herein.
  • the eleventh preset threshold of the communication bandwidth between the mobile platform 100 and the communication access device may be equal to the fourth preset threshold, or may be different from the fourth preset threshold, which is not limited herein.
  • the backup of high-resolution video requires more space for the processor 30 to schedule resources and the communication bandwidth of the communication link. If the load of the processor 30 is high, or the communication bandwidth is small, it is high The backup process of resolution video is slower, while the backup process of low-resolution video is faster. At this time, low-resolution video should be backed up to speed up the video backup process and reduce the time of video backup; if the processor 30 load is low , And the communication bandwidth is large, the mobile platform 100 can directly back up high-resolution videos, and at the same time the video backup time will not be long. In this way, based on the load of the processor 30 and the communication bandwidth, the target resolution video is adaptively selected for backup, and the user experience is better.
  • the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • the computer program may be executed by a processor to perform the data synchronization method according to any one of the foregoing embodiments.
  • the processor may be an integration of the processor 60 (or the processor 30 of the electronic device 40) and the actuator 70 in the movable platform 100, so as to implement the processor 60 (or the electronic device 40) in the movable platform 100 The functions of the processor 30) and the actuator 70.
  • a computer program may be executed by a processor to complete the following steps:
  • S4 Synchronize data to the target synchronization medium according to the synchronization policy.
  • the computer program can also be executed by a processor to complete the following steps:
  • the computer program may also be executed by a processor to complete the following steps:
  • Any process or method description in a flowchart or otherwise described herein can be understood as representing a module, fragment, or portion of code that includes one or more executable instructions for performing a particular logical function or step of a process
  • the scope of the preferred embodiments of the present invention includes additional implementations, in which the functions may be performed out of the order shown or discussed, including performing the functions in a substantially simultaneous manner or in the reverse order according to the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present invention pertain.
  • Logic and / or steps represented in a flowchart or otherwise described herein, for example, a ordered list of executable instructions that may be considered to perform a logical function may be embodied in any computer-readable medium, For use by, or in combination with, an instruction execution system, device, or device (such as a computer-based system, a system that includes a processor, or another system that can fetch and execute instructions from an instruction execution system, device, or device) Or equipment.
  • a "computer-readable medium” may be any device that can contain, store, communicate, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device.
  • computer-readable media include the following: electrical connections (electronic devices) with one or more wirings, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disk read-only memory (CDROM).
  • the computer-readable medium may even be paper or other suitable medium on which the program can be printed, because, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable Processing to obtain the program electronically and then store it in computer memory.
  • a person of ordinary skill in the art can understand that performing all or part of the steps carried by the foregoing implementation method can be completed by a program instructing related hardware.
  • the program can be stored in a computer-readable storage medium, and the program is executing , Including one or a combination of the steps of the method embodiments.
  • each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist separately physically, or two or more units may be integrated into one module.
  • the above integrated modules can be executed in the form of hardware or software functional modules. When the integrated module is executed in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
  • the aforementioned storage medium may be a read-only memory, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

一种可移动平台(200)中数据的同步方法、可移动平台(200)、数据的同步系统(1000)和计算机可读存储介质。数据的同步方法包括:(S1)将数据存储在目标存储介质中;(S2)获取数据的同步策略;(S3)根据同步策略确定目标同步介质;(S4)根据同步策略将数据同步到目标同步介质中。

Description

数据的同步方法及系统、可移动平台和可读存储介质 技术领域
本发明涉及数据的同步技术领域,特别涉及一种数据的同步方法、数据的同步系统、可移动平台和计算机可读存储介质。
背景技术
目前电子设备的存储策略是固定的,例如在电子设备具有多个存储介质的情况下,电子设备采集的数据也只会存储到其中一个存储介质中,而不会同步到其他存储介质中。此外,用户也无法自主配置同步策略,灵活性较低,用户的使用体验较差。
发明内容
本发明的实施例提供一种数据的同步方法、可移动平台、数据的同步系统和计算机可读存储介质。
本发明实施方式的可移动平台中数据的同步方法包括:将所述数据存储在目标存储介质中;获取所述数据的同步策略;根据所述同步策略确定目标同步介质;根据所述同步策略将所述数据同步到所述目标同步介质中。
本发明实施方式的可移动平台包括处理器、存储器和执行器,其中,所述存储器用于存储程序代码,所述处理器用于调用所述程序代码,当所述程序代码被执行时,所述执行器用于执行以下操作:将所述数据存储在目标存储介质中;获取所述数据的同步策略;根据所述同步策略确定目标同步介质;根据所述同步策略将所述数据同步到所述目标同步介质中。
本发明实施方式的数据的同步系统包括上述的可移动平台和外部设备。所述可移动平台与所述外部设备连接。
本发明实施方式的计算机可读存储介质存储有计算机程序。所述计算机程序可被处理器执行以完成上述的数据的同步方法。
本发明实施方式的数据的同步方法、可移动平台、数据的同步系统和计算机可读存储介质,多个存储介质之间设置有数据同步的机制,用户可以基于同步策略的设定,指示可移动平台依据同步策略对数据进行同步的操作,提高数据存储与同步的灵活性,改善用户的使用体验。
本发明的实施方式的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实施方式的实践了解到。
附图说明
本发明的上述和/或附加的方面和优点从结合下面附图对实施方式的描述中将变得明显和容易理解,其中:
图1是本发明某些实施方式的数据的同步系统的示意图。
图2至图19是本发明某些实施方式的数据的同步方法的流程示意图。
具体实施方式
下面详细描述本发明的实施方式,所述实施方式的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施方式是示例性的,仅用于解释本发明,而不能理解为对本发明的限制。
请参阅图1,本发明提供一种数据的同步系统1000。数据的同步系统1000包括可移动平台100和外部设备200。
其中,可移动平台100与外部设备200连接。具体地,可移动平台100可以通过有线连接方式,例如通过数据线等有线方式与外部设备200连接。或者,可移动平台100也可以通过无线连接方式,例如通过WiFi、蓝牙、移动数据网络(2G/3G/4G/5G)等与外部设备200连接。
可移动平台100可以包括无人机、无人车、无人船、机器人、或者其他可移动设备。外部设备200可为便携式设备,例如手机、电脑、智能穿戴设备、平板、遥控器等任何合适的外部设备。可以理解,在某些实施例中,所述外部设备也可以为诸如无人机、无人车、无人船、机器人等可移动平台。
进一步地,可移动平台100还包括有电子设备40,电子设备40可以为照相机、摄像机、摄影机等拍摄装置。电子设备40可以存储数据。电子设备40设置有内部存储介质10、第一外部存储介质20中的至少一种。也即是说,电子设备40可以仅设置有内部存储介质10,也可以仅设置有第一外部存储介质20,也可以同时设置有内部存储介质10和第一外部存储介质20。进一步地,内部存储介质10可以例如为嵌入式多媒体卡,(Embedded Multimedia Card,EMMC)、通用闪存存储(Universal Flash Storage,UFS)等其他合适的存储介质,第一外部存储介质20可以例如为安全数位卡(Secure Digital,SD)、固态硬盘(Solid-state drive,SSD)等其他合适的存储介质。
进一步地,电子设备40仅设置有内部存储介质10时,内部存储介质10的个数可为一个或多个。电子设备40仅设置有第一外部存储介质20时,第一外部存储介质20的个数也可为一个或多个。电子设备40同时存储有内部存储介质10和第一外部存储介质20时,内 部存储介质10和第一外部存储介质20的个数均可以为一个或多个。电子设备40存储数据时,数据可以单独存储在内部存储介质10或第一外部存储介质20中,也可以同时存储在内部存储介质10和第一外部存储介质20中。
外部设备200也可以设置有存储数据的存储介质。外部设备200与电子设备40类似,外部设备200也可以仅设置有内部存储介质,或仅设置有外部存储介质,或同时设置有内部存储介质和外部存储介质。其中,内部存储介质和外部存储介质的数目不限。在本实施方式中,外部设备200中的存储介质统称为第二外部存储介质201。
请一并参阅图1和2,本发明还提供一种可移动平台100中数据的同步方法。数据的同步方法包括:
S1:将数据存储在目标存储介质中;
S2:获取数据的同步策略;
S3:根据同步策略确定目标同步介质;和
S4:根据同步策略将数据同步到目标同步介质中。
请再参阅图1,本发明实施方式的数据的同步方法可以由上述的可移动平台100实现。可移动平台100还包括处理器60、存储器50和执行器70。其中,存储器50用于存储程序代码。处理器30用于调用程序代码。执行器70用于执行程序代码指示的操作,执行器70可以集成在处理器60内,也可以放置在处理器60外。电子设备40也包括处理器30。电子设备40的处理器30与可移动平台100的处理器60可为同一个处理器,也可为不同的处理器,电子设备40的存储介质与可移动平台100的存储器50可为同一个存储介质,也可为不同的存储介质。若电子设备40与可移动平台100共用一个处理器且共用一个存储介质,则此时处理器30与处理器60为同一个处理器,并且存储器30可以是内部存储介质10,也可以是第一外部存储介质20,程序代码可以仅存储在内部存储介质10中,也可以仅存储在第一外部存储介质20中,还可以同时存储在内部存储介质10和第一外部存储介质20中。本发明实施方式以电子设备40的处理器30与可移动平台100的处理器60为同一个处理器,电子设备40的存储介质与可移动平台100的存储器50为同一个存储介质为例进行说明。
步骤S1、步骤S2、步骤S3和步骤S4均可以由执行器70执行。也即是说,当程序代码被执行时,执行器70可执行将数据存储在目标存储介质中,获取数据的同步策略,根据同步策略确定目标同步介质,以及根据同步策略将数据同步到目标同步介质中的操作。
其中,目标存储介质包括内部存储介质10、第一外部存储介质20、第二外部存储介质201中的至少一种。也即是说,目标存储介质可以仅为内部存储介质10,或者仅为第一外部存储介质20,或者仅为第二外部存储介质201。目标存储介质还可以同时包括内部存储 介质10和第一外部存储介质20两种,或者,同时包括内部存储介质10和第二外部存储介质201两种,或者,同时包括第一外部存储介质20和第二外部存储介质201两种。目标存储介质还可以同时包括内部存储介质10、第一外部存储介质20和第二外部存储介质201三种。
目标同步介质包括内部存储介质10、第一外部存储介质20、第二外部存储介质201中的至少一种。也即是说,目标同步介质可以仅为内部存储介质10,或者仅为第一外部存储介质20,或者仅为第二外部存储介质201。目标同步介质还可以同时包括内部存储介质10和第一外部存储介质20两种,或者,同时包括内部存储介质10和第二外部存储介质201两种,或者,同时包括第一外部存储介质20和第二外部存储介质201两种。目标同步介质还可以同时包括内部存储介质10、第一外部存储介质20和第二外部存储介质201三种。
电子设备40采集数据时,处理器30将采集的数据存储在目标存储介质中。其中,目标存储介质可以由用户输入,也可以由可移动平台100预先设置。例如,目标存储介质由用户输入,用户可以通过可移动平台100上的物理按键或虚拟按键进行目标存储介质的设置。在一种实施方式中,物理按键可以是按钮、旋钮、拨轮等任何合适的物理按键;在另一种实施方式中,可移动平台100还可以包括有触摸屏,用户可以通过对设置在触摸屏上的虚拟按键进行目标存储介质的设置。
或者,在另一种实施例中,用户还可以通过外部设备200上的物理按键(如按钮、旋钮、拨轮)或虚拟按键(如触摸屏等)进行目标存储介质的设置,设置好的目标存储介质由外部设备200通过有线通信或无线通信的方式发送给可移动平台100进行存储。目标存储介质由可移动平台100预先设置时,通常是在可移动平台100出厂前由生产厂商设定好默认的目标存储介质。如果用户使用可移动平台100时更改了目标存储介质的默认设置,则此时目标存储介质即为用户设手动输入设置的。如果用户使用可移动平台100时未更改目标存储介质的默认设置,则此时目标存储介质即为可移动平台100预先设置的。
数据的同步策略用于指示目标同步介质、以及数据从目标存储介质同步到目标同步介质中的同步方式。电子设备40采集数据时,处理器30读取预存在可移动平台100中的同步策略以确定数据需要被同步到哪一个存储介质中以及通过何种同步方式做采集的数据的同步,并进一步利用设定的同步方式将采集的数据同步到设定的目标同步介质中。同步策略也可以为用户输入或者由可移动平台100预先设置。同步策略若由用户输入,则用户可以通过可移动平台100上的物理按键(如按钮、旋钮、拨轮)或虚拟按键(如触摸屏等)进行同步策略的设置;或者,用户还可以通过外部设备200上的物理按键(如按钮、旋钮、拨轮)或虚拟按键(如触摸屏等)进行同步策略的设置,设置好的同步策略由外部设备200通过有线通信或无线通信的方式发送给可移动平台100进行存储。同步策略由可移动平台 100预先设置时,通常是在可移动平台100出厂前由生产厂商设定好默认的目标存储介质。如果用户使用可移动平台100时更改了同步策略的默认设置,则此时同步策略即为用户设手动输入设置的。如果用户使用可移动平台100时未更改同步策略的默认设置,则此时同步策略即为可移动平台100预先设置的。
同步策略中数据的同步方式包括主动同步、被动同步、不同步中的至少一种。也即是说,数据的同步方式可以仅为主动同步,也可以仅为被动同步,也可以仅为不同步。或者,数据的同步方式可以同时包括主动同步和被动同步两种,也可以同时包括主动同步和不同步两种,也可以同时包括被动同步和不同步两种。或者,数据的同步方式也可以同时包括主动同步、被动同步和不同步三种。在数据的同步方式同时包括多种时,可移动平台100必须基于预先设置或用户输入的方式从多种同步方式中确定出一种目标的同步方式。
在某些实施方式中,当数据的同步方式为主动同步,且目标存储介质和目标同步介质均位于电子设备40中时,电子设备40采集数据时无需基于接收到的用户输入的同步指令再做同步,而是在电子设备40满足第一预设条件时,采集的数据即可被主动同步到目标同步介质中。
其中,第一预设条件指的是电子设备40的处理器30负荷小于第一预设阈值。具体地,例如,目标存储介质为电子设备40的内部存储介质10,目标同步介质为电子设备40的另一内部存储介质10时,若电子设备40的处理器30负荷小于第一预设阈值,则电子设备40直接将采集的数据主动同步到目标同步介质中。再例如,目标存储介质为内部存储介质10,目标同步介质为第一外部存储介质20时,若电子设备40的处理器30负荷小于第一预设阈值,则电子设备40直接将采集的数据主动同步到目标同步介质中。
在某些实施方式中,所述可移动平台100与外部设备200连接,当数据的同步方式为主动同步时,且目标存储介质和目标同步介质分别位于不同的设备中时,电子设备40采集数据时无需基于接收到的用户输入的同步指令再做同步,而是在可移动平台100和/或外部设备200满足第二预设条件时,采集的数据即可被主动同步到目标同步介质中。其中,第二预设条件包括电子设备40的处理器30负荷小于第二预设阈值(第二预设阈值与第一预设阈值可以相等或不等)、外部设备200的处理器202负荷小于第三预设阈值、可移动平台100与外部设备200之间的通信链路的通信带宽大于第四预设阈值中的至少一种。具体地,例如,当目标存储介质为内部存储介质10和/或第一外部存储介质20,且目标同步介质为第二外部存储介质201时,若电子设备40的处理器30负荷小于第二预设阈值,外部设备200的处理器202负荷小于第三预设阈值,且通信带宽大于第四预设阈值时,电子设备40直接将采集的数据主动同步到目标同步介质中。再例如,当目标存储介质为第二外部存储介质201,且目标同步介质为内部存储介质10和/或第一外部存储介质20时,若电子设备 40的处理器30负荷小于第二预设阈值,外部设备200的处理器202负荷小于第三预设阈值,且通信带宽大于第四预设阈值时,电子设备40直接将采集的数据主动同步到目标同步介质中。可以理解,第二预设条件也可以仅包括电子设备40的处理器30负荷小于第二预设阈值、外部设备200的处理器202负荷小于第三预设阈值、可移动平台100与外部设备200之间的通信链路的通信带宽大于第四预设阈值中的一种或任意两种的组合,本实施方式仅为示例性说明,在此不作限定。
在主动同步模式下,电子设备40无需接收用户输入的同步指令再做数据同步,数据的同步过程较为便捷。
在某些实施方式中,当数据的同步方式为被动同步时,电子设备40不会主动将数据同步到目标同步介质中,而是接收到用户输入的同步指令后,再将数据同步到目标同步介质中。被动同步模式包括以下两种情况:(1)同步策略中包含有目标同步介质的信息,此时,用户输入的同步指令仅指示电子设备40做数据同步的操作;(2)同步策略中不包含目标同步介质的信息,此时,用户输入的同步指令不仅指示电子设备40做数据同步的操作,还指示用户期望同步的目标同步介质。例如,用户可以指示内部存储介质10、第一外部存储介质20、第二外部存储介质201中的至少一种作为目标同步介质。如此,在被动模式下,电子设备40基于用户输入的同步指令再做数据的同步操作。
在被动同步模式下,用户可以根据不同类型的数据做不同的同步操作(例如,静态图像做同步,动态图像不做同步等),或者将不同类型的数据同步到不同的存储介质中(例如,静态图像同步到第一外部存储介质20中,动态图像同步到第二外部存储介质201中等),数据同步的灵活性较高,有利于不同类型数据的分类整理。
在某些实施方式中,当数据的同步方式为不同步时,目标存储介质的数据同步功能被关闭,此时,无论目标同步介质是否已经设定好,数据均无法被同步到目标存储介质中。如此,在不同步模式下,数据具有极高的安全性。进一步地,若用户在不同步模式下需要将数据同步到想要同步的目标同步介质中,目标同步介质和目标存储介质需要做鉴权,在鉴权成功时目标存储介质的数据同步功能会打开,此时目标存储介质中的数据即可被同步到目标同步介质中,如果鉴权失败,则此时的同步策略仍旧为不同步,也即是说,鉴权失败时,目标同步介质的数据同步功能仍旧保持关闭,数据无法被同步到目标同步介质中。具体地,例如,在不同步模式下,用户想将存储在内部存储介质10中的数据同步到第一外部存储介质20中,则在执行同步操作前,第一外部存储介质20需要与内部存储介质10做鉴权,鉴权过程可以是用户输入将数据从内部存储介质10同步到第一外部存储介质20中的同步指令,电子设备40跳出身份验证的窗口,电子设备40验证用户的身份,在身份验证通过后即说明第一外部存储介质20与内部存储介质10的鉴权成功,此时内部存储介质 10中的数据可以同步到第一外部存储介质20中。其中,用户的身份验证可以是二维人脸识别、三维人脸识别、虹膜识别、语音验证、指纹验证、数字密码验证、图案密码验证等等,在此不作限制。
在不同步模式下,数据无法被同步,以防止发生用户不期望的同步或占用过多内存等情况的发生。进一步地,用户需要经过鉴权的过程才可以重新进入同步模式,极大地保障了数据的安全性。
请再结合图1,本发明实施方式的数据的同步方法中,存储器50中分配有配置模块51,执行器70分配有同步控制模块71,电子设备40还包括数据采集模块41,数据采集模块41用于采集数据。在目标存储介质和/或同步策略由用户输入时,处理器30基于用户输入将目标存储介质和/或同步策略发送到配置模块51中进行存储。在目标存储介质和/或同步策略为预先设定时,目标存储介质和/或同步策略直接由生厂产商设定并存储到配置模块51中。在数据采集模块70采集数据时,执行器70首先从存储器50的配置模块51读取目标存储介质和同步策略。随后,执行器70将采集的数据存储到目标存储介质中,同步控制模块71基于同步策略将采集的数据同步到目标同步介质中。
综上,本发明实施方式的数据的同步方法、可移动平台100、数据的同步系统1000中,多个存储介质之间设置有数据同步的机制,用户可以基于同步策略的设定来指示可移动平台100依据同步策略对数据进行同步的操作,提高数据存储与同步的灵活性,改善用户的使用体验。
请一并参阅图1和图3,在某些实施方式中,电子设备40设置有多个内部存储介质10,多个内部存储介质10包括至少一个设定为目标存储介质的目标内部存储介质、以及至少一个设定为目标同步介质的目标内部同步介质。在数据的同步方式为主动同步时,步骤S4根据同步策略将数据同步到目标同步介质中包括:
S411:获取电子设备40的处理器30负荷;和
S412:在处理器30负荷满足第一预设条件时,将目标内部存储介质中的数据同步到目标内部同步介质中。
请再参阅图1,步骤S411和步骤S412均可以由执行器70实现。也即是说,当程序代码被执行时,执行器70用于执行获取电子设备40的处理器30负荷、以及在处理器30负荷满足第一预设条件时,将目标内部存储介质中的数据同步到目标内部同步介质中的操作。
具体地,获取电子设备40的处理器30负荷由执行器70从处理器30中读取。处理器30负荷可理解为处理器30当前管控调度的进程的数量。当处理器30当前管控调度的进程的数量较大时,处理器30负荷较高,当处理器30当前管控调度的进程的数量较少时,处理器30负荷较低。执行器70读取到处理器30负荷后,将处理器30负荷与第一预设阈值 作比较,当处理器30负荷小于第一预设阈值时,处理器30在将采集的数据存储到目标内部存储介质的过程中,还会将目标内部存储介质中的这部分采集的数据同步到目标内部同步介质中。若处理器30负荷大于或等于第一预设阈值,则执行器70先不做数据的同步动作,而是等到处理器30负荷小于第一预设阈值时再做数据的同步动作。如此,可以实现电子设备40中多个内部存储介质10的数据的主动共享。
类似地,在被动同步模式下,若用户输入同步指令,则执行器70需要执行将存储在目标内部存储介质中的采集的数据同步到目标内部同步介质中的操作,如果在同步过程中处理器30负荷较高,执行器70同样等到处理器30负荷小于第一预设阈值时再做数据的同步动作。在不同步模式下,若目标内部存储介质和目标内部同步介质之间鉴权成功,执行器70需要执行将存储在目标内部存储介质中的采集的数据同步到目标内部同步介质中的操作,如果在同步过程中处理器30负荷较高,执行器70同样等到处理器30负荷小于第一预设阈值时再做数据的同步动作。
请一并参阅图1和图4,在某些实施方式中,电子设备40设置有多个第一外部存储介质20,多个第一外部存储介质20包括至少一个设定为目标存储介质的目标第一外部存储介质、以及至少一个设定为目标同步介质的目标第一外部同步介质。在数据的同步方式为主动同步时,步骤S4根据同步策略将数据同步到目标同步介质中包括:
S421:获取电子设备40的处理器30负荷;和
S422:在处理器30负荷满足第一预设条件时,将目标第一外部存储介质中的数据同步到目标第一外部同步介质中。
请再参阅图1,步骤S421和步骤S422均可以由执行器70实现。也即是说,当程序代码被执行时,执行器70用于执行获取电子设备40的处理器30负荷,以及在处理器30负荷满足第一预设条件时,将目标第一外部存储介质中的数据同步到目标第一外部同步介质中的操作。
具体地,获取电子设备40的处理器30负荷由执行器70从处理器30中读取。处理器30负荷可理解为处理器30当前管控调度的进程的数量。当处理器30当前管控调度的进程的数量较大时,处理器30负荷较高,当处理器30当前管控调度的进程的数量较少时,处理器30负荷较低。执行器70读取到处理器30负荷后,将处理器30负荷与第一预设阈值作比较,当处理器30负荷小于第一预设阈值时,处理器30在将采集的数据存储到目标第一外部存储介质的过程中,还会将目标第一外部存储介质中的这部分采集的数据同步到目标第一外部同步介质中。若处理器30负荷大于或等于第一预设阈值,则执行器70先不做数据的同步动作,而是等到处理器30负荷小于第一预设阈值时再做数据的同步动作。如此,可以实现电子设备40中多个第一外部存储介质20的数据的主动共享。
类似地,在被动同步模式下,若用户输入同步指令,则执行器70需要执行将存储在目标第一外部存储介质中的采集的数据同步到目标第一外部同步介质中的操作,如果在同步过程中处理器30负荷较高,执行器70同样等到处理器30负荷小于第一预设阈值时再做数据的同步动作。在不同步模式下,若目标第一外部存储介质和目标第一外部同步介质之间鉴权成功,执行器70需要执行将存储在目标第一外部存储介质中的采集的数据同步到目标第一外部同步介质中的操作,如果在同步过程中处理器30负荷较高,执行器70同样等到处理器30负荷小于第一预设阈值时再做数据的同步动作。
请一并参阅图1和图5,在某些实施方式中,在目标存储介质为内部存储介质10,且目标同步介质为第一外部存储介质20时,若数据的同步方式为主动同步,步骤S4根据同步策略将数据同步到目标同步介质中包括:
S431:获取电子设备40的处理器30负荷;和
S432:在处理器30负荷满足第一预设条件时将内部存储介质10中的数据同步到第一外部存储介质20中。
请再参阅图1,在某些实施方式中,步骤S431和步骤S432均可以由执行器70实现。也即是说,当程序代码被执行时,执行器70用于执行获取电子设备40的处理器30负荷,在处理器30负荷满足第一预设条件时将内部存储介质10中的数据同步到第一外部存储介质20中。
具体地,获取电子设备40的处理器30负荷由执行器70从处理器30中读取。处理器30负荷可理解为处理器30当前管控调度的进程的数量。当处理器30当前管控调度的进程的数量较大时,处理器30负荷较高,当处理器30当前管控调度的进程的数量较少时,处理器30负荷较低。执行器70读取到处理器30负荷后,将处理器30负荷与第一预设阈值作比较,当处理器30负荷小于第一预设阈值时,处理器30在将采集的数据存储到内部存储介质10的过程中,还会将内部存储介质10中的这部分采集的数据同步到第一外部存储介质20中。若处理器30负荷大于或等于第一预设阈值,则执行器70先不做数据的同步动作,而是等到处理器30负荷小于第一预设阈值时再做数据的同步动作。如此,可以实现电子设备40中内部存储介质10与第一外部存储介质20的数据的主动共享。
类似地,在被动同步模式下,若用户输入同步指令,则执行器70需要执行将存储在内部存储介质10中的采集的数据同步到第一外部存储介质20中的操作,如果在同步过程中处理器30负荷较高,执行器70同样等到处理器30负荷小于第一预设阈值时再做数据的同步动作。在不同步模式下,若内部存储介质10和第一外部存储介质20之间鉴权成功,执行器70需要执行将存储在内部存储介质10中的采集的数据同步到第一外部存储介质20中的操作,如果在同步过程中处理器30负荷较高,执行器70同样等到处理器30负荷小于第 一预设阈值时再做数据的同步动作。
请一并参阅图1和图6,在某些实施方式中,在目标存储介质为第一外部存储介质20,且目标同步介质为内部存储介质10时,若数据的同步方式为主动同步,步骤S4根据同步策略将数据同步到目标同步介质中包括:
S441:获取电子设备40的处理器30负荷;和
S442:在处理器30负荷满足第一预设条件时将第一外部存储介质20中的数据同步到内部存储介质10中。
请再参阅图1,在某些实施方式中,步骤S441和步骤S442均可以由执行器70实现。也即是说,当程序代码被执行时,执行器70用于执行获取电子设备40的处理器30负荷,在处理器30负荷满足第一预设条件时将第一外部存储介质20中的数据同步到内部存储介质10中。
具体地,获取电子设备40的处理器30负荷由执行器70从处理器30中读取。处理器30负荷可理解为处理器30当前管控调度的进程的数量。当处理器30当前管控调度的进程的数量较大时,处理器30负荷较高,当处理器30当前管控调度的进程的数量较少时,处理器30负荷较低。执行器70读取到处理器30负荷后,将处理器30负荷与第一预设阈值作比较,当处理器30负荷小于第一预设阈值时,处理器30在将采集的数据存储到第一外部存储介质20的过程中,还会将第一外部存储介质20中的这部分采集的数据同步到内部存储介质10中。若处理器30负荷大于或等于第一预设阈值,则执行器70先不做数据的同步动作,而是等到处理器30负荷小于第一预设阈值时再做数据的同步动作。如此,可以实现电子设备40中第一外部存储介质20与内部存储介质10的数据的主动共享。
类似地,在被动同步模式下,若用户输入同步指令,则执行器70需要执行将存储在第一外部存储介质20中的采集的数据同步到内部存储介质10中的操作,如果在同步过程中处理器30负荷较高,执行器70同样等到处理器30负荷小于第一预设阈值时再做数据的同步动作。在不同步模式下,若内部存储介质10和第一外部存储介质20之间鉴权成功,执行器70需要执行将存储在第一外部存储介质20中的采集的数据同步到内部存储介质10中的操作,如果在同步过程中处理器30负荷较高,执行器70同样等到处理器30负荷小于第一预设阈值时再做数据的同步动作。
请一并参阅图1和图7,在某些实施方式中,当目标存储介质为内部存储介质10和/或第一外部存储介质20,且目标同步介质为第二外部存储介质201时,若数据的同步方式为主动同步,步骤S4根据同步策略将数据同步到目标同步介质中包括:
S451:获取可移动平台100与外部设备200之间的通信链路的通信带宽、以及处理器负荷,处理器负荷包括电子设备40的处理器30负荷和外部设备200的处理器202负荷中 的至少一种;和
S452:在通信带宽以及处理器负荷满足第二预设条件时将内部存储介质10和/或第一外部存储介质20中的数据同步到第二外部存储介质201中。
请再参阅图1,在某些实施方式中,步骤S451和步骤S452均可以由执行器70实现。也即是说,当程序代码被执行时,执行器70用于执行获取可移动平台100与外部设备200之间的通信链路的通信带宽、以及处理器负荷,处理器负荷包括电子设备40的处理器30负荷和外部设备200的处理器202负荷中的至少一种,以及在通信带宽以及处理器负荷满足第二预设条件时将目标存储介质中的数据同步到第二外部存储介质201中的操作。
其中,目标存储介质为内部存储介质10和/或第一外部存储介质20,目标同步介质为第二外部存储介质201包括以下三种数据同步情形:(1)电子设备40采集的数据存储在内部存储介质10中,并同步到第二外部存储介质201中;(2)电子设备40采集的数据存储在第一外部存储介质20中,并同步到第二外部存储介质201中;(3)电子设备40采集的数据部分存储在内部存储介质10中,部分存储在第一外部存储介质20中,存储在内部存储介质10中的部分数据和存储在第一外部存储介质20中的部分数据均同步到第二外部存储介质201中。
处理器负荷包括电子设备40的处理器30负荷和外部设备200的处理器202负荷中的至少一种包括以下情形:(1)仅考虑电子设备40的处理器30负荷;(2)仅考虑外部设备200的处理器202负荷;(3)同时考虑电子设备40的处理器30负荷及外部设备200的处理器202负荷。在本发明的具体实施例中,将内部存储介质10和/或第一外部存储介质20的数据同步到第二外部存储介质201中时,选择综合考虑电子设备40的处理器30负荷及外部设备200的处理器202负荷。
可移动平台100与外部设备200之间的通信链路的通信带宽可以基于测试信号来获取,也即是说,外部设备200发送一个测试信号给可移动平台100,可移动平台100的通信模块80接收测试信号后将测试信号发送至处理器30,处理器30基于该测试信号计算通信链路的通信带宽。执行器70再从处理器30处读取通信带宽。
在一种实施例中,获取外部设备200的处理器202负荷可以是由外部设备200的通信模块80将处理器202负荷发送给可移动平台100,可移动平台100的通信模块80接收处理器202负荷后将处理器202负荷发送给处理器30,由执行器70从处理器30中读取。处理器202的负荷可理解为处理器202当前管控调度的进程的数量。当处理器202当前管控调度的进程的数量较大时,处理器202负荷较高,当处理器202当前管控调度的进程的数量较少时,处理器202负荷较低。获取电子设备40的处理器30负荷由执行器70从处理器30中读取。处理器30负荷可理解为处理器30当前管控调度的进程的数量。当处理器30 当前管控调度的进程的数量较大时,处理器30负荷较高,当处理器30当前管控调度的进程的数量较少时,处理器30负荷较低。执行器70读取到处理器30负荷、处理器202负荷及通信带宽后,将处理器30负荷与第二预设阈值作比较,将处理器202负荷与第三预设阈值做比较,并将通信带宽与第四预设阈值作比较。当处理器30负荷小于第二预设阈值,处理器202负荷小于第三预设阈值,并且通信带宽大于第四预设阈值时,执行器70在将采集的数据存储到内部存储介质10和/或第一外部存储介质20的过程中,还会将内部存储介质10和/第一外部存储介质20中的这部分采集的数据同步到第二外部存储介质201中。
进一步地,若电子设备40的处理器30负荷、外部设备200的处理器202负荷和通信带宽中的任意一者不满足预设条件,则执行器70先不做数据的同步动作,而是等到处理器30负荷小于第二预设阈值,处理器202负荷小于第三预设阈值并且通信带宽大于第四预设阈值时再做数据的同步动作。如此,可以实现电子设备40与外部设备200的数据的主动共享。在其他实施方式中,第二预设条件也可以仅包括电子设备40的处理器30负荷、外部设备200的处理器202负荷和通信带宽中的一者或二者的组合,在此不作限定。
类似地,在被动同步模式下,若用户输入同步指令,则执行器70需要执行将存储在内部存储介质10和/或第一外部存储介质20中的采集的数据同步到第二外部存储介质201中的操作,如果在同步过程中,处理器30负荷、处理器202负荷和通信带宽中的任意一者不满足第二预设条件,执行器70同样等到处理器30负荷小于第二预设阈值,处理器202负荷小于第三预设阈值,且通信带宽大于第四预设阈值时再做数据的同步动作。在不同步模式下,若内部存储介质10和/或第一外部同步介质与第二外部存储介质201之间鉴权成功,执行器70需要执行将存储在内部存储介质10和/或第一外部存储介质20中的采集的数据同步到第二外部存储介质201中的操作,如果在同步过程中,处理器30负荷、处理器202负荷和通信带宽中的任意一者不满足第二预设条件,执行器70同样等到处理器30负荷小于第二预设阈值,处理器202负荷小于第三预设阈值,且通信带宽大于第四预设阈值时再做数据的同步动作。
请一并参阅图1和图8,在某些实施方式中,当目标存储介质为第二外部存储介质201,且同步介质为内部存储介质10和/或第一外部存储介质20时,若数据的同步方式为主动同步,步骤S4根据同步策略将数据同步到目标同步介质中包括:
S461:获取可移动平台100与外部设备200之间的通信链路的通信带宽、以及处理器负荷,处理器负荷包括电子设备40的处理器30负荷和外部设备200的处理器202负荷中的至少一种;和
S462:在通信带宽及处理器30负荷满足第二预设条件时将第二外部存储介质201中的数据同步到内部存储介质10和/或第一外部存储介质20中。
请再参阅图1,在某些实施方式中,步骤S461和步骤S462均可以由执行器70实现。也即是说,当程序代码被执行时,执行器70用于执行获取可移动平台100与外部设备200之间的通信链路的通信带宽、以及处理器负荷,处理器负荷包括电子设备40的处理器30负荷和外部设备200的处理器202负荷中的至少一种,以及在通信带宽及处理器30负荷满足第二预设条件时将第二外部存储介质201中的数据同步到内部存储介质10和/或第一外部存储介质20中。
其中,目标存储介质为第二外部存储介质201,目标同步介质为内部存储介质10和/或第一外部存储介质20包括以下三种数据同步情形:(1)电子设备40采集的数据存储在第二外部存储介质201中,并同步到内部存储介质10中;(2)电子设备40采集的数据存储在第二外部存储介质201中,并同步到第一外部存储介质20中;(3)电子设备40采集的数据存储在第二外部存储介质201中,并同时同步到内部存储介质10和第一外部存储介质20中。
处理器负荷包括电子设备40的处理器30负荷和外部设备200的处理器202负荷中的至少一种包括以下情形:(1)仅考虑电子设备40的处理器30负荷;(2)仅考虑外部设备200的处理器202负荷;(3)同时考虑电子设备40的处理器30负荷及外部设备200的处理器202负荷。在本发明的具体实施例中,将第二外部存储介质201中的数据同步到内部存储介质10和/或第一外部存储介质20中时,选择综合考虑电子设备40的处理器30负荷及外部设备200的处理器202负荷。
可移动平台100与外部设备200之间的通信链路的通信带宽可以基于测试信号来获取,也即是说,外部设备200发送一个测试信号给可移动平台100,可移动平台100的通信模块80接收测试信号后将测试信号发送至处理器30,处理器30基于该测试信号计算通信链路的通信带宽。执行器70再从处理器30处读取通信带宽。
在一种实施例中,获取外部设备200的处理器202负荷可以是由外部设备200的通信模块80将处理器202负荷发送给可移动平台100,可移动平台100的通信模块80接收处理器202负荷后将处理器202负荷发送给处理器30,由执行器70从处理器30中读取。处理器202的负荷可理解为处理器202当前管控调度的进程的数量。当处理器202当前管控调度的进程的数量较大时,处理器202负荷较高,当处理器202当前管控调度的进程的数量较少时,处理器202负荷较低。获取电子设备40的处理器30负荷由执行器70从处理器30中读取。处理器30负荷可理解为处理器30当前管控调度的进程的数量。当处理器30当前管控调度的进程的数量较大时,处理器30负荷较高,当处理器30当前管控调度的进程的数量较少时,处理器30负荷较低。执行器70读取到处理器30负荷、处理器202负荷及通信带宽后,将电子设备40的处理器30负荷与第二预设阈值作比较,外部设备200的 处理器202负荷与第三预设阈值作比较,并将通信带宽与第四预设阈值作比较。当电子设备40的处理器30负荷小于第二预设阈值,外部设备200的处理器202负荷小于第三预设阈值,并且通信带宽大于第四预设阈值时,执行器70控制可移动平台100的通信模块80接收外部设备200发送的数据,并将数据存储到内部存储介质10和/或第一外部存储介质20中。
进一步地,若电子设备40的处理器30负荷、外部设备200的处理器202负荷和通信带宽中的任意一者不满足第二预设条件,则执行器70不会控制可移动平台100的通信模块80接收外部设备200发送的数据,而是等到电子设备40的处理器30负荷小于第二预设阈值,外部设备200的处理器202负荷小于第三预设阈值,并且通信带宽大于第四预设阈值时再控制可移动平台100的通信模块80接收外部设备200发送的数据并做存储,以完成数据的同步动作。如此,可以实现电子设备40与外部设备200的数据的主动共享。在其他实施方式中,第二预设条件也可以仅包括处理器30负荷、处理器202负荷和通信带宽中的一者或二者的组合,在此不作限定。
类似地,在被动同步模式下,若用户输入同步指令,则执行器70需要执行将存储在第二外部存储介质201中的采集的数据同步到内部存储介质10和/或第一外部存储介质20中的操作,如果在同步过程中电子设备40的处理器30负荷、外部设备200的处理器202负荷和通信带宽任意一者不满足第二预设条件,执行器70同样等到电子设备40的处理器30负荷小于第二预设阈值,外部设备200的处理器202负荷小于第三预设阈值且通信带宽大于第四预设阈值时再控制通信模块80接收数据以完成数据的同步动作。在不同步模式下,若内部存储介质10和/或第一外部同步介质与第二外部存储介质201之间鉴权成功,执行器70需要执行将存储在第二外部存储介质201中的采集的数据同步到内部存储介质10和/或第一外部存储介质20中的操作,如果在同步过程中电子设备40的处理器30负荷、外部设备200的处理器202负荷和通信带宽任意一者不满足第二预设条件,执行器70同样等到电子设备40的处理器30负荷小于第二预设阈值,外部设备200的处理器202负荷小于第三预设阈值且通信带宽大于第四预设阈值时再控制通信模块80接收数据以完成数据的同步动作。
请一并参阅图1和图9,在某些实施方式中,当目标存储介质为第二外部存储介质201时,步骤S1将数据存储在目标存储介质中包括:
S11:获取可移动平台100与外部设备200之间的通信链路的通信带宽;和
S12:在通信带宽满足第三预设条件时将数据传输到第二外部存储介质201中。
请再参阅图1,在某些实施方式中,步骤S11和步骤S12均可以由执行器70实现。也即是说,当程序代码被执行时,执行器70用于执行获取可移动平台100与外部设备200之 间的通信链路的通信带宽,以及在通信带宽满足第三预设条件时将数据传输到第二外部存储介质201中的操作。
具体地,在目标存储介质为第二外部存储介质201时,电子设备40采集的数据一般会直接存储到第二外部存储介质201中,而不会存储到内部存储介质10或第一外部存储介质20中。但是,若在电子设备40采集数据的过程中,可移动平台100和外部设备200之间的通信链路的通信带宽不满足第三预设条件,例如小于第五预设阈值(第五预设阈值可与第四预设阈值相等或不等),则电子设备40采集的数据会预先缓存到内部存储介质10和/或第一外部存储介质20中。例如,假设电子设备40采集的数据为data,data由data1和data2两部分组成。其中,data1指的是数据采集过程中直接存储到第二外部存储介质201中的数据,data2指的是在数据采集过程中,由于通信带宽的限制而先缓存到内部存储介质10和/或第一外部存储介质20中的数据,data2可以全部缓存在内部存储介质10中,或全部缓存在第一外部存储介质20中,或部分缓存在内部存储介质10中,部分缓存在第一外部存储介质20中。
进一步地,请再参阅图9,步骤S1将数据存储在目标存储介质中还包括:
S13:在通信带宽满足第三预设条件时,将缓存到内部存储介质10和/或第一外部存储介质20中的数据的全部或部分传输到第二外部存储介质201中。
请再参阅图1,步骤S13可以由执行器70实现。也即是说,当程序代码被执行时,执行器70用于执行在通信带宽满足第三预设条件时,将缓存到内部存储介质10和/或第一外部存储介质20中的数据的全部或部分传输到第二外部存储介质201中的操作。
具体地,由于目标存储介质为第二外部存储介质201,因通信带宽的限制而先缓存到内部存储介质10和/或第一外部存储介质20中的数据,在后续通信带宽大于或等于第五预设阈值时,执行器70会做数据的增量传输的操作。若完整的数据data都未能直接存储到第二外部存储介质201中,而是全部缓存到内部存储介质10和/或第一外部存储介质20中,则执行器70会将缓存到内部存储介质10和/或第一外部存储介质20中的完整的数据data传输到第二外部存储介质201中。若仅部分数据未能直接存储到第二外部存储介质201中,即数据data2缓存到内部存储介质10和/或第一外部存储介质20中,则执行器70会将缓存到内部存储介质10和/或第一外部存储介质20中的数据data2传输到第二外部存储介质201中。在传输结束后,缓存到内部存储介质10和/或第一外部存储介质20中的数据可以被删除或保留。
请一并参阅图1和图10,在某些实施方式中,数据以第一文件的形式存储在目标存储介质中,步骤S4根据同步策略将数据同步到目标同步介质中还包括:
S471:检测目标同步介质中是否存在与第一文件同名的文件;
S472:在目标同步介质中不存在与第一文件同名的文件时,数据以第一文件的形式存储在目标同步介质中;
S473:在目标同步介质中存在与第一文件同名的文件时,数据以第二文件的形式存储在目标同步介质中。
请再参阅图1,在某些实施方式中,步骤S471、步骤S472和步骤S473均可以由执行器70实现。也即是说,当程序代码被执行时,执行器70用于执行检测目标同步介质中是否存在与第一文件同名的文件,在目标同步介质中不存在与第一文件同名的文件时,数据以第一文件的形式存储在目标同步介质中,以及在目标同步介质中存在与第一文件同名的文件时,数据以第二文件的形式存储在目标同步介质中的操作。
具体地,第一文件的名称可与第二文件的名称相同,或者与第二文件的名称不同。当第一文件的名称与第二文件的名称不同时,电子设备40采集的数据在同步到目标同步介质中时,第一文件可以与第二文件存储在同一目录下,也可以与第二文件存储在不同目录下。当第一文件的名称与第二文件的名称相同时,此时目标同步介质包括至少两个存储目录。第一文件的存储位置与跟第一文件同名的第二文件存储在不同的存储目录下。如此,在数据同步过程中,可以避免目标同步介质中已经存储的数据被当前要同步的数据覆盖,导致已经存储的数据丢失的问题。
请一并参阅图1和图11,在某些实施方式中,本发明实施方式的数据存储方法还包括:
S5:获取目标汇总存储介质,目标汇总存储介质为内部存储介质10、第一外部存储介质20、第二外部存储介质201中的至少一种;和
S6:将目标汇总数据同步到目标汇总存储介质中。
请再参阅图1,在某些实施方式中,步骤S5和步骤S6可以由执行器70实现。也即是说,当程序代码被执行时,执行器70用于执行获取目标汇总存储介质,以及将目标汇总数据同步到目标汇总存储介质中的操作。
其中,目标汇总存储介质为内部存储介质10、第一外部存储介质20、第二外部存储介质201中的至少一种。具体地,目标汇总介质可以为内部存储介质10、第一外部存储介质20、第二外部存储介质201中的任意一种;或者,目标汇总介质可以同时包括为内部存储介质10及第一外部存储介质20两种、第一外部存储介质20及第二外部存储介质201两种、内部存储介质10及第二外部存储介质201两种;或者,目标汇总介质可以同时包括内部存储介质10、第一外部存储介质20、第二外部存储介质201三种。在数据汇总的过程中,可以汇总部分的未存储到目标汇总介质中的数据,也可汇总全部的未存储到目标汇总介质中的数据。
目标汇总介质可以与目标存储介质相同或不同,也可以与目标同步介质相同或不同, 本实施例对此不作限定。
进一步地,目标汇总数据包括存储在目标存储介质中的数据和同步到目标同步介质中的数据。其中,存储在目标存储介质中的数据与同步到目标同步介质中的数据可以全部或部分相同,也可以全部不同。具体地,当存储在目标存储介质中的数据与同步到目标同步介质中的数据全部相同时,此时目标存储介质中的数据全部同步到目标同步介质中,并且同步后的目标存储介质中的数据未被删除,此时目标汇总数据可以仅汇总存储在目标存储介质中的数据、或者仅汇总同步到目标同步介质中的数据。
当存储在目标存储介质中的数据与同步到目标同步介质中的数据部分相同时,在一种实施方式中,目标存储介质中包括已存储的原始数据以及从电子设备40直接获取的数据,其中,从电子设备40直接获取的数据同步至目标同步介质,而原始数据未同步至目标同步介质,此时目标汇总数据包括未同步到目标同步介质中的原始数据和目标同步介质中的数据。
当存储在目标存储介质中的数据与同步到目标同步介质中的数据全部不同时,在一种实施方式中,从电子设备40直接获取的数据同步至目标同步介质后,删除目标存储介质中已同步的数据,目标存储介质中仅保留未同步到目标同步介质中的原始数据。此时,存储在目标存储介质中的数据与同步到目标同步介质中的数据全部不同,目标汇总数据包括未同步到目标同步介质中的原始数据和目标同步介质中的数据。
进一步地,目标汇总介质中可以建立管理文件,标记汇总过的数据,以便在汇总时可以快速区分已汇总的数据和未汇总的数据,加快数据汇总的进程,避免重复汇总。可选地,也可以在目标存储介质或目标同步介质中建立管理文件,标记同步过的数据,以便在汇总时快速区分已同步的数据和未同步的数据,以避免重复汇总。
进一步地,目标汇总介质可以由用户设定,也可以是预先设定好的。
目标汇总介质由用户设定时,用户通过物理按键或虚拟按键设定目标汇总介质,例如,假设电子装置仅包括一个内部存储介质10和一个第一外部存储介质20,用户在某一时刻t设定目标汇总介质为第二外部存储介质201,则在用户设定目标存储介质后,用户可无需进一步指定目标汇总数据为哪些,此时执行器70将所有的存储在内部存储介质10及外部存储介质中的,并且在t时刻之前未汇总同步到第二外部存储介质201中的数据均汇总到第二外部存储介质201中;或者,用户也可以进一步指定目标汇总数据为哪些,此时执行器70将用户指定的目标汇总数据汇总到第二外部存储介质201中。如此,存储汇总数据的目标汇总介质及汇总数据的类型均可以由用户自行选定,数据汇总的灵活性更高。
目标汇总介质为预先设定时,电子设备40接收到用户输入的数据汇总指令后,执行器70可直接将未存储到目标汇总介质中的数据汇总到目标汇总介质中。如果在用户输入的数 据汇总指令后进一步指定了目标汇总数据为哪些,则执行器70将用户指定的目标汇总数据汇总到第二外部存储介质201中。如此,目标汇总介质预先设定可以免去数据汇总过程中用户设定目标汇总介质的操作,数据汇总流程较为便捷。
请一并参阅图1和图12,在某些实施方式中,在数据为视频时,视频包括多种预设分辨率的视频。步骤S1将数据存储在目标存储介质中包括:
S14:确定视频的目标分辨率并存储目标分辨率的视频,目标分辨率为多种预设分辨率中的至少一种。
请再参阅图1,在某些实施方式中,步骤S14可以由执行器70实现。也即是说,当程序代码被执行时,执行器70用于执行确定视频的目标分辨率并存储目标分辨率的视频。其中,目标分辨率为多种预设分辨率中的至少一种。
具体地,预设分辨率可以是分辨率由大到小排列的第一分辨率、第二分辨率、第三分辨率、第四分辨率、第五分辨率等等,预设分辨率的个数在此不做限制。在本发明的具体实施例中,预设分辨率的视频包括两个:高分辨率的视频和低分辨的视频。其中,高分辨率和低分辨率通过分辨率界限值来确定。分辨率大于第一分辨率界限值的视频为高分辨率视频,分辨率小于第二分辨率界限值的视频为低分辨率视频,第一分辨率界限值大于或等于第二分辨率界限值。高分辨率的视频存储时占用较大的存储空间,传输时占用较多的通信带宽。低分辨率的视频存储时占用较小的存储空间,传输时占用较少的通信带宽。
可以理解,高分辨率与低分辨率与电子设备40本身的性能相关。例如,在一种实施方式中,电子设备同时支持4K和1080P的视频,此时4K为高分辨率,1080P为低分辨率。在另一种实施方式中,电子设备同时支持1080P和720P的视频,此时1080P为低分辨率,720P为低分辨率。在此本实施例仅为示例性说明,不作限定。
电子设备40采集数据时,执行器70基于预先设定的所需存储的视频的目标分辨率进行视频的存储。例如,预先设定的目标分辨率的视频为高分辨率的视频,则电子设备40采集数据时,执行器70将高分辨率的视频存储到目标存储介质中。再例如,预先设定的目标分辨率的视频为低分辨率的视频,电子设备40采集数据时,执行器70将低分辨率的视频存储到目标存储介质中。再例如,预先设定的视频的目标分辨率为高分辨率的视频和低分辨率的视频,则电子设备40采集数据时,执行器70将高分辨率的视频和低分辨率的视频同时存储到目标存储介质中。存储多种预设分辨率的视频可以便于后续基于不同分辨率的视频做不同的操作。
进一步地,请参阅图13,在某些实施方式中,在同时存储多种预设分辨率的视频时,本发明实施方式的数据的同步方法还包括:
S81:根据用户输入确定同步到目标同步介质中的视频的目标分辨率;
步骤S4根据同步策略将数据同步到目标同步介质中包括:
S471:将目标分辨率的视频同步到目标同步介质中。
请再参阅图1,在某些实施方式中,步骤S81和步骤S471均可以由执行器70实现。也即是说,当程序代码被执行时,执行器70用于执行根据用户输入确定同步到目标同步介质中的视频的目标分辨率,以及将目标分辨率的视频同步到目标同步介质中的操作。
具体地,用户可通过物理按键或虚拟按键设定视频的目标分辨率。如此,在视频同步过程中,执行器70将存储在目标存储介质中的目标分辨率的视频同步到目标同步介质中。例如,用户设置的视频的目标分辨率为高分辨率,则在视频同步过程中,执行器70将存储在目标存储介质中的高分辨率的视频同步到目标同步介质中。再例如,用户设置的视频的目标分辨率为高分辨率和低分辨率,则在视频同步过程中,执行器70将存储在目标存储介质中的高分辨率的视频及低分辨率的视频一起同步到目标同步介质中。由用户选择目标分辨率的视频进行同步,可以提升视频同步操作灵活性,改善用户的使用体验。
或者,请参阅图14,在某些实施方式中,在同时存储多种预设分辨率的视频时,本发明实施方式的数据的同步方法还包括:
S82:获取可移动平台100与外部设备200之间的通信链路的通信带宽;和
S83:根据通信带宽确定同步到目标同步介质中的视频的目标分辨率;
步骤S4根据同步策略将数据同步到目标同步介质中包括:
S472:将目标分辨率的视频同步到目标同步介质中。
请再参阅图1,在某些实施方式中,步骤S82、步骤S83和步骤S472均可以由执行器70实现。也即是说,当程序代码被执行时,执行器70用于执行获取可移动平台100与外部设备200之间的通信链路的通信带宽,根据通信带宽确定同步到目标同步介质中的视频的目标分辨率,以及将目标分辨率的视频同步到目标同步介质中的操作。
具体地,视频的目标分辨率可以由同步过程中通信链路的通信带宽来决定。在视频同步的初始时刻下,若通信带宽可以满足高分辨率视频的传输,则执行器70将存储在目标存储介质中的高分辨率的视频同步到目标同步介质中;若通信带宽无法满足高分辨率视频的传输,则执行器70将存储在目标存储介质中的低分辨率的视频同步到目标同步介质中。如此,可以自适应地调节同步的视频的分辨率,而无需用户手动设定,方便用户的操作。
请一并参阅图1和图15,在某些实施方式中,本发明实施方式的数据的同步方法还包括:
S9:对数据进行后处理。
请再参阅图1,在某些实施方式中,步骤S9可以由执行器70实现。也即是说,当程序代码被执行时,执行器70用于执行对数据进行后处理的操作。
在一种实施方式中,后处理包括回放、编辑、分享、备份中的至少一种。可以理解,本实施例仅为示例性说明,后处理还可以包括其他合适的后处理,在此不作限定。
具体地,请一并参阅图1和图16,在后处理为回放数据时,步骤S9对数据进行后处理包括:
S911:接收用户的视频回放输入;
S912:获取电子设备40的处理器30负荷;
S913:在处理器30负荷满足第四预设条件时,基于视频回放输入对高分辨率视频进行回放;
S914:在处理器30负荷不满足第四预设条件时,基于视频回放输入对低分辨率视频进行回放。
请再参阅图1,在某些实施方式中,步骤S911、步骤S912、步骤S913和步骤S914均可以由执行器70实现。也即是说,当程序代码被执行时,执行器70用于执行接收用户的视频回放输入,获取电子设备40的处理器30负荷,在处理器30负荷满足第四预设条件时,基于视频回放输入对高分辨率视频进行回放,以及在处理器30负荷不满足第四预设条件时,基于视频回放输入对低分辨率视频进行回放。
具体地,用户可以通过物理按键或虚拟按键执行视频回放输入指令的输入。电子设备40接收到用户的视频回放输入的指令后,执行器70获取电子设备40的处理器30负荷。若此时处理器30负荷小于第六预设阈值,则执行器70控制电子设备30回放高分辨率视频;若此时处理器30负荷大于或等于第六预设阈值,则执行器70控制电子设备30回放低分辨率视频。可以理解,视频回放过程中,处理器30需要执行视频的解码操作。此时,若处理器30负荷较高,则高分辨率视频的解码较为缓慢,而低分辨率视频的解码较为快速,此时应该回放低分辨率的视频,以使用户观看到的视频画面较为流畅,不会卡顿;若处理器30负荷较低,则处理器30有足够的处理能力可以快速地解码高分辨率视频,此时,电子设备40可以回放高分辨率的视频,用户也可以观看到流畅的视频画面。如此,基于处理器30负荷自适应选择目标分辨率的视频进行播放,用户使用体验较佳。可以理解,处理器30负荷的第六预设阈值可以与第一预设阈值相等,也可以与第一预设阈值不等,在此不作限定。
请一并参阅图1和图17,在后处理为编辑数据时,步骤S9对数据进行后处理包括:
S921:接收用户的视频编辑输入;
S922:获取电子设备40的处理器30负荷;
S923:在处理器30负荷满足第五预设条件时,基于视频编辑输入对高分辨率视频进行编辑;
S924:在处理器30负荷不满足第五预设条件时,基于视频编辑输入对低分辨率视频进 行编辑。
请再参阅图1,在某些实施方式中,步骤S921、步骤S922、步骤S923和步骤S924均可以由执行器70实现。也即是说,当程序代码被执行时,执行器70用于执行接收用户的视频编辑输入,获取电子设备40的处理器30负荷,在处理器30负荷满足第五预设条件时,基于视频编辑输入对高分辨率视频进行编辑,以及在处理器30负荷不满足第五预设条件时,基于视频编辑输入对低分辨率视频进行编辑。
具体地,用户可以通过物理按键或虚拟按键执行视频编辑输入指令的输入。电子设备40接收到用户的视频编辑输入的指令后,执行器70获取电子设备40的处理器30负荷。若此时处理器30负荷小于第七预设阈值,则执行器70控制电子设备40编辑高分辨率视频;若此时处理器30负荷大于或等于第七预设阈值,则执行器70控制电子设备30编辑低分辨率视频。可以理解,视频编辑过程中,高分辨率视频的编辑需要占用处理器30更多的处理空间,此时,若处理器30负荷较高,则高分辨率视频的编辑进程较为缓慢,而低分辨率视频的编辑进程较为快速,此时应该编辑低分辨率的视频,以加快视频的编辑进程,减少视频编辑的时间;若处理器30负荷较低,则处理器30有足够的处理能力来编辑高分辨率视频,此时,电子设备40可以直接编辑高分辨率的视频,同时视频编辑的时间也不会加长。如此,基于处理器30负荷自适应选择目标分辨率的视频进行编辑,用户使用体验较佳。可以理解,处理器30负荷的第七预设阈值可以与第一预设阈值相等,也可以与第一预设阈值不等,在此不作限定。
请一并参阅图1和图18,在后处理为分享数据时,步骤S8对数据进行后处理包括:
S931:接收用户的视频分享输入;
S932:获取电子设备40的处理器30负荷及可移动平台100与通信接入设备之间的通信带宽;
S933:在处理器30负荷和可移动平台100与通信接入设备之间的通信带宽均满足第六预设条件时,基于视频分享输入分享高分辨率视频;
S934:在处理器30负荷和可移动平台100与通信接入设备之间的通信带宽中的任意一者不满足第六预设条件时,基于视频分享输入分享低分辨率视频。
请再参阅图1,在某些实施方式中,步骤S931、步骤S932、步骤S933和步骤S934均可以由执行器70实现。也即是说,当程序代码被执行时,执行器70用于接收用户的视频分享输入,获取电子设备40的处理器30负荷及电子设备40与通信接入设备之间的通信带宽,在处理器30负荷和可移动平台100与通信接入设备之间的通信带宽均满足第六预设条件时,基于视频分享输入分享高分辨率视频,在处理器30负荷和可移动平台100与通信接入设备之间的通信带宽中的任意一者不满足第六预设条件时,基于视频分享输入分享低分 辨率视频。
具体地,可移动平台100通过WiFi、蓝牙的通信方式分享视频,也可以通过2G/3G/4G/5G等移动数据网络分享视频。在可移动平台100通过蓝牙的通信方式分享视频时,通信接入设备为与可移动平台100通过蓝牙匹配连接的终端。在可移动平台100通过WiFi通信方式分享视频时,通信接入设备为无线接入点AP;在可移动平台100通过2G/3G/4G/5G的移动数据网络分享视频时,通信接入设备为通信基站。可以理解,可移动平台100也可以通过有线通信方式分享视频。
用户可以通过物理按键或虚拟按键执行视频分享输入指令的输入。电子设备40接收到用户的视频编辑输入的指令后,执行器70获取电子设备40的处理器30负荷以及可移动平台100与通信接入设备(无线接入点AP、终端或通信基站)之间的通信带宽。若此时处理器30负荷小于第八预设阈值,并且可移动平台100与通信接入设备之间的通信带宽大于第九预设阈值,则执行器70控制可移动平台100分享高分辨率视频;若此时处理器30负荷大于或等于第八预设阈值,或者可移动平台100与通信接入设备之间的通信带宽小于或等于第九预设阈值,则执行器70控制可移动平台100分享低分辨率视频。可以理解,处理器30负荷的第八预设阈值可以与第一预设阈值相等,也可以与第一预设阈值不等,在此不作限定。可移动平台100与通信接入设备之间的通信带宽的第九预设阈值可以与第四预设阈值相等,也可以与第四预设阈值不等,在此不作限定。
可以理解,视频分享过程中,高分辨率视频的分享需要占用处理器30更多的资源调度的空间以及通信链路的通信带宽,若处理器30负荷较高,或者通信带宽较小,则高分辨率视频的分享进程较为缓慢,而低分辨率视频的分享进程较为快速,此时应该分享低分辨率的视频,以加快视频的分享进程,减少视频分享的时间;若处理器30负荷较低,并且通信带宽较大,则可移动平台100可以直接分享高分辨率的视频,同时视频分享的时间也不会很长。如此,基于处理器30负荷及通信带宽自适应选择目标分辨率的视频进行分享,用户使用体验较佳。
请一并参阅图1和图19,在某些实施方式中,在后处理为备份数据时,步骤S9对数据进行后处理包括:
S941:接收用户的视频备份输入;
S942:获取电子设备40的处理器30负荷及可移动平台100与通信接入设备之间的通信带宽;
S943:在处理器30负荷和可移动平台100与通信接入设备之间的通信带宽均满足第七预设条件时,基于视频备份输入备份高分辨率视频;
S944:在处理器30负荷和可移动平台100与通信接入设备之间的通信带宽中的任意一 者不满足第七预设条件时,基于视频备份输入对低分辨率视频进行备份。
请再参阅图1,在某些实施方式中,步骤S941、步骤S942、步骤S943和步骤S944均可以由执行器70实现。也即是说,当程序代码被执行时,执行器70用于接收用户的视频备份输入,获取电子设备40的处理器30负荷及可移动平台100与通信接入设备之间的通信带宽,在处理器30负荷和可移动平台100与通信接入设备之间的通信带宽均满足第七预设条件时,基于视频备份输入备份高分辨率视频,在处理器30负荷和电子设备40与通信接入设备之间的通信带宽中的任意一者不满足第七预设条件时,基于视频备份输入对低分辨率视频进行备份。
其中,数据的备份指的是数据备份到云端。电子设备40可以通过WiFi、蓝牙、移动数据网络等任何合适的通信方式将数据传送到云端进行备份。
用户可以通过物理按键或虚拟按键执行视频分享输入指令的输入。电子设备40接收到用户的视频编辑输入的指令后,执行器70获取电子设备40的处理器30负荷以及可移动平台100与通信接入设备(无线接入点AP或通信基站)之间的通信带宽。若此时处理器30负荷小于第十预设阈值,并且可移动平台100与通信接入设备之间的通信带宽大于第十一预设阈值,则执行器70控制可移动平台100备份高分辨率视频;若此时处理器30负荷大于或等于第十预设阈值,或者可移动平台100与通信接入设备之间的通信带宽小于或等于第十一预设阈值,则执行器70控制可移动平台100备份低分辨率视频。同样地,处理器30负荷的第十预设阈值可以与第一预设阈值相等,也可以与第一预设阈值不等,在此不作限定。可移动平台100与通信接入设备之间的通信带宽的第十一预设阈值可以与第四预设阈值相等,也可以与第四预设阈值不等,在此不作限定。
可以理解,视频备份过程中,高分辨率视频的备份需要占用处理器30更多的资源调度的空间以及通信链路的通信带宽,若处理器30负荷较高,或者通信带宽较小,则高分辨率视频的备份进程较为缓慢,而低分辨率视频的备份进程较为快速,此时应该备份低分辨率的视频,以加快视频的备份进程,减少视频备份的时间;若处理器30负荷较低,并且通信带宽较大,则可移动平台100可以直接备份高分辨率的视频,同时视频备份的时间也不会很长。如此,基于处理器30负荷及通信带宽自适应选择目标分辨率的视频进行备份,用户使用体验较佳。
本发明还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序。计算机程序可被处理器执行以完成上述任意一项实施方式所述的数据的同步方法。其中,处理器可为可移动平台100中的处理器60(或电子设备40的处理器30)和执行器70的集成,以用于实现可移动平台100中处理器60(或电子设备40的处理器30)和执行器70的功能。
例如,请结合图2,计算机程序可被处理器执行以完成以下步骤:
S1:将数据存储在目标存储介质中;
S2:获取数据的同步策略;
S3:根据同步策略确定目标同步介质;和
S4:根据同步策略将数据同步到目标同步介质中。
再例如,请结合图3,计算机程序还可被处理器执行以完成以下步骤:
S411:获取电子设备40的处理器30负荷;和
S412:在处理器30负荷满足第一预设条件时,将目标内部存储介质10中的数据同步到目标内部同步介质中。
再例如,请结合图10,计算机程序还可被处理器执行以完成以下步骤:
S471:检测目标同步介质中是否存在与第一文件同名的文件;
S472:在目标同步介质中不存在与第一文件同名的文件时,数据以第一文件的形式存储在目标同步介质中;
S473:在目标同步介质中存在与第一文件同名的文件时,数据以第二文件的形式存储在所述目标同步介质中。
在本说明书的描述中,参考术语“一个实施方式”、“一些实施方式”、“示意性实施方式”、“示例”、“具体示例”、或“一些示例”等的描述意指结合所述实施方式或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施方式或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施方式或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施方式或示例中以合适的方式结合。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于执行特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的执行,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于执行逻辑功能的可执行指令的定序列表,可以具体执行在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连 接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来执行。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来执行。例如,如果用硬件来执行,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来执行:具有用于对数据信号执行逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
本技术领域的普通技术人员可以理解执行上述实施方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式执行,也可以采用软件功能模块的形式执行。所述集成的模块如果以软件功能模块的形式执行并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。

Claims (76)

  1. 一种可移动平台中数据的同步方法,其特征在于,所述数据的同步方法包括:
    将所述数据存储在目标存储介质中;
    获取所述数据的同步策略;
    根据所述同步策略确定目标同步介质;和
    根据所述同步策略将所述数据同步到所述目标同步介质中。
  2. 根据权利要求1所述的数据的同步方法,其特征在于,所述目标存储介质包括内部存储介质、第一外部存储介质、第二外部存储介质中的至少一种,所述目标同步介质包括内部存储介质、第一外部存储介质、第二外部存储介质中的至少一种。
  3. 根据权利要求2所述的数据的同步方法,其特征在于,所述可移动平台包括电子设备,所述内部存储介质和所述第一外部存储介质设置在所述电子设备中,所述第二外部存储介质设置在与所述可移动平台连接的外部设备中。
  4. 根据权利要求1所述的数据的同步方法,其特征在于,所述同步策略由用户输入。
  5. 根据权利要求4所述的数据的同步方法,其特征在于,所述用户输入包括用户通过虚拟按键和/或物理按键输入同步设置指令,以对所述同步策略进行设置。
  6. 根据权利要求1所述的数据的同步方法,其特征在于,所述同步策略为预先设置。
  7. 根据权利要求1-6任意一项所述的数据的同步方法,其特征在于,所述同步策略包括主动同步、被动同步、不同步中的至少一种。
  8. 根据权利要求7所述的数据的同步方法,其特征在于,所述可移动平台包括电子设备,在所述同步策略为主动同步时,当所述电子设备满足第一预设条件时,所述数据主动同步到所述目标同步介质中。
  9. 根据权利要求8所述的数据的同步方法,其特征在于,所述第一预设条件为所述电子设备的处理器负荷小于第一预设阈值。
  10. 根据权利要求7所述的数据的同步方法,其特征在于,所述可移动平台与外部设备连接,在所述同步策略为主动同步时,当所述可移动平台和/或所述外部设备满足第二预设条件时,所述数据主动同步到所述目标存储介质中。
  11. 根据权利要求10所述的数据的同步方法,其特征在于,所述可移动平台包括电子设备,所述可移动平台和/或所述外部设备满足第二预设条件包括:
    所述电子设备的处理器负荷小于第二预设阈值、所述外部设备的处理器负荷小于第三预设阈值、所述可移动平台与所述外部设备之间的通信链路的通信带宽大于第四预设阈值中的至少一种时,所述数据主动同步到所述目标同步介质中。
  12. 根据权利要求7所述的数据的同步方法,其特征在于,在所述同步策略为被动同步时,接收用户输入的同步指令,所述数据同步到目标同步介质中。
  13. 根据权利要求7所述的数据的同步方法,其特征在于,在所述同步策略为不同步时,所述目标存储介质关闭数据同步功能,所述数据无法被同步。
  14. 根据权利要求13所述的数据的同步方法,其特征在于,在所述目标同步介质与所述目标存储介质鉴权失败时,所述同步策略为不同步。
  15. 根据权利要求13所述的数据的同步方法,其特征在于,在所述目标同步介质与所述目标存储介质鉴权成功时,所述数据同步到所述目标同步介质中。
  16. 根据权利要求3所述的数据的同步方法,其特征在于,所述电子设备包括多个内部存储介质,多个所述内部存储介质包括至少一个设定为目标存储介质的目标内部存储介质、至少一个设定为目标同步介质的目标内部同步介质;所述根据所述同步策略将所述数据同步到所述目标同步介质中包括:
    获取所述电子设备的处理器负荷;和
    在所述处理器负荷满足第一预设条件时,将所述目标内部存储介质中的所述数据同步到所述目标内部同步介质中。
  17. 根据权利要求3所述的数据的同步方法,其特征在于,所述电子设备包括多个第一外部存储介质,多个所述第一外部存储介质包括至少一个设定为目标存储介质的目标第一外部存储介质、至少一个设定为目标同步介质的目标第一外部同步介质;所述根据所述同步策略将所述数据同步到所述目标同步介质中包括:
    获取所述电子设备的处理器负荷;和
    在所述处理器负荷满足第一预设条件时,将所述目标第一外部存储介质中的所述数据同步到所述目标第一外部同步介质中。
  18. 根据权利要求3所述的数据的同步方法,其特征在于,在所述目标存储介质为所述内部存储介质,且所述目标同步介质为所述第一外部存储介质时,所述根据所述同步策略将所述数据同步到所述目标同步介质中包括:
    获取所述电子设备的处理器负荷;和
    在所述处理器负荷满足第一预设条件时,将所述内部存储介质中的所述数据同步到所述第一外部存储介质中。
  19. 根据权利要求3所述的数据的同步方法,其特征在于,在所述目标存储介质为所述第一外部存储介质,且所述目标同步介质为所述内部存储介质时,所述根据所述同步策略将所述数据同步到所述目标同步介质中包括:
    获取所述电子设备的处理器负荷;和
    在所述处理器负荷满足第一预设条件时,将所述第一外部存储介质中的所述数据同步到所述内部存储介质中。
  20. 根据权利要求3所述的数据的同步方法,其特征在于,当所述目标存储介质为所述内部存储介质和/或所述第一外部存储介质,且所述目标同步介质为所述第二外部存储介质时,所述根据所述同步策略将所述数据同步到所述目标同步介质中包括:
    获取所述可移动平台与所述外部设备之间的通信链路的通信带宽、以及处理器负荷,所述处理器负荷包括所述电子设备的处理器负荷和所述外部设备的处理器负荷中的至少一种;和
    在所述通信带宽以及所述处理器负荷满足第二预设条件时,将所述内部存储介质和/或所述第一外部存储介质中的所述数据同步到所述第二外部存储介质中。
  21. 根据权利要求3所述的数据的同步方法,其特征在于,当所述目标存储介质为所述第二外部存储介质,且所述同步介质为所述内部存储介质和/或所述第一外部存储介质时,所述根据所述同步策略将所述数据同步到所述目标同步介质中包括:
    获取所述可移动平台与所述外部设备之间的通信链路的通信带宽、以及处理器负荷,所述处理器负荷包括所述电子设备的处理器负荷和所述外部设备的处理器负荷中的至少一种;和
    在所述通信带宽以及所述处理器负荷满足第二预设条件时,将所述第二外部存储介质中的所述数据同步到所述内部存储介质和/或所述第一外部存储介质中。
  22. 根据权利要求1所述的数据的同步方法,其特征在于,所述数据以第一文件的形式存储在所述目标存储介质中,所述根据所述同步策略将所述数据同步到所述目标同步介质中包括:
    检测所述目标同步介质中是否存在与所述第一文件同名的文件;
    在所述目标同步介质中不存在与所述第一文件同名的文件时,所述数据以所述第一文件的形式存储在所述目标同步介质中;
    在所述目标同步介质中存在与所述第一文件同名的文件时,所述数据以第二文件的形式存储在所述目标同步介质中。
  23. 根据权利要求22所述的数据的同步方法,其特征在于,所述第一文件的名称与所述第二文件的名称不同。
  24. 根据权利要求22所述的数据的同步方法,其特征在于,在所述目标同步介质中存在与所述第一文件同名的文件时,所述目标同步介质包括至少两个存储目录,所述第一文件同名的文件和所述第二文件存储在不同的存储目录下。
  25. 根据权利要求1所述的数据的同步方法,其特征在于,所述数据的同步方法还包 括:
    获取目标汇总存储介质,所述目标汇总存储介质为所述内部存储介质、所述第一外部存储介质、所述第二外部存储介质中的至少一种;和
    将目标汇总数据同步到所述目标汇总存储介质中,其中,所述目标汇总数据包括存储在所述目标存储介质中的数据和同步到所述目标同步介质中的数据。
  26. 根据权利要求1所述的数据的同步方法,其特征在于,所述将所述数据存储在目标存储介质中包括:
    根据用户输入确定目标存储介质。
  27. 根据权利要求1所述的数据的同步方法,其特征在于,所述将所述数据存储在目标存储介质中包括:
    根据预先设置确定目标存储介质。
  28. 根据权利要求3所述的数据的同步方法,其特征在于,当所述目标存储介质为所述第二外部存储介质时,所述将所述数据存储在目标存储介质中包括:
    获取所述可移动平台与所述外部设备之间的通信链路的通信带宽;和
    在所述通信带宽满足第三预设条件时将所述数据传输到所述第二外部存储介质中。
  29. 根据权利要求28所述的数据的同步方法,其特征在于,所述目标存储介质还包括内部存储介质和/或第一外部存储介质,在所述通信带宽不满足所述第三预设条件时,将所述数据的全部或部分缓存到所述内部存储介质和/或所述第一外部存储介质中。
  30. 根据权利要求28所述的数据的同步方法,其特征在于,所述将所述数据存储在目标存储介质中还包括:
    在所述通信带宽满足所述第三预设条件时,将所述缓存到所述内部存储介质和/或所述第一外部存储介质中的所述数据的全部或部分传输到所述第二外部存储介质中。
  31. 根据权利要求1所述的数据的同步方法,其特征在于,在所述数据为视频时,所述视频包括多种预设分辨率的视频,所述将所述数据存储在目标存储介质中包括:
    确定所述视频的目标分辨率并存储所述目标分辨率的视频,所述目标分辨率为多种所述预设分辨率中的至少一种。
  32. 根据权利要求31所述的数据的同步方法,其特征在于,在同时存储多种所述预设分辨率的视频时,所述数据的同步方法还包括:
    根据用户输入确定同步到所述目标同步介质中的所述视频的目标分辨率;
    所述根据所述同步策略将所述数据同步到所述目标同步介质中包括:
    将所述目标分辨率的视频同步到所述目标同步介质中。
  33. 根据权利要求31所述的数据的同步方法,其特征在于,在同时存储多种所述预设 分辨率的视频时,所述数据的同步方法还包括:
    获取所述可移动平台与外部设备之间的通信链路的通信带宽;和
    根据所述通信带宽确定同步到所述目标同步介质中的视频的目标分辨率;
    所述根据所述同步策略将所述数据同步到所述目标同步介质中包括:
    将所述目标分辨率的视频同步到所述目标同步介质中。
  34. 根据权利要求31所述的数据的同步方法,其特征在于,所述数据的同步方法还包括:
    对所述数据进行后处理。
  35. 根据权利要求34所述的数据的同步方法,其特征在于,所述后处理包括回放、编辑、分享、备份中的至少一种。
  36. 根据权利要求3所述的数据的同步方法,其特征在于,所述可移动平台与所述外部设备通过有线方式连接。
  37. 根据权利要求3所述的数据的同步方法,其特征在于,所述可移动平台与所述外部设备通过无线方式连接。
  38. 一种可移动平台,其特征在于,所述可移动平台包括处理器、存储器和执行器,其中,所述存储器用于存储程序代码,所述处理器用于调用所述程序代码,当所述程序代码被执行时,所述执行器用于执行以下操作:
    将所述数据存储在目标存储介质中;
    获取所述数据的同步策略;
    根据所述同步策略确定目标同步介质;和
    根据所述同步策略将所述数据同步到所述目标同步介质中。
  39. 根据权利要求38所述的可移动平台,其特征在于,所述目标存储介质包括内部存储介质、第一外部存储介质、第二外部存储介质中的至少一种,所述目标同步介质包括内部存储介质、第一外部存储介质、第二外部存储介质中的至少一种。
  40. 根据权利要求39所述的可移动平台,其特征在于,所述可移动平台包括电子设备,所述内部存储介质和所述第一外部存储介质设置在所述电子设备中,所述第二外部存储介质设置在与所述可移动平台连接的外部设备中。
  41. 根据权利要求38所述的可移动平台,其特征在于,所述同步策略由用户输入。
  42. 根据权利要求41所述的可移动平台,其特征在于,所述用户输入包括用户通过虚拟按键和/或物理按键输入同步设置指令,以对所述同步策略进行设置。
  43. 根据权利要求38所述的可移动平台,其特征在于,所述同步策略为预先设置。
  44. 根据权利要求38-43任意一项所述的可移动平台,其特征在于,所述同步策略包括主动同步、被动同步、不同步中的至少一种。
  45. 根据权利要求44所述的可移动平台,其特征在于,所述可移动平台包括电子设备,在所述同步策略为主动同步时,当所述电子设备满足第一预设条件时,所述数据主动同步到所述目标同步介质中。
  46. 根据权利要求45所述的可移动平台,其特征在于,所述第一预设条件为所述电子设备的处理器负荷小于第一预设阈值。
  47. 根据权利要求44所述的可移动平台,其特征在于,所述可移动平台与外部设备连接,在所述同步策略为主动同步时,当所述可移动平台和/或所述外部设备满足第二预设条件时,所述数据主动同步到所述目标存储介质中。
  48. 根据权利要求47所述的可移动平台,其特征在于,所述可移动平台包括电子设备,所述可移动平台和/或所述外部设备满足第二预设条件包括:
    所述电子设备的处理器负荷小于第二预设阈值、所述外部设备的处理器负荷小于第三预设阈值、所述可移动平台与所述外部设备之间的通信链路的通信带宽大于第四预设阈值中的至少一种时,所述数据主动同步到所述目标同步介质中。
  49. 根据权利要求44所述的可移动平台,其特征在于,在所述同步策略为被动同步时,接收用户输入的同步指令,所述数据同步到目标同步介质中。
  50. 根据权利要求44所述的可移动平台,其特征在于,在所述同步策略为不同步时,所述目标存储介质关闭数据同步功能,所述数据无法被同步。
  51. 根据权利要求50所述的可移动平台,其特征在于,在所述目标同步介质与所述目标存储介质鉴权失败时,所述同步策略为不同步。
  52. 根据权利要求50所述的可移动平台,其特征在于,在所述目标同步介质与所述目标存储介质鉴权成功时,所述数据同步到所述目标同步介质中。
  53. 根据权利要求40所述的可移动平台,其特征在于,所述电子设备包括多个内部存储介质,多个所述内部存储介质包括至少一个设定为目标存储介质的目标内部存储介质、至少一个设定为目标同步介质的目标内部同步介质;当所述程序代码被执行时,所述执行器用于执行以下操作:
    获取所述电子设备的处理器负荷;和
    在所述处理器负荷满足第一预设条件时,将所述目标内部存储介质中的所述数据同步到所述目标内部同步介质中。
  54. 根据权利要求40所述的可移动平台,其特征在于,所述电子设备包括多个第一外部存储介质,多个所述第一外部存储介质包括至少一个设定为目标存储介质的目标第一外 部存储介质、至少一个设定为目标同步介质的目标第一外部同步介质;当所述程序代码被执行时,所述执行器用于执行以下操作:
    获取所述电子设备的处理器负荷;和
    在所述处理器负荷满足第一预设条件时,将所述目标第一外部存储介质中的所述数据同步到所述目标第一外部同步介质中。
  55. 根据权利要求40所述的可移动平台,其特征在于,在所述目标存储介质为所述内部存储介质,且所述目标同步介质为所述第一外部存储介质时,当所述程序代码被执行时,所述执行器用于执行以下操作:
    获取所述电子设备的处理器负荷;和
    在所述处理器负荷满足第一预设条件时,将所述内部存储介质中的所述数据同步到所述第一外部存储介质中。
  56. 根据权利要求40所述的可移动平台,其特征在于,在所述目标存储介质为所述第一外部存储介质,且所述目标同步介质为所述内部存储介质时,当所述程序代码被执行时,所述执行器用于执行以下操作:
    获取所述电子设备的处理器负荷;和
    在所述处理器负荷满足第一预设条件时,将所述第一外部存储介质中的所述数据同步到所述内部存储介质中。
  57. 根据权利要求40所述的可移动平台,其特征在于,当所述目标存储介质为所述内部存储介质和/或所述第一外部存储介质,且所述目标同步介质为所述第二外部存储介质时,当所述程序代码被执行时,所述执行器用于执行以下操作:
    获取所述可移动平台与所述外部设备之间的通信链路的通信带宽、以及处理器负荷,所述处理器负荷包括所述电子设备的处理器负荷和所述外部设备的处理器负荷中的至少一种;和
    在所述通信带宽以及所述处理器负荷满足第二预设条件时,将所述内部存储介质和/或所述第一外部存储介质中的所述数据同步到所述第二外部存储介质中。
  58. 根据权利要求40所述的可移动平台,其特征在于,当所述目标存储介质为所述第二外部存储介质,且所述同步介质为所述内部存储介质和/或所述第一外部存储介质时,当所述程序代码被执行时,所述执行器用于执行以下操作:
    获取所述可移动平台与所述外部设备之间的通信链路的通信带宽、以及处理器负荷,所述处理器负荷包括所述电子设备的处理器负荷和所述外部设备的处理器负荷中的至少一种;和
    在所述通信带宽以及所述处理器负荷满足第二预设条件时,将所述第二外部存储介质 中的所述数据同步到所述内部存储介质和/或所述第一外部存储介质中。
  59. 根据权利要求38所述的可移动平台,其特征在于,所述数据以第一文件的形式存储在所述目标存储介质中,当所述程序代码被执行时,所述执行器还用于执行以下操作:
    检测所述目标同步介质中是否存在与所述第一文件同名的文件;
    在所述目标同步介质中不存在与所述第一文件同名的文件时,所述数据以所述第一文件的形式存储在所述目标同步介质中;
    在所述目标同步介质中存在与所述第一文件同名的文件时,所述数据以第二文件的形式存储在所述目标同步介质中。
  60. 根据权利要求59所述的可移动平台,其特征在于,所述第一文件的名称与所述第二文件的名称不同。
  61. 根据权利要求59所述的可移动平台,其特征在于,在所述目标同步介质中存在与所述第一文件同名的文件时,所述目标同步介质包括至少两个存储目录,所述第一文件同名的文件和所述第二文件存储在不同的存储目录下。
  62. 根据权利要求38所述的可移动平台,其特征在于,当所述程序代码被执行时,所述执行器还用于执行以下操作:
    获取目标汇总存储介质,所述目标汇总存储介质为所述内部存储介质、所述第一外部存储介质、所述第二外部存储介质中的至少一种;和
    将目标汇总数据同步到所述目标汇总存储介质中,其中,所述目标汇总数据包括存储在所述目标存储介质中的数据和同步到所述目标同步介质中的数据。
  63. 根据权利要求38所述的可移动平台,其特征在于,当所述程序代码被执行时,所述执行器还用于执行以下操作:
    根据用户输入确定目标存储介质。
  64. 根据权利要求38所述的可移动平台,其特征在于,当所述程序代码被执行时,所述执行器还用于执行以下操作:
    根据预先设置确定目标存储介质。
  65. 根据权利要求40所述的可移动平台,其特征在于,当所述目标存储介质为所述第二外部存储介质时,当所述程序代码被执行时,所述执行器还用于执行以下操作:
    获取所述可移动平台与所述外部设备之间的通信链路的通信带宽;和
    在所述通信带宽满足第三预设条件时将所述数据传输到所述第二外部存储介质中。
  66. 根据权利要求65所述的可移动平台,其特征在于,所述目标存储介质还包括内部存储介质和/或第一外部存储介质,在所述通信带宽不满足所述第三预设条件时,将所述数据的全部或部分缓存到所述内部存储介质和/或所述第一外部存储介质中。
  67. 根据权利要求65所述的可移动平台,其特征在于,当所述程序代码被执行时,所述执行器还用于执行以下操作:
    在所述通信带宽满足所述第三预设条件时,将所述缓存到所述内部存储介质和/或所述第一外部存储介质中的所述数据的全部或部分传输到所述第二外部存储介质中。
  68. 根据权利要求38所述的可移动平台,其特征在于,在所述数据为视频时,当所述程序代码被执行时,所述执行器还用于执行以下操作:
    确定所述视频的目标分辨率并存储所述目标分辨率的视频,所述目标分辨率为多种所述预设分辨率中的至少一种。
  69. 根据权利要求68所述的可移动平台,其特征在于,在同时存储多种所述预设分辨率的视频时,当所述程序代码被执行时,所述执行器还用于执行以下操作:
    根据用户输入确定同步到所述目标同步介质中的所述视频的分辨率;
    所述根据所述同步策略将所述数据同步到所述目标同步介质中包括:
    将所述目标分辨率的视频同步到所述目标同步介质中。
  70. 根据权利要求68所述的可移动平台,其特征在于,在同时存储多种所述预设分辨率的视频时,当所述程序代码被执行时,所述执行器还用于执行以下操作:
    获取所述可移动平台与外部设备之间的通信链路的通信带宽;和
    根据所述通信带宽确定同步到所述目标同步介质中的视频的目标分辨率;
    所述根据所述同步策略将所述数据同步到所述目标同步介质中包括:
    将所述目标分辨率的视频同步到所述目标同步介质中。
  71. 根据权利要求68所述的可移动平台,其特征在于,当所述程序代码被执行时,所述执行器还用于执行以下操作:
    对所述数据进行后处理。
  72. 根据权利要求71所述的可移动平台,其特征在于,所述后处理包括回放、编辑、分享、备份中的至少一种。
  73. 根据权利要求40所述的可移动平台,其特征在于,所述可移动平台与所述外部设备通过有线方式连接。
  74. 根据权利要求40所述的可移动平台,其特征在于,所述可移动平台与所述外部设备通过无线方式连接。
  75. 一种数据的同步系统,其特征在于,包括:
    权利要求38至74任意一项所述的可移动平台;和
    外部设备,所述外部设备与所述可移动平台连接。
  76. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程 序可被处理器执行以完成权利要求1至37中任意一项所述的数据的同步方法。
PCT/CN2018/102314 2018-08-24 2018-08-24 数据的同步方法及系统、可移动平台和可读存储介质 WO2020037672A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201880038819.3A CN110809874A (zh) 2018-08-24 2018-08-24 数据的同步方法及系统、可移动平台和可读存储介质
PCT/CN2018/102314 WO2020037672A1 (zh) 2018-08-24 2018-08-24 数据的同步方法及系统、可移动平台和可读存储介质
US17/182,181 US20210176314A1 (en) 2018-08-24 2021-02-22 Method and system for synchronizing data, movable platform, and readable-storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/102314 WO2020037672A1 (zh) 2018-08-24 2018-08-24 数据的同步方法及系统、可移动平台和可读存储介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/182,181 Continuation US20210176314A1 (en) 2018-08-24 2021-02-22 Method and system for synchronizing data, movable platform, and readable-storage medium

Publications (1)

Publication Number Publication Date
WO2020037672A1 true WO2020037672A1 (zh) 2020-02-27

Family

ID=69487888

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/102314 WO2020037672A1 (zh) 2018-08-24 2018-08-24 数据的同步方法及系统、可移动平台和可读存储介质

Country Status (3)

Country Link
US (1) US20210176314A1 (zh)
CN (1) CN110809874A (zh)
WO (1) WO2020037672A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113452974A (zh) * 2020-03-24 2021-09-28 精工爱普生株式会社 显示装置的控制方法、信息处理装置以及显示系统

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113194122B (zh) * 2021-04-15 2023-10-31 厦门亿联网络技术股份有限公司 一种会议录制文件的网盘调度同步方法及系统
CN113268205B (zh) * 2021-05-28 2023-02-03 海信集团控股股份有限公司 一种车载数据存储方法、装置及车载电子设备
CN113504907A (zh) * 2021-07-06 2021-10-15 上海商汤智能科技有限公司 课程定制方法及装置、电子设备和存储介质
CN115827774A (zh) * 2022-10-24 2023-03-21 超聚变数字技术有限公司 数据同步方法及计算设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022612A (zh) * 2006-02-16 2007-08-22 杭州波导软件有限公司 一种移动终端的用户信息数据备份方法
CN101282540A (zh) * 2008-04-30 2008-10-08 飞图科技(北京)有限公司 一种用存储卡备份和恢复手机中信息的方法
CN105681720A (zh) * 2016-03-18 2016-06-15 青岛海信电器股份有限公司 视频播放的处理方法及装置

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8762667B2 (en) * 2010-02-01 2014-06-24 International Business Machines Corporation Optimization of data migration between storage mediums
CN103838681B (zh) * 2012-11-27 2017-10-27 北京联想核芯科技有限公司 存储装置和数据文件存取方法
CN104657084B (zh) * 2013-11-25 2018-08-31 联想(北京)有限公司 一种信息处理的方法及电子设备
US10061532B2 (en) * 2014-01-30 2018-08-28 Hewlett Packard Enterprise Development Lp Migrating data between memories
US20160092115A1 (en) * 2014-09-29 2016-03-31 Hewlett-Packard Development Company, L. P. Implementing storage policies regarding use of memory regions
CN107077514B (zh) * 2016-05-23 2021-05-25 深圳市大疆创新科技有限公司 一种数据存储的方法及设备
CN108089814B (zh) * 2016-11-23 2021-04-06 中移(苏州)软件技术有限公司 一种数据存储方法及装置
US10241834B2 (en) * 2016-11-29 2019-03-26 International Business Machines Corporation Bandwidth aware resource optimization
CN107678884A (zh) * 2017-09-27 2018-02-09 维沃移动通信有限公司 一种数据传输方法、移动终端及计算机可读存储介质

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022612A (zh) * 2006-02-16 2007-08-22 杭州波导软件有限公司 一种移动终端的用户信息数据备份方法
CN101282540A (zh) * 2008-04-30 2008-10-08 飞图科技(北京)有限公司 一种用存储卡备份和恢复手机中信息的方法
CN105681720A (zh) * 2016-03-18 2016-06-15 青岛海信电器股份有限公司 视频播放的处理方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113452974A (zh) * 2020-03-24 2021-09-28 精工爱普生株式会社 显示装置的控制方法、信息处理装置以及显示系统

Also Published As

Publication number Publication date
CN110809874A (zh) 2020-02-18
US20210176314A1 (en) 2021-06-10

Similar Documents

Publication Publication Date Title
WO2020037672A1 (zh) 数据的同步方法及系统、可移动平台和可读存储介质
KR102445699B1 (ko) 전자 장치 및 그의 동작 방법
US10523839B2 (en) Context and content based automated image and media sharing
JP5890692B2 (ja) 撮像装置、制御方法及びプログラム
US8634774B2 (en) Communication device and control method thereof
US11647132B2 (en) Communication terminal, method for controlling communication terminal, communication system, and storage medium
US20160065887A1 (en) Communication apparatus communicable with external apparatus, control method of communication apparatus, and storage medium
JP5743579B2 (ja) 撮像装置、その制御方法、プログラム
US10659625B2 (en) Imaging device and image transfer method
JP6433265B2 (ja) 情報処理装置、電子機器およびそれらの制御方法、プログラム並びに記憶媒体
US11372808B2 (en) Data recording transmission device, data recording transmission method, and data recording transmission program
JP7218164B2 (ja) 通信装置およびその制御方法
US20160173645A1 (en) Image processing apparatus and control method thereof, and system
CN114095660A (zh) 图像显示方法、装置、存储介质及电子设备
US10313625B2 (en) Method, apparatus, and storage medium for video file processing
JP2018006997A (ja) 通信装置およびその制御方法、システム、プログラム並びに記憶媒体
US20130311728A1 (en) Communication apparatus, method for controlling the same, and recording medium
JP2016225823A (ja) 表示システム、情報端末、表示装置、再生制御プログラム及び再生制御方法
CN106470314B (zh) 服务器装置、信息处理系统、终端装置和信息处理方法
JP6655895B2 (ja) 撮像装置およびその制御方法、プログラムならびにシステム
JP6355392B2 (ja) 記録装置およびその制御方法、並びに記憶媒体
KR102166331B1 (ko) 촬영 후 빠른 재생을 구현하는 단말기 및 방법
US20150116521A1 (en) Wireless control systems for cameras, cameras which are wirelessly controlled by control devices, and operational methods thereof
JP2024049938A (ja) 電子機器及びその制御方法及びプログラム
WO2019244732A1 (ja) 通信装置、通信装置の制御方法、プログラム

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: 18930989

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18930989

Country of ref document: EP

Kind code of ref document: A1