WO2022095712A1 - 数据分享方法、装置、系统及电子设备 - Google Patents

数据分享方法、装置、系统及电子设备 Download PDF

Info

Publication number
WO2022095712A1
WO2022095712A1 PCT/CN2021/125324 CN2021125324W WO2022095712A1 WO 2022095712 A1 WO2022095712 A1 WO 2022095712A1 CN 2021125324 W CN2021125324 W CN 2021125324W WO 2022095712 A1 WO2022095712 A1 WO 2022095712A1
Authority
WO
WIPO (PCT)
Prior art keywords
data sharing
cloud
data
group
cloud account
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2021/125324
Other languages
English (en)
French (fr)
Inventor
相超
徐超
彭武平
刘文慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to EP21888409.6A priority Critical patent/EP4224830B1/en
Publication of WO2022095712A1 publication Critical patent/WO2022095712A1/zh
Priority to US18/143,212 priority patent/US11997158B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • H04L43/106Active monitoring, e.g. heartbeat, ping or trace-route using time related information in packets, e.g. by adding timestamps
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/724098Interfacing with an on-board device of a vehicle
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications

Definitions

  • the present application relates to the technical field of data communication, and in particular, to a data sharing method, apparatus, system and electronic device.
  • each user can have multiple devices.
  • users can share data through their respective devices, such as sharing pictures, videos, files, and so on.
  • user A and user B share data
  • user A needs to share pictures in his mobile phone with user B
  • user A needs to first establish a connection between his mobile phone and the device used by user B
  • user A sends the pictures in his mobile phone to the device used by user B to complete the data sharing
  • user A needs to share the video in his computer to user B
  • user A needs to share his computer with user B first.
  • the embodiments of the present application provide a data sharing method, apparatus, system, and electronic device, which can realize data sharing between cloud accounts, so that different devices belonging to a cloud account can share their respective data in a specific scenario. Automatic sharing to devices belonging to another cloud account simplifies the data sharing process and improves the intelligence of data sharing.
  • an embodiment of the present application provides a data sharing method, which is applied to a system including a first device group, a second device group, and a cloud device, wherein the first device group and the second device group each include at least one device, The devices in the first device group are logged in with the first cloud account, the devices in the second device group are logged in with the second cloud account, and the cloud device stores the data sharing policy of the first cloud account, and the first cloud account and the second cloud account.
  • the association relationship between Eryun accounts, the methods include:
  • At least one device in the first device group sends first state information of at least one device in the first device group to the cloud device;
  • the cloud device determines a target device according to the first state information and the data sharing policy, and the target device is one of the at least one device in the first device group;
  • the cloud device In response to determining the target device, the cloud device sends a first message to the target device, where the first message is used to instruct the target device to share data;
  • the target device In response to receiving the first message, the target device sends first data to at least one device in the second device group, where the first data is associated with the data sharing policy of the first cloud account.
  • the first device group includes a first device and a second device
  • the data sharing strategy includes a correspondence between the first device and the first sharing strategy, and a correspondence between the second device and the second sharing strategy
  • the first sharing strategy includes the first sharing object, the first data sharing type and the first data sharing condition
  • the second sharing strategy includes the first sharing object, the second data sharing type and the second data sharing condition, the first sharing object and the Linking two cloud accounts. This shows what the data sharing strategy includes.
  • the first data is associated with the data sharing policy of the first cloud account, specifically: the first data is all or part of the data included with the first data sharing type.
  • the data sharing type includes: one or more of a data type, a file type and a multimedia type; the data sharing condition includes one of a data sharing scenario, a data sharing priority and a data sharing time Or more, the data sharing scenarios include one or more of sports scenarios, entertainment scenarios and driving scenarios. Thereby, the type of data sharing, the conditions for data sharing and the specific form of the data sharing scenario are determined.
  • the first data sharing condition and the second data sharing condition are data sharing scenarios
  • the data sharing scenario corresponding to the first data sharing condition is a driving scenario
  • the data sharing scenario corresponding to the second data sharing condition is entertainment scene
  • At least one device in the first device group sends first status information of at least one device in the first device group to the cloud device, specifically:
  • the first device sends first state information of the first device to the cloud device, where the first state information of the first device includes speed information and an identifier of the first device;
  • the second device sends the first state information of the second device to the cloud device, and the first state information of the second device is the screen brightness information and the identifier of the second device;
  • the cloud device determines the target device according to the first state information and the data sharing policy, specifically:
  • the process of determining the target device is presented in a specific scenario.
  • the first data sharing condition and the second data sharing condition are data sharing time
  • the data sharing time corresponding to the first data sharing condition is the first time period
  • the second data sharing condition corresponding to The data sharing time is the second time period
  • At least one device in the first device group sends first status information of at least one device in the first device group to the cloud device, specifically:
  • the first device sends first state information of the first device to the cloud device, where the first state information of the first device includes first operation information and an identifier of the first device, and the first operation information is used to indicate whether the first device is in an operation state ;
  • the second device sends the first state information of the second device to the cloud device, the first state information of the second device includes the second operation information and the identifier of the second device, and the second operation information is used to indicate whether the second device is in the running state ;
  • the cloud device determines the target device according to the first state information and the data sharing policy, specifically:
  • the second device is determined as the target device.
  • the process of determining the target device is presented in a specific scenario.
  • the first device is a vehicle
  • the first operation information includes speed information and/or start-stop information of the vehicle
  • the second device is an electronic device with a screen, and the second operation information includes screen brightness information and/or power-on/off information of the electronic device. From this, the specific content of the operation information will be described.
  • the data sharing condition further includes a data sharing priority, and the priority of the first device is higher than that of the second device;
  • the cloud device determines the target device according to the first state information and the data sharing policy, specifically:
  • the first device is determined as the target device.
  • the process of determining the target device is presented in a specific scenario.
  • the data sharing strategy further includes a data sharing period. Thereby, periodic data sharing is achieved.
  • the first device group further includes a third device, and the third device is used for:
  • the first interface displays the identifier of at least one device in the first device group, and the first operation corresponds to the at least one device in the first device group. the identification of the first device in the identification;
  • the third device In response to the detected first operation, the third device displays a first setting interface, the first device interface is used to set the third data sharing policy of the fourth device in the first device group, and the first setting interface includes a first control;
  • the second setting interface is used to set the third data sharing condition in the third data sharing strategy, and the second interface includes a second control;
  • a third control is displayed on the second setting interface, and the third control is used to select a third data sharing condition.
  • the third device is further configured to: send the third data sharing policy to the cloud device;
  • the cloud device In response to receiving the third data sharing policy, the cloud device stores the third data sharing policy of the first cloud account. Thus, the cloud device storage data sharing strategy is implemented.
  • the method further includes:
  • At least one device in the first device group establishes an association relationship between the first cloud account and the second cloud account;
  • At least one device in the first device group sends the association relationship between the first cloud account and the second cloud account to the cloud device;
  • the cloud device In response to receiving the association relationship between the first cloud account and the second cloud account, the cloud device stores the association relationship between the first cloud account and the second cloud account. In this way, the association between the first cloud account and the second cloud account is stored in the cloud device.
  • the method further includes:
  • At least one device in the first device group sends a first request to the cloud device, where the first request is used to request the cloud device to establish an association relationship between the first cloud account and the second cloud account,
  • the first request carries the first cloud account and the second cloud account;
  • the cloud device In response to receiving the first request, the cloud device establishes an association relationship between the first cloud account and the second cloud account. In this way, the association between the first cloud account and the second cloud account is stored in the cloud device.
  • the method before the cloud device sends the first message to the target device, the method further includes:
  • the cloud device determines that the fifth device is online according to the second state information of at least one device in the second device group, and at least one device in the second device group includes the fifth device;
  • the cloud device sends a first message to the target device, specifically:
  • the cloud device sends a first message to the target device, where the first message carries the identifier of the fifth device;
  • the target device In response to receiving the first message, the target device sends first data to at least one device in the second device group, specifically:
  • the target device In response to receiving the first message, the target device sends the first data to the fifth device.
  • the method before the cloud device determines that the fifth device is online according to the second state information of at least one device in the second device group, the method further includes:
  • the fifth device sends the second state information of the fifth device to the cloud device, where the second state information of the fifth device is used to indicate that the fifth device is online.
  • the cloud device determines that the fifth device is online.
  • the target device in response to receiving the first message, sends the first data to at least one device in the second device group, specifically:
  • the target device In response to receiving the first message, the target device sends the first data to the cloud device;
  • the cloud device In response to receiving the first data, the cloud device sends the first data to at least one device in the second device group.
  • the first data is forwarded through the cloud device.
  • an embodiment of the present application provides a data sharing method, which is applied to a system including a first device group and a second device group, where both the first device group and the second device group include at least one device, and the first device group
  • the first cloud account is logged on the device in the second device group
  • the second cloud account is logged on the device in the second device group
  • at least one device in the first device group includes the first device
  • the first device stores the first cloud account.
  • the data sharing strategy, and the association relationship between the first cloud account and the second cloud account include:
  • the first device receives first state information of at least one device in the first device group
  • the first device determines, based on the first state information of at least one device in the first device group, that the first device satisfies the data sharing policy;
  • the first device In response to determining that the first device satisfies the data sharing policy, the first device sends first data to at least one device in the second device group, where the first data is associated with the data sharing policy of the first cloud account;
  • At least one device in the second device group receives the first data
  • the first device determines, based on the first state information of at least one device in the first device group, that the second device satisfies the data sharing policy, and the second device is a device other than the first device in the first device group;
  • the first device In response to determining that the second device satisfies the data sharing policy, the first device sends a first message to the second device, where the first message is used to instruct the second device to share data;
  • the second device In response to receiving the first message, the second device sends first data to at least one device in the second device group, where the first data is associated with the data sharing policy of the first cloud account;
  • At least one device in the second device group receives the first data.
  • the method before the first device sends the first data to at least one device in the second device group, the method further includes:
  • the first device determines that the fifth device is online according to the second state information of at least one device in the second device group, and at least one device in the second device group includes the fifth device;
  • the first device sends the first data to at least one device in the second device group, specifically:
  • the first device sends the first data to the fifth device
  • the method further includes:
  • the first device determines that the fifth device is online according to the second state information of at least one device in the second device group, and at least one device in the second device group includes the fifth device;
  • the first device sends the first message to the second device, specifically: the first message carries the identifier of the fifth device;
  • the second device sends the first data to at least one device in the second device group, specifically, the second device sends the first data to the fifth device.
  • the method before the first device determines that the fifth device is online according to the second state information of at least one device in the second device group, the method further includes:
  • the fifth device sends the second state information of the fifth device to the first device, where the second state information of the fifth device is used to indicate that the fifth device is online.
  • an embodiment of the present application provides a data sharing method, which is applied to a cloud device, where the cloud device stores a data sharing policy between a first cloud account and a second cloud account, and the first cloud account and the second cloud account.
  • the association between accounts, the first cloud account is logged on the device in the first device group, the second cloud account is logged on the device in the second device group, the first device group and the second device group both contain at least one equipment;
  • Methods include:
  • a first message is sent to the target device, where the first message is used to instruct the target device to share data, wherein the data shared by the target device is associated with the data sharing policy of the first cloud account.
  • the first device group includes a first device and a second device
  • the data sharing strategy includes a correspondence between the first device and the first sharing strategy, and a correspondence between the second device and the second sharing strategy
  • the first sharing strategy includes the first sharing object, the first data sharing type and the first data sharing condition
  • the second sharing strategy includes the first sharing object, the second data sharing type and the second data sharing condition, the first sharing object and the Linking two cloud accounts.
  • the data shared by the target device is associated with the data sharing policy of the first cloud account, specifically: the data shared by the target device is all or part of the data included with the first data sharing type.
  • the data sharing type includes: one or more of a data type, a file type and a multimedia type; the data sharing condition includes one of a data sharing scenario, a data sharing priority and a data sharing time Or more, the data sharing scenarios include one or more of sports scenarios, entertainment scenarios and driving scenarios.
  • the first data sharing condition and the second data sharing condition are data sharing scenarios
  • the data sharing scenario corresponding to the first data sharing condition is a driving scenario
  • the data sharing scenario corresponding to the second data sharing condition is entertainment scene
  • Receiving the first state information of at least one device in the first device group is specifically:
  • the first state information of the first device includes speed information and the identifier of the first device, and the first state information of the second device is the screen Brightness information and the identification of the second device;
  • the target device is determined according to the first state information and the data sharing strategy, which specifically includes:
  • the speed of the first device is higher than the preset speed threshold, determine that the first device satisfies the driving scenario, and determine that the first device is the target device, and/or, if the screen brightness of the second device is higher than the preset brightness threshold, then It is determined that the second device satisfies the entertainment scenario, and the second device is determined to be the target device.
  • the first data sharing condition and the second data sharing condition are data sharing time
  • the data sharing time corresponding to the first data sharing condition is the first time period
  • the second data sharing condition corresponding to The data sharing time is the second time period
  • Receiving the first state information of at least one device in the first device group is specifically:
  • the first state information of the first device includes the first operation information and the identifier of the first device, and the first operation information is used to indicate the first state information.
  • the first state information of the second device includes the second running information and the identifier of the second device, and the second running information is used to indicate whether the second device is in the running state;
  • the target device is determined according to the first state information and the data sharing strategy, which specifically includes:
  • the second device is determined as the target device.
  • the first device is a vehicle
  • the first operation information includes speed information and/or start-stop information of the vehicle
  • the second device is an electronic device with a screen, and the second operation information includes screen brightness information and/or power-on/off information of the electronic device.
  • the data sharing condition further includes a data sharing priority, and the priority of the first device is higher than that of the second device;
  • the first device is determined as the target device.
  • the data sharing strategy further includes a data sharing period.
  • the method further includes:
  • the data sharing policy of the first cloud account set by the user and sent by at least one device in the first device group is received.
  • the method further includes:
  • the association relationship between the first cloud account and the second cloud account sent by at least one device in the first device group is received, and the association relationship between the first cloud account and the second cloud account is stored.
  • the method further includes:
  • an association relationship between the first cloud account and the second cloud account is established.
  • the method before sending the first message to the target device, the method further includes:
  • a first message is sent to the target device, where the first message carries the identifier of the fifth device, and the first message is used to instruct the target device to send data to the fifth device.
  • the method before determining that the fifth device is online according to the second state information of at least one device in the second device group, the method further includes:
  • the second state information of the fifth device sent by the fifth device is received, where the second state information of the fifth device is used to indicate that the fifth device is online.
  • the method further includes:
  • the shared data sent by the target device is received, and the shared data is sent to at least one device in the second device group.
  • an embodiment of the present application provides a data sharing method, which is applied to a first device, where the first device is a device in a first device group, the first device group includes at least one device, and the first device group includes at least one device.
  • Log in with the first cloud account on the device, and the methods include:
  • the cloud device stores the data sharing policy between the first cloud account and the second cloud account, and the association relationship between the first cloud account and the second cloud account, and the devices in the second device group are logged in with the second cloud account.
  • the data sharing strategy includes a correspondence between the first device and the first sharing strategy, the first sharing strategy includes a first sharing object, a first data sharing type, and a first data sharing condition, and the first sharing The object is associated with the second cloud account.
  • the first data is associated with the data sharing policy of the first cloud account, specifically: the first data is all or part of the data included with the first data sharing type.
  • the data sharing types include: one or more of data types, file types, and multimedia types; the first data sharing conditions include data sharing scenarios, data sharing priorities, and data sharing time among One or more, the data sharing scenarios include one or more of sports scenarios, entertainment scenarios and driving scenarios.
  • the data sharing strategy further includes a data sharing period.
  • the method further includes:
  • the first interface displays the identifier of at least one device in the first device group, and the first operation corresponds to the at least one device in the first device group. the identification of the first device in the identification;
  • a third control is displayed on the second setting interface, and the third control is used to select the second data sharing condition.
  • the method further includes:
  • the method further includes:
  • an association relationship between the first cloud account and the second cloud account is established, and the association relationship between the first cloud account and the second cloud account is sent to the cloud device.
  • the method further includes:
  • a first request is sent to the cloud device, the first request is used to request the cloud device to establish an association relationship between the first cloud account and the second cloud account, and the first request carries the first cloud account and the second cloud account.
  • sending the first data to at least one device in the second device group includes:
  • the method before receiving the first message sent by the cloud device, the method further includes:
  • the first state information is sent to the cloud device, so that the cloud device determines the first device from the first device group according to the first state information and the data sharing policy.
  • an embodiment of the present application provides a data sharing method, which is applied to a first device, where the first device is a device in a first device group, the first device group includes at least one device, and the first device group includes at least one device.
  • the first cloud account is logged on the device, the data sharing policy of the first cloud account and the association between the first cloud account and the second cloud account are stored in the first device, and the second cloud account is logged in the second device group , the second device group includes at least one device;
  • Methods include:
  • the second device satisfies the data sharing policy, and the second device is a device other than the first device in the first device group;
  • a first message is sent to the second device, where the first message is used to instruct the second device to share data.
  • the method before sending the first data to at least one device in the second device group, the method further includes:
  • the second state information of at least one device in the second device group it is determined that the fifth device is online, and the at least one device in the second device group includes the fifth device;
  • the method further includes:
  • the second state information of at least one device in the second device group it is determined that the fifth device is online, and the at least one device in the second device group includes the fifth device;
  • Sending the first message to the second device specifically includes: the first message carries the identifier of the fifth device.
  • the method before determining that the fifth device is online according to the second state information of at least one device in the second device group, the method further includes:
  • the second state information of the fifth device sent by the fifth device is received, where the second state information of the fifth device is used to indicate that the fifth device is online.
  • an embodiment of the present application provides a data sharing system.
  • the system includes a system of a first device group, a second device group, and a cloud device. Both the first device group and the second device group include at least one device.
  • the devices in the device group are logged in with the first cloud account
  • the devices in the second device group are logged in with the second cloud account
  • the cloud device stores the data sharing policy of the first cloud account, as well as the first cloud account and the second cloud account.
  • an embodiment of the present application provides a data sharing apparatus for executing the method provided in the third, fourth or fifth aspect.
  • an embodiment of the present application provides a data sharing device, characterized in that it includes:
  • a processor for executing the program stored in the memory when the program stored in the memory is executed, the processor is configured to execute the method as provided in the third, fourth or fifth aspect.
  • an embodiment of the present application provides an electronic device, characterized in that it includes the apparatus provided in the seventh aspect or the eighth aspect.
  • the embodiments of the present application provide a computer storage medium, where instructions are stored in the computer storage medium, and when the instructions are executed on the computer, the computer is made to execute the method provided in the third, fourth or fifth aspects.
  • an embodiment of the present application provides a chip, including at least one processor and an interface;
  • At least one processor is configured to execute program line instructions to implement a method as provided in the third, fourth or fifth aspect.
  • FIG. 1 is a schematic diagram of a system architecture for data sharing provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a hardware structure of a terminal provided by an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a cloud device provided by an embodiment of the present application.
  • 4a is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 4b is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • 4c is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 4d is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 4e is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 5 is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • 6a is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • 6b is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 6c is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 6d is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 6e is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 7a is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 7b is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 7c is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 7d is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 7e is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 7f is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 7g is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 7i is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 7j is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 7k is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • 71 is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 7m is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 8 is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 9a is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 9b is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 9c is a schematic interface diagram of a terminal provided by an embodiment of the present application.
  • FIG. 10 is a schematic interface diagram of a smart TV provided by an embodiment of the present application.
  • FIGS. 11a and 11b together form a schematic diagram of a data sharing scenario
  • Figures 12a and 12b together form a schematic diagram of a data sharing scenario
  • FIG. 13 is a schematic flowchart of a data sharing method provided by an embodiment of the present application.
  • FIG. 14 is a schematic diagram of a step of sending first data to at least one device in a second device group by a target device according to an embodiment of the present application;
  • 15 is a schematic flowchart of a method for setting a data sharing policy of a first cloud account provided by an embodiment of the present application
  • 16 is a schematic flowchart of a method for establishing an association relationship between a first cloud account and a second cloud account provided in an embodiment of the present application;
  • 17 is a schematic flowchart of another method for establishing an association relationship between a first cloud account and a second cloud account provided in an embodiment of the present application;
  • FIG. 18 is a schematic diagram of another system architecture for data sharing provided by an embodiment of the present application.
  • 21 is a schematic flowchart of another data sharing method provided by an embodiment of the present application.
  • 22 is a schematic flowchart of another data sharing method provided by an embodiment of the present application.
  • FIG. 25 is a schematic structural diagram of a data sharing apparatus provided by an embodiment of the present application.
  • FIG. 26 is a schematic structural diagram of a chip provided by an embodiment of the present application.
  • words such as “exemplary”, “such as” or “for example” are used to mean serving as an example, illustration or illustration. Any embodiments or designs described in the embodiments of the present application as “exemplary,” “such as,” or “by way of example” should not be construed as preferred or advantageous over other embodiments or designs. Rather, use of words such as “exemplary,” “such as,” or “for example,” is intended to present the related concepts in a specific manner.
  • the term "and/or" is only an association relationship for describing associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate: A alone exists, A alone exists There is B, and there are three cases of A and B at the same time.
  • the term "plurality" means two or more.
  • multiple systems refer to two or more systems
  • multiple screen terminals refer to two or more screen terminals.
  • first and second are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implying the indicated technical features. Thus, a feature defined as “first” or “second” may expressly or implicitly include one or more of that feature.
  • the terms “including”, “including”, “having” and their variants mean “including but not limited to” unless specifically emphasized otherwise.
  • FIG. 1 shows a schematic diagram of a system architecture for data sharing.
  • the system includes multiple terminals, such as terminals 11, 12, 13, 14, and 15, and a cloud device 16;
  • User A can use cloud account a to associate terminals 11 , 12 , and 13
  • user B can use cloud account b to associate terminals 14 and 15 .
  • terminals 11, 12, and 13 are all Huawei devices
  • user A can log in to his registered Huawei account on terminals 11, 12, and 13 at the same time.
  • user A can log in to one account on multiple terminals at the same time.
  • Data can be unidirectionally or bidirectionally transmitted between the terminals corresponding to user A (i.e. terminals 11, 12, 13) and the terminals corresponding to user B (i.e.
  • terminals 14, 15 for example, pictures in terminal 11 can be transmitted to terminal 14 , the pictures in the terminal 14 can also be transmitted to the terminal 11 and so on.
  • a client corresponding to the cloud account is installed in the terminal, and/or the terminal has a web page for logging in to the cloud account, and the like.
  • the client can be an operating system in the terminal, such as Hongmeng OS (huawei HarmonyOS, HongmengOS), ios (iPhone Operation System), etc., or a third-party cloud application in the terminal, such as Google Cloud, Amazon Cloud, etc.; cloud accounts are It can be a HUAWEI CLOUD account, an Apple CLOUD account, a Google CLOUD account, an Amazon CLOUD account, etc.
  • the cloud device 16 may associate the cloud account a of user A with the cloud account b of user B. In this way, when user A logs in to his registered cloud account a on at least one of the terminals 11, 12 and 13, and user B logs in to his registered cloud account b on at least one of the terminals 14 and 15, the cloud account a is used.
  • the association relationship with the cloud account b establishes the association relationship between the terminals 11 , 12 , and 13 and the terminals 14 and 15 .
  • a distributed network is formed between the terminals corresponding to user A and user B through the cloud device 16 .
  • the data in the terminal corresponding to the user A is transmitted to the cloud device 16 through the client or the webpage logged in by the cloud account a.
  • the cloud device 16 shares the received data to the client or web page logged in by the cloud account b.
  • user B uses any one of the terminals 14 and 15, the data transmitted by the cloud device 16 can be received, thereby realizing data sharing between user A and user B.
  • the terminal may be an electronic device such as a mobile phone, a tablet computer, a digital camera, a personal digital assistant (PDA), a wearable device, a smart TV, and a Huawei smart screen.
  • electronic devices include, but are not limited to, electronic devices equipped with iOS, android, Windows, Harmony OS, or other operating systems.
  • the electronic device described above may also be other electronic devices, such as a laptop or the like having a touch-sensitive surface (eg, a touch panel).
  • the embodiment of the present application does not specifically limit the type of the electronic device.
  • the terminal may be connected to the cloud device 16 through a wired network (Wired network) or a wireless network (wireless network).
  • the network may be a local area network (LAN) or a wide area network (WAN) (eg, the Internet).
  • the network between the terminal and the cloud device 16 can be implemented using any known network communication protocol, and the above-mentioned network communication protocol can be various wired or wireless communication protocols, such as Ethernet, universal serial bus (universal serial bus, USB), FireWire, Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), New Radio (NR) ), Bluetooth (bluetooth), wireless fidelity (wireless fidelity, Wi-Fi) and other communication protocols.
  • GSM Global System for Mobile Communications
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Broadband Code Division Multiple Access
  • the cloud device 16 can be used to provide cloud services, which can be a server or a hyper terminal that can establish a communication connection with the terminal and provide the terminal with data processing functions, computing functions and/or storage functions.
  • the cloud device 16 may be a hardware server, or may be embedded in a virtualized environment.
  • the cloud device 16 may be a virtual machine executed on a hardware server including one or more other virtual machines.
  • the cloud device 16 can interact with the terminal through the network, for example, receive data from the terminal 11 and send data to the terminal 14 .
  • the terminal may send its own device status information to the cloud device 16 in real time or at preset time intervals.
  • the device state information includes the identity of the terminal, information about the environment where the terminal is located, time information, location information, and the like.
  • the terminal may first send the device status information to the client terminal corresponding to the cloud account on the terminal, and then upload the information to the cloud device 16 by the client terminal.
  • the cloud device 16 may determine a terminal that currently needs to perform data sharing from a plurality of terminals based on a preset data sharing policy and device status information of the terminal.
  • the terminal includes terminals 11, 12, and 13, and the preset sharing policy is "data sharing starts when the terminal is in driving mode, and the priorities of terminals 11, 12, and 13 decrease in sequence.”
  • the device status information of 12 indicates that both are in the driving mode, and the device status information of the terminal 13 indicates that it is in the flight mode, then the cloud device 16 can filter out the terminals 11 and 12 as the terminals that need to share data; further, because the terminals The priority of 11 is higher than the priority of terminal 12. Therefore, the cloud device 16 can determine that terminal 11 is a terminal that needs to share data.
  • the cloud device 16 may feed back the determined information of the terminal that needs to perform data sharing to the client corresponding to the cloud account. Afterwards, the client to be shared can acquire the data in the terminal that needs to share the data, and upload the acquired data to the cloud device 16 . After that, the cloud device 16 sends the received data to the client corresponding to the associated cloud account.
  • the cloud device 16 when forwarding data, can determine the status information of the terminal where the client corresponding to the corresponding associated cloud account is located, and the status information can represent whether the corresponding terminal is in a running state. When the corresponding terminal is in the running state, the cloud device 16 then forwards the data to the corresponding terminal.
  • the terminal where the client corresponding to the corresponding associated cloud account is located may periodically send its status information to the cloud device 16, so that the cloud device 16 can obtain their status information in time.
  • the terminal is a terminal corresponding to user A and/or a terminal corresponding to user B.
  • FIG. 2 shows a schematic diagram of the hardware structure of the terminal.
  • the terminal 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, Antenna 1, Antenna 2, Mobile Communication Module 150, Wireless Communication Module 160, Audio Module 170, Speaker 170A, Receiver 170B, Microphone 170C, Headphone Interface 170D, Sensor Module 180, Key 190, Motor 191, Indicator 192, Camera 193, Display screen 194, and subscriber identification module (subscriber identification module, SIM) card interface 195 and so on.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light Sensor 180L, bone conduction sensor 180M, etc.
  • the terminal 100 may include more or less components than shown, or some components may be combined, or some components may be separated, or different component arrangements.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem (modem), a graphics processor (graphics processing unit, GPU), an image signal processor ( image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and/or neural-network processing unit (NPU), etc. one or more. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor
  • modem modem
  • graphics processor graphics processor
  • ISP image signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be directly called from the memory to avoid repeated access, reduce the waiting time of the processor 110, and improve the efficiency of the system.
  • the processor 110 may be configured to parse the image data collected by the camera 193, analyze and process the image data, and determine whether the terminal 100 is in a motion state, and the like.
  • processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (Pulse Code Modulation, PCM) interface, a Universal Asynchronous Receiver/Transmitter (Universal Asynchronous Receiver/ Transmitter, UART) interface, Mobile Industry Processor Interface (MIPI), General Purpose I/0Ports (GPIO), Subscriber Identity Module (SIM) interface, and/or Universal Serial Bus (Universal Serial Bus) , USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit sound
  • PCM pulse code modulation
  • PCM Pulse Code Modulation
  • UART Universal Asynchronous Receiver/Transmitter
  • MIPI Mobile Industry Processor Interface
  • GPIO General Purpose I/0Ports
  • SIM Subscriber Identity Module
  • USB Universal Serial Bus
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through the wireless charging coil of the terminal 100 . While the charging management module 140 charges the battery 142 , it can also supply power to other electronic devices through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, the wireless communication module 160, and the like.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the terminal 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in terminal 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other examples, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G, etc. applied on the terminal 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves by at least two antennas including the antenna 1, filter, amplify, etc. the received electromagnetic waves, and transmit them to the modem for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem, and then convert it into electromagnetic waves for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • a modem may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
  • the modem may be a stand-alone device.
  • the modem may be independent of the processor 110 and provided in the same device as the mobile communication module 150 or other functional modules.
  • the mobile communication module 150 may be a module in a modem.
  • the wireless communication module 160 can provide applications on the terminal 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • frequency modulation frequency modulation, FM
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for
  • the antenna 1 of the terminal 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the terminal 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), fifth generation, new air interface ( new radio, NR), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc.
  • GSM global system for mobile communications
  • GPRS general packet radio service
  • CDMA code division multiple access
  • WCDMA broadband Code division multiple access
  • time division code division multiple access time-division code division multiple access
  • TD-SCDMA time-division code division multiple access
  • LTE long term evolution
  • fifth generation new air interface ( new
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the terminal 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 194 is used to display images, videos, and the like.
  • Display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light).
  • LED diode AMOLED
  • flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • terminal 100 may include one or more display screens 194 .
  • the terminal 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.
  • the ISP is used to process the data fed back by the camera 193 .
  • the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193 .
  • the camera 193 is used to capture still images or videos, for example, to capture facial feature information, posture feature information and the like of a person.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal oxide semiconductor (Complementary Metal Oxide Semiconductor, CMOS) phototransistor.
  • CMOS complementary Metal Oxide Semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • terminal 100 may include one or more cameras 193 .
  • a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the terminal 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point, and so on.
  • Video codecs are used to compress or decompress digital video.
  • Terminal 100 may support one or more video codecs.
  • the terminal 100 can play or record videos in various encoding formats, for example, moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
  • MPEG moving picture experts group
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the processor 110 executes various functional applications and data processing of the terminal 100 by executing the instructions stored in the internal memory 121 .
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
  • the storage data area may store data (such as audio data, phone book, etc.) created during the use of the terminal 100 and the like.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the terminal 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
  • the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some examples, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • Speaker 170A also referred to as a "speaker" is used to convert audio electrical signals into sound signals.
  • the terminal 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also referred to as "earpiece" is used to convert audio electrical signals into sound signals.
  • the voice can be answered by placing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
  • the terminal 100 may be provided with at least one microphone 170C.
  • the terminal 100 may be provided with two microphones 170C, which may implement a noise reduction function in addition to collecting sound signals.
  • the terminal 100 may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
  • the earphone jack 170D is used to connect wired earphones.
  • the earphone interface 170D can be the USB interface 130, or can be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and an ambient light sensor 180L, bone conduction sensor 180M, etc.
  • the pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals.
  • pressure sensor 180A may be provided on display screen 194 .
  • the capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes.
  • the terminal 100 determines the intensity of the pressure according to the change in capacitance.
  • the terminal 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the terminal 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the motion attitude of the terminal 100 .
  • the angular velocity of terminal 100 about three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyro sensor 180B detects the angle at which the terminal 100 shakes, calculates the distance that the lens module needs to compensate for according to the angle, and allows the lens to offset the movement of the terminal 100 through reverse motion. Shake, achieve anti-shake.
  • the air pressure sensor 180C is used to measure air pressure.
  • the terminal 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the terminal 100 in various directions (generally three axes). When the terminal 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the terminal, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the terminal 100 can measure the distance through infrared or laser. In some examples, when using the terminal to collect user characteristic information of the user in the environment, the terminal 100 may use the distance sensor 180F to measure the distance to achieve fast focusing.
  • the ambient light sensor 180L is used to sense ambient light brightness.
  • the terminal 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the terminal 100 can use the collected fingerprint characteristics to unlock the fingerprint, access the application lock, take a picture with the fingerprint, answer the incoming call with the fingerprint, and the like.
  • the temperature sensor 180J is used to detect the temperature.
  • the terminal 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the terminal 100 reduces the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the terminal 100 when the temperature is lower than another threshold, the terminal 100 heats the battery 142 to avoid abnormal shutdown of the terminal 100 due to low temperature.
  • the terminal 100 when the temperature is lower than another threshold, the terminal 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch device”.
  • the touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations may be provided through display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the terminal 100 , which is different from the position where the display screen 194 is located.
  • the keys 190 include a power-on key, a volume key, an input keyboard, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
  • the terminal 100 may receive key input and generate key signal input related to user settings and function control of the terminal 100 .
  • Motor 191 can generate vibrating cues.
  • the motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback.
  • touch operations acting on different applications may correspond to different vibration feedback effects.
  • the motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • FIG. 3 shows a schematic structural diagram of a cloud device.
  • the cloud device may include a communication module 210, an account management module 220, a data management module 230, an authority management module 240, and the like.
  • the communication module 210 can establish a communication connection with terminals (such as terminals 11, 12, 13, etc.) to perform data interaction.
  • terminals such as terminals 11, 12, 13, etc.
  • a client corresponding to a cloud account is installed on the terminal 11, and when a cloud account a is logged in on the client, data such as pictures, videos, etc. in the terminal 11 can be logged through the client of the cloud account a.
  • the terminal is transmitted to the cloud device, so that the cloud device can receive the pictures, videos and other data in the terminal 11 .
  • the account management module 220 can manage cloud accounts. For example, establish an association relationship between cloud account a and cloud account b, add a cloud account, delete a cloud account, register a cloud account, and so on. In some examples, when logging into the same account in multiple terminals, the account management module 220 can also establish a trust relationship between multiple terminals, so as to realize data connection between multiple terminals, and ensure consistent data formats and consistent data collection rules , consistent storage rules, etc.
  • the data management module 230 may forward the data obtained from the cloud account a to the cloud account b that is associated with the cloud account a. For example, when the cloud account a is logged in the terminal 11, the cloud account b is logged in the terminal 15, and the cloud account a and the cloud account b have an associated relationship, the picture in the terminal 11 is uploaded to the cloud device 16 through the cloud account a. After the cloud storage space corresponding to the account a, the data management module 230 can forward the picture to the cloud storage space corresponding to the cloud account b, so that after the terminal 15 logs in to the cloud account b, the terminal 15 can download the image from the cloud corresponding to the cloud account b. The picture is downloaded from the storage space, so as to realize the sharing of the picture in the terminal 11 to the terminal 15 .
  • the rights management module 240 can manage the data sharing rights corresponding to the cloud accounts. For example, if the client logged in by user A through cloud account a changes the permission to be shared to cloud account b from only sharing pictures to sharing pictures and videos, the permission management module 240 can synchronously change the data sharing permission of cloud account b.
  • the following describes how to establish an association relationship between a cloud account and a terminal.
  • the account can be used as a cloud account, so that The association relationship between the cloud account and the terminal is established.
  • the cloud account is a Huawei account as an example, as shown in Figure 4a
  • the user can select "register account” on the setting interface to obtain the Huawei account, and the The Huawei account can be used by current users to log in to most of their Huawei terminals, and Huawei can provide cloud services. Therefore, this account can be used as the current user's cloud account.
  • the cloud account being a Huawei account is only an exemplary description, and it may also be other cloud accounts, such as a Google cloud account, an Amazon cloud account, and the like.
  • the user can apply for a cloud account from a third party, and log in the cloud account on the current terminal to associate the cloud account with the current terminal, thus establishing a cloud The relationship between the account and the terminal.
  • the user can download the HUAWEI CLOUD software; then, as shown in Figure 4a, open the HUAWEI CLOUD software, and click "Register Account” on the display interface; then, as shown in Figure 4b, choose to use the "mobile phone number” "; then, as shown in Figure 4c, select "Country/Region", and enter "Mobile Number", and click "Next”; then, as shown in Figure 4d, send the received verification code "abcd" to the corresponding area , and click "Next”; after that, as shown in Figure 4e, enter the password, confirm the password, and click "Finish” to complete the application for the HUAWEI ID; Log in to the HUAWEI CLOUD software on the current terminal used to complete the association of the HUAWEI CLOUD account with the current terminal used by the user.
  • the user can select the data uploaded to the cloud space. For example, as shown in Figure 5, the user can choose to turn on cloud backup, turn on Find My Phone, turn on data synchronization, and turn on data synchronization of gallery, contacts, browser and calendar in data synchronization, and turn off data synchronization of memos .
  • the user can use the cloud account to log in to the client corresponding to the cloud account on the terminal.
  • the user can select a contact 61 in the account center.
  • the interface shown in FIG. 6b is entered, in which the user can view the friends he has added in the “friends” list, such as “Ama” and “Anna” in FIG. 6b.
  • the user may select the add friend button 62 in the interface shown in FIG. 6b, and then enter the interface shown in FIG. 6c.
  • the user can enter the Huawei account number or mobile phone number of the friend he needs to add in the friend search area 63, and search; After agreeing, the friend adding operation is completed.
  • the user can also add friends in the address book from the address book 64 , and can also add friends by scanning the two-dimensional code by scanning 65 .
  • the user may also be presented with the most recent contacts of the user at the display area 66. At this time, a button of "add friend” may be displayed below the recent contact. After the user selects "add friend", After other users agree, the friend adding operation is completed.
  • the user can view the groups set by the user, such as “my family”, “college classmates”, “colleagues” and so on.
  • the add group button 67 after the user clicks the add group button 67, a new group can be created.
  • the user in the "My Devices” list, the user can view the devices associated with his cloud account, such as "mobile phone”, “vehicle”, “tablet”, “speaker”, etc.
  • the user can click one of "Mobile Phone”, “Vehicle”, “Tablet”, and “Speaker” in the "My Devices” list, and then enter the sharing of the corresponding terminal as shown in Figure 7a Set interface.
  • the sharing setting interface the user can enable automatic sharing at the display area 71 .
  • the user can select a sharing object in the display area 72, and enter the sharing object setting interface as shown in FIG. 7b.
  • the sharing object setting interface the user can click the sharing object add button 73 to add the sharing object, and then enter the interface as shown in FIG. 7c.
  • the user can click the display area 74 to select the Object to be added.
  • the user can select the sharing object as an individual or a group, when the user selects the sharing object as a group, enter the interface shown in Figure 7e;
  • the user can also select "Create a new group" to create a new group and share data with members of the newly created group.
  • three shared objects are included, namely Tom, Jack and Group1.
  • the user can return to the interface shown in FIG. 7a.
  • the user can select the sharing content in the display area 75, and enter the interface shown in FIG. 7f.
  • FIG. 7f the user can open the picture according to the needs.
  • the user can return to the interface shown in FIG. 7a.
  • the user can select the sharing condition in the display area 76 and enter the interface shown in FIG. 7g.
  • the user can select a sharing object from the set sharing objects, such as selecting Tom, and select the content that he wants to share with the corresponding sharing object from the set sharing content, for example, selecting a picture, video and voice.
  • the user can also set a sharing method, such as reservation sharing, and can also set a sharing time, such as sharing at any time.
  • a sharing method such as reservation sharing
  • the user can click the sharing mode setting button 78, and then enter the interface shown in FIG. 7h.
  • the user can select a sharing method in the display area 79, for example, time period sharing, scene sharing, priority sharing, and so on.
  • the sharing method setting button 78 the user can also be presented with a selectable sharing method in the form of a drop-down menu, which is not limited herein.
  • FIG. 7i may be displayed, that is, the setting of the time period or the already set time period is displayed in the display area 79, for example, from 10:00 to 12:00. share.
  • an interface as shown in FIG. 7j may be displayed, that is, a selectable scene, such as a driving scene, a sports scene, an entertainment scene, etc., is displayed in the display area 79 .
  • an interface as shown in FIG. 7k may be displayed, that is, the set priorities, or the settable priorities, etc. are displayed in the display area 79 .
  • the priority of the vehicle is higher than that of the mobile phone
  • the priority of the mobile phone is higher than that of the speaker
  • the priority of the speaker is higher than that of the watch.
  • the user can drag and adjust the priority of each terminal in the interface shown in FIG. 7k , for example, drag the mobile phone to the vehicle, at this time, the priorities of the mobile phone and the vehicle will be exchanged.
  • the setting information will be synchronized to all terminals under the corresponding cloud account, and the priority set by the user last time will be replaced with the priority set by the user last time, that is, In the interface of priority sharing settings in all terminals under a cloud account, the user's latest priority setting information is presented to the user.
  • the user can select multiple sharing methods at the same time, such as selecting time period sharing, scene sharing and priority sharing at the same time, and can also select one of the methods, which is not limited here.
  • the user can also select the sharing condition adding button 77, and then, enter the interface shown in FIG. 71 to add a new sharing condition.
  • the sharing object in the new sharing condition (area surrounded by the dotted frame in the figure), the sharing object can be Group1, the sharing content can be a camera and an earpiece, the sharing method can be reservation sharing, and the sharing time can be anytime.
  • the user can also customize the sharing time. As shown in Figure 7m, when the user sets the sharing time with the sharing object as Tom, after clicking anytime in the sharing time, the user can choose the default or customize the time. For example, set the sharing period from 2020-10-1 to 2020-10-07, and the sharing time period from 10:00 to 12:00 and 14:00 to 16:00 every day. Thus, the user can complete the setting of the sharing authority for a single friend and/or group.
  • the user can also enable sharing reminders, for example, enable SMS reminders, call reminders, etc., so that the user can instantly know that the terminal he is using needs to share data.
  • sharing reminders for example, enable SMS reminders, call reminders, etc.
  • the user learns that the terminal he is using needs to share the data he can also choose whether to allow the data to be shared, etc. according to his own wishes.
  • the data in the terminal will pass through the cloud account (such as The client or webpage logged in cloud account a) is sent to the cloud device, and the cloud device forwards it to the client corresponding to other cloud accounts (such as cloud account b) that are associated with the cloud account and have the data sharing authority or web page, so that when a terminal (such as terminal 14) that has an associated relationship with other cloud accounts (such as cloud account b) is in an active state, you can view the connection with other terminals (such as terminal 11) through the terminal (such as terminal 14). data shared.
  • the cloud account such as The client or webpage logged in cloud account a
  • the cloud device forwards it to the client corresponding to other cloud accounts (such as cloud account b) that are associated with the cloud account and have the data sharing authority or web page, so that when a terminal (such as terminal 14) that has an associated relationship with other cloud accounts (such as cloud account b) is in an active state, you can view the connection with other terminals (such as terminal 11) through the terminal (such as terminal 14
  • the user may select Family Sharing in the settings interface or other interfaces to share the user's payment method, purchase items, cloud storage space, etc. to the user's family. For example, after selecting "family sharing", the user may enter the interface shown in FIG. 8 .
  • Family Sharing the user may enter the interface shown in FIG. 8 .
  • user Mike can add family members in Family Sharing, and set sharing functions, such as enabling payment method sharing and cloud storage space sharing.
  • the display area of the terminal 91 will display the terminals associated with the cloud account, such as vehicles, mobile phones, speakers, etc.
  • the terminal 911 representing the vehicle at the display area 91 of the terminal, at this time, in the display area
  • parameter information related to the vehicle can be displayed, such as fuel remaining, temperature inside and outside the vehicle, location information, door control information, and so on.
  • the user clicks on a certain item of information in the terminal selected by the user, and can view the content related to the information; for example, as shown in FIG. 9b, the user clicks the unlock control key 9121 in the display area 912 to enter the In the interface shown in FIG. 9c, at this time, the user can select the unlock button 95 to open the vehicle door, or select the cancel button 96 to cancel the opening of the vehicle door.
  • the "Virtual rooms" in Fig. 9a can be understood as the "group space” in Fig. 6d.
  • multiple cloud accounts can be logged in on one terminal.
  • the terminal can be understood as a terminal shared by multiple people, for example, the terminal can be a smart TV. If the cloud account a in the multiple cloud accounts is in the active state in the foreground, the data shared by other cloud accounts that are associated with the cloud account a can be viewed on the terminal, or the cloud account a can be used in the terminal. The data is shared to other cloud accounts that are associated with cloud account a. It should be understood that, at this time, the user can switch the cloud account based on his own needs, and select the cloud account that he expects to be active in the foreground.
  • the terminal is a smart TV
  • the cloud accounts that have been logged in on the smart TV include Mike's cloud account and Sam's cloud account.
  • the cloud account is not active in the foreground.
  • users can click the "Watch Now” button and choose to watch the video of "The history of HUAWEI”. If the data sharing strategy set by Mike is: from 8:00 am to 10:00 am, to share the video data in the smart TV, the user will watch the video of "The history of HUAWEI" on the smart TV, and the current viewing time is at 8:00 a.m.
  • the video content of "The history of HUAWEI" can be automatically shared to other cloud accounts associated with Mike's cloud account, so that it can be viewed on the terminal where the other cloud account is logged in.
  • the video content being played on the smart TV that is, the video of "The history of HUAWEI”. It should be understood that at this time, other cloud accounts associated with Mike's cloud account have the right to share the video content.
  • User A has three types of terminals: car, mobile phone, and smart glasses, and his cloud account is cloud account a.
  • User B has two terminals, a computer and a smart TV, and its cloud account is cloud account b.
  • User A has added cloud account b as a friend in the client corresponding to the cloud account on the mobile phone, and set sharing conditions, permissions, etc., that is, there is an association relationship between cloud account a and cloud account b.
  • User A logs in to cloud account a on the car, mobile phone, and smart glasses.
  • User A can set the sharing condition of the car to "driving mode", and the sharing condition of the mobile phone and smart glasses to be "camera mode”.
  • the sharing priorities of cars, mobile phones, and smart glasses decrease in turn.
  • Vehicles, mobile phones, and smart glasses will feed back their respective device status information to the cloud device in real time or at preset intervals. For example, the vehicle can feedback whether it is in driving mode, and the mobile phone and smart glasses can feedback whether it is in camera mode, etc.
  • the vehicle When user A drives the vehicle where the vehicle is located, the vehicle is in driving mode. At this time, the client corresponding to the cloud account a in the vehicle will obtain the scenery along the way captured and recorded by the camera and driving recorder in the vehicle. , and upload to the cloud device.
  • the driving recorder A1 on the vehicle captures the picture m
  • the client corresponding to the cloud account a in the driving recorder A1 can upload the picture m to the cloud device.
  • the cloud device transmits the scenery data along the way uploaded by the cloud account a, such as the picture m in FIG. 11a, to the client corresponding to the cloud account b.
  • user B if user B is using smart TV B1, user B opens the client corresponding to cloud account b on smart TV B1, and can view the scenery data shared by user A along the way, such as picture m.
  • user A turns on the camera of the mobile phone and the mobile phone is in shooting mode.
  • the cloud device determines the mobile phone as a terminal that does not need data sharing. No request to receive data from the phone is sent.
  • the car machine exits the driving mode.
  • the car machine does not meet the sharing conditions, and the client corresponding to the cloud account a in the car machine will stop acquiring the data in the car machine.
  • the client corresponding to the cloud account a in the mobile phone will obtain the pictures or videos shot by the mobile phone and upload them to the cloud device. After that, it is transmitted from the cloud device to the client corresponding to the cloud account b.
  • User A logs in to cloud account a on the car, mobile phone, and smart glasses.
  • User A can set the sharing conditions as follows: 8-12 o'clock is the self-driving time, shared by the car machine; 12-14 o'clock is the outdoor dining time, shared by the mobile phone; 14-16 o'clock is the scenic spot sightseeing time, shared by the smart glasses; 16 ⁇ 18:00 is the running time, shared by smart glasses.
  • the client corresponding to the cloud account a in the mobile phone and smart glasses stops acquiring data, while the client corresponding to the cloud account a in the car will obtain the data captured and recorded by the camera, driving recorder and other equipment in the car.
  • the scenery along the way and upload to the cloud device.
  • the cloud device transmits the scenery data along the way uploaded by the cloud account a to the client corresponding to the cloud account b. If user B is using the smart TV, user B opens the client terminal corresponding to cloud account b on the smart TV, and can view the scenery data shared by user A along the way.
  • the client corresponding to the cloud account a in the car and smart glasses stops acquiring data, while the client corresponding to the cloud account a in the mobile phone will acquire the pictures or videos captured by the mobile phone and upload them to the cloud device, for example , as shown in FIG. 12a, the mobile phone A2 captures the picture n, and the client corresponding to the cloud account a in the mobile phone A2 uploads the picture n to the cloud device at this time.
  • the uploaded picture or video such as picture m in FIG. 12a, is transmitted by the cloud device to the client corresponding to the cloud account b.
  • user B opens the client terminal corresponding to cloud account b on smart TV B2, and can view the pictures or videos taken by the mobile phone shared by user A, such as picture n.
  • the client corresponding to the cloud account a in the car and the mobile phone stops acquiring data, while the client corresponding to the cloud account a in the smart glasses will acquire the pictures or videos captured by the smart glasses and upload them to the cloud device.
  • the cloud device transmits the uploaded image or video to the client corresponding to the cloud account b. If user B is using the smart TV, then user B opens the client terminal corresponding to cloud account b on the smart TV, and can view the pictures or videos captured by the smart glasses shared by user A.
  • User A logs in to cloud account a on the car, mobile phone, and smart glasses.
  • User A can set the sharing condition as follows: the distance between any terminal of user A and any terminal of user B is greater than the preset distance, for example, 100 meters, the sharing is performed by the terminal exceeding the preset distance.
  • Both the terminals of user A and user B may upload their location information to the cloud device continuously or periodically, wherein the location information may carry the identity identifier of the terminal.
  • the cloud device determines the distance between each terminal of user A (ie, the car, mobile phone, and smart glasses) and each terminal of user B (ie, computer and smart TV). If the distance between user A's car and user B's terminal determined by the cloud device is L1, the distance between user A's mobile phone and user B's terminal is L2, and the distance between user A's smart glasses and user B's terminal is L2 The distance is L3.
  • both L1 and L3 are less than the preset distance L0, and L2 is greater than L0, it can be determined that the distance between user A's mobile phone and user B's terminal has exceeded the preset distance; at this time, the cloud device can send The client terminal corresponding to the cloud account a in the mobile phone sends an instruction to obtain the location information. After that, the client terminal corresponding to the cloud account a in the mobile phone will obtain the location information of the mobile phone and upload it to the cloud device. After that, the cloud device transmits the uploaded location information to the client corresponding to the cloud account b. If user B is using the smart TV, user B opens the client terminal corresponding to cloud account b on the smart TV, and can view the location information of the mobile phone shared by user A.
  • the sharing scene may also be other scenes, for example, a sports scene, an entertainment scene, a sightseeing scene, an on-the-go scene, etc., which will not be repeated here.
  • a sports scene can be understood as a scene in which the user performs physical exercise, such as running, skipping rope, cycling, etc.
  • an entertainment scene can be understood as a scene in which the user plays indoor games or outdoor games, etc.
  • a sightseeing scene can be understood as a user visiting Scenes of scenic spots and historical sites, browsing natural scenery, etc.
  • in-transit scene can be understood as a scene in which the user rides or drives a vehicle to move, for example, a scene in which the user is driving on the road.
  • the sharing condition may be one type or a combination of multiple sharing conditions, for example, a combination of sharing time and sharing priority, a combination of sharing time and sharing scene, a combination of sharing time, sharing priority and sharing scene, etc. Wait.
  • the data sharing method provided in this solution can be applied to a system including a first device group, a second device group, and cloud devices. Both the first device group and the second device group may include at least one device.
  • the first cloud account is logged on the device
  • the second cloud account is logged on the device in the second device group
  • the cloud device stores the data sharing policy of the first cloud account, and the relationship between the first cloud account and the second cloud account association relationship.
  • the first device group may be understood as a device group formed by one or more of the terminals 11 , 12 and 13 in FIG. 1
  • the devices in the first device group may include one or more of the terminals 11 , 12 and 13
  • the second device group can be understood as a device group formed by one or more of the terminals 14 and 15 in FIG. 1
  • the devices in the second device group can include one or more of the terminals 14 and 15
  • the cloud device can It is understood as the cloud device 16 in FIG. 1 .
  • the specific steps of the data sharing method provided by this solution are described
  • FIG. 13 is a schematic flowchart of a data sharing method provided by an embodiment of the present application. As shown in Figure 13, the data sharing method may include the following steps:
  • Step S1301 At least one device in the first device group sends first state information of at least one device in the first device group to the cloud device.
  • At least one device in the first device group may send the first state information of at least one device in the first device group to the cloud device in real time or periodically. For example, sent over a wired or wireless network.
  • the first device in the first device group may send its own first state information to the cloud device; in addition, the first device may also receive the first state information of other devices in the first device group, and send the first state information to the cloud device.
  • the first state information of other devices is sent to the cloud device, which may be determined according to the actual situation, and is not limited here.
  • the first state information may include one or more of the identification, running information, speed information, and screen brightness information of the devices in the first device group.
  • the running information may indicate whether the corresponding device in the first device group is in a running state.
  • the first device group may include a first device and a second device
  • the data sharing policy of the first cloud account stored in the cloud device may include a correspondence between the first device and the first sharing policy, the second device and the 2.
  • the first sharing strategy may include a first sharing object, a first data sharing type, and a first data sharing condition
  • the second sharing strategy may include a first sharing object, a second data sharing type, and a second data sharing condition; wherein the first sharing strategy
  • the sharing object is associated with the second cloud account, that is, the first sharing object is the object to which the second cloud account belongs. It can be understood that the data sharing policy of the first cloud account stored in the cloud device is equivalent to the corresponding relationship between each device under the stored first cloud account and the sharing policy to which the device belongs.
  • the data sharing strategy can also include a data sharing period. For example, data sharing every day or every other day, etc.
  • the data sharing type in the data sharing policy of the first cloud account stored in the cloud device may include one or more of a data type, a file type, and a multimedia type.
  • data types may include integer types, floating point types, character types, Boolean types, etc.
  • file types may include documents, compressed packages, web pages, installation packages, etc.
  • multimedia types may include text, sound, animation, video Images and images, etc.
  • the data sharing conditions in the data sharing policy of the first cloud account stored in the cloud device may include one or more of a data sharing scenario, a data sharing priority, and a data sharing time.
  • the data sharing scenarios may include one or more of sports scenarios, entertainment scenarios, driving scenarios, travel scenarios, leisure scenarios, viewing scenarios, and learning scenarios; for example, as shown in Figure 7j, the scenario sharing includes driving scenarios, Sports scenes and entertainment scenes.
  • the sports scene may be the user running, swimming, doing yoga, etc.
  • the entertainment scene may be the user watching movies, TV series, listening to music, etc.
  • the driving scene may be the user driving a vehicle
  • the travel scene may be the user traveling.
  • the scene on the way; the leisure scene can be the user walking, sitting, etc.; the viewing scene can be the scene where the user stops to watch a certain target (such as buildings, trees, flowers, etc.); the learning scene can be the scene where the user is in a learning state, such as A scenario where the user learns through the learning software in the device.
  • the data sharing priority can be understood as the priority among the devices in the first device group. As shown in Figure 7k, the priority of the vehicle is higher than that of the mobile phone, the priority of the mobile phone is higher than that of the speaker, and the priority of the speaker is higher than that of the watch.
  • the data sharing time can be understood as a time period for devices in the first device group to share data.
  • the time periods for data sharing are 10:00 to 12:00 and 14:00 to 16:00.
  • the data sharing period described above can be combined with the data sharing time here.
  • the data sharing period is from 2020-10-01 to 2020-10-07, and the data sharing time is 10:00 to 12:00 and 14:00 to 16:00.
  • each device in the first device group may send their respective first state information to the cloud device.
  • the first device may send the first state information of the first device to the cloud device
  • the second device may send the first state information of the second device to the cloud device.
  • Step S1302 In response to receiving the first state information of at least one device in the first device group, the cloud device determines a target device according to the first state information and the data sharing policy, and the target device is a device in at least one device in the first device group. one.
  • the cloud device receives the first state information of at least one device in the first device group, and can filter out one or more devices from at least one device in the first device group according to the first state information and the data sharing policy target device.
  • both the first data sharing condition of the first device and the second data sharing condition of the second device may be a data sharing scenario, wherein the data sharing scenario corresponding to the first data sharing condition is a driving scenario, and the second data sharing scenario
  • the data sharing scene corresponding to the data sharing condition is an entertainment scene.
  • the first state information of the first device may include speed information and an identifier of the first device
  • the first state information of the second device may be screen brightness information and an identifier of the second device.
  • the cloud device determines the target device according to the first state information and the data sharing strategy, which may be specifically: if the speed of the first device is higher than the preset speed threshold, it can be determined that the first device is in a motion state, and in this case, it can be determined that The first device satisfies the driving scenario, and the first device is determined as the target device, and/or, if the screen brightness of the second device is higher than the preset brightness threshold, it is determined that the second device satisfies the entertainment scenario, and the second device is determined as the target device equipment.
  • the first state information and the data sharing strategy which may be specifically: if the speed of the first device is higher than the preset speed threshold, it can be determined that the first device is in a motion state, and in this case, it can be determined that The first device satisfies the driving scenario, and the first device is determined as the target device, and/or, if the screen brightness of the second device is higher than the preset brightness threshold, it is determined that the second device satisfie
  • the screen brightness of the second device is higher than the preset brightness threshold, it indicates that the second device is in use, and at this time, it can be determined that the second device meets the entertainment scene; further, in order to improve the accuracy of screening. It is also possible to record the duration that the screen brightness of the second device is higher than the preset brightness threshold. When the duration exceeds the preset duration, it can be determined that the second device meets the entertainment scene.
  • both the first data sharing condition of the first device and the second data sharing condition of the second device may be data sharing time, wherein the data sharing time corresponding to the first data sharing condition is the first time period , the data sharing time corresponding to the second data sharing condition is the second time period.
  • the first state information of the first device may include first operation information and an identifier of the first device, the first operation information is used to indicate whether the first device is in an operation state, and the first state information of the second device may include the second Running information and an identifier of the second device, where the second running information is used to indicate whether the second device is in a running state.
  • the cloud device determines the target device according to the first state information and the data sharing policy, which may specifically be: if both the first device and the second device are in the running state, and the current time period belongs to the first time period, then determine the first device is the target device; or, if both the first device and the second device are in the running state, and the current time period belongs to the second time period, the second device is determined to be the target device.
  • the first state information and the data sharing policy may specifically be: if both the first device and the second device are in the running state, and the current time period belongs to the first time period, then determine the first device is the target device; or, if both the first device and the second device are in the running state, and the current time period belongs to the second time period, the second device is determined to be the target device.
  • the first device may be a vehicle, in this case, the first operation information may include speed information and/or start-stop information of the vehicle; and/or, the second device may be an electronic device with a screen, in this case, the first The second operation information may include screen brightness information and/or power-on/off information of the electronic device.
  • both the first data sharing condition of the first device and the second data sharing condition of the second device may further include a data sharing priority, wherein the priority of the first device is higher than that of the second device.
  • the cloud device determines the target device according to the first state information and the data sharing strategy, which may specifically be: if both the first device and the second device satisfy the data sharing scenario and/or the data sharing time, the first device is determined as the target device .
  • the vehicle can be determined as the target device at this time.
  • Step S1303 In response to determining the target device, the cloud device sends a first message to the target device, where the first message is used to instruct the target device to share data.
  • the cloud device may instruct the target device to share data. For example, a first message for instructing the target device to share data is sent to the target device.
  • Step S1304 In response to receiving the first message, the target device sends first data to at least one device in the second device group, where the first data is associated with the data sharing policy of the first cloud account.
  • the target device may send the first data to at least one device in the second device group.
  • the first data is associated with the data sharing policy of the first cloud account.
  • the first data is associated with the data sharing strategy of the first cloud account, and specifically, the first data may be all or part of the data included in the first data sharing type described above.
  • the target device can be the mobile phone A2 shown in FIG. 12a, and at least one device in the second device group can be the smart TV B2 shown in FIG. 12b. At this time, the mobile phone A2 can share the pictures it has collected to On the smart TV B2, the user using the smart TV B2 can view the pictures shared by the mobile phone A2.
  • the target device sends the first data to at least one device in the second device group, which may specifically include the following steps:
  • the target device may send the first data to the cloud device in response to the received first message.
  • Step S1402 In response to receiving the first data, the cloud device sends the first data to at least one device in the second device group.
  • the cloud device may forward the first data to at least one device in the second device group.
  • At least one device in the second device group may also send the second status information of at least one device in the second device group to the cloud device in real time or periodically.
  • the cloud device may determine the device in the online state in the second device group, such as the fifth device. Then, the cloud device may forward the first data to a device in an online state in the second device group, such as a fifth device.
  • the second state information may represent that a corresponding device in the second device group is online. In an example, if the devices in the second device group are all offline, the cloud device can temporarily store the first data, and when there is an online device in the second device group, the cloud device will send the first data again to the online device in the second device group.
  • the determination of the devices in the online state in the second device group may be completed by a cloud device.
  • the cloud device may determine that the fifth device is online according to the second state information of at least one device in the second device group, where at least one device in the second device group includes the fifth device.
  • the fifth device can send the second state information of the fifth device to the cloud device, wherein the fifth device The second status information of can be used to characterize that the fifth device is online.
  • the second state information may include operation information, and the operation information may include one or more of switch information, start/stop information, and screen brightness information of the device.
  • the data sharing method can be used to realize data sharing between cloud accounts, so that different devices belonging to one cloud account can automatically share their respective data to those belonging to another cloud account under a specific situation.
  • the data sharing process is simplified and the intelligence of data sharing is improved.
  • the following introduces a method for setting a data sharing policy of a first cloud account in this solution.
  • the data sharing policy of the first cloud account in this solution can be set by any device in the first device group.
  • FIG. 15 is a schematic flowchart of a method for setting a data sharing policy for a first cloud account provided by an embodiment of the present application.
  • the method is executed by a third device included in the first device group, where the third device may be the above
  • the described first device and/or second device may also be other devices in the first device group, which is not limited herein. As shown in Figure 15, the method includes the following steps:
  • Step S1501 Detect the first operation input by the user on the first interface of the third device, the first interface displays the identifier of at least one device in the first device group, and the first operation corresponds to at least one device in the first device group.
  • the identification of the first device among the identifications of a device.
  • the identifier of at least one device in the first device group is displayed on the first interface of the third device.
  • the interface shown in FIG. 6e can be understood as the first interface
  • the mobile phone in the interface shown in FIG. 6e a vehicle, a tablet and a sound box may be understood as the identification of the devices in the first device group.
  • Step S1502 in response to the detected first operation, the third device displays a first setting interface, the first device interface is used to set the third data sharing policy of the fourth device in the first device group, and the first setting interface includes the first setting interface. controls.
  • the fourth device may be the first device, the second device, or the third device, or other devices in the first device group, which is not limited herein.
  • Step S1503 a second operation input by the user on the first control is detected.
  • Step S1504 In response to the second operation, display a second setting interface, where the second setting interface is used to set the third data sharing condition in the third data sharing policy, and the second interface includes a second control.
  • the third device may display a second setting interface in response to the second operation, wherein the second setting interface is used to set the third data sharing condition in the third data sharing strategy, and the second interface includes the second control .
  • the second setting interface may be the interface shown in Figure 7g, in which the third data sharing conditions in the third data sharing strategy, such as sharing methods, etc., can be set;
  • the interface includes a second control, and the second control may be a control 78 for setting the sharing mode.
  • Step S1505 Detect a third operation input by the user to the second control.
  • the third device may detect the user's input operation on the second control (ie, the third operation) in real time or periodically, where the input operation may be a voice input operation or a touch operation.
  • the third operation may be a touch operation on the control 78 for setting the sharing mode in the interface shown in FIG. 7g , such as a single-finger click.
  • Step S1506 In response to the third operation, display a third control on the second setting interface, where the third control is used to select a third data sharing condition.
  • the third device may display, on the second setting interface, a third control for selecting the third data sharing condition in response to the third operation.
  • the third control may be the control 791, 792, 793 or 794 in the interface as shown in FIG. 7h, at this time, the user may now have the third data sharing condition as time period sharing, scene sharing and/or priority. level sharing, etc.
  • the third device may send the third data sharing policy set by the user to the cloud device.
  • the cloud device may respond to receiving the third data sharing policy and store the third data sharing policy of the first cloud account.
  • FIG. 16 is a schematic flowchart of a method for establishing an association relationship between a first cloud account and a second cloud account according to an embodiment of the present application. As shown in Figure 16, the method includes the following steps:
  • Step S1601 In response to the fourth operation input by the user, at least one device in the first device group establishes an association relationship between the first cloud account and the second cloud account.
  • At least one device (such as the first device, etc.) in the first device group may detect the user's input operation (ie, the fourth operation) in real time or periodically, wherein the input operation may be a voice input operation, or may be Touch operation.
  • the fourth operation may be a touch operation for "adding friends" at the display area 66 in FIG. 6c, such as a single-finger click.
  • the fourth operation can be understood as an operation of adding a friend.
  • At least one device in the first device group detects the user's input operation, it can respond to the input operation to establish an association relationship between the first cloud account and the second cloud account.
  • At least one device in the first device group detects the user's input operation, it can respond to the input operation to establish an association relationship between the first cloud account and the second cloud account.
  • 6c after the user selects to add "User1" displayed in the display area 66 as a friend, after "User1" agrees, at least one device in the first device group (such as the first device, etc.) An association relationship between the first cloud account and the second cloud account can be established. It can be understood that establishing the association relationship between the first cloud account and the second cloud account may also be in other ways, which are not limited here.
  • Step S1602 At least one device in the first device group sends the association relationship between the first cloud account and the second cloud account to the cloud device.
  • At least one device in the first device group can associate the first cloud account with the second cloud account.
  • the relationship between them is sent to the cloud device.
  • Step S1603 In response to receiving the association relationship between the first cloud account and the second cloud account, the cloud device stores the association relationship between the first cloud account and the second cloud account.
  • the cloud device may store the association relationship between the first cloud account and the second cloud account in response to the association relationship between the first cloud account and the second cloud account received by the cloud device.
  • the cloud device can complete the work of storing the association relationship between the first cloud account and the second cloud account.
  • FIG. 17 is a schematic flowchart of another method for establishing an association relationship between a first cloud account and a second cloud account provided in an embodiment of the present application. As shown in Figure 17, the method includes the following steps:
  • Step S1701 In response to the fifth operation input by the user, at least one device in the first device group sends a first request to the cloud device, where the first request is used to request the cloud device to establish a connection between the first cloud account and the second cloud account.
  • the association relationship, the first request carries the second cloud account number.
  • At least one device (such as the first device, etc.) in the first device group may detect the user's input operation (ie, the fifth operation) in real time or periodically, wherein the input operation may be a voice input operation, or may be Touch operation.
  • the input operation may be a voice input operation, or may be Touch operation.
  • the first device group After at least one device in the first device group (eg, the first device, etc.) detects the user's input operation, it can respond to the input operation and send a first request to the cloud device.
  • the first request may carry the first cloud account and the second cloud account; in addition, the first request may be used to request the cloud device to establish an association relationship between the first cloud account and the second cloud account.
  • Step S1702 In response to receiving the first request, the cloud device establishes an association relationship between the first cloud account and the second cloud account.
  • the cloud device may respond to the first request, then establish an association relationship between the first cloud account and the second cloud account, and store the association.
  • the first cloud account and the second cloud account are marked as friends, and so on.
  • the cloud device can complete the work of establishing and storing the association relationship between the first cloud account and the second cloud account.
  • the data sharing method provided by this solution can be applied to a system including a first device group and a second device group.
  • Both the first device group and the second device group may include at least one device, and logging in on the devices in the first device group
  • There is a first cloud account and a second cloud account is logged on the devices in the second device group.
  • At least one device in the first device group includes a first device, and the first device stores a data sharing policy of the first cloud account and an association relationship between the first cloud account and the second cloud account.
  • the first device group can be understood as a device group formed by one or more of the terminals 181 , 182 and 183 in FIG.
  • the second device group may be understood as a device group formed by one or more of the terminals 184 and 185 in FIG. 18 , and the devices in the second device group may include one or more of the terminals 184 and 185 .
  • the first device group and the second device group may communicate through a network 186, where the network 186 may be a wired network or a wireless network, which is not limited herein. The specific steps of the data sharing method provided by this solution are described below.
  • FIG. 19 is a schematic flowchart of another data sharing method provided by an embodiment of the present application. As shown in Figure 19, the data sharing method may include the following steps:
  • Step S1901 The first device receives first state information of at least one device in the first device group.
  • the devices in the first device group may communicate through a network.
  • the first device may send a request to one or more other devices in the first device group in real time or periodically, and the request may be a request to obtain the first state information of the corresponding device.
  • Other devices in the first device group After receiving the request sent by the first device, the first device can send its own first state information to the first device, and then the first device can receive the first state information of other devices in the first device group.
  • devices other than the first device in the first device group may actively send their respective first state information to the first device in real time or periodically, and then the first device may receive the first device First state information of devices in the group other than the first device.
  • the first device can directly obtain the first state information through itself.
  • the first device may learn the power-on duration from the boot-related information recorded in its system.
  • Step S1902 The first device determines, based on the first state information of at least one device in the first device group, that the first device satisfies the data sharing policy.
  • the first device may determine whether it satisfies the data sharing policy based on the first state information of at least one device in the first device group.
  • the data sharing strategy is that when the speed of the first device is higher than 21km/h, the first device shares data; then when the speed of the first device is higher than 21km/h, it can be determined that the first device satisfies the data. Share strategy.
  • the first state information may include one or more of running information, speed information, and screen brightness information.
  • the operation information may indicate whether the first device is in an operation state.
  • the data sharing strategy may include a correspondence between the first device and the first data sharing strategy
  • the second-first data sharing strategy may include sharing objects, data sharing types, and data sharing conditions, wherein the sharing objects may be related to The second cloud account is related.
  • the data sharing policy of the first cloud account includes the corresponding relationship between each device under the first cloud account and the data sharing policy of the device, for example, the data sharing policy between the first device and the first device.
  • the data sharing type may include one or more of data type, file type and multimedia type.
  • data types may include integer types, floating point types, character types, Boolean types, etc.
  • file types may include documents, compressed packages, web pages, installation packages, etc.
  • multimedia types may include text, sound, animation, video Images and images, etc.
  • the data sharing conditions may include one or more of a data sharing scenario, a data sharing priority, and a data sharing time.
  • the data sharing scenarios may include one or more of sports scenarios, entertainment scenarios, driving scenarios, travel scenarios, leisure scenarios, viewing scenarios, and learning scenarios; for example, as shown in Figure 7j, the scenario sharing includes driving scenarios, Sports scenes and entertainment scenes.
  • the sports scene may be the user running, swimming, doing yoga, etc.
  • the entertainment scene may be the user watching movies, TV series, listening to music, etc.
  • the driving scene may be the user driving a vehicle
  • the travel scene may be the user traveling.
  • the scene on the way; the leisure scene can be the user walking, sitting, etc.; the viewing scene can be the scene where the user stops to watch a certain target (such as buildings, trees, flowers, etc.); the learning scene can be the scene where the user is in a learning state, such as A scenario where the user learns through the learning software in the device.
  • the data sharing priority can be understood as the priority among the devices in the first device group. As shown in Figure 7k, the priority of the vehicle is higher than that of the mobile phone, the priority of the mobile phone is higher than that of the speaker, and the priority of the speaker is higher than that of the watch.
  • the data sharing time can be understood as a time period for devices in the first device group to share data.
  • the time periods for data sharing are 10:00 to 12:00 and 14:00 to 16:00.
  • the data sharing period described above can be combined with the data sharing time here.
  • the data sharing period is from 1919-10-01 to 1919-10-07, and the data sharing time 10:00 to 12:00 and 14:00 to 16:00.
  • Step S1903 In response to determining that the first device satisfies the data sharing policy, the first device sends first data to at least one device in the second device group, where the first data is associated with the data sharing policy of the first cloud account.
  • the first device can send the first data to at least one device in the second terminal device group.
  • the first data is associated with the data sharing policy of the first cloud account.
  • the first data is associated with the data sharing policy of the first cloud account, and specifically, the first data may be all or part of the data included in the data sharing type with the first device.
  • the first device may determine that the fifth device is online according to the second state information of at least one device in the second device group, where at least one device in the second device group includes the fifth device; after that, the first device The first data is then sent to the fifth device.
  • the fifth device may send the second state information of the fifth device to the first device.
  • the second state information is used to indicate that the second device is online. In this way, the first device can determine the devices in the online state in the second device group, and then can send the first data to the devices in the online state in the second device group.
  • Step S1904 At least one device in the second device group receives the first data.
  • At least one device in the second device group can receive the first data.
  • the first device may send the first data to the server to which the second cloud account belongs, and the server to which the second cloud account belongs will temporarily store the data. After that, when there is an online device in the second device group, the server to which the second cloud account belongs can forward the first data to the online device in the second device group.
  • the data sharing method provided by this solution can be applied to a system including a first device group and a second device group.
  • Both the first device group and the second device group may include at least one device, and logging in on the devices in the first device group
  • There is a first cloud account and a second cloud account is logged on the devices in the second device group.
  • At least one device in the first device group includes a first device, and the first device stores a data sharing policy of the first cloud account and an association relationship between the first cloud account and the second cloud account.
  • the first device group can be understood as a device group formed by one or more of the terminals 181 , 182 and 183 in FIG.
  • the second device group may be understood as a device group formed by one or more of the terminals 184 and 185 in FIG. 18 , and the devices in the second device group may include one or more of the terminals 184 and 185 .
  • the first device group and the second device group may communicate through a network 186, where the network 186 may be a wired network or a wireless network, which is not limited herein. The specific steps of the data sharing method provided by this solution are described below.
  • FIG. 20 is a schematic flowchart of another data sharing method provided by an embodiment of the present application. As shown in Figure 20, the data sharing method may include the following steps:
  • Step S2001 The first device receives first state information of at least one device in the first device group.
  • the devices in the first device group may communicate through a network.
  • the first device may send a request to one or more other devices in the first device group in real time or periodically, and the request may be a request to obtain the first state information of the corresponding device.
  • Other devices in the first device group After receiving the request sent by the first device, the first device can send its own first state information to the first device, and then the first device can receive the first state information of other devices in the first device group.
  • devices other than the first device in the first device group may actively send their respective first state information to the first device in real time or periodically, and then the first device may receive the first device First state information of devices in the group other than the first device.
  • the first device can directly obtain the first state information through itself.
  • the first device may learn the power-on duration from the boot-related information recorded in its system.
  • Step S2002 the first device determines, based on the first state information of at least one device in the first device group, that the second device satisfies the data sharing policy, and the second device is a device other than the first device in the first device group.
  • the first device may determine, based on the first state information of at least one device in the first device group, whether a device other than itself satisfies the data sharing policy, for example, determining whether the second device in the first device group satisfies the data sharing policy Data sharing strategy.
  • the data sharing strategy is that when the speed of the second device is higher than 21km/h, the second device shares data; then when the speed of the second device is higher than 21km/h, it can be determined that the second device satisfies the data. Share strategy.
  • the data sharing policy may include a correspondence between the second device and the second data sharing policy
  • the second data sharing policy may include sharing objects, data sharing types, and data sharing conditions, wherein the sharing objects may be related to the second data sharing policy.
  • Cloud account related It can be understood that the data sharing policy of the first cloud account includes the corresponding relationship between each device under the first cloud account and the data sharing policy of the device, for example, the data sharing policy between the first device and the first device. The corresponding relationship between the data sharing strategies of the second device and the second device, the corresponding relationship between the data sharing strategies of the third device and the third device, and so on.
  • Step S2003 In response to determining that the second device satisfies the data sharing policy, the first device sends a first message to the second device, where the first message is used to instruct the second device to share data.
  • the first device may send a first message for instructing the second device to share data to the second device through the network, so that the second device performs data sharing.
  • Step S2004 In response to receiving the first message, the second device sends first data to at least one device in the second device group, where the first data is associated with the data sharing policy of the first cloud account.
  • the second device may send the first data to at least one device in the second terminal device group.
  • the first data is associated with the data sharing policy of the first cloud account.
  • the first data is associated with the data sharing policy of the first cloud account, and specifically, the first data may be all or part of the data included in the data sharing type with the first device.
  • the first device may determine that the fifth device is online according to the second state information of at least one device in the second device group, where at least one device in the second device group includes the fifth device; after that, the first device The identifier of the fifth device is then added to the first message, and the first message is sent to the second device. Further, after receiving the first message, the second device may directly send the first data to the fifth device based on the identifier of the fifth device.
  • the fifth device may send the second state information of the fifth device to the first device.
  • the second state information is used to indicate that the fifth device is online. In this way, the first device can determine the devices in the online state in the second device group, and further instruct the second device to send the first data to the devices in the online state in the second device group.
  • Step S2005 at least one device in the second device group receives the first data.
  • At least one device in the second device group can receive the first data.
  • the second device when the first device determines an online device in the second device group, and the first device has notified the second device of the identification of the online device in the second device group, the second device can The first data is directly sent to the online device in the second device group. At this time, the devices in the online state in the second device group may receive the first data, and the devices in the offline state in the second device group may not receive the first data.
  • the second device may send the first data to the server to which the second cloud account belongs, and the server to which the second cloud account belongs will temporarily store the data. After that, when there is an online device in the second device group, the server to which the second cloud account belongs can forward the first data to the online device in the second device group.
  • FIG. 21 is a schematic flowchart of another data sharing method provided by an embodiment of the present application.
  • the method can be applied to the cloud device shown in FIG. 1, wherein the cloud device stores the data sharing policy between the first cloud account and the second cloud account, and the association between the first cloud account and the second cloud account relationship, the first cloud account is logged on a device in the first device group, the second cloud account is logged on a device in the second device group, and both the first device group and the second device group include at least one device.
  • the data sharing method may include the following steps:
  • Step S2101 Receive first state information of at least one device in the first device group.
  • Step S2102 In response to receiving the first state information of at least one device in the first device group, determine a target device according to the first state information and the data sharing policy, where the target device is one of at least one device in the first device group.
  • Step S2103 Send a first message to the target device, where the first message is used to instruct the target device to share data, wherein the data shared by the target device is associated with the data sharing policy of the first cloud account.
  • FIG. 22 is a schematic flowchart of another data sharing method provided by an embodiment of the present application.
  • the method may be applied to a first device, and the first device may be the terminal 11 , 12 or 13 shown in FIG. 1 .
  • the first device is a device in a first device group, the first device group includes at least one device, and a device in the first device group is logged with a first cloud account.
  • the data sharing method may include the following steps:
  • Step S2201 Receive a first message sent by a cloud device, where the first message is used to instruct the first device to share data.
  • the cloud device stores the data sharing policy between the first cloud account and the second cloud account, and the association relationship between the first cloud account and the second cloud account, and the devices in the second device group are logged in with the second cloud account.
  • Cloud account, the second device group includes at least one device.
  • Step S2202 In response to receiving the first message, send first data to at least one device in the second device group, where the first data is associated with the data sharing policy of the first cloud account.
  • the first device may be understood as the target device in the method described in FIG. 13 .
  • FIG. 23 is a schematic flowchart of another data sharing method provided by an embodiment of the present application.
  • the method may be applied to a first device, and the first device may be the terminal 181, 182 or 183 shown in FIG. 18 .
  • the first device is a device in the first device group, the first device group includes at least one device, the devices in the first device group are logged with the first cloud account, and the first device stores the first cloud account
  • the data sharing strategy, and the association relationship between the first cloud account and the second cloud account, the second cloud account is logged on the second device group, and the second device group includes at least one device.
  • the data sharing method may include the following steps:
  • Step S2301 Receive first state information of at least one device in the first device group.
  • Step S2302 Based on the state information of at least one device in the first device group, determine that the first device satisfies the data sharing policy.
  • Step S2303 In response to determining that the first device satisfies the data sharing policy, send first data to at least one device in the second device group, where the first data is associated with the data sharing policy of the first cloud account.
  • FIG. 24 is a schematic flowchart of another data sharing method provided by an embodiment of the present application.
  • the method may be applied to a first device, and the first device may be the terminal 181, 182 or 183 shown in FIG. 18 .
  • the first device is a device in the first device group, the first device group includes at least one device, the devices in the first device group are logged with the first cloud account, and the first device stores the first cloud account
  • the data sharing strategy, and the association relationship between the first cloud account and the second cloud account, the second cloud account is logged on the second device group, and the second device group includes at least one device.
  • the data sharing method may include the following steps:
  • Step S2401 Receive first state information of at least one device in the first device group.
  • Step S2402 Based on the first state information of at least one device in the first device group, determine that the second device satisfies the data sharing policy, and the second device is a device other than the first device in the first device group.
  • Step S2403 In response to determining that the second device satisfies the data sharing policy, send a first message to the second device, where the first message is used to instruct the second device to share data.
  • FIG. 25 is a schematic structural diagram of a data sharing apparatus provided by an embodiment of the present application. As shown in FIG. 25 , the data sharing apparatus provided by the embodiment of the present application can be used to implement the method described in the foregoing method embodiment.
  • the data sharing apparatus includes at least one processor 2501, and the at least one processor 2501 can support the data sharing apparatus to implement the methods provided in the embodiments of this application.
  • the processor 2501 may be a general-purpose processor or a special-purpose processor.
  • the processor 2501 may include a central processing unit (CPU) and/or a baseband processor.
  • the baseband processor may be used for processing communication data (for example, determining a target screen terminal), and the CPU may be used for implementing corresponding control and processing functions, executing software programs, and processing data of software programs.
  • the data sharing apparatus may further include a transceiver unit 2505 to implement signal input (reception) and output (send).
  • the transceiver unit 2505 may include a transceiver or a radio frequency chip.
  • Transceiver unit 2505 may also include a communication interface.
  • the data sharing apparatus may further include an antenna 2506, which may be used to support the transceiver unit 2505 to implement the transceiver function of the split-screen apparatus.
  • the data sharing apparatus may include one or more memories 2502 on which programs (or instructions or codes) 2504 are stored, and the programs 2504 may be executed by the processor 2501, so that the processor 2501 executes the above method embodiments method described in .
  • data may also be stored in the memory 2502 .
  • the processor 2501 can also read the data stored in the memory 2502 (for example, the pre-stored first feature information), the data can be stored in the same storage address as the program 2504, and the data can also be stored with the program 2504 at different storage addresses.
  • the processor 2501 and the memory 2502 can be provided separately or integrated together, for example, integrated on a single board or a system on chip (system on chip, SOC).
  • SOC system on chip
  • the embodiments of the present application further provide an electronic device, where the electronic equipment includes the data sharing apparatuses provided in the foregoing embodiments.
  • an embodiment of the present application further provides a chip.
  • FIG. 26 is a schematic structural diagram of a chip provided by an embodiment of the present application.
  • the chip 2600 includes one or more processors 2601 and an interface circuit 2602 .
  • the chip 2600 may further include a bus 2603 . in:
  • the processor 2601 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method can be completed by an integrated logic circuit of hardware in the processor 2601 or an instruction in the form of software.
  • the above-mentioned processor 2601 may be a general purpose processor, a digital communicator (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components .
  • DSP digital communicator
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the interface circuit 2602 can be used for sending or receiving data, instructions or information.
  • the processor 2601 can use the data, instructions or other information received by the interface circuit 2602 to process, and can send the processing completion information through the interface circuit 2602.
  • the chip further includes a memory, which may include a read-only memory and a random access memory, and provides operation instructions and data to the processor.
  • a portion of the memory may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • the memory stores executable software modules or data structures
  • the processor may execute corresponding operations by calling operation instructions stored in the memory (the operation instructions may be stored in the operating system).
  • the interface circuit 2602 can be used to output the execution result of the processor 2601 .
  • processor 2601 and the interface circuit 2602 can be implemented by hardware design, software design, or a combination of software and hardware, which is not limited here.
  • processor in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), application-specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof.
  • CPU central processing unit
  • DSP digital signal processors
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • a general-purpose processor may be a microprocessor or any conventional processor.
  • the method steps in the embodiments of the present application may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions.
  • Software instructions can be composed of corresponding software modules, and software modules can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (programmable rom) , PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM), registers, hard disks, removable hard disks, CD-ROMs or known in the art in any other form of storage medium.
  • An exemplary storage medium is coupled to the processor, such that the processor can read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and storage medium may reside in an ASIC.
  • the above-mentioned embodiments it may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • software it can be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted over a computer-readable storage medium.
  • the computer instructions can be sent from one website site, computer, server, or data center to another website site by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) , computer, server or data center.
  • the computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, or the like that includes an integration of one or more available media.
  • the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state disks (SSDs)), and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请提供了一种数据分享方法、装置、系统及电子设备,涉及数据通信技术领域。该方法中,云端设备可以基于数据分享策略和接收到的第一设备组中的至少一个设备的状态信息,从第一设备组中筛选出目标设备,之后云端设备可以指示目标设备向第二设备组中的至少一个设备发送与第一云账号的数据分享策略相关联的数据,在第一设备组的设备上登录有第一云账号,第二设备组中的设备上登录有第二云账号,云端设备中存储有第一云账号的数据分享策略及第一云账号和第二云账号之间的关联关系。由此,实现云账户之间的数据分享,使得归属于一个云账户的不同设备可以在特定的情景下,将它们各自的数据自动分享至归属于另一云账户的设备上,简化了数据分享流程。

Description

数据分享方法、装置、系统及电子设备
本申请要求于2020年11月5日提交中国国家知识产权局、申请号为202011224839.5、申请名称为“数据分享方法、装置、系统及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及数据通信技术领域,尤其涉及一种数据分享方法、装置、系统及电子设备。
背景技术
随着智能设备的普及,每个用户均可以拥有多个的设备。其中,用户之间可以通过他们各自的设备进行数据分享,例如分享图片、视频、文件等。示例性的,用户A和用户B之间进行数据分享时,如果用户A需要将其手机中的图片分享给用户B时,则用户A需要先将其手机与用户B所使用的设备建立连接,然后用户A再将其手机中的图片发送至用户B所使用的设备上,以完成数据分享;如果用户A需要将其电脑中的视频分享给用户B时,则用户A需要先将其电脑与用户B所属的设备建立连接,然后用户A再将其电脑中的视频发送至用户B所属的设备上,以完成数据分享。可见,目前不同用户之间进行数据分享时,往往需要用户先将他们各自的设备建立连接,然后再进行数据分享,整个数据分享流程复杂,智能化程度低,用户体验较差。
发明内容
本申请实施例提供了一种数据分享方法、装置、系统及电子设备,能够实现云账户之间的数据分享,使得归属于一个云账户的不同设备可以在特定的情景下,将它们各自的数据自动分享至归属于另一云账户的设备上,简化了数据分享流程,提升了数据分享的智能化程度。
第一方面,本申请实施例提供了一种数据分享方法,应用于包含有第一设备组,第二设备组和云端设备的系统,第一设备组和第二设备组均包含至少一个设备,第一设备组中的设备上登录有第一云账号,第二设备组中的设备上登录有第二云账号,云端设备存储有第一云账号的数据分享策略,及第一云账号和第二云账号之间的关联关系,方法包括:
第一设备组中的至少一个设备向云端设备发送第一设备组中的至少一个设备的第一状态信息;
响应于接收第一设备组中的至少一个设备的第一状态信息,云端设备根据第一状态信息和数据分享策略确定目标设备,目标设备为第一设备组中的至少一个设备中的一个;
响应于确定目标设备,云端设备向目标设备发送第一消息,第一消息用于指示目标设备分享数据;
响应于接收第一消息,目标设备向第二设备组中的至少一个设备发送第一数据,第一数据与第一云账号的数据分享策略相关联。
由此,实现云账户之间的数据分享,使得归属于一个云账户的不同设备可以在特定的情景下,将它们各自的数据自动分享至归属于另一云账户的设备上,简化了数据分享流程,提升了数据分享的智能化程度。
在一种可能的实现方式中,第一设备组包含第一设备和第二设备,数据分享策略包括第一设备和第一分享策略的对应关系,第二设备和第二分享策略的对应关系,第一分享策略包含第一分享对象、第一数据分享类型和第一数据分享条件,第二分享策略包含第一分享对象、第二数据分享类型和第二数据分享条件,第一分享对象与第二云账号关联。由此表明数据分享策略所包含的内容。
在一种可能的实现方式中,第一数据与第一云账号的数据分享策略相关联,具体为:第一数据为与第一数据分享类型包含的全部或部分数据。
在一种可能的实现方式中,数据分享类型包括:数据类型、文件类型和多媒体类型中的一种或多种;数据分享条件包括数据分享场景、数据分享优先级和数据分享时间中的一种或多种,数据分享场景包括运动场景、娱乐场景和驾驶场景中的一种或多种。由此确定数据分享类型、数据分享条件和数据分享场景的具体形式。
在一种可能的实现方式中,第一数据分享条件和第二数据分享条件为数据分享场景,第一数据分享条件对应的数据分享场景为驾驶场景,第二数据分享条件对应的数据分享场景为娱乐场景;
第一设备组中的至少一个设备向云端设备发送第一设备组中的至少一个设备的第一状态信息,具体为:
第一设备向云端设备发送第一设备的第一状态信息,第一设备的第一状态信息包括速度信息和第一设备的标识;
第二设备向云端设备发送第二设备的第一状态信息,第二设备的第一状态信息为屏幕亮度信息和第二设备的标识;
云端设备根据第一状态信息和数据分享策略确定目标设备,具体为:
若第一设备的速度高于预设速度阈值,则确定第一设备满足驾驶场景,及确定第一设备为目标设备,和/或,若第二设备的屏幕亮度高于预设亮度阈值,则确定第二设备满足娱乐场景,及确定第二设备为目标设备。由此,以特定场景呈现确定目标设备的过程。
在一种可能的实现方式中,第一数据分享条件和第二数据分享条件为数据分享时间,第一数据分享条件对应的的数据分享时间为第一时间段,第二数据分享条件对应的的数据分享时间为第二时间段;
第一设备组中的至少一个设备向云端设备发送第一设备组中的至少一个设备的第一状态信息,具体为:
第一设备向云端设备发送第一设备的第一状态信息,第一设备的第一状态信息包括第一运行信息和第一设备的标识,第一运行信息用于表示第一设备是否处于运行状态;
第二设备向云端设备发送第二设备的第一状态信息,第二设备的第一状态信息包括第二运行信息和第二设备的标识,第二运行信息用于表示第二设备是否处于运行状态;
云端设备根据第一状态信息和数据分享策略确定目标设备,具体为:
若第一设备和第二设备均处于运行状态,且当前时间段属于第一时间段,则确定第一设备为目标设备;
或者,若第一设备和第二设备均处于运行状态,且当前时间段属于第二时间段,则确定第二设备为目标设备。由此,以特定场景呈现确定目标设备的过程。
在一种可能的实现方式中,第一设备为车辆,第一运行信息包括车辆的速度信息和/或启停信息;和/或
第二设备为具有屏幕的电子设备,第二运行信息包括电子设备的屏幕亮度信息和/或开关机信息。由此说明运行信息的具体内容。
在一种可能的实现方式中,数据分享条件还包括数据分享优先级,第一设备的优先级高于第二设备;
云端设备根据第一状态信息和数据分享策略确定目标设备,具体为:
若第一设备和第二设备均满足数据分享场景和/或数据分享时间,则确定第一设备为目标设备。由此,以特定场景呈现确定目标设备的过程。
在一种可能的实现方式中,数据分享策略还包括数据分享周期。由此,实现周期性分享数据。
在一种可能的实现方式中,第一设备组还包含第三设备,第三设备用于:
检测用户在第三设备的第一界面上输入的第一操作,第一界面上显示有第一设备组中的至少一个设备的标识,第一操作对应于第一设备组中的至少一个设备的标识中的第一设备的标识;
响应于检测到的第一操作,第三设备显示第一设置界面,第一设备界面用于设置第一设备组中第四设备的第三数据分享策略,第一设置界面包含第一控件;
检测到用户对第一控件输入的第二操作;
响应于第二操作,显示第二设置界面,第二设置界面用于设置第三数据分享策略中的第三数据分享条件,第二界面包含有第二控件;
检测用户对第二控件输入的第三操作;
响应于第三操作,在第二设置界面上显示有第三控件,第三控件用于选择第三数据分享条件。
由此,实现对数据分享条件的设置。
在一种可能的实现方式中,第三设备还用于:将第三数据分享策略发送至云端设备;
响应于接收第三数据分享策略,云端设备存储第一云账号的第三数据分享策略。由此,实现云端设备存储数据分享策略。
在一种可能的实现方式中,方法还包括:
响应于用户输入的第四操作,第一设备组中的至少一个设备建立第一云账号与第二云账号之间的关联关系;
第一设备组中的至少一个设备向云端设备发送第一云账号与第二云账号之间的关联关系;
响应于接收第一云账号与第二云账号之间的关联关系,云端设备存储第一云账号和第二云账号之间的关联关系。由此实现在云端设备存储第一云账号和第二云账号之间的关联关系。
在一种可能的实现方式中,方法还包括:
响应于用户输入的第五操作,第一设备组中的至少一个设备向云端设备发送第一请求,第一请求用于请求云端设备建立第一云账号和第二云账号之间的关联关系,第一请求中携带有第一云账号和第二云账号;
响应于接收第一请求,云端设备建立第一云账号和第二云账号之间的关联关系。由此实现在云端设备存储第一云账号和第二云账号之间的关联关系。
在一种可能的实现方式中,云端设备向目标设备发送第一消息之前,方法还包括:
所以云端设备根据第二设备组中至少一个设备的第二状态信息,确定第五设备在线,第 二设备组中至少一个设备包括第五设备;
云端设备向目标设备发送第一消息,具体为:
云端设备向目标设备发送第一消息,第一消息中携带有第五设备的标识;
响应于接收第一消息,目标设备向第二设备组中的至少一个设备发送第一数据,具体为:
响应于接收第一消息,目标设备向第五设备发送第一数据。
由此,实现向第二设备组中处于在线状态的设备发送数据。
在一种可能的实现方式中,云端设备根据第二设备组中至少一个设备的第二状态信息,确定第五设备在线之前,方法还包括:
第五设备向云端设备发送第五设备的第二状态信息,第五设备的第二状态信息用于表征第五设备在线。由此,实现云端设备确定出第五设备在线。
在一种可能的实现方式中,响应于接收第一消息,目标设备向第二设备组中的至少一个设备发送第一数据,具体为:
响应于接收第一消息,目标设备向云端设备发送第一数据;
响应于接收第一数据,云端设备向第二设备组中的至少一个设备发送第一数据。
由此,实现通过云端设备转发第一数据。
第二方面,本申请实施例提供了一种数据分享方法,应用于包含第一设备组和第二设备组的系统,第一设备组和第二设备组均包含至少一个设备,第一设备组中的设备上登录有第一云账户,第二设备组中的设备登录有第二云账户,第一设备组中的至少一个设备包括第一设备,第一设备中存储有第一云账号的数据分享策略,及第一云账号和第二云账号之间的关联关系,方法包括:
第一设备接收第一设备组中的至少一个设备的第一状态信息;
第一设备基于第一设备组中的至少一个设备的第一状态信息,确定第一设备满足数据分享策略;
响应于确定第一设备满足数据分享策略,第一设备向第二设备组中的至少一个设备发送第一数据,第一数据与第一云账号的数据分享策略相关联;
第二设备组中的至少一个设备接收第一数据;
或者,第一设备基于第一设备组中的至少一个设备的第一状态信息,确定第二设备满足数据分享策略,第二设备为第一设备组中除第一设备外的一个设备;
响应于确定第二设备满足数据分享策略,第一设备向第二设备发送第一消息,第一消息用于指示第二设备分享数据;
响应于接收第一消息,第二设备向第二设备组中的至少一个设备发送第一数据,第一数据与第一云账号的数据分享策略相关联;
第二设备组中的至少一个设备接收第一数据。
在一种可能的实现方式中,第一设备向第二设备组中的至少一个设备发送第一数据之前,方法还包括:
第一设备根据第二设备组中至少一个设备的第二状态信息,确定第五设备在线,第二设备组中至少一个设备包括第五设备;
第一设备向第二设备组中的至少一个设备发送第一数据,具体为:
第一设备向第五设备发送第一数据;
或者,第一设备向第二设备发送第一消息之前,方法还包括:
第一设备根据第二设备组中至少一个设备的第二状态信息,确定第五设备在线,第二设备组中至少一个设备包括第五设备;
第一设备向第二设备发送第一消息,具体为:第一消息携带有第五设备的标识;
第二设备向第二设备组中的至少一个设备发送第一数据,具体为,第二设备向第五设备发送第一数据。
在一种可能的实现方式中,第一设备根据第二设备组中至少一个设备的第二状态信息,确定第五设备在线之前,方法还包括:
第五设备向第一设备发送第五设备的第二状态信息,第五设备的第二状态信息用于表征第五设备在线。
第三方面,本申请实施例提供了一种数据分享方法,应用于云端设备,云端设备存储有第一云账号和第二云账号之间的数据分享策略,及第一云账号和第二云账号之间的关联关系,第一云账号登录于第一设备组中的设备上,第二云账号登录于第二设备组中的设备上,第一设备组和第二设备组均包含至少一个设备;
方法包括:
接收第一设备组中的至少一个设备的第一状态信息;
响应于接收第一设备组中的至少一个设备的第一状态信息,根据第一状态信息和数据分享策略确定目标设备,目标设备为第一设备组中的至少一个设备中的一个;
向目标设备发送第一消息,第一消息用于指示目标设备分享数据,其中,目标设备分享的数据与第一云账号的数据分享策略相关联。
在一种可能的实现方式中,第一设备组包含第一设备和第二设备,数据分享策略包括第一设备和第一分享策略的对应关系,第二设备和第二分享策略的对应关系,第一分享策略包含第一分享对象、第一数据分享类型和第一数据分享条件,第二分享策略包含第一分享对象、第二数据分享类型和第二数据分享条件,第一分享对象与第二云账号关联。
在一种可能的实现方式中,目标设备分享的数据与第一云账号的数据分享策略相关联,具体为:目标设备分享的数据为与第一数据分享类型包含的全部或部分数据。
在一种可能的实现方式中,数据分享类型包括:数据类型、文件类型和多媒体类型中的一种或多种;数据分享条件包括数据分享场景、数据分享优先级和数据分享时间中的一种或多种,数据分享场景包括运动场景、娱乐场景和驾驶场景中的一种或多种。
在一种可能的实现方式中,第一数据分享条件和第二数据分享条件为数据分享场景,第一数据分享条件对应的数据分享场景为驾驶场景,第二数据分享条件对应的数据分享场景为娱乐场景;
接收第一设备组中的至少一个设备的第一状态信息,具体为:
接收第一设备发送的第一状态信息,及第二设备发送的第一状态信息,第一设备的第一状态信息包括速度信息和第一设备的标识,第二设备的第一状态信息为屏幕亮度信息和第二设备的标识;
根据第一状态信息和数据分享策略确定目标设备,具体包括:
若第一设备的速度高于预设速度阈值,则确定第一设备满足驾驶场景,及确定第一设备为目标设备,和/或,若第二设备的屏幕亮度高于预设亮度阈值,则确定第二设备满足娱乐场 景,及确定第二设备为目标设备。
在一种可能的实现方式中,第一数据分享条件和第二数据分享条件为数据分享时间,第一数据分享条件对应的的数据分享时间为第一时间段,第二数据分享条件对应的的数据分享时间为第二时间段;
接收第一设备组中的至少一个设备的第一状态信息,具体为:
接收第一设备发送的第一状态信息,及第二设备发送的第一状态信息,第一设备的第一状态信息包括第一运行信息和第一设备的标识,第一运行信息用于表示第一设备是否处于运行状态,第二设备的第一状态信息包括第二运行信息和第二设备的标识,第二运行信息用于表示第二设备是否处于运行状态;
根据第一状态信息和数据分享策略确定目标设备,具体包括:
若第一设备和第二设备均处于运行状态,且当前时间段属于第一时间段,则确定第一设备为目标设备;
或者,若第一设备和第二设备均处于运行状态,且当前时间段属于第二时间段,则确定第二设备为目标设备。
在一种可能的实现方式中,第一设备为车辆,第一运行信息包括车辆的速度信息和/或启停信息;和/或
第二设备为具有屏幕的电子设备,第二运行信息包括电子设备的屏幕亮度信息和/或开关机信息。
在一种可能的实现方式中,数据分享条件还包括数据分享优先级,第一设备的优先级高于第二设备;
根据第一状态信息和数据分享策略确定目标设备,具体为:
若第一设备和第二设备均满足数据分享场景和/或数据分享时间,则确定第一设备为目标设备。
在一种可能的实现方式中,数据分享策略还包括数据分享周期。
在一种可能的实现方式中,方法还包括:
接收第一设备组中至少一个设备发送的用户设置的第一云账号的数据分享策略。
在一种可能的实现方式中,方法还包括:
接收第一设备组中至少一个设备发送的第一云账号与第二云账号之间的关联关系,及存储第一云账号与第二云账号之间的关联关系。
在一种可能的实现方式中,方法还包括:
接收第一设备组中至少一个设备发送的第一请求,第一请求用于请求云端设备建立第一云账号和第二云账号之间的关联关系,第一请求中携带有第一云账号和第二云账号;
响应于接收第一请求,建立第一云账号和第二云账号之间的关联关系。
在一种可能的实现方式中,向目标设备发送第一消息之前,还包括:
根据第二设备组中至少一个设备的第二状态信息,确定第五设备在线,第二设备组中至少一个设备包括第五设备;
向目标设备发送第一消息,具体为:
向目标设备发送第一消息,第一消息中携带有第五设备的标识,第一消息用于指示目标设备向第五设备发送数据。
在一种可能的实现方式中,根据第二设备组中至少一个设备的第二状态信息,确定第五 设备在线之前,还包括:
接收第五设备发送的第五设备的第二状态信息,第五设备的第二状态信息用于表征第五设备在线。
在一种可能的实现方式中,方法还包括:
接收目标设备发送的分享数据,以及将分享数据发送至第二设备组中的至少一个设备。
第四方面,本申请实施例提供了一种数据分享方法,应用于第一设备,第一设备为第一设备组中的一个设备,第一设备组包含至少一个设备,第一设备组中的设备上登录有第一云账号,方法包括:
接收云端设备发送的第一消息,第一消息用于指示第一设备分享数据;
响应于接收第一消息,向第二设备组中的至少一个设备发送第一数据;
其中,云端设备存储有第一云账号和第二云账号之间的数据分享策略,及第一云账号和第二云账号之间的关联关系,第二设备组中的设备上登录有第二云账号,第二设备组包含至少一个设备,第一数据与第一云账号的数据分享策略相关联。
在一种可能的实现方式中,数据分享策略包括第一设备和第一分享策略的对应关系,第一分享策略包含第一分享对象、第一数据分享类型和第一数据分享条件,第一分享对象与第二云账号关联。
在一种可能的实现方式中,第一数据与第一云账号的数据分享策略相关联,具体为:第一数据为与第一数据分享类型包含的全部或部分数据。
在一种可能的实现方式中,数据分享类型包括:数据类型、文件类型和多媒体类型中的一种或多种;第一数据分享条件包括数据分享场景、数据分享优先级和数据分享时间中的一种或多种,数据分享场景包括运动场景、娱乐场景和驾驶场景中的一种或多种。
在一种可能的实现方式中,数据分享策略还包括数据分享周期。
在一种可能的实现方式中,方法还包括:
检测用户在第一设备的第一界面上输入的第一操作,第一界面上显示有第一设备组中的至少一个设备的标识,第一操作对应于第一设备组中的至少一个设备的标识中的第一设备的标识;
响应于检测到的第一操作,显示第一设置界面第一设备界面用于设置第一设备组中第二设备的第二数据分享策略,第一设置界面包含第一控件;
检测到用户对第一控件输入的第二操作;
响应于第二操作,显示第二设置界面,第二设置界面用于设置第二数据分享策略中的第二数据分享条件,第二界面包含有第二控件;
检测用户对第二控件输入的第三操作;
响应于第三操作,在第二设置界面上显示第三控件,第三控件用于选择第二数据分享条件。
在一种可能的实现方式中,方法还包括:
将第二数据分享策略发送至云端设备。
在一种可能的实现方式中,方法还包括:
响应于用户输入的第四操作,建立第一云账号与第二云账号之间关联关系,及将第一云账号与第二云账号之间的关联关系发送至云端设备。
在一种可能的实现方式中,方法还包括:
响应于用户输入的第五操作,向云端设备发送第一请求,第一请求用于请求云端设备建立第一云账号和第二云账号之间的关联关系,第一请求中携带有第一云账号和第二云账号。
在一种可能的实现方式中,向第二设备组中的至少一个设备发送第一数据,包括:
发送第一数据至云端设备,以使云端设备发送第一数据至第二设备组中的至少一个设备。
在一种可能的实现方式中,接收云端设备发送的第一消息之前,还包括:
向云端设备发送第一状态信息,以使云端设备根据第一状态信息和数据分享策略从第一设备组中确定第一设备。
第五方面,本申请实施例提供了一种数据分享方法,应用于第一设备,第一设备为第一设备组中的一个设备,第一设备组包含至少一个设备,第一设备组中的设备上登录有第一云账号,第一设备中存储有第一云账号的数据分享策略,及第一云账号和第二云账号之间的关联关系,第二云账号登录于第二设备组上,第二设备组包含至少一个设备;
方法包括:
接收第一设备组中的至少一个设备的第一状态信息;
基于第一设备组中的至少一个设备的第一状态信息,确定第一设备满足数据分享策略;
响应于确定第一设备满足数据分享策略,向第二设备组中的至少一个设备发送第一数据,第一数据与第一云账号的数据分享策略相关联;
或者,基于第一设备组中的至少一个设备的第一状态信息,确定第二设备满足数据分享策略,第二设备为第一设备组中除第一设备外的一个设备;
响应于确定第二设备满足数据分享策略,向第二设备发送第一消息,第一消息用于指示第二设备分享数据。
在一种可能的实现方式中,向第二设备组中的至少一个设备发送第一数据之前,方法还包括:
根据第二设备组中至少一个设备的第二状态信息,确定第五设备在线,第二设备组中至少一个设备包括第五设备;
向第二设备组中的至少一个设备发送第一数据,具体为:向第五设备发送第一数据;
或者向第二设备发送第一消息之前,方法还包括:
根据第二设备组中至少一个设备的第二状态信息,确定第五设备在线,第二设备组中至少一个设备包括第五设备;
向第二设备发送第一消息,具体为:第一消息携带有第五设备的标识。
在一种可能的实现方式中,根据第二设备组中至少一个设备的第二状态信息,确定第五设备在线之前,方法还包括:
接收第五设备发送的第五设备的第二状态信息,第五设备的第二状态信息用于表征第五设备在线。
第六方面,本申请实施例提供了一种数据分享系统,系统包含第一设备组,第二设备组和云端设备的系统,第一设备组和第二设备组均包含至少一个设备,第一设备组中的设备上登录有第一云账号,第二设备组中的设备上登录有第二云账号,云端设备存储有第一云账号的数据分享策略,及第一云账号和第二云账号之间的关联关系,其中,系统用于执行如第一 方面中所提供的方法;
或者,系统包含第一设备组和第二设备组,第一设备组和第二设备组均包含至少一个设备,第一设备组中的设备上登录有第一云账户,第二设备组中的设备登录有第二云账户,第一设备组中的至少一个设备包括第一设备,第一设备中存储有第一云账号的数据分享策略,及第一云账号和第二云账号之间的关联关系,其中,系统用于执行如第二方面中所提供的方法。
第七方面,本申请实施例提供了一种数据分享装置,用于执行如第三、四或五方面中所提供的方法。
第八方面,本申请实施例提供了一种数据分享装置,其特征在于,包括:
存储器,用于存储程序;
处理器,用于执行存储器存储的程序,当存储器存储的程序被执行时,处理器用于执行如第三、四或五方面中所提供的方法。
第九方面,本申请实施例提供了一种电子设备,其特征在于,包括如第七方面或第八方面所提供的装置。
第十方面,本申请实施例提供了一种计算机存储介质,计算机存储介质中存储有指令,当指令在计算机上运行时,使得计算机执行如第三、四或五方面中所提供的方法。
第十一方面,本申请实施例提供了一种芯片,包括至少一个处理器和接口;
接口,用于为至少一个处理器提供程序指令或者数据;
至少一个处理器用于执行程序行指令,以实现如第三、四或五方面中所提供的方法。
附图说明
下面对实施例或现有技术描述中所需使用的附图作简单地介绍。
图1是本申请实施例提供的一种数据分享的系统架构示意图;
图2是本申请实施例提供的一种终端的硬件结构示意图;
图3是本申请实施例提供的一种云端设备的结构示意图;
图4a是本申请实施例提供的一种终端的界面示意图;
图4b是本申请实施例提供的一种终端的界面示意图;
图4c是本申请实施例提供的一种终端的界面示意图;
图4d是本申请实施例提供的一种终端的界面示意图;
图4e是本申请实施例提供的一种终端的界面示意图;
图5是本申请实施例提供的一种终端的界面示意图;
图6a是本申请实施例提供的一种终端的界面示意图;
图6b是本申请实施例提供的一种终端的界面示意图;
图6c是本申请实施例提供的一种终端的界面示意图;
图6d是本申请实施例提供的一种终端的界面示意图;
图6e是本申请实施例提供的一种终端的界面示意图;
图7a是本申请实施例提供的一种终端的界面示意图;
图7b是本申请实施例提供的一种终端的界面示意图;
图7c是本申请实施例提供的一种终端的界面示意图;
图7d是本申请实施例提供的一种终端的界面示意图;
图7e是本申请实施例提供的一种终端的界面示意图;
图7f是本申请实施例提供的一种终端的界面示意图;
图7g是本申请实施例提供的一种终端的界面示意图;
图7h是本申请实施例提供的一种终端的界面示意图;
图7i是本申请实施例提供的一种终端的界面示意图;
图7j是本申请实施例提供的一种终端的界面示意图;
图7k是本申请实施例提供的一种终端的界面示意图;
图7l是本申请实施例提供的一种终端的界面示意图;
图7m是本申请实施例提供的一种终端的界面示意图;
图8是本申请实施例提供的一种终端的界面示意图;
图9a是本申请实施例提供的一种终端的界面示意图;
图9b是本申请实施例提供的一种终端的界面示意图;
图9c是本申请实施例提供的一种终端的界面示意图;
图10是本申请实施例提供的一种智能电视的界面示意图;
图11a和11b共同组成了一种数据分享的情景示意图;
图12a和12b共同组成了一种数据分享的情景示意图;
图13是本申请实施例提供的一种数据分享方法的流程示意图;
图14是本申请实施例提供的一种目标设备向第二设备组中的至少一个设备发送第一数据的步骤示意图;
图15是本申请实施例提供的一种第一云账号的数据分享策略设置方法的流程示意图;
图16是本申请实施例中提供的一种建立第一云账号与第二云账号之间关联关系的方法流程示意图;
图17是本申请实施例中提供的另一种建立第一云账号与第二云账号之间关联关系的方法流程示意图;
图18是本申请实施例提供的另一种数据分享的系统架构示意图;
图19是本申请实施例提供的另一种数据分享方法的流程示意图;
图20是本申请实施例提供的另一种数据分享方法的流程示意图;
图21是本申请实施例提供的另一种数据分享方法的流程示意图;
图22是本申请实施例提供的另一种数据分享方法的流程示意图;
图23是本申请实施例提供的另一种数据分享方法的流程示意图;
图24是本申请实施例提供的另一种数据分享方法的流程示意图;
图25是本申请实施例提供的一种数据分享装置的结构示意图;
图26是本申请实施例提供的一种芯片的结构示意图。
具体实施方式
为了使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图,对本申请实施例中的技术方案进行描述。
在本申请实施例的描述中,“示例性的”、“例如”或者“举例来说”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”、“例如”或者“举例来说”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示 例性的”、“例如”或者“举例来说”等词旨在以具体方式呈现相关概念。
在本申请实施例的描述中,术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,单独存在B,同时存在A和B这三种情况。另外,除非另有说明,术语“多个”的含义是指两个或两个以上。例如,多个系统是指两个或两个以上的系统,多个屏幕终端是指两个或两个以上的屏幕终端。
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。
图1示出了一种数据分享的系统架构示意图。参阅图1,该系统包括多个终端,如终端11、12、13、14、15,以及云端设备16;其中,终端11、12、13归属于用户A,终端14、15归属于用户B。用户A可以使用云账号a关联终端11、12、13,用户B使用云账号b关联终端14、15。例如,当终端11、12、13均为华为设备时,用户A可以在终端11、12、13上同时登录其注册的华为账号,换言之,用户A可以在多个终端上同时登录一个账号。用户A所对应的终端(即终端11、12、13)与用户B所对应的终端(即终端14、15)之间可以单向或双向传输数据,例如终端11中的图片可以传输至终端14中,终端14中的图片也可以传输至终端11中等等。应理解的是,在终端中安装有与云账号所对应的客户端,和/或终端中具有供云账号登录的网页端等。其中,客户端可以为终端中操作系统,如鸿蒙系统(huaweiHarmonyOS,HongmengOS)、ios(iPhone Operation System)等,也可以为终端中的第三方云应用,如谷歌云、亚马逊云等;云账号则可以是华为云账号、苹果云账号、谷歌云账号、亚马逊云账号等。
云端设备16可以将用户A的云账号a与用户B的云账号b进行关联。这样在用户A在终端11、12、13中至少一个终端上登录其注册的云账号a,以及用户B在终端14、15中至少一个终端上登录其注册的云账号b时,利用云账号a和云账号b的关联关系,就建立起终端11、12、13与终端14、15间的关联关系。通过云端设备16将用户A和用户B所对应的终端之间组建成分布式网络。
接着,用户A所对应的终端中的数据通过云账号a登录的客户端或网页端传输至云端设备16。之后,云端设备16将接收到的数据分享至云账号b登录的客户端或网页端。最后,当用户B使用终端14、15中的任意一个终端时,就可以接收到云端设备16传输的数据,实现了用户A与用户B之间的数据分享。
在一些示例中,终端可以为手机、平板电脑、数码相机、个人数字助理(personal digitalassistant,PDA)、可穿戴设备、智能电视、华为智慧屏等电子设备。电子设备的示例性实施例包括但不限于搭载iOS、android、Windows、鸿蒙系统(Harmony OS)或者其他操作系统的电子设备。上述电子设备也可以是其他电子设备,诸如具有触敏表面(例如触控面板)的膝上型计算机(laptop)等。本申请实施例对电子设备的类型不做具体限定。
终端可以与云端设备16通过有线网络(Wired network)或无线网络(wireless network)等网络连接。例如,该网络可以为局域网(local area networks,LAN),也可以为广域网(wide area networks,WAN)(例如互联网)。终端可以与云端设备16之间的网络均可使用任何已知的网络通信协议来实现,上述网络通信协议可以是各种有线或无线通信协议,诸如以太网、通用串行总线(universal serial bus,USB)、火线(firewire)、全球移动通讯系统(global system for mobile  communications,GSM)、通用分组无线服务(general packet radio service,GPRS)、码分多址接入(code divisionmultiple access,CDMA)、宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA)、长期演进(long term evolution,LTE)、新空口(new radio,NR)、蓝牙(bluetooth)、无线保真(wireless fidelity,Wi-Fi)等通信协议。
在一些示例中,云端设备16可以用于提供云服务,其可以为一种可以与终端建立通信连接、且能为终端提供数据处理功能、运算功能和/或存储功能的服务器或者是超级终端。其中,云端设备16可以是硬件服务器,也可以植入虚拟化环境中,例如,云端设备16可以是在包括一个或多个其他虚拟机的硬件服务器上执行的虚拟机。此外,云端设备16可以通过网络与终端进行交互,例如从终端11接收数据并向终端14发送数据。
在一些示例中,终端可以实时或间隔预设时长将其自身的设备状态信息发送至云端设备16。其中,设备状态信息包括终端的身份标识、终端所处环境信息、时间信息、位置信息等等。例如,终端可以先将设备状态信息发送至终端上云账号所对应的客户端,再由该客户端上传至云端设备16。
接下来,云端设备16可以基于预先设定的数据分享策略和终端的设备状态信息,从多个终端中确定出当前需要进行数据分享的终端。例如,终端包括终端11、12和13,预先设定的分享策略是“终端处于驾驶模式时开始进行数据分享,且终端11、12、13的优先级依次降低”,此时,若终端11、12的设备状态信息表明两者均处于驾驶模式,而终端13的设备状态信息表明其处于飞行模式,则云端设备16可以筛选出终端11、12为需要进行数据分享的终端;进一步地,由于终端11的优先级大于终端12的优先级,因此,云端设备16可以确定终端11为需要进行数据分享的终端。
接下来,云端设备16可以将确定出的需要进行数据分享的终端的信息,反馈至云账号所对应的客户端。之后,待分享客户端可以获取需要进行数据分享的终端中的数据,将获取到的数据上传至云端设备16。之后,云端设备16将接收到的数据,发送至关联云账号所对应的客户端中。
在一个例子中,云端设备16在转发数据时,可以确定相应关联云账号所对应的客户端所在的终端的状态信息,该状态信息可以表征相应的终端是否处于运行状态。当相应的终端处于运行状态时,云端设备16再转发数据至相应的终端。其中,相应关联云账号所对应的客户端所在的终端,可以周期性将其状态信息发送至云端设备16,这样云端设备16就可以及时获知到它们的状态信息。
下面介绍本申请实施例中一种终端的硬件结构示意图。其中,该终端为用户A所对应的终端和/或用户B所对应的终端。
图2示出了终端的硬件结构示意图。如图2所示,终端100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K, 环境光传感器180L,骨传导传感器180M等。
可以理解的是,本申请实施例示意的结构并不构成对终端100的具体限定。在本申请另一些实施例中,终端100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如,处理器110可以包括应用处理器(application processor,AP)、调制解调器(modem)、图形处理器(graphics processing unit,GPU)、图像信号处理器(image signal processor,ISP)、控制器、视频编解码器、数字信号处理器(digital signal processor,DSP)、基带处理器、和/或神经网络处理器(neural-network processing unit,NPU)等中的一项或多项。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
处理器110中还可以设置存储器,用于存储指令和数据。在一些示例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用,以避免重复存取,减少处理器110的等待时间,提高系统的效率。在一些示例中,处理器110可以用于解析摄像头193采集的图像数据,并对图像数据进行分析处理,确定终端100是否处于运动状态等。
在一些示例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(PulseCodeModulation,PCM)接口,通用异步收发传输器(Universal Asynchronous Receiver/Transmitter,UART)接口,移动产业处理器接口(MobileIndustryProcessorInterface,MIPI),通用输入输出(General PurposeI/0Ports,GPIO),用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(UniversalSerialBus,USB)接口等。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的示例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的示例中,充电管理模块140可以通过终端100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为其他电子设备供电。
电源管理模块141用于连接电池142、充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110、内部存储器121、外部存储器、显示屏194、摄像头193和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量、电池循环次数、电池健康状态(漏电,阻抗)等参数。在其他一些示例中,电源管理模块141也可以设置于处理器110中。在另一些示例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
终端100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。终端100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些示例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在终端100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise  amplifier,LNA)等。移动通信模块150可以由包括天线1的至少两根天线接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调器进行解调。移动通信模块150还可以对经调制解调器调制后的信号放大,经天线1转为电磁波辐射出去。在一些示例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些示例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些示例中,调制解调器可以是独立的器件。在另一些示例中,调制解调器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。在另一些示例中,移动通信模块150可以是调制解调器中的模块。
无线通信模块160可以提供应用在终端100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些示例中,终端100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得终端100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),第五代,新空口(new radio,NR),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
终端100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可以包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些示例中,终端100可以包括一个或多个显示屏194。
终端100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍摄时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些示例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频,例如,捕获人物的面部特征信息、姿态特征信息等。物体通镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(ComplementaryMetalOxideSemiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些示例中,终端100可以包括一个或多个摄像头193。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当终端100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。终端100可以支持一种或多种视频编解码器。这样,终端100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展终端100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行终端100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储终端100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
终端100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些示例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。终端100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当终端100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。终端100可以设置至少一个麦克风170C。在另一些示例中,终端100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,终端100还可以设置 三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
其中,压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些示例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。终端100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,终端100根据压力传感器180A检测所述触摸操作强度。终端100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些示例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定终端100的运动姿态。在一些示例中,可以通过陀螺仪传感器180B确定终端100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当使用终端100采集环境中的用户特征信息时,陀螺仪传感器180B检测终端100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消终端100的抖动,实现防抖。
气压传感器180C用于测量气压。在一些示例中,终端100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
加速度传感器180E可检测终端100在各个方向上(一般为三轴)加速度的大小。当终端100静止时可检测出重力的大小及方向。还可以用于识别终端的姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。终端100可以通过红外或激光测量距离。在一些示例中,当利用终端采集环境中用户的用户特征信息时,终端100可以利用距离传感器180F测距以实现快速对焦。
环境光传感器180L用于感知环境光亮度。终端100可以根据感知的环境光亮度自适应调节显示屏194亮度。
指纹传感器180H用于采集指纹。终端100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些示例中,终端100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,终端100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,终端100对电池142加热,以避免低温导致终端100异常关机。在其他一些实施例中,当温度低于又一阈值时,终端100对电池142的输出电压执行升压,以 避免低温导致的异常关机。
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于终端100的表面,与显示屏194所处的位置不同。
按键190包括开机键,音量键,输入键盘等。按键190可以是机械按键。也可以是触摸式按键。终端100可以接收按键输入,产生与终端100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如视频播放,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
下面介绍本申请实施例中一种云端设备的结构示意图。
图3示出了云端设备的结构示意图。如图3所示,云端设备可以包括通信模块210、账号管理模块220、数据管理模块230、权限管理模块240等等。通信模块210可以与终端(如终端11、12、13等)建立通信连接,以进行数据交互。示例性的,在终端11上安装有与云账号所对应的客户端,且在该客户端上登录有云账号a时,终端11中的图片、视频等数据可以经云账号a所登录的客户端传输至云端设备中,这样云端设备就可以接收到终端11中的图片、视频等数据。
账号管理模块220可以对云账号进行管理。例如,建立云账号a和云账号b之间的关联关系、添加云账号、删除云账号、注册云账号等等。在一些例子中,在多个终端中登录同一账号时,账号管理模块220也可以建立多个终端间的信任关系,从而实现多个终端间的数据拉通,保证数据格式一致,数据采集规则一致,存储规则一致等。
数据管理模块230可以将从云账号a处获取的数据,转发至与云账号a具有关联关系的云账号b处。例如,在终端11中登录云账号a,终端15中登录云账号b,云账号a和云账号b之间具有关联关系时,通过云账号a将终端11中的图片上传到云端设备16中云账号a对应的云存储空间后,数据管理模块230可以将该图片转发至云账号b所对应的云存储空间中,从而使得终端15登录云账号b后,终端15可以从云账号b对应的云存储空间中下载该图片,以实现将终端11中的图片分享到终端15中。
权限管理模块240可以管理云账号所对应的数据分享的权限。例如,用户A通过云账号a登录的客户端将拟分享给云账号b的权限由仅分享图片变更为分享图片和视频,则权限管理模块240可以将云账号b的数据分享权限同步进行变更。
下面介绍如何建立云账号与终端之间的关联关系。
终端在初次被使用时,往往需要设置账号,而该账号往往可以在同一厂商提供的大部分 设备上登录,因此,若该终端的厂商可以提供云服务,则该账号可以作为云账号,这样就建立起了云账号与终端之间的关联关系。例如,以云账号为华为账号为例,如图4a所示,当终端为华为所提供时,该终端首次开机时,用户可以在设置界面选择“注册账号”,以获取到华为账号,而该华为账号则可以供当前用户登录其大部分的华为终端,且华为可以提供云服务,因此,该账号就可以作为当前用户的云账号。可以理解的是,云账号为华为账号仅是示例性说明,其也可以为其他云账号,如谷歌云账号、亚马逊云账号等。
此外,若终端的厂商不能提供云服务,用户则可以向第三方申请云账号,并在当前终端上登录该云账号,即可以将该云账号与当前终端关联在一起,这样就建立起了云账号与终端之间的关联关系。例如,用户登录终端后,可以下载华为云软件;之后,如图4a所示,打开华为云软件,并在显示界面上点击“注册账号”;之后,如图4b所示,选择使用“手机号”;之后,如图4c所示,选择“国家/地区”,以及输入“手机号码”,并点击“下一步”;接着,如图4d所示,将接收到的验证码“abcd”相应区域,并点击“下一步”;之后,如图4e所示,输入密码,以及确认密码,并点击“完成”,即可完成华为账号的申请工作;之后,用户使用申请的华为云账号在其正在使用的当前终端上登录华为云软件,即可以完成该华为云账号与用户所使用的当前终端关联在一起。
在一个例子中,用户成功登录云账号后,可以对上传到云空间中的数据进行选择。例如,如图5所示,用户可以选择开启云备份、开启查找我的手机、开启数据同步,以及开启数据同步中的图库、联系人、浏览器和日历的数据同步,并关闭备忘录的数据同步。
接着,介绍如何建立账号间关联关系。
首先,先添加对方为好友。
用户可以使用云账号在终端上登录云账号所对应的客户端。如图6a所示,用户登录到云账号所对应的客户端后,可以在账号中心选择联系人61。之后,进入到如图6b所显示的界面,在该界面中,用户可以在“好友”列表中查看到其已经添加的好友,如图6b中的“Ama”和“Anna”。接着,用户可以在图6b所显示的界面中选择添加好友按键62,然后进入到图6c所显示的界面。在图6c所显示的界面中,用户可以在好友搜索区域63输入其所需要添加的好友的华为账号或者手机号等,并搜索;搜索到其他用户的云账号后,点击添加按键,在其他用户同意后,即完成好友添加操作。另外,在图6c中,用户也可以从通讯录64中添加通讯录中的好友,也可以通过扫一扫65扫描二维码添加好友。此外,在图6c中还可以在显示区域66处向用户呈现该用户最近联系的人,此时,在最近联系人的下方可以显示“加好友”的按键,用户选择“加好友”后,在其他用户同意后,即完成好友添加操作。
此外,如图6d所示,用户在“群组空间”列表中,可以查看到其设置的群组,如“我的家人”、“大学同学”、“同事”等。另外,在图6d中,当用户点击添加群组按键67后,即可以建立新的群组。如图6e所示,用户在“我的设备”列表中,可以查看到其云账号所关联的设备,如“手机”、“车辆”、“平板”、“音箱”等。
然后,设置分享策略。
继续参阅图6e,用户可以在“我的设备”列表中,点击“手机”、“车辆”、“平板”、“音箱”中的一个,之后,进入到如图7a所示的相应终端的分享设置界面。如图7a所示,在分享设置界面,用户可以在显示区域71处开启自动分享。之后,用户可以在显示区域72处选择分享对象,并进入到如图7b所示的分享对象设置界面。如图7b所示,在分享对象设置界面中,用户可以点击分享对象添加按键73,增加分享对象,进而进入到如图7c所示的界面, 此时用户可以点击显示区域74,以选择其所需要添加的对象。之后,即进入到如图7d所示的界面,在图7d中用户可以将分享对象选择为个人或者群组,当用户将分享对象选择为群组时,即进入到图7e所示的界面;另外,在图7d中,用户也可以选择“创建新群组”,以建立新的群组,并向该新建的群组中的成员分享数据。在图7e中包括三个分享对象,分别是Tom、Jack和Group1。用户设置分享对象后,可以退回到图7a所示的界面,此时,用户可以在显示区域75处选择分享内容,并进入到图7f所示的界面,在图7f中用户可以根据需求开启图片、视频、语音、行程、位置、摄像头、听筒等分享。用户设置分享内容后,可以退回到图7a所示的界面,此时,用户可以在显示区域76处选择分享条件,并进入到图7g所示的界面。在图7g显示的界面中,用户可以从设定的分享对象中选取一个分享对象,例如选取Tom,以及从设定的分享内容中选取其想分享给相应分享对象的内容,例如,选取图片、视频和语音。
另外,在图7g中,用户也可以设置分享方式,例如预约分享,亦可以设置分享时间,例如随时分享等。在一个例子中,在图7g中,用户可以点击分享方式设置按键78,之后,进入到图7h所显示界面。在图7h显示的界面中,用户可以在显示区域79中,选取分享方式,例如,时间段分享、场景分享、优先级分享等等。可以理解的是,点击分享方式设置按键78后,也可以采用下拉菜单的方式向用户呈现可选择的分享方式,在此不做限定。示例性的,当用户选择时间段分享后,可以显示如图7i所示的界面,即在显示区域79中显示时间段的设置或者已经设置好的时间段,如,10:00至12:00分享。示例性的,当用户选择场景分享后,可以显示如图7j所示的界面,即在显示区域79中显示可选择的场景,如,驾驶场景、运动场景、娱乐场景等。示例性的,当用户选择优先级分享后,可以显示如图7k所示的界面,即在显示区域79中显示已设定的优先级,或可设定的优先级等等。可以理解的是,图7k中车辆的优先级高于手机,手机的优先级高于音箱,音箱的优先级高于手表。在一个例子中,用户可以在图7k所示的界面中拖动调整各个终端的优先级,例如,将手机拖动至车辆处,此时,手机和车辆的优先级将调换。可以理解的是,用户在一个终端上设置好优先级后,该设置信息将同步至相应云账号下的所有终端上,并以用户最近一次设置的优先级替换用户上次设置的优先级,即在一个云账号下的所有终端中在优先级分享设置的界面,向用户呈现的是用户最近一次的优先级设置信息。可以理解的是,用户在设置分享方式时,可以同时选取多种分享方式,例如同时选取时间段分享、场景分享和优先级分享,也可以选取其中一种方式,在此不做限定。
此外,在图7g中,用户也可以选择分享条件添加按键77,之后,即可以进入到图7l所示的界面,以添加新的分享条件。如图7l所示,新的分享条件(图中虚线框所围区域)中,分享对象可以为Group1,分享内容可以为摄像头和听筒,分享方式可以为预约分享,分享时间可以为随时。此外,对于分享时间,用户也可以自定义,如图7m所示,用户在设置分享对象为Tom的分享时间时,其在点击分享时间中的随时后,可以选择默认,也可以自定义时间,例如设置分享周期为2020-10—1至2020-10-07,分享时间段为每天的10:00至12:00和14:00至16:00。由此,用户即可以完成对单个好友和/或群组的分享权限的设置。
可以理解的是,在图7a中用户也可以开启分享提醒,例如,开启短信提醒、电话提醒等,这样使用户即时获知其正在使用的终端需要分享数据。此外,用户在获知其正在使用的终端需要分享数据时,也可以根据自身意愿选择是否允许分享数据等等。
在完成上述操作后,与用户A关联的终端中(终端11,终端12和终端13),若其中一个终端(如终端11)满足数据分享策略,则该终端中的数据将通过云账号(如云账号a)所 登录的客户端或网页端发送至云端设备,由云端设备转发至与该云账号具有关联关系且具备该数据分享权限的其他云账号(如云账号b)所对应的客户端或网页端,这样当与其他云账号(如云账号b)具备关联关系的终端(如终端14)处于活动状态时,就可以通过该终端(如终端14)查看与其他终端(如终端11)所分享的数据。
在一些实施例中,用户使用云账号在终端上登录云账号所对应的客户端后,可以在设置界面或其他界面中选择家人共享,以将用户的支付方式、购买项目、云存储空间等共享给用户的家人。例如,用户在选择“家人共享”后,可以进入到如图8所示的界面。在如图8所示的界面中,用户Mike可以在家人共享中,添加家庭成员,并设置共享的功能,如开启支付方式共享和云存储空间共享。
在一些实施例中,若用户的同一个云账号关联了该用户的多个终端,则用户在其中一个终端上打开云账号所对应的客户端后,如图9a所示,在终端的显示区域91将显示该云账号关联的终端,如车辆、手机、音响等。之后,点击设置某个终端,即可以查看到与该终端有关的参数信息;例如,如图9b所示,用户在终端的显示区域91处,选择代表车辆的终端911,此时,在显示区域912处即可以显示与该车辆相关的参数信息,如,燃料剩余量、车内外温度、位置信息、车门控制信息等等。接着,用户点击其选择的终端中的某项信息,即可以查看到与该项信息相关的内容;例如,如图9b所示,用户点击显示区域912处的解锁控制键9121,就可以进入到如图9c所示的界面,此时,用户可以选择解锁车门按键95,以打开车门,或者选择取消按键96,以取消打开车门。需说明的是,图9a中的“Virtual rooms”可以理解为图6d中的“群组空间”。
在一些实施例中,在一个终端上可以登录多个云账号,此时该终端可以理解为多人共享的终端,例如终端可以为智能电视。若多个云账号中的云账号a处于前台激活状态,则可以在该终端上查看到与云账号a具有关联关系的其他云账号所分享的数据,或者,可以利用云账号a将该终端中的数据分享至与云账号a具有关联关系的其他云账号。应理解的是,此时用户可以基于自身需求切换云账号,选取出其所期望处于前台激活状态的云账号。
举例来说,如图10所示,终端为智能电视,在智能电视上已经登录的云账号有Mike的云账号和Sam的云账号,但此时Mike的云账号处于前台激活状态,而Sam的云账号并未处于前台激活状态。此时,用户可以点击“Watch Now”按键,选择观看“The history of HUAWEI”的视频。若Mike设置的数据分享策略为:在上午8点至10点,分享智能电视中的视频数据,则在用户在智能电视上观看“The history of HUAWEI”的视频,且当前的观看时刻处于上午8点至10点之间时,“The history of HUAWEI”的视频内容就可以自动被分享至与Mike的云账号具有关联关系的其他云账号,这样在其他云账号所登录的终端上就可以看到智能电视上正在播放的视频内容,即“The history of HUAWEI”的视频。应理解的是,此时与Mike的云账号具有关联关系的其他云账号具备该视频内容的分享权限。
为了便于理解,下面对本申请实施例中的数据分享方法的应用过程进行举例说明。
用户A拥有车机、手机、智能眼镜三种终端,其云账号为云账号a。用户B拥有电脑和智能电视两种终端,其云账号为云账号b。用户A在手机上的云账号所对应的客户端中已添加云账号b为好友,以及设置了分享条件、权限等,即云账号a与云账号b之间具有关联关系。
第一、基于优先级进行数据分享的情况。
用户A在车机、手机、智能眼镜上登录云账号a。用户A可以设置车机的分享条件为“驾 驶模式”,手机和智能眼镜的分享条件均为“摄像模式”。车机、手机、智能眼镜的分享优先级依次降低。车机、手机、智能眼镜均会实时或间隔预设时长向云端设备反馈它们各自的设备状态信息,例如,车机可以反馈其是否处于驾驶模式,手机和智能眼镜可以反馈是否处于摄像模式等。
当用户A驾驶车机所在的车辆行驶时,车机处于驾驶模式,此时车机中云账号a所对应的客户端将获取车机中摄像头、行车记录仪等设备拍摄和记录的沿途的风景,并上传至云端设备。例如,如图11a所示,车辆上的行车记录仪A1拍摄到图片m,此时行车记录仪A1中云账号a所对应的客户端可以将图片m上传到云端设备。然后,云端设备将由云账号a上传的沿途风景数据,例如图11a中的图片m,传输至云账号b所对应的客户端。参阅图11b,若用户B正在使用智能电视B1,则用户B在智能电视B1上打开云账号b所对应的客户端,就可以查看到用户A所分享的沿途风景数据,例如图片m。在车辆行驶过程中,用户A开启手机的摄像头,手机处于拍摄模式,但由于车机的优先级高于手机的优先级,因此,此时云端设备将手机确定为无需进行数据分享的终端,其不会发送接收手机中数据的请求。
当用户A停车后,车机退出驾驶模式,此时车机已不满足分享条件,车机中云账号a所对应的客户端将停止获取车机中的数据。此时,若手机仍然处于拍摄模式,则手机中云账号a所对应的客户端将获取手机拍摄的图片或视频,以及上传至云端设备。之后,由云端设备传输至云账号b所对应的客户端。
第二、基于时间进行数据分享的情况。
用户A在车机、手机、智能眼镜上登录云账号a。用户A可以设置分享条件为:8~12点为自驾在途时间,由车机分享;12~14点为野外就餐时间,由手机分享;14~16点为景区观光时间,由智能眼镜分享;16~18点为跑步时间,由智能眼镜分享。
若当前时间处于8~12点,此时手机和智能眼镜均不满足分享条件,而车机满足分享条件。因此,此时手机和智能眼镜中云账号a所对应的客户端则停止获取数据,而车机中云账号a所对应的客户端将获取车机中摄像头、行车记录仪等设备拍摄和记录的沿途的风景,以及上传至云端设备。然后,云端设备将由云账号a上传的沿途风景数据传输至云账号b所对应的客户端。若用户B正在使用智能电视,则用户B在智能电视上打开云账号b所对应的客户端,就可以查看到用户A所分享的沿途风景数据。
若当前时间处于12~14点,此时车机和智能眼镜均不满足分享条件,而手机满足分享条件。因此,此时车机和智能眼镜中云账号a所对应的客户端则停止获取数据,而手机中云账号a所对应的客户端将获取手机拍摄的图片或视频,以及上传至云端设备,例如,如图12a所示,手机A2拍摄到图片n,此时手机A2中云账号a所对应的客户端将图片n上传到云端设备。之后,由云端设备将上传的图片或视频,例如图12a中的图片m,传输至云账号b所对应的客户端。如图12b所示,若用户B正在使用智能电视B2,则用户B在智能电视B2上打开云账号b所对应的客户端,就可以查看到用户A所分享的手机拍摄的图片或视频,例如图片n。
若当前时间处于14~18点,此时车机和手机均不满足分享条件,而智能眼镜满足分享条件。因此,此时车机和手机中云账号a所对应的客户端则停止获取数据,而智能眼镜中云账号a所对应的客户端将获取智能眼镜拍摄的图片或视频,以及上传至云端设备。之后,由云端设备将上传的图片或视频传输至云账号b所对应的客户端。若用户B正在使用智能电视,则用户B在智能电视上打开云账号b所对应的客户端,就可以查看到用户A所分享的智能眼 镜拍摄的图片或视频。
第三、基于分享场景进行数据分享的情况。
用户A在车机、手机、智能眼镜上登录云账号a。用户A可以设置分享条件为:用户A的任一终端与用户B的任一终端之间的距离大于预设距离,例如100米时,则由超出预设距离的终端分享。
用户A和用户B的终端均可以持续或周期性将其位置信息上传至云端设备,其中,位置信息中可以携带有终端的身份标识。之后,云端设备确定用户A的各个终端(即车机、手机、智能眼镜)和用户B的各个终端(即电脑和智能电视)之间的距离。若云端设备确定的用户A的车机与用户B的终端之间的距离为L1,用户A的手机与用户B的终端之间的距离为L2,用户A的智能眼镜与用户B的终端之间的距离为L3,如果L1和L3均小于预设距离L0,而L2大于L0,则可以确定用户A的手机与用户B的终端之间的距离已超过预设距离;此时,云端设备可以向手机中云账号a所对应的客户端发送获取位置信息的指示。之后,手机中云账号a所对应的客户端将获取手机的位置信息,以及上传至云端设备。之后,由云端设备将上传的位置信息传输至云账号b所对应的客户端。若用户B正在使用智能电视,则用户B在智能电视上打开云账号b所对应的客户端,就可以查看到用户A所分享的手机的位置信息。
可以理解的是,分享场景也可以是其他场景,例如,运动场景、娱乐场景、观光场景、在途场景等等,在此就不再一一赘述。在一个例子中,运动场景可以理解为用户进行体育锻炼的场景等,如跑步、跳绳、骑车等;娱乐场景可以理解为用户进行室内游戏或室外游戏的场景等;观光场景可以理解为用户参观名胜古迹、浏览大自然的风光景象等的场景;在途场景可以理解为用户乘坐或驾驶交通工具移动的场景等,例如,用户驱车在路上行驶的场景。
需要说明的是,以上数据分享的情况仅是举例说明,并不局限于此,具体采用何种分享条件,在本实施例中不做具体限定。其中,分享条件可以为一种,也可以为多种分享条件的组合,例如,分享时间和分享优先级的组合,分享时间和分享场景的组合,分享时间、分享优先级和分享场景的组合等等。
下面介绍本方案提供的一种数据分享方法。
本方案提供的数据分享方法可以应用于包含有第一设备组,第二设备组和云端设备的系统,第一设备组和第二设备组均可以包含至少一个设备,在第一设备组中的设备上登录有第一云账号,在第二设备组中的设备上登录有第二云账号,云端设备存储有第一云账号的数据分享策略,及第一云账号和第二云账号之间的关联关系。其中,第一设备组可以理解为图1中终端11、12和13中的一个或多个构成的设备组,第一设备组中的设备可以包含终端11、12和13中的一个或多个;第二设备组可以理解为图1中的终端14和15中的一个或多个构成的设备组,第二设备组中的设备可以包含终端14和15中的一个或多个;云端设备可以理解为图1中的云端设备16。以下描述本方案提供的数据分享方法的具体步骤。
图13是本申请实施例提供的一种数据分享方法的流程示意图。如图13所示,该数据分享方法可以包括以下步骤:
步骤S1301、第一设备组中的至少一个设备向云端设备发送第一设备组中的至少一个设备的第一状态信息。
具体地,第一设备组中的至少一个设备可以实时或周期性的将第一设备组中的至少一个设备的第一状态信息发送至云端设备。例如,通过有线网络或无线网络发送。示例性的,第 一设备组中的第一设备可以将其自身的第一状态信息发送至云端设备;此外,第一设备也可以接收第一设备组中其他设备的第一状态信息,并将其他设备的第一状态信息发送至云端设备,具体可根据实际情况而定,在此不做限定。
在一个例子中,第一状态信息可以包含第一设备组中设备的标识、运行信息、速度信息、屏幕亮度信息中的一种或多种。其中,该运行信息可以表示第一设备组中相应的设备是否处于运行状态。
在一个例子中,第一设备组可以包含第一设备和第二设备,云端设备存储的第一云账号的数据分享策略可以包括第一设备和第一分享策略的对应关系,第二设备和第二分享策略的对应关系。第一分享策略可以包含第一分享对象、第一数据分享类型和第一数据分享条件,第二分享策略可以包含第一分享对象、第二数据分享类型和第二数据分享条件;其中,第一分享对象与第二云账号关联,即第一分享对象为第二云账号所属的对象。可以理解的是,云端设备存储的第一云账号的数据分享策略相当于是存储的第一云账号下每个设备和该设备所属的分享策略的对应关系。
此外,数据分享策略还可以包含数据分享周期。例如,每天进行数据分享或者每隔一天进行数据分享等等。
在一个例子中,云端设备存储的第一云账号的数据分享策略中的数据分享类型可以包括:数据类型、文件类型和多媒体类型中的一种或多种。示例性的,数据类型可以包括整数类型、浮点数类型、字符类型、布尔类型等等;文件类型可以包括文档、压缩包、网页、安装包等等;多媒体类型可以包括文本、声音、动画、视频影像和图像等等。
云端设备存储的第一云账号的数据分享策略中的数据分享条件可以包括数据分享场景、数据分享优先级和数据分享时间中的一种或多种。
其中,数据分享场景可以包括运动场景、娱乐场景、驾驶场景、旅途场景、休闲场景、观赏场景、学习场景中的一种或多种;例如,如图7j所示,场景分享中有驾驶场景、运动场景和娱乐场景。示例性的,运动场景可以为用户跑步、游泳、做瑜伽等场景;娱乐场景可以为用户观看电影、电视剧、听音乐等场景;驾驶场景可以为用户驾驶车辆等场景;旅途场景可以为用户处于旅行途中的场景;休闲场景可以为用户散步、闲坐等场景;观赏场景可以为用户驻足观赏某一目标(如建筑物、树木、花草等)的场景;学习场景可以为用户处于学习状态的场景,例如用户通过设备中的学习类软件学习的场景。
数据分享优先级可以理解为第一设备组中各个设备之间的优先级。如图7k中所示,车辆的优先级大于手机的优先级,手机的优先级大于音箱的优先级,音箱的优先级大于手表的优先级。
数据分享时间可以理解为第一设备组中设备进行数据分享时间段。例如,如图7i所示,数据分享的时间段为10:00至12:00和14:00至16:00。应理解的是,上述所描述的数据分享周期可以与此处的数据分享时间相结合,例如,如图7m所示,数据分享周期为2020-10-01至2020-10-07,数据分享时间为10:00至12:00和14:00至16:00。
在一个例子中,第一设备组中的每个设备均可以向云端设备发送它们各自的第一状态信息。示例性的,第一设备可以向云端设备发送第一设备的第一状态信息,第二设备可以向云端设备发送第二设备的第一状态信息。
步骤S1302、响应于接收第一设备组中的至少一个设备的第一状态信息,云端设备根据第一状态信息和数据分享策略确定目标设备,目标设备为第一设备组中的至少一个设备中的 一个。
具体地,云端设备接收到第一设备组中的至少一个设备的第一状态信息,其可以根据第一状态信息和数据分享策略,从第一设备组中的至少一个设备中筛选出一个或多个目标设备。
在一个例子中,上述第一设备的第一数据分享条件和第二设备的第二数据分享条件均可以为数据分享场景,其中,第一数据分享条件对应的数据分享场景为驾驶场景,第二数据分享条件对应的数据分享场景为娱乐场景。其中,第一设备的第一状态信息可以包括速度信息和第一设备的标识,第二设备的第一状态信息可以为屏幕亮度信息和第二设备的标识。此时,云端设备根据第一状态信息和数据分享策略确定目标设备,具体可以为:若第一设备的速度高于预设速度阈值,则可以确定第一设备处于运动状态,此时则可以确定第一设备满足驾驶场景,及确定第一设备为目标设备,和/或,若第二设备的屏幕亮度高于预设亮度阈值,则确定第二设备满足娱乐场景,及确定第二设备为目标设备。可以理解的是,当第二设备的屏幕亮度高于预设亮度阈值时,则表明第二设备正处于使用状态,此时则可以确定第二设备满足娱乐场景;进一步地,为了提升筛选的准确度,还可以记录第二设备的屏幕亮度高于预设亮度阈值的时长,当该时长超过预设时长时,则可以确定第二设备满足娱乐场景。
在一个例子中,上述第一设备的第一数据分享条件和第二设备的第二数据分享条件均可以为数据分享时间,其中,第一数据分享条件对应的的数据分享时间为第一时间段,第二数据分享条件对应的的数据分享时间为第二时间段。其中,第一设备的第一状态信息可以包括第一运行信息和第一设备的标识,第一运行信息用于表示第一设备是否处于运行状态,第二设备的第一状态信息可以包括第二运行信息和第二设备的标识,第二运行信息用于表示第二设备是否处于运行状态。此时,云端设备根据第一状态信息和数据分享策略确定目标设备,具体可以为:若第一设备和第二设备均处于运行状态,且当前时间段属于第一时间段,则确定第一设备为目标设备;或者,若第一设备和第二设备均处于运行状态,且当前时间段属于第二时间段,则确定第二设备为目标设备。
示例性的,第一设备可以为车辆,此时,第一运行信息可以包括车辆的速度信息和/或启停信息;和/或,第二设备可以为具有屏幕的电子设备,此时,第二运行信息可以包括电子设备的屏幕亮度信息和/或开关机信息。
在一个例子中,上述第一设备的第一数据分享条件和第二设备的第二数据分享条件还均可以包括数据分享优先级,其中,第一设备的优先级高于第二设备。此时,云端设备根据第一状态信息和数据分享策略确定目标设备,具体可以为:若第一设备和第二设备均满足数据分享场景和/或数据分享时间,则确定第一设备为目标设备。示例性的,如图7k所示,若车辆和手机均满足数据分享场景和/或数据分享时间,但车辆的优先级大于手机,因此,此时可以确定车辆为目标设备。
步骤S1303、响应于确定目标设备,云端设备向目标设备发送第一消息,第一消息用于指示目标设备分享数据。
具体地,云端设备确定出目标设备后,可以指示目标设备分享数据。例如,向目标设备发送用于指示目标设备分享数据的第一消息。
步骤S1304、响应于接收第一消息,目标设备向第二设备组中的至少一个设备发送第一数据,第一数据与第一云账号的数据分享策略相关联。
具体地,目标设备在接收到第一消息后,则可以向第二设备组中的至少一个设备发送第一数据。其中,第一数据与第一云账号的数据分享策略相关联。在一个例子中,第一数据与 第一云账号的数据分享策略相关联,具体可以为:第一数据为与上述第一数据分享类型包含的全部或部分数据。示例性的,目标设备可以为图12a中所示的手机A2,第二设备组中的至少一个设备可以为图12b所示的智能电视B2,此时,手机A2可以将其采集的图片分享至智能电视B2上,这样使用智能电视B2的用户就可以查看到手机A2分享的图片。
在一个例子中,如图14所示,目标设备向第二设备组中的至少一个设备发送第一数据,具体可以包括以下步骤:
步骤S1401、响应于接收第一消息,目标设备向云端设备发送第一数据。
具体地,目标设备可以响应于接收的第一消息,将第一数据发送至云端设备。
步骤S1402、响应于接收第一数据,云端设备向第二设备组中的至少一个设备发送第一数据。
具体地,云端设备接收到第一数据后,可以将该第一数据转发至第二设备组中的至少一个设备中。
可以理解的是,第二设备组中的至少一个设备也可以实时或周期性的向云端设备发送第二设备组中的至少一个设备的第二状态信息。云端设备在接收到第二状态信息后,可以确定出第二设备组中处于在线状态的设备,例如第五设备。接着,云端设备可以将第一数据转发至第二设备组中处于在线状态的设备,例如第五设备。示例性的,第二状态信息可以表征第二设备组中相应的设备在线。在一个例子中,若第二设备组中的设备均处于离线状态,云端设备则可以暂存第一数据,当第二设备组中存在处于在线状态的设备时,云端设备再将第一数据发送至第二设备组中处于在线状态的设备中。
在一个例子中,目标设备接收的第一消息中可以携带有第二设备组中处于在线状态的设备的标识,例如,第五设备的标识。此时,目标设备可以响应于接收的第一消息,向第二设备组中处于在线状态的设备,例如,第五设备,发送第一数据。
可以理解的是,确定第二设备组中处于在线状态的设备可以由云端设备完成。示例性的,云端设备可以根据第二设备组中至少一个设备的第二状态信息,确定第五设备在线,其中,第二设备组中至少一个设备包括第五设备。此外,在云端设备可以根据第二设备组中至少一个设备的第二状态信息,确定第五设备在线之前,第五设备可以向云端设备发送第五设备的第二状态信息,其中,第五设备的第二状态信息可以用于表征所述第五设备在线。示例性的,第二状态信息可以包含运行信息,该运行信息可以包含设备的开关机信息、启停信息、屏幕亮度信息中的一种或多种。
由此,通过该数据分享方法即可以实现云账户之间的数据分享,使得归属于一个云账户的不同设备可以在特定的情景下,将它们各自的数据自动分享至归属于另一云账户的设备上,简化了数据分享流程,提升了数据分享的智能化程度。
下面介绍本方案中一种第一云账号的数据分享策略设置方法。
可以理解的是,本方案中第一云账号的数据分享策略可以通过第一设备组中的任一设备进行设置。
图15是本申请实施例提供的一种第一云账号的数据分享策略设置方法的流程示意图,该方法由第一设备组中所包含的第三设备执行,其中,第三设备可以是上文所描述的第一设备和/或第二设备,也可以是第一设备组中的其他设备,在此不做限定。如图15所示,该方法包括以下步骤:
步骤S1501、检测用户在第三设备的第一界面上输入的第一操作,第一界面上显示有第一设备组中的至少一个设备的标识,第一操作对应于第一设备组中的至少一个设备的标识中的第一设备的标识。
具体地,在第三设备的第一界面上显示有第一设备组中的至少一个设备的标识,例如,图6e所示的界面可以理解为第一界面,图6e所示的界面中的手机、车辆、平板和音箱可以理解为第一设备组中的设备的标识。
第三设备可以实时或周期性检测用户在第一界面上的输入操作(即第一操作),其中,该输入操作可以为语音输入操作,也可以为触控操作。示例性的,第一操作可以是针对图6e所显示的界面中的“手机”的触控操作,例如单指点击等。在本方案中,第一操作对应于第一设备组中的至少一个设备的标识中的第一设备的标识。
步骤S1502、响应于检测到的第一操作,第三设备显示第一设置界面,第一设备界面用于设置第一设备组中第四设备的第三数据分享策略,第一设置界面包含第一控件。
具体地,第三设备检测到用户输入的第一操作后,可以响应该操作,以及显示第一设置界面,其中,第一设备界面用于设置第一设备组中第四设备的第三数据分享策略,第一设置界面包含第一控件。示例性的,第一设置界面可以是图7a所显示的界面,该界面可以设置图6e中手机、车辆、平板或者音箱的数据分享策略;此外,在图7a所显示的界面中包含有第一控件,其中,第一控件可以是设置分享对象的控件72、设置分享内容的控件75或者设置分享条件的控件76。
可以理解的是,第四设备可以是第一设备、第二设备或者第三设备,或者是第一设备组中的其他设备,在此不做限定。
步骤S1503、检测到用户对第一控件输入的第二操作。
具体地,第三设备可以实时或周期性检测用户对第一控件的输入操作(即第二操作),其中,该输入操作可以为语音输入操作,也可以为触控操作。示例性的,第二操作可以是针对图7a所显示的界面中的设置分享条件的控件76的触控操作,例如单指点击等。
步骤S1504、响应于第二操作,显示第二设置界面,第二设置界面用于设置第三数据分享策略中的第三数据分享条件,第二界面包含有第二控件。
具体地,第三设备可以响应于该第二操作,显示第二设置界面,其中,第二设置界面用于设置第三数据分享策略中的第三数据分享条件,第二界面包含有第二控件。示例性的,第二设置界面可以是如图7g所示的界面,在该界面中可以设置第三数据分享策略中的第三数据分享条件,例如分享方式等;此外,在图7g所显示的界面中包含有第二控件,该第二控件可以是设置分享方式的控件78。
步骤S1505、检测用户对第二控件输入的第三操作。
具体地,第三设备可以实时或周期性检测用户对第二控件的输入操作(即第三操作),其中,该输入操作可以为语音输入操作,也可以为触控操作。示例性的,第三操作可以是针对图7g所显示的界面中的设置分享方式的控件78的触控操作,例如单指点击等。
步骤S1506、响应于第三操作,在第二设置界面上显示第三控件,第三控件用于选择第三数据分享条件。
具体地,第三设备可以响应于该第三操作,在第二设置界面上显示用于选择第三数据分享条件的第三控件。示例性的,第三控件可以是如图7h中所显示的界面中的控件791、792、793或者794,此时,用户可以现在第三数据分享条件为时间段分享、场景分享和/或优先级 分享等等。
由此,通过在第三设备中对数据分享策略进行设置,即可以完成对第一云账号的数据分享策略的设置。
进一步地,第三设备可以将用户设置完成的第三数据分享策略发送至云端设备。之后,云端设备可以响应于接收第三数据分享策略,以及存储第一云账号的第三数据分享策略。
下面介绍本方案中建立第一云账号与第二云账号之间关联关系的方法。
图16是本申请实施例中提供的一种建立第一云账号与第二云账号之间关联关系的方法流程示意图。如图16所示,该方法包括以下步骤:
步骤S1601、响应于用户输入的第四操作,第一设备组中的至少一个设备建立第一云账号与第二云账号之间的关联关系。
具体地,第一设备组中的至少一个设备(如第一设备等)可以实时或周期性检测用户的输入操作(即第四操作),其中,该输入操作可以为语音输入操作,也可以为触控操作。示例性的,第四操作可以是针对图6c中显示区域66处的“加好友”的触控操作,例如单指点击等。在本方案中,第四操作可以理解为添加好友的操作。
第一设备组中的至少一个设备(如第一设备等)检测到用户的输入操作后,可以响应该输入操作,建立第一云账号与第二云账号之间的关联关系。示例性的,继续参阅图6c,在用户选择将显示区域66处显示的“User1”添加为好友后,在“User1”同意后,第一设备组中的至少一个设备(如第一设备等)就可以建立起第一云账号与第二云账号之间的关联关系。可以理解的是,建立第一云账号与第二云账号之间的关联关系也可以为其他方式,在此不做限定。
步骤S1602、第一设备组中的至少一个设备向云端设备发送第一云账号与第二云账号之间的关联关系。
具体地,第一设备组中的至少一个设备(如第一设备等)在建立好第一云账号与第二云账号之间的关联关系后,可以将第一云账号与第二云账号之间的关联关系发送至云端设备。
步骤S1603、响应于接收第一云账号与第二云账号之间的关联关系,云端设备存储第一云账号和第二云账号之间的关联关系。
具体地,云端设备可以响应于其接收的第一云账号与第二云账号之间的关联关系,存储第一云账号和第二云账号之间的关联关系。由此,云端设备即可以完成存储第一云账号和第二云账号之间的关联关系的工作。
图17是本申请实施例中提供的另一种建立第一云账号与第二云账号之间关联关系的方法流程示意图。如图17所示,该方法包括以下步骤:
步骤S1701、响应于用户输入的第五操作,第一设备组中的至少一个设备向云端设备发送第一请求,第一请求用于请求云端设备建立第一云账号和第二云账号之间的关联关系,第一请求中携带有第二云账号。
具体地,第一设备组中的至少一个设备(如第一设备等)可以实时或周期性检测用户的输入操作(即第五操作),其中,该输入操作可以为语音输入操作,也可以为触控操作。
第一设备组中的至少一个设备(如第一设备等)检测到用户的输入操作后,可以响应该输入操作,向云端设备发送第一请求。其中,第一请求中可以携带有第一云账号和第二云账 号;此外,第一请求可以用于请求云端设备建立第一云账号和第二云账号之间的关联关系。
步骤S1702、响应于接收第一请求,云端设备建立第一云账号和第二云账号之间的关联关系。
具体地,云端设备接收到第一请求后,可以响应该第一请求,然后建立第一云账号与第二云账号之间的关联关系,以及存储该关联关系。例如,将第一云账号和第二云账号标记为好友关系等等。由此,云端设备即可以完成建立并存储第一云账号和第二云账号之间的关联关系的工作。
下面介绍本方案提供的另一种数据分享方法。
本方案提供的数据分享方法可以应用于包含有第一设备组和第二设备组的系统,第一设备组和第二设备组均可以包含至少一个设备,在第一设备组中的设备上登录有第一云账号,在第二设备组中的设备上登录有第二云账号。第一设备组中的至少一个设备包括第一设备,第一设备中存储有第一云账号的数据分享策略,及第一云账号和第二云账号之间的关联关系。其中,第一设备组可以理解为图18中终端181、182和183中的一个或多个构成的设备组,第一设备组中的设备可以包含终端181、182和183中的一个或多个;第二设备组可以理解为图18中的终端184和185中的一个或多个构成的设备组,第二设备组中的设备可以包含终端184和185中的一个或多个。在图18中,第一设备组和第二设备组之间可以通过网络186进行通信,其中,网络186可以为有线网络或者无线网络,在此不做限定。以下描述本方案提供的数据分享方法的具体步骤。
图19是本申请实施例提供的另一种数据分享方法的流程示意图。如图19所示,该数据分享方法可以包括以下步骤:
步骤S1901、第一设备接收第一设备组中的至少一个设备的第一状态信息。
具体地,第一设备组中的设备之间可以通过网络进行通信。
在一个例子中,第一设备可以实时或周期性的向第一设备组中的其他一个或多个设备发送请求,该请求可以是请求获取相应设备的第一状态信息,第一设备组中其他的设备接收到第一设备发送的请求后,可以向第一设备发送它们自身的第一状态信息,之后,第一设备即可以接收到第一设备组中其他设备的第一状态信息。
在一个例子中,第一设备组中除第一设备之外的设备可以实时或周期性的主动向第一设备发送它们各自的第一状态信息,之后,第一设备即可以接收到第一设备组中除第一设备之外的设备的第一状态信息。
在一个例子中,对于第一设备自身的第一状态信息,第一设备可以通过其自身直接获取到。例如,当第一状态信息为开机时长时,第一设备可以从其系统中记录的与开机相关的信息中可以获知其开机时长。
步骤S1902、第一设备基于第一设备组中的至少一个设备的第一状态信息,确定第一设备满足数据分享策略。
具体地,第一设备可以基于第一设备组中的至少一个设备的第一状态信息,确定其自身是否满足数据分享策略。示例性的,数据分享策略为在第一设备的速度高于21km/h时,第一设备进行分享数据;则当第一设备的速度高于21km/h时,即可以确定第一设备满足数据分享策略。
在一个例子中,第一状态信息可以包含运行信息、速度信息、屏幕亮度信息中的一种或 多种。其中,该运行信息可以表示第一设备是否处于运行状态。
在一个例子中,数据分享策略可以包含第一设备与第一数据分享策略之间的对应关系,第二一数据分享策略可以包含分享对象、数据分享类型和数据分享条件,其中,分享对象可以与第二云账号相关。可以理解的是,第一云账号的数据分享策略中包含第一云账号下每个设备与该设备的数据分享策略之间的对应关系,如,第一设备与第一设备的数据分享策略之间的对应关系,第二设备与第二设备的数据分享策略之间的对应关系,第三设备与第三设备的数据分享策略之间的对应关系等等。
其中,数据分享类型可以包括:数据类型、文件类型和多媒体类型中的一种或多种。示例性的,数据类型可以包括整数类型、浮点数类型、字符类型、布尔类型等等;文件类型可以包括文档、压缩包、网页、安装包等等;多媒体类型可以包括文本、声音、动画、视频影像和图像等等。
数据分享条件可以包括数据分享场景、数据分享优先级和数据分享时间中的一种或多种。
其中,数据分享场景可以包括运动场景、娱乐场景、驾驶场景、旅途场景、休闲场景、观赏场景、学习场景中的一种或多种;例如,如图7j所示,场景分享中有驾驶场景、运动场景和娱乐场景。示例性的,运动场景可以为用户跑步、游泳、做瑜伽等场景;娱乐场景可以为用户观看电影、电视剧、听音乐等场景;驾驶场景可以为用户驾驶车辆等场景;旅途场景可以为用户处于旅行途中的场景;休闲场景可以为用户散步、闲坐等场景;观赏场景可以为用户驻足观赏某一目标(如建筑物、树木、花草等)的场景;学习场景可以为用户处于学习状态的场景,例如用户通过设备中的学习类软件学习的场景。
数据分享优先级可以理解为第一设备组中各个设备之间的优先级。如图7k中所示,车辆的优先级大于手机的优先级,手机的优先级大于音箱的优先级,音箱的优先级大于手表的优先级。
数据分享时间可以理解为第一设备组中设备进行数据分享时间段。例如,如图7i所示,数据分享的时间段为10:00至12:00和14:00至16:00。应理解的是,上述所描述的数据分享周期可以与此处的数据分享时间相结合,例如,如图7m所示,数据分享周期为1919-10-01至1919-10-07,数据分享时间为10:00至12:00和14:00至16:00。
步骤S1903、响应于确定第一设备满足数据分享策略,第一设备向第二设备组中的至少一个设备发送第一数据,第一数据与第一云账号的数据分享策略相关联。
具体地,第一设备确定其自身满足数据分享策略后,可以向第二终端设备组中的至少一个设备发送第一数据。其中,第一数据与第一云账号的数据分享策略相关联。在一个例子中,第一数据与第一云账号的数据分享策略相关联,具体可以为:第一数据为与第一设备的数据分享类型包含的全部或部分数据。
在一个例子中,第一设备可以根据第二设备组中至少一个设备的第二状态信息,确定第五设备在线,其中,第二设备组中至少一个设备包括第五设备;之后,第一设备再向第五设备发送第一数据。
此外,第一设备根据第二设备组中至少一个设备的第二状态信息,确定第五设备在线之前,第五设备可以向第一设备发送第五设备的第二状态信息,第五设备的第二状态信息用于表征第二设备在线。由此,第一设备即可以确定出第二设备组中处于在线状态的设备,进而可以将第一数据发送至第二设备组中处于在线状态的设备。
步骤S1904、第二设备组中的至少一个设备接收第一数据。
具体地,在第一设备发送第一数据后,第二设备组中的至少一个设备就可以接收到该第一数据。
在一个例子中,若第二设备组中的设备均处于离线状态,第一设备则可以将第一数据发送至第二云账号所属的服务器中,由第二云账号所属的服务器暂存。之后,当第二设备组中存在处于在线状态的设备时,第二云账号所属的服务器可以再将第一数据转发至第二设备组中处于在线状态的设备中。
下面介绍本方案提供的另一种数据分享方法。
本方案提供的数据分享方法可以应用于包含有第一设备组和第二设备组的系统,第一设备组和第二设备组均可以包含至少一个设备,在第一设备组中的设备上登录有第一云账号,在第二设备组中的设备上登录有第二云账号。第一设备组中的至少一个设备包括第一设备,第一设备中存储有第一云账号的数据分享策略,及第一云账号和第二云账号之间的关联关系。其中,第一设备组可以理解为图18中终端181、182和183中的一个或多个构成的设备组,第一设备组中的设备可以包含终端181、182和183中的一个或多个;第二设备组可以理解为图18中的终端184和185中的一个或多个构成的设备组,第二设备组中的设备可以包含终端184和185中的一个或多个。在图18中,第一设备组和第二设备组之间可以通过网络186进行通信,其中,网络186可以为有线网络或者无线网络,在此不做限定。以下描述本方案提供的数据分享方法的具体步骤。
图20是本申请实施例提供的另一种数据分享方法的流程示意图。如图20所示,该数据分享方法可以包括以下步骤:
步骤S2001、第一设备接收第一设备组中的至少一个设备的第一状态信息。
具体地,第一设备组中的设备之间可以通过网络进行通信。
在一个例子中,第一设备可以实时或周期性的向第一设备组中的其他一个或多个设备发送请求,该请求可以是请求获取相应设备的第一状态信息,第一设备组中其他的设备接收到第一设备发送的请求后,可以向第一设备发送它们自身的第一状态信息,之后,第一设备即可以接收到第一设备组中其他设备的第一状态信息。
在一个例子中,第一设备组中除第一设备之外的设备可以实时或周期性的主动向第一设备发送它们各自的第一状态信息,之后,第一设备即可以接收到第一设备组中除第一设备之外的设备的第一状态信息。
在一个例子中,对于第一设备自身的第一状态信息,第一设备可以通过其自身直接获取到。例如,当第一状态信息为开机时长时,第一设备可以从其系统中记录的与开机相关的信息中可以获知其开机时长。
步骤S2002、第一设备基于第一设备组中的至少一个设备的第一状态信息,确定第二设备满足数据分享策略,第二设备为第一设备组中除第一设备外的一个设备。
具体地,第一设备可以基于第一设备组中的至少一个设备的第一状态信息,确定除其自身以外的设备是否满足数据分享策略,如,确定第一设备组中的第二设备是否满足数据分享策略。示例性的,数据分享策略为在第二设备的速度高于21km/h时,第二设备进行分享数据;则当第二设备的速度高于21km/h时,即可以确定第二设备满足数据分享策略。
在一个例子中,第一状态信息可以包含运行信息、速度信息、屏幕亮度信息中的一种或多种。其中,该运行信息可以表示第二设备是否处于运行状态。
在一个例子中,数据分享策略可以包含第二设备与第二数据分享策略之间的对应关系,第二数据分享策略包括分享对象、数据分享类型和数据分享条件,其中,分享对象可以与第二云账号相关。可以理解的是,第一云账号的数据分享策略中包含第一云账号下每个设备与该设备的数据分享策略之间的对应关系,如,第一设备与第一设备的数据分享策略之间的对应关系,第二设备与第二设备的数据分享策略之间的对应关系,第三设备与第三设备的数据分享策略之间的对应关系等等。
其中,数据分享类型、数据分享条件等可参考上文图19中所示方法中的有关描述,在此就不再一一赘述。
步骤S2003、响应于确定第二设备满足数据分享策略,第一设备向第二设备发送第一消息,第一消息用于指示第二设备分享数据。
具体地,第一设备在确定第二设备满足数据分享策略后,可以通过网络向第二设备发送用于指示第二设备分享数据的第一消息,以使第二设备进行数据分享。
步骤S2004、响应于接收第一消息,第二设备向第二设备组中的至少一个设备发送第一数据,第一数据与第一云账号的数据分享策略相关联。
具体地,第二设备接收到第一设备发送的第一消息后,可以向第二终端设备组中的至少一个设备发送第一数据。其中,第一数据与第一云账号的数据分享策略相关联。在一个例子中,第一数据与第一云账号的数据分享策略相关联,具体可以为:第一数据为与第一设备的数据分享类型包含的全部或部分数据。
在一个例子中,第一设备可以根据第二设备组中至少一个设备的第二状态信息,确定第五设备在线,其中,第二设备组中至少一个设备包括第五设备;之后,第一设备再将第五设备的标识加入到第一消息中,并将第一消息发送至第二设备。进一步地,第二设备在接收到第一消息后,就可以基于第五设备的标识直接向第五设备发送第一数据。
此外,第一设备根据第二设备组中至少一个设备的第二状态信息,确定第五设备在线之前,第五设备可以向第一设备发送第五设备的第二状态信息,第五设备的第二状态信息用于表征第五设备在线。由此,第一设备即可以确定出第二设备组中处于在线状态的设备,进而指示第二设备向第二设备组中处于在线状态的设备发送第一数据。
步骤S2005、第二设备组中的至少一个设备接收第一数据。
具体地,在第二设备发送第一数据后,第二设备组中的至少一个设备就可以接收到该第一数据。
在一个例子中,当第一设备确定出第二设备组中处于在线状态的设备,且第一设备已将第二设备组中处于在线状态的设备的标识告知第二设备,则第二设备可以直接向第二设备组中处于在线状态的设备发送第一数据。此时,第二设备组中处于在线状态的设备可以接收第一数据,而第二设备组中处于离线状态的设备可以不接收第一数据。
在一个例子中,若第二设备组中的设备均处于离线状态,第二设备则可以将第一数据发送至第二云账号所属的服务器中,由第二云账号所属的服务器暂存。之后,当第二设备组中存在处于在线状态的设备时,第二云账号所属的服务器可以再将第一数据转发至第二设备组中处于在线状态的设备中。
下面介绍本方案提供的另一种数据分享方法。
图21是本申请实施例提供的另一种数据分享方法的流程示意图。该方法可以应用于图1 所示的云端设备,其中,云端设备中存储有第一云账号和第二云账号之间的数据分享策略,及第一云账号和第二云账号之间的关联关系,第一云账号登录于第一设备组中的设备上,第二云账号登录于第二设备组中的设备上,第一设备组和第二设备组均包含至少一个设备。如图21所示,该数据分享方法可以包括以下步骤:
步骤S2101、接收第一设备组中的至少一个设备的第一状态信息。
步骤S2102、响应于接收第一设备组中的至少一个设备的第一状态信息,根据第一状态信息和数据分享策略确定目标设备,目标设备为第一设备组中的至少一个设备中的一个。
步骤S2103、向目标设备发送第一消息,第一消息用于指示目标设备分享数据,其中,目标设备分享的数据与第一云账号的数据分享策略相关联。
需说明的是,本方案中提供的方法的具体实施过程和原理,可以参见上文有关图13至图17所示的方法中的描述,在此就不再一一赘述。
下面介绍本方案提供的另一种数据分享方法。
图22是本申请实施例提供的另一种数据分享方法的流程示意图。该方法可以应用于第一设备,该第一设备可以是图1所示的终端11、12或13。其中,第一设备为第一设备组中的一个设备,第一设备组包含至少一个设备,第一设备组中的设备上登录有第一云账号。如图22所示,该数据分享方法可以包括以下步骤:
步骤S2201、接收云端设备发送的第一消息,第一消息用于指示第一设备分享数据。
其中,云端设备存储有第一云账号和第二云账号之间的数据分享策略,及第一云账号和第二云账号之间的关联关系,第二设备组中的设备上登录有第二云账号,第二设备组包含至少一个设备。
步骤S2202、响应于接收第一消息,向第二设备组中的至少一个设备发送第一数据,其中,第一数据与第一云账号的数据分享策略相关联。
需说明的是,本方案中提供的方法的具体实施过程和原理,可以参见上文有关图13至图17所示的方法中的描述,在此就不再一一赘述。其中,该第一设备可以理解为图13所述方法中的目标设备。
下面介绍本方案提供的另一种数据分享方法。
图23是本申请实施例提供的另一种数据分享方法的流程示意图。该方法可以应用于第一设备,该第一设备可以是图18所示的终端181、182或183。其中,第一设备为第一设备组中的一个设备,第一设备组包含至少一个设备,第一设备组中的设备上登录有第一云账号,第一设备中存储有第一云账号的数据分享策略,及第一云账号和第二云账号之间的关联关系,第二云账号登录于第二设备组上,第二设备组包含至少一个设备。如图23所示,该数据分享方法可以包括以下步骤:
步骤S2301、接收第一设备组中的至少一个设备的第一状态信息。
步骤S2302、基于第一设备组中的至少一个设备的状态信息,确定第一设备满足数据分享策略。
步骤S2303、响应于确定第一设备满足数据分享策略,向第二设备组中的至少一个设备发送第一数据,第一数据与第一云账号的数据分享策略相关联。
需说明的是,本方案中提供的方法的具体实施过程和原理,可以参见上文有关图19所示 的方法中的描述,在此就不再一一赘述。
下面介绍本方案提供的另一种数据分享方法。
图24是本申请实施例提供的另一种数据分享方法的流程示意图。该方法可以应用于第一设备,该第一设备可以是图18所示的终端181、182或183。其中,第一设备为第一设备组中的一个设备,第一设备组包含至少一个设备,第一设备组中的设备上登录有第一云账号,第一设备中存储有第一云账号的数据分享策略,及第一云账号和第二云账号之间的关联关系,第二云账号登录于第二设备组上,第二设备组包含至少一个设备。如图24所示,该数据分享方法可以包括以下步骤:
步骤S2401、接收第一设备组中的至少一个设备的第一状态信息。
步骤S2402、基于第一设备组中的至少一个设备的第一状态信息,确定第二设备满足数据分享策略,第二设备为第一设备组中除第一设备外的一个设备。
步骤S2403、响应于确定第二设备满足数据分享策略,向第二设备发送第一消息,第一消息用于指示第二设备分享数据。
需说明的是,本方案中提供的方法的具体实施过程和原理,可以参见上文有关图20所示的方法中的描述,在此就不再一一赘述。
基于上述实施例中的方法,本申请实施例还提供了一种数据分享装置。请参阅图25,图25是本申请实施例提供的一种数据分享装置的结构示意图。如图25所示,本申请实施例提供的数据分享装置,该数据分享装置可用于实现上述方法实施例中描述的方法。
该数据分享装置包括至少一个处理器2501,该至少一个处理器2501可支持数据分享装置实现本申请实施例中所提供的方法。
该处理器2501可以是通用处理器或者专用处理器。例如,处理器2501可以包括中央处理器(central processing unit,CPU)和/或基带处理器。其中,基带处理器可以用于处理通信数据(例如,确定目标屏幕终端),CPU可以用于实现相应的控制和处理功能,执行软件程序,处理软件程序的数据。
进一步的,数据分享装置还可以包括收发单元2505,用以实现信号的输入(接收)和输出(发送)。例如,收发单元2505可以包括收发器或射频芯片。收发单元2505还可以包括通信接口。
可选地,数据分享装置还可以包括天线2506,可以用于支持收发单元2505实现分屏装置的收发功能。
可选地,数据分享装置中可以包括一个或多个存储器2502,其上存有程序(也可以是指令或者代码)2504,程序2504可被处理器2501运行,使得处理器2501执行上述方法实施例中描述的方法。可选地,存储器2502中还可以存储有数据。可选地,处理器2501还可以读取存储器2502中存储的数据(例如,预存储的第一特征信息),该数据可以与程序2504存储在相同的存储地址,该数据也可以与程序2504存储在不同的存储地址。
处理器2501和存储器2502可以单独设置,也可以集成在一起,例如,集成在单板或者系统级芯片(system on chip,SOC)上。
关于数据分享装置在上述各种可能的设计中执行的操作的详细描述可以参照本申请实施例提供的方法的实施例中的描述,在此就不再一一赘述。
基于上述实施例中的装置,本申请实施例还提供了一种电子设备,该电子设备包含上述实施例中所提供的数据分享装置。
基于上述实施例中的方法,本申请实施例还提供了一种芯片。请参阅图26,图26为本申请实施例提供的一种芯片的结构示意图。如图26所示,芯片2600包括一个或多个处理器2601以及接口电路2602。可选的,芯片2600还可以包含总线2603。其中:
处理器2601可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器2601中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器2601可以是通用处理器、数字通信器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
接口电路2602可以用于数据、指令或者信息的发送或者接收,处理器2601可以利用接口电路2602接收的数据、指令或者其它信息,进行加工,可以将加工完成信息通过接口电路2602发送出去。
可选的,芯片还包括存储器,存储器可以包括只读存储器和随机存取存储器,并向处理器提供操作指令和数据。存储器的一部分还可以包括非易失性随机存取存储器(NVRAM)。
可选的,存储器存储了可执行软件模块或者数据结构,处理器可以通过调用存储器存储的操作指令(该操作指令可存储在操作系统中),执行相应的操作。
可选的,接口电路2602可用于输出处理器2601的执行结果。
需要说明的,处理器2601、接口电路2602各自对应的功能既可以通过硬件设计实现,也可以通过软件设计来实现,还可以通过软硬件结合的方式来实现,这里不作限制。
应理解,上述方法实施例的各步骤可以通过处理器中的硬件形式的逻辑电路或者软件形式的指令完成。
可以理解的是,本申请的实施例中的处理器可以是中央处理单元(central processing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是微处理器,也可以是任何常规的处理器。
本申请的实施例中的方法步骤可以通过硬件的方式来实现,也可以由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(random access memory,RAM)、闪存、只读存储器(read-only memory,ROM)、可编程只读存储器(programmable rom,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包 括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者通过所述计算机可读存储介质进行传输。所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。
可以理解的是,在本申请的实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。

Claims (54)

  1. 一种数据分享方法,其特征在于,应用于包含有第一设备组,第二设备组和云端设备的系统,所述第一设备组和所述第二设备组均包含至少一个设备,所述第一设备组中的设备上登录有第一云账号,所述第二设备组中的设备上登录有第二云账号,所述云端设备存储有所述第一云账号的数据分享策略,及所述第一云账号和所述第二云账号之间的关联关系,所述方法包括:
    所述第一设备组中的至少一个设备向所述云端设备发送所述第一设备组中的至少一个设备的第一状态信息;
    响应于接收所述第一设备组中的所述至少一个设备的第一状态信息,所述云端设备根据所述第一状态信息和所述数据分享策略确定目标设备,所述目标设备为所述第一设备组中的所述至少一个设备中的一个;
    响应于确定所述目标设备,所述云端设备向所述目标设备发送第一消息,所述第一消息用于指示所述目标设备分享数据;
    响应于接收所述第一消息,所述目标设备向所述第二设备组中的至少一个设备发送第一数据,所述第一数据与所述第一云账号的数据分享策略相关联。
  2. 根据权利要求1所述的方法,其特征在于,所述第一设备组包含第一设备和第二设备,所述数据分享策略包括所述第一设备和第一分享策略的对应关系,所述第二设备和第二分享策略的对应关系,所述第一分享策略包含第一分享对象、第一数据分享类型和第一数据分享条件,所述第二分享策略包含所述第一分享对象、第二数据分享类型和第二数据分享条件,所述第一分享对象与所述第二云账号关联。
  3. 根据权利要求2所述的方法,其特征在于,所述第一数据与所述第一云账号的数据分享策略相关联,具体为:所述第一数据为与所述第一数据分享类型包含的全部或部分数据。
  4. 根据权利要求2所述的方法,其特征在于,数据分享类型包括:数据类型、文件类型和多媒体类型中的一种或多种;数据分享条件包括数据分享场景、数据分享优先级和数据分享时间中的一种或多种,所述数据分享场景包括运动场景、娱乐场景和驾驶场景中的一种或多种。
  5. 根据权利要求4所述的方法,其特征在于,所述第一数据分享条件和所述第二数据分享条件为数据分享场景,所述第一数据分享条件对应的数据分享场景为驾驶场景,所述第二数据分享条件对应的数据分享场景为娱乐场景;
    所述第一设备组中的至少一个设备向所述云端设备发送所述第一设备组中的至少一个设备的第一状态信息,具体为:
    所述第一设备向所述云端设备发送所述第一设备的第一状态信息,所述第一设备的第一状态信息包括速度信息和所述第一设备的标识;
    所述第二设备向所述云端设备发送所述第二设备的第一状态信息,所述第二设备的第一状态信息为屏幕亮度信息和所述第二设备的标识;
    所述云端设备根据所述第一状态信息和所述数据分享策略确定目标设备,具体为:
    若所述第一设备的速度高于预设速度阈值,则确定所述第一设备满足所述驾驶场景,及确定所述第一设备为所述目标设备,和/或,若所述第二设备的屏幕亮度高于预设亮度阈值,则确定第二设备满足所述娱乐场景,及确定所述第二设备为所述目标设备。
  6. 根据权利要求4所述的方法,其特征在于,所述第一数据分享条件和所述第二数据分享条件为数据分享时间,所述第一数据分享条件对应的的数据分享时间为第一时间段,所述第二数据分享条件对应的的数据分享时间为第二时间段;
    所述第一设备组中的至少一个设备向所述云端设备发送所述第一设备组中的至少一个设备的第一状态信息,具体为:
    所述第一设备向所述云端设备发送所述第一设备的第一状态信息,所述第一设备的第一状态信息包括第一运行信息和所述第一设备的标识,所述第一运行信息用于表示所述第一设备是否处于运行状态;
    所述第二设备向所述云端设备发送所述第二设备的第一状态信息,所述第二设备的第一状态信息包括第二运行信息和所述第二设备的标识,所述第二运行信息用于表示所述第二设备是否处于运行状态;
    所述云端设备根据所述第一状态信息和所述数据分享策略确定目标设备,具体为:
    若所述第一设备和所述第二设备均处于运行状态,且当前时间段属于第一时间段,则确定所述第一设备为所述目标设备;
    或者,若所述第一设备和所述第二设备均处于运行状态,且当前时间段属于第二时间段,则确定所述第二设备为所述目标设备。
  7. 根据权利要求6所述的方法,其特征在于,所述第一设备为车辆,所述第一运行信息包括所述车辆的速度信息和/或启停信息;和/或
    所述第二设备为具有屏幕的电子设备,所述第二运行信息包括所述电子设备的屏幕亮度信息和/或开关机信息。
  8. 根据权利要求5-7任一项所述的方法,其特征在于,所述数据分享条件还包括数据分享优先级,所述第一设备的优先级高于所述第二设备;
    所述云端设备根据所述第一状态信息和所述数据分享策略确定目标设备,具体为:
    若所述第一设备和所述第二设备均满足所述数据分享场景和/或所述数据分享时间,则确定所述第一设备为所述目标设备。
  9. 根据权利要求2-8任一项所述的方法,其特征在于,所述数据分享策略还包括数据分享周期。
  10. 根据权利要求1-9任一项所述的方法,其特征在于,所述第一设备组还包含第三设备,所述第三设备用于:
    检测用户在所述第三设备的第一界面上输入的第一操作,所述第一界面上显示有所述第一设备组中的至少一个设备的标识,所述第一操作对应于所述第一设备组中的至少一个设备的标识中的第一设备的标识;
    响应于检测到的所述第一操作,所述第三设备显示第一设置界面,所述第一设备界面用于设置所述第一设备组中第四设备的第三数据分享策略,所述第一设置界面包含第一控件;
    检测到用户对所述第一控件输入的第二操作;
    响应于所述第二操作,显示第二设置界面,所述第二设置界面用于设置所述第三数据分享策略中的第三数据分享条件,所述第二界面包含有第二控件;
    检测用户对所述第二控件输入的第三操作;
    响应于所述第三操作,在所述第二设置界面上显示第三控件,所述第三控件用于选择第三数据分享条件。
  11. 根据权利要求10所述的方法,其特征在于,所述第三设备还用于:将所述第三数据分享策略发送至所述云端设备;
    响应于接收所述第三数据分享策略,所述云端设备存储所述第一云账号的第三数据分享策略。
  12. 根据权利要求1-11任一项所述的方法,其特征在于,所述方法还包括:
    响应于用户输入的第四操作,所述第一设备组中的至少一个设备建立所述第一云账号与所述第二云账号之间的关联关系;
    所述第一设备组中的所述至少一个设备向所述云端设备发送所述第一云账号与所述第二云账号之间的关联关系;
    响应于接收所述第一云账号与所述第二云账号之间的关联关系,所述云端设备存储所述第一云账号和所述第二云账号之间的关联关系。
  13. 根据权利要求1-11任一项所述的方法,其特征在于,所述方法还包括:
    响应于用户输入的第五操作,所述第一设备组中的至少一个设备向所述云端设备发送第一请求,所述第一请求用于请求所述云端设备建立所述第一云账号和所述第二云账号之间的关联关系,所述第一请求中携带有所述第一云账号和所述第二云账号;
    响应于接收所述第一请求,所述云端设备建立所述第一云账号和所述第二云账号之间的关联关系。
  14. 根据权利要求1-13任一项所述的方法,其特征在于,所述云端设备向所述目标设备发送第一消息之前,所述方法还包括:
    所以云端设备根据所述第二设备组中至少一个设备的第二状态信息,确定第五设备在线,所述第二设备组中至少一个设备包括所述第五设备;
    所述云端设备向所述目标设备发送第一消息,具体为:
    所述云端设备向所述目标设备发送所述第一消息,所述第一消息中携带有所述第五设备的标识;
    响应于接收所述第一消息,所述目标设备向所述第二设备组中的至少一个设备发送第一数据,具体为:
    响应于接收所述第一消息,所述目标设备向所述第五设备发送所述第一数据。
  15. 根据权利要求14所述的方法,其特征在于,所述云端设备根据所述第二设备组中至少一个设备的第二状态信息,确定第五设备在线之前,所述方法还包括:
    所述第五设备向所述云端设备发送所述第五设备的第二状态信息,所述第五设备的第二状态信息用于表征所述第五设备在线。
  16. 根据权利要求1-13任一项所述的方法,其特征在于,所述响应于接收所述第一消息,所述目标设备向所述第二设备组中的至少一个设备发送第一数据,具体为:
    响应于接收所述第一消息,所述目标设备向所述云端设备发送第一数据;
    响应于接收所述第一数据,所述云端设备向所述第二设备组中的至少一个设备发送所述第一数据。
  17. 一种数据分享方法,其特征在于,应用于包含第一设备组和第二设备组的系统,所述第一设备组和所述第二设备组均包含至少一个设备,所述第一设备组中的设备上登录有第一云账户,所述第二设备组中的设备登录有第二云账户,所述第一设备组中的至少一个设备包 括第一设备,所述第一设备中存储有所述第一云账号的数据分享策略,及所述第一云账号和所述第二云账号之间的关联关系,所述方法包括:
    所述第一设备接收所述第一设备组中的至少一个设备的第一状态信息;
    所述第一设备基于所述第一设备组中的至少一个设备的第一状态信息,确定所述第一设备满足所述数据分享策略;
    响应于确定所述第一设备满足所述数据分享策略,所述第一设备向所述第二设备组中的至少一个设备发送第一数据,所述第一数据与所述第一云账号的数据分享策略相关联;
    所述第二设备组中的至少一个设备接收所述第一数据;
    或者,所述第一设备基于所述第一设备组中的至少一个设备的第一状态信息,确定第二设备满足所述数据分享策略,所述第二设备为所述第一设备组中除所述第一设备外的一个设备;
    响应于确定所述第二设备满足所述数据分享策略,所述第一设备向所述第二设备发送第一消息,所述第一消息用于指示所述第二设备分享数据;
    响应于接收所述第一消息,所述第二设备向所述第二设备组中的至少一个设备发送第一数据,所述第一数据与所述第一云账号的数据分享策略相关联;
    所述第二设备组中的至少一个设备接收所述第一数据。
  18. 根据权利要求17所述的方法,其特征在于,所述第一设备向所述第二设备组中的至少一个设备发送第一数据之前,所述方法还包括:
    所述第一设备根据所述第二设备组中至少一个设备的第二状态信息,确定第五设备在线,所述第二设备组中至少一个设备包括所述第五设备;
    所述第一设备向所述第二设备组中的至少一个设备发送第一数据,具体为:
    所述第一设备向所述第五设备发送所述第一数据;
    或者所述第一设备向所述第二设备发送第一消息之前,所述方法还包括:
    所述第一设备根据所述第二设备组中至少一个设备的第二状态信息,确定第五设备在线,所述第二设备组中至少一个设备包括所述第五设备;
    所述第一设备向所述第二设备发送第一消息,具体为:所述第一消息携带有所述第五设备的标识;
    所述第二设备向所述第二设备组中的至少一个设备发送第一数据,具体为,所述第二设备向所述第五设备发送所述第一数据。
  19. 根据权利要求18所述的方法,其特征在于,所述第一设备根据所述第二设备组中至少一个设备的第二状态信息,确定第五设备之前,所述方法还包括:
    所述第五设备向所述第一设备发送所述第五设备的第二状态信息,所述第五设备的第二状态信息用于表征所述第五设备在线。
  20. 一种数据分享方法,其特征在于,应用于云端设备,所述云端设备存储有第一云账号和第二云账号之间的数据分享策略,及所述第一云账号和所述第二云账号之间的关联关系,所述第一云账号登录于第一设备组中的设备上,所述第二云账号登录于第二设备组中的设备上,所述第一设备组和所述第二设备组均包含至少一个设备;
    所述方法包括:
    接收所述第一设备组中的至少一个设备的第一状态信息;
    响应于接收所述第一设备组中的至少一个设备的第一状态信息,根据所述第一状态信息和所述数据分享策略确定目标设备,所述目标设备为所述第一设备组中的所述至少一个设备中的一个;
    向所述目标设备发送第一消息,所述第一消息用于指示所述目标设备分享数据,其中,所述目标设备分享的数据与所述第一云账号的数据分享策略相关联。
  21. 根据权利要求20所述的方法,其特征在于,所述第一设备组包含所述第一设备和第二设备,所述数据分享策略包括所述第一设备和第一分享策略的对应关系,所述第二设备和第二分享策略的对应关系,所述第一分享策略包含第一分享对象、第一数据分享类型和第一数据分享条件,所述第二分享策略包含所述第一分享对象、第二数据分享类型和第二数据分享条件,所述第一分享对象与所述第二云账号关联。
  22. 根据权利要求21所述的方法,其特征在于,所述目标设备分享的数据与所述第一云账号的数据分享策略相关联,具体为:所述目标设备分享的数据为与所述第一数据分享类型包含的全部或部分数据。
  23. 根据权利要求21所述的方法,其特征在于,数据分享类型包括:数据类型、文件类型和多媒体类型中的一种或多种;数据分享条件包括数据分享场景、数据分享优先级和数据分享时间中的一种或多种,所述数据分享场景包括运动场景、娱乐场景和驾驶场景中的一种或多种。
  24. 根据权利要求23所述的方法,其特征在于,所述第一数据分享条件和所述第二数据分享条件为数据分享场景,所述第一数据分享条件对应的数据分享场景为驾驶场景,所述第二数据分享条件对应的数据分享场景为娱乐场景;
    所述接收所述第一设备组中的至少一个设备的第一状态信息,具体为:
    接收所述第一设备发送的第一状态信息,及所述第二设备发送的第一状态信息,所述第一设备的第一状态信息包括速度信息和所述第一设备的标识,所述第二设备的第一状态信息为屏幕亮度信息和所述第二设备的标识;
    所述根据所述第一状态信息和所述数据分享策略确定目标设备,具体包括:
    若所述第一设备的速度高于预设速度阈值,则确定所述第一设备满足所述驾驶场景,及确定所述第一设备为所述目标设备,和/或,若所述第二设备的屏幕亮度高于预设亮度阈值,则确定第二设备满足所述娱乐场景,及确定所述第二设备为所述目标设备。
  25. 根据权利要求23所述的方法,其特征在于,所述第一数据分享条件和所述第二数据分享条件为数据分享时间,所述第一数据分享条件对应的的数据分享时间为第一时间段,所述第二数据分享条件对应的的数据分享时间为第二时间段;
    所述接收所述第一设备组中的至少一个设备的第一状态信息,具体为:
    接收所述第一设备发送的第一状态信息,及所述第二设备发送的第一状态信息,所述第一设备的第一状态信息包括第一运行信息和所述第一设备的标识,所述第一运行信息用于表示所述第一设备是否处于运行状态,所述第二设备的第一状态信息包括第二运行信息和所述第二设备的标识,所述第二运行信息用于表示所述第二设备是否处于运行状态;
    所述根据所述第一状态信息和所述数据分享策略确定目标设备,具体包括:
    若所述第一设备和所述第二设备均处于运行状态,且当前时间段属于第一时间段,则确定所述第一设备为所述目标设备;
    或者,若所述第一设备和所述第二设备均处于运行状态,且当前时间段属于第二时间段, 则确定所述第二设备为所述目标设备。
  26. 根据权利要求25所述的方法,其特征在于,所述第一设备为车辆,所述第一运行信息包括所述车辆的速度信息和/或启停信息;和/或
    所述第二设备为具有屏幕的电子设备,所述第二运行信息包括所述电子设备的屏幕亮度信息和/或开关机信息。
  27. 根据权利要求24-26任一项所述的方法,其特征在于,所述数据分享条件还包括数据分享优先级,所述第一设备的优先级高于所述第二设备;
    所述根据所述第一状态信息和所述数据分享策略确定目标设备,具体为:
    若所述第一设备和所述第二设备均满足所述数据分享场景和/或所述数据分享时间,则确定所述第一设备为所述目标设备。
  28. 根据权利要求21-27任一项所述的方法,其特征在于,所述数据分享策略还包括数据分享周期。
  29. 根据权利要求20-28任一项所述的方法,其特征在于,所述方法还包括:
    接收所述第一设备组中至少一个设备发送的用户设置的第一云账号的数据分享策略。
  30. 根据权利要求20-29任一项所述的方法,其特征在于,所述方法还包括:
    接收所述第一设备组中至少一个设备发送的所述第一云账号与所述第二云账号之间的关联关系,及存储所述第一云账号与所述第二云账号之间的关联关系。
  31. 根据权利要求20-29任一项所述的方法,其特征在于,所述方法还包括:
    接收所述第一设备组中至少一个设备发送的第一请求,所述第一请求用于请求所述云端设备建立所述第一云账号和所述第二云账号之间的关联关系,所述第一请求中携带有所述第一云账号和所述第二云账号;
    响应于接收所述第一请求,建立所述第一云账号和所述第二云账号之间的关联关系。
  32. 根据权利要求20-31任一项所述的方法,其特征在于,所述向所述目标设备发送第一消息之前,还包括:
    根据所述第二设备组中至少一个设备的第二状态信息,确定第五设备在线,所述第二设备组中至少一个设备包括所述第五设备;
    所述向所述目标设备发送第一消息,具体为:
    向所述目标设备发送所述第一消息,所述第一消息中携带有所述第五设备的标识,所述第一消息用于指示所述目标设备向所述第五设备发送数据。
  33. 根据权利要求32所述的方法,其特征在于,所述根据所述第二设备组中至少一个设备的第二状态信息,确定第五设备在线之前,还包括:
    接收所述第五设备发送的所述第五设备的第二状态信息,所述第五设备的第二状态信息用于表征所述第五设备在线。
  34. 根据权利要求20-33任一项所述的方法,其特征在于,所述方法还包括:
    接收所述目标设备发送的分享数据,以及将所述分享数据发送至所述第二设备组中的至少一个设备。
  35. 一种数据分享方法,其特征在于,应用于第一设备,所述第一设备为第一设备组中的一个设备,所述第一设备组包含至少一个设备,所述第一设备组中的设备上登录有第一云账号,所述方法包括:
    接收云端设备发送的第一消息,所述第一消息用于指示所述第一设备分享数据;
    响应于接收所述第一消息,向第二设备组中的至少一个设备发送第一数据;
    其中,所述云端设备存储有所述第一云账号和第二云账号之间的数据分享策略,及所述第一云账号和所述第二云账号之间的关联关系,所述第二设备组中的设备上登录有第二云账号,所述第二设备组包含至少一个设备,所述第一数据与所述第一云账号的数据分享策略相关联。
  36. 根据权利要求35所述的方法,其特征在于,所述数据分享策略包括所述第一设备和所述第一分享策略的对应关系,所述第一分享策略包含第一分享对象、第一数据分享类型和第一数据分享条件,所述第一分享对象与所述第二云账号关联。
  37. 根据权利要求36所述的方法,其特征在于,所述第一数据与所述第一云账号的数据分享策略相关联,具体为:所述第一数据为与所述第一数据分享类型包含的全部或部分数据。
  38. 根据权利要求36所述的方法,其特征在于,所述数据分享类型包括:数据类型、文件类型和多媒体类型中的一种或多种;所述第一数据分享条件包括数据分享场景、数据分享优先级和数据分享时间中的一种或多种,所述数据分享场景包括运动场景、娱乐场景和驾驶场景中的一种或多种。
  39. 根据权利要求36-39任一项所述的方法,其特征在于,所述数据分享策略还包括数据分享周期。
  40. 根据权利要求35-39任一项所述的方法,其特征在于,所述方法还包括:
    检测用户在所述第一设备的第一界面上输入的第一操作,所述第一界面上显示有所述第一设备组中的至少一个设备的标识,所述第一操作对应于所述第一设备组中的至少一个设备的标识中的第一设备的标识;
    响应于检测到的所述第一操作,显示第一设置界面所述第一设备界面用于设置所述第一设备组中第二设备的第二数据分享策略,所述第一设置界面包含第一控件;
    检测到用户对所述第一控件输入的第二操作;
    响应于所述第二操作,显示第二设置界面,所述第二设置界面用于设置所述第二数据分享策略中的第二数据分享条件,所述第二界面包含有第二控件;
    检测用户对所述第二控件输入的第三操作;
    响应于所述第三操作,在所述第二设置界面上显示第三控件,所述第三控件用于选择第二数据分享条件。
  41. 根据权利要求40所述的方法,其特征在于,所述方法还包括:
    将所述第二数据分享策略发送至所述云端设备。
  42. 根据权利要求35-41任一项所述的方法,其特征在于,所述方法还包括:
    响应于用户输入的第四操作,建立所述第一云账号与所述第二云账号之间关联关系;
    将所述第一云账号与所述第二云账号之间的关联关系发送至所述云端设备。
  43. 根据权利要求35-41任一项所述的方法,其特征在于,所述方法还包括:
    响应于用户输入的第五操作,向所述云端设备发送第一请求,所述第一请求用于请求所述云端设备建立所述第一云账号和所述第二云账号之间的关联关系,所述第一请求中携带有所述第一云账号和所述第二云账号。
  44. 根据权利要求35-43任一项所述的方法,其特征在于,所述向第二设备组中的至少一个设备发送第一数据,包括:
    发送所述第一数据至所述云端设备,以使所述云端设备发送所述第一数据至所述第二设 备组中的至少一个设备。
  45. 根据权利要求35-44任一项所述的方法,其特征在于,所述接收云端设备发送的第一消息之前,还包括:
    向所述云端设备发送第一状态信息,以使所述云端设备根据所述第一状态信息和所述数据分享策略从第一设备组中确定所述第一设备。
  46. 一种数据分享方法,其特征在于,应用于第一设备,所述第一设备为第一设备组中的一个设备,所述第一设备组包含至少一个设备,所述第一设备组中的设备上登录有第一云账号,所述第一设备中存储有所述第一云账号的数据分享策略,及所述第一云账号和第二云账号之间的关联关系,所述第二云账号登录于第二设备组上,所述第二设备组包含至少一个设备;
    所述方法包括:
    接收所述第一设备组中的至少一个设备的第一状态信息;
    基于所述第一设备组中的至少一个设备的第一状态信息,确定所述第一设备满足所述数据分享策略;
    响应于确定所述第一设备满足所述数据分享策略,向所述第二设备组中的至少一个设备发送第一数据,所述第一数据与所述第一云账号的数据分享策略相关联;
    或者,基于所述第一设备组中的至少一个设备的第一状态信息,确定第二设备满足所述数据分享策略,所述第二设备为所述第一设备组中除所述第一设备外的一个设备;
    响应于确定所述第二设备满足所述数据分享策略,向所述第二设备发送第一消息,所述第一消息用于指示所述第二设备分享数据;。
  47. 根据权利要求46所述的方法,其特征在于,所述向所述第二设备组中的至少一个设备发送第一数据之前,所述方法还包括:
    根据所述第二设备组中至少一个设备的第二状态信息,确定第五设备在线,所述第二设备组中至少一个设备包括所述第五设备;
    向所述第二设备组中的至少一个设备发送第一数据,具体为:向所述第五设备发送所述第一数据;
    或者向所述第二设备发送第一消息之前,所述方法还包括:
    根据所述第二设备组中至少一个设备的第二状态信息,确定第五设备在线,所述第二设备组中至少一个设备包括所述第五设备;
    向所述第二设备发送第一消息,具体为:所述第一消息携带有所述第五设备的标识。
  48. 根据权利要求47所述的方法,其特征在于,所述根据所述第二设备组中至少一个设备的第二状态信息,确定第五设备在线之前,所述方法还包括:
    接收所述第五设备发送的所述第五设备的第二状态信息,所述第五设备的第二状态信息用于表征所述第五设备在线。
  49. 一种数据分享系统,其特征在于,所述系统包含第一设备组,第二设备组和云端设备的系统,所述第一设备组和所述第二设备组均包含至少一个设备,所述第一设备组中的设备上登录有第一云账号,所述第二设备组中的设备上登录有第二云账号,所述云端设备存储有所述第一云账号的数据分享策略,及所述第一云账号和所述第二云账号之间的关联关系,其 中,所述系统用于执行如权利要求1-16任一项所述的方法;
    或者,所述系统包含第一设备组和第二设备组,所述第一设备组和所述第二设备组均包含至少一个设备,所述第一设备组中的设备上登录有第一云账户,所述第二设备组中的设备登录有第二云账户,所述第一设备组中的至少一个设备包括第一设备,所述第一设备中存储有所述第一云账号的数据分享策略,及所述第一云账号和所述第二云账号之间的关联关系,其中,所述系统用于执行如权利要求17-19任一项所述的方法。
  50. 一种数据分享装置,其特征在于,用于执行如权利要求20-48任一项所述的方法。
  51. 一种数据分享装置,其特征在于,包括:
    存储器,用于存储程序;
    处理器,用于执行所述存储器存储的程序,当所述存储器存储的程序被执行时,所述处理器用于执行如权利要求20-48任一所述的方法。
  52. 一种电子设备,其特征在于,包括如权利要求49或50所述的装置。
  53. 一种计算机存储介质,所述计算机存储介质中存储有指令,当所述指令在计算机上运行时,使得计算机执行如权利要求20-48任一所述的方法。
  54. 一种芯片,其特征在于,包括至少一个处理器和接口;
    所述接口,用于为所述至少一个处理器提供程序指令或者数据;
    所述至少一个处理器用于执行所述程序行指令,以实现如权利要求20-48任一项所述的方法。
PCT/CN2021/125324 2020-11-05 2021-10-21 数据分享方法、装置、系统及电子设备 Ceased WO2022095712A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21888409.6A EP4224830B1 (en) 2020-11-05 2021-10-21 Data sharing method, apparatus and system, and electronic device
US18/143,212 US11997158B2 (en) 2020-11-05 2023-05-04 Data sharing method, apparatus, and system, and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011224839.5 2020-11-05
CN202011224839.5A CN114449090B (zh) 2020-11-05 2020-11-05 数据分享方法、装置、系统及电子设备、存储介质、芯片

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/143,212 Continuation US11997158B2 (en) 2020-11-05 2023-05-04 Data sharing method, apparatus, and system, and electronic device

Publications (1)

Publication Number Publication Date
WO2022095712A1 true WO2022095712A1 (zh) 2022-05-12

Family

ID=81361764

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/125324 Ceased WO2022095712A1 (zh) 2020-11-05 2021-10-21 数据分享方法、装置、系统及电子设备

Country Status (4)

Country Link
US (1) US11997158B2 (zh)
EP (1) EP4224830B1 (zh)
CN (1) CN114449090B (zh)
WO (1) WO2022095712A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115118735A (zh) * 2022-06-08 2022-09-27 腾讯科技(深圳)有限公司 数据同步方法、群组管理方法、装置、设备及存储介质
CN118941437A (zh) * 2024-09-30 2024-11-12 四川观想科技股份有限公司 一种基于数据纠错防丢失的离散式数据存储方法

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117097496A (zh) * 2022-05-13 2023-11-21 腾讯科技(深圳)有限公司 隐私保护方法、装置、电子设备、存储介质及程序产品
CN117873409A (zh) * 2022-10-12 2024-04-12 华为技术有限公司 跨屏分享方法、图形界面及相关装置
CN115794284A (zh) * 2022-11-28 2023-03-14 维沃移动通信有限公司 信息分享方法、装置、电子设备及可读存储介质
CN116386834A (zh) * 2023-03-10 2023-07-04 深圳市元征科技股份有限公司 一种数据分享方法、装置、设备及介质
US20250126127A1 (en) * 2023-10-17 2025-04-17 VMware LLC Association of cloud accounts

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243517A (zh) * 2013-06-14 2014-12-24 腾讯科技(深圳)有限公司 不同终端之间的内容分享方法及装置
CN108011917A (zh) * 2017-09-29 2018-05-08 北京车和家信息技术有限公司 数据共享的方法、装置及系统
CN110381098A (zh) * 2018-04-12 2019-10-25 上海博泰悦臻网络技术服务有限公司 音乐列表分享方法和音乐列表分享系统
US20190354556A1 (en) * 2018-05-21 2019-11-21 Samsung Electronics Co., Ltd. Method for sharing content based on account group and electronic device for performing same
CN110636345A (zh) * 2019-09-25 2019-12-31 三星电子(中国)研发中心 一种同一身份账号下的多媒体信息共享方法和系统

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4333455B2 (ja) * 2004-04-09 2009-09-16 ソニー株式会社 コンテンツ再生装置,プログラム及びコンテンツ再生制御方法
CN102882944B (zh) * 2012-09-13 2018-02-09 中兴通讯股份有限公司 一种信息的处理方法、优先级信息的发送方法及装置
KR20160060855A (ko) * 2014-11-20 2016-05-31 삼성전자주식회사 콘텐츠를 공유하는 방법 및 그 전자 장치
US10775180B2 (en) * 2015-08-03 2020-09-15 Here Global B.V. Method and apparatus for syncing an embedded system with plurality of devices
CN105282010B (zh) * 2015-09-14 2019-04-23 小米科技有限责任公司 信息分享的处理方法、装置和服务器
CN105871809A (zh) * 2015-12-14 2016-08-17 乐视致新电子科技(天津)有限公司 单账号多设备的通信方法及装置、服务器
KR102628856B1 (ko) * 2017-01-04 2024-01-25 삼성전자주식회사 전자 장치 간 콘텐츠 공유 시스템 및 전자 장치의 콘텐츠 공유 방법
US10136290B2 (en) * 2017-04-14 2018-11-20 Microsoft Technology Licensing, Llc Signal sharing between trusted groups of devices
US10956593B2 (en) * 2018-02-15 2021-03-23 International Business Machines Corporation Sharing of data among containers running on virtualized operating systems
CN109803003B (zh) * 2018-12-29 2021-04-09 华为技术有限公司 一种控制方法、系统及相关设备
US11228884B2 (en) * 2019-01-16 2022-01-18 Ford Global Technologies, Llc Vehicle-to-vehicle file sharing system and method
US11412028B2 (en) * 2019-02-08 2022-08-09 Bluepipes, Inc. Online platform and a method for facilitating sharing of data between users
CN110377200B (zh) * 2019-07-29 2022-06-24 腾讯科技(深圳)有限公司 分享数据生成方法、装置及存储介质
CN111770383B (zh) * 2020-09-03 2021-01-08 北京悠易网际科技发展有限公司 一种设备关联关系的生成方法、内容推荐方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243517A (zh) * 2013-06-14 2014-12-24 腾讯科技(深圳)有限公司 不同终端之间的内容分享方法及装置
CN108011917A (zh) * 2017-09-29 2018-05-08 北京车和家信息技术有限公司 数据共享的方法、装置及系统
CN110381098A (zh) * 2018-04-12 2019-10-25 上海博泰悦臻网络技术服务有限公司 音乐列表分享方法和音乐列表分享系统
US20190354556A1 (en) * 2018-05-21 2019-11-21 Samsung Electronics Co., Ltd. Method for sharing content based on account group and electronic device for performing same
CN110636345A (zh) * 2019-09-25 2019-12-31 三星电子(中国)研发中心 一种同一身份账号下的多媒体信息共享方法和系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4224830A4

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115118735A (zh) * 2022-06-08 2022-09-27 腾讯科技(深圳)有限公司 数据同步方法、群组管理方法、装置、设备及存储介质
CN115118735B (zh) * 2022-06-08 2023-12-01 腾讯科技(深圳)有限公司 数据同步方法、群组管理方法、装置、设备及存储介质
CN118941437A (zh) * 2024-09-30 2024-11-12 四川观想科技股份有限公司 一种基于数据纠错防丢失的离散式数据存储方法

Also Published As

Publication number Publication date
EP4224830A4 (en) 2024-04-10
CN114449090A (zh) 2022-05-06
US20230275955A1 (en) 2023-08-31
US11997158B2 (en) 2024-05-28
EP4224830A1 (en) 2023-08-09
CN114449090B (zh) 2023-02-03
EP4224830B1 (en) 2025-12-10

Similar Documents

Publication Publication Date Title
US12058145B2 (en) Device control method and device
CN114449090B (zh) 数据分享方法、装置、系统及电子设备、存储介质、芯片
CN112954749B (zh) 一种网络切换方法及电子设备
CN113496426B (zh) 一种推荐服务的方法、电子设备和系统
WO2020041952A1 (zh) 一种基于快递消息控制快递柜的方法及电子设备
CN110198362B (zh) 一种在联系人中添加智能家居设备的方法及系统
WO2020216098A1 (zh) 一种跨电子设备转接服务的方法、设备以及系统
CN110401767B (zh) 信息处理方法和设备
CN113170279A (zh) 基于低功耗蓝牙的通信方法及相关装置
WO2021036898A1 (zh) 折叠屏设备中应用打开方法及相关装置
WO2021023035A1 (zh) 一种镜头切换方法及装置
WO2021000923A1 (zh) 一种路由器配置方法、终端及路由器
CN115525366A (zh) 一种投屏方法及相关装置
WO2022062796A1 (zh) 一种网络控制方法、装置及电子设备
WO2022135157A1 (zh) 页面显示的方法、装置、电子设备以及可读存储介质
US20240328805A1 (en) Navigation information sharing method, electronic device, and system
CN114339429A (zh) 音视频播放控制方法、电子设备和存储介质
WO2022100219A1 (zh) 数据转移方法及相关装置
CN114661190A (zh) 终端窗口显示方法、终端和存储介质
CN116266088B (zh) 应用卡片显示方法、装置、终端设备及可读存储介质
CN113365274B (zh) 一种网络接入方法和电子设备
WO2020051916A1 (zh) 一种传输信息的方法及电子设备
CN115695445B (zh) 一种数据同步方法、终端和系统
CN114006698B (zh) token刷新方法、装置、电子设备及可读存储介质
WO2024021691A1 (zh) 显示方法及电子设备

Legal Events

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

Ref document number: 21888409

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021888409

Country of ref document: EP

Effective date: 20230504

NENP Non-entry into the national phase

Ref country code: DE

WWG Wipo information: grant in national office

Ref document number: 2021888409

Country of ref document: EP