CN115314588A - Background synchronization method, device, terminal, equipment, system and storage medium - Google Patents

Background synchronization method, device, terminal, equipment, system and storage medium Download PDF

Info

Publication number
CN115314588A
CN115314588A CN202110431263.8A CN202110431263A CN115314588A CN 115314588 A CN115314588 A CN 115314588A CN 202110431263 A CN202110431263 A CN 202110431263A CN 115314588 A CN115314588 A CN 115314588A
Authority
CN
China
Prior art keywords
background
terminal
data
data packet
wearable device
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.)
Granted
Application number
CN202110431263.8A
Other languages
Chinese (zh)
Other versions
CN115314588B (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110431263.8A priority Critical patent/CN115314588B/en
Publication of CN115314588A publication Critical patent/CN115314588A/en
Application granted granted Critical
Publication of CN115314588B publication Critical patent/CN115314588B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present application belongs to the field of communications technologies, and in particular, to a background synchronization method, apparatus, terminal, device, system, and storage medium. The background synchronization method comprises the following steps: if a synchronous instruction aiming at the background data of the terminal is received, acquiring background style information corresponding to the background data of the terminal; generating a background data packet corresponding to the background style information; transmitting the context data packet to a wearable device, the context data packet being used to instruct the wearable device to set the terminal context data as device context data of the wearable device based on the context data packet. By the method and the device, the use experience of the user can be improved.

Description

Background synchronization method, device, terminal, equipment, system and storage medium
Technical Field
The present application belongs to the technical field of electronic devices, and in particular, to a background synchronization method, apparatus, terminal, device, system, and storage medium.
Background
With the development of scientific technology, the types of wearable devices and supported application functions are more and more. For example, when the application function includes, but is not limited to, a payment function, a background setting function, a call function, and the like. When the wearable device supports the background setting function, the wearable device may set the background of the wearable device as the background corresponding to the background setting instruction based on the background setting instruction of the user.
Disclosure of Invention
The embodiment of the application provides a background synchronization method, a background synchronization device, a background synchronization terminal, background synchronization equipment, a background synchronization system and a background synchronization storage medium, and can improve the use experience of a user. The technical scheme of the embodiment of the application is as follows:
in a first aspect, an embodiment of the present application provides a background synchronization method, where the method includes:
if a synchronous instruction aiming at terminal background data is received, acquiring background style information corresponding to the terminal background data;
generating a background data packet corresponding to the background style information;
transmitting the context data packet to a wearable device, the context data packet instructing the wearable device to set the terminal context data as device context data of the wearable device based on the context data packet.
In a second aspect, an embodiment of the present application provides a background synchronization apparatus, where the apparatus includes:
the information acquisition unit is used for acquiring background style information corresponding to the terminal background data if a synchronous instruction aiming at the terminal background data is received;
a packet generating unit configured to generate a background packet corresponding to the background style information;
a data packet transmission unit, configured to transmit the context data packet to a wearable device, where the context data packet is used to instruct the wearable device to set the terminal context data as device context data of the wearable device based on the context data packet.
In a third aspect, an embodiment of the present application provides a background synchronization method, where the method includes:
receiving a background data packet sent by a terminal; the background data packet is generated based on background style information corresponding to the terminal background data when the terminal receives a synchronization instruction aiming at the terminal background data;
and setting the terminal background data as the device background data of the wearable device based on the background data packet.
In a fourth aspect, an embodiment of the present application provides a background synchronization apparatus, where the apparatus includes:
the data packet receiving unit is used for receiving a background data packet sent by the terminal; the background data packet is generated based on background style information corresponding to the terminal background data when the terminal receives a synchronization instruction aiming at the terminal background data;
and the data setting unit is used for setting the terminal background data as the equipment background data of the wearable equipment based on the background data packet.
In a fifth aspect, a terminal comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of any one of the first aspect when executing the computer program.
In a sixth aspect, a wearable device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the method of any of the above third aspects when executing the computer program.
In a seventh aspect, a context synchronization system comprises a terminal and a wearable device, wherein the terminal is configured to perform the method of any of the first aspect, and the wearable device is configured to perform the method of any of the third aspect of the preceding claims.
In an eighth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is used to implement the method described in any one of the above when executed by a processor.
In a ninth aspect, embodiments of the present application provide a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in the first or third aspects of embodiments of the present application. The computer program product may be a software installation package.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
in one or more embodiments of the present application, if a synchronization instruction for terminal background data is received, background style information corresponding to the terminal background data is obtained, a background data packet corresponding to the background style information may be generated, and the background data packet is transmitted to the wearable device, where the background data packet is used to instruct the wearable device to set the terminal background data as device background data of the wearable device based on the background data packet. When the background is synchronous, a background data packet corresponding to the background style information can be generated and transmitted to the wearable device, so that the terminal background data is associated with the device background data of the wearable device, the transmission mode between the terminal and the wearable device can be improved, the time length of background synchronization is reduced, the efficiency of background synchronization is improved, and the use experience of a user can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a scene schematic diagram illustrating a background synchronization method applied to an embodiment of the present application;
FIG. 2 is a system architecture diagram illustrating a background synchronization method as applied to an embodiment of the present application;
FIG. 3 is a flow chart illustrating a background synchronization method according to an embodiment of the present application;
FIG. 4 is a flow chart illustrating a background synchronization method according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating an example of a terminal interface according to an embodiment of the application;
FIG. 6 is a schematic diagram illustrating an example of a terminal interface according to an embodiment of the application;
fig. 7 shows an example schematic diagram of an interface of a wearable device before receiving no background data packet sent by a terminal according to an embodiment of the present application;
fig. 8 is a schematic diagram illustrating an example of an interface of a wearable device after receiving a background data packet sent by a terminal according to an embodiment of the present application;
FIG. 9 is a flow chart illustrating a background synchronization method according to an embodiment of the present application;
FIG. 10 illustrates an exemplary diagram of various clock background patterns for embodiments of the present application;
FIG. 11 is a schematic diagram illustrating an example terminal interface according to an embodiment of the application;
FIG. 12 is a schematic diagram illustrating an example of a terminal interface according to an embodiment of the application;
FIG. 13 is a flow chart illustrating a background synchronization method according to an embodiment of the present application;
FIG. 14 is a flow chart illustrating a background synchronization method according to an embodiment of the present application;
fig. 15 shows an example schematic diagram of a wearable device interface of an embodiment of the present application;
fig. 16 shows an example schematic diagram of a wearable device interface of an embodiment of the present application;
fig. 17 is a schematic structural diagram of a background synchronization apparatus according to an embodiment of the present application;
fig. 18 is a schematic structural diagram of a background synchronization apparatus according to an embodiment of the present application;
fig. 19 is a schematic structural diagram of a background synchronization apparatus according to an embodiment of the present application;
fig. 20 is a schematic structural diagram of a background synchronization apparatus according to an embodiment of the present application;
fig. 21 is a schematic structural diagram of a background synchronization apparatus according to an embodiment of the present application;
fig. 22 is a schematic structural diagram of a terminal according to an embodiment of the present application;
FIG. 23 is a block diagram of an operating system and a user space provided in an embodiment of the present application;
FIG. 24 is an architectural diagram of the android operating system of FIG. 22;
FIG. 25 is an architectural diagram of the IOS operating system of FIG. 22;
fig. 26 shows a schematic structural diagram of a wearable device according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present application, it is noted that, unless explicitly stated or limited otherwise, "including" and "having" and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. In addition, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
With the development of scientific technology, the types of wearable devices and supported application functions are more and more. For example, when the application function includes, but is not limited to, a payment function, a device context setting function, a call function, and the like. Fig. 1 illustrates a scene schematic diagram of a background synchronization method applied to an embodiment of the present application. As shown in fig. 1, the terminal may receive a setting instruction for a picture to set the picture as a terminal background. The terminal can also send the picture in the terminal to the wearable device so that the wearable device can display the picture. The picture in the terminal is set as the terminal background by the terminal and sent to the wearable device by the terminal separately, the situation that the terminal background data cannot be synchronized with the device background data of the wearable device can occur in a transmission mode between the terminal and the wearable device, namely, the association unification of the terminal background and the wearable device background cannot be realized, the background synchronization duration can be increased, the background synchronization efficiency is low, and the use experience of a user is poor. The pictures in the terminal are pictures acquired by the terminal control camera and pictures acquired from the server.
According to some embodiments, the background synchronization method provided by the embodiments of the present application may solve one or more of the problems described above. Fig. 2 is a system architecture diagram of a background synchronization method applied to an embodiment of the present application. As shown in fig. 2, the terminal of the embodiment of the present application may be connected with a plurality of wearable devices, where the plurality of wearable devices may include different types of wearable devices, and may also include a plurality of wearable devices of the same type. Wherein, the terminal can be an electronic device with a display screen, and the electronic device includes but is not limited to: handheld devices, personal computers, tablet computers, in-vehicle devices, smart phones, computing devices or other processing devices connected to a wireless modem, and the like. The terminal devices in different networks may be called different names, for example: user equipment, access terminal, subscriber unit, subscriber station, mobile station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user equipment, cellular telephone, cordless telephone, personal Digital Assistant (PDA), fifth generation mobile communication technology (5 g) network, or a terminal device in a future evolution network, and the like.
It will be readily appreciated that the terminal includes, for example, a wearable device management application that can manage a variety of wearable devices. The wearable device management application may include a number of modules to facilitate the invocation of various application functions in the terminal. The wearable device management application program can also have multiple device protocols, and can be registered, safely bound and connected with multiple wearable devices, so that the accuracy of identification and response of multiple requests sent by the wearable devices can be improved. The wearable device management application may also communicate with the wearable device. For example, the terminal may obtain the presentation control information of the wearable device through the application program. The communication method may be, for example, direct communication or cross-process communication.
The present application will be described in detail with reference to specific examples.
In one embodiment, as shown in fig. 3, a background synchronization method is proposed, which can be implemented by relying on a computer program and can be run on a terminal with a display screen. The computer program may be integrated into the application or may run as a separate tool-like application.
Specifically, the background synchronization method includes:
s101, if a synchronous instruction aiming at the background data of the terminal is received, acquiring background style information corresponding to the background data of the terminal;
according to some embodiments, the execution subject of the embodiment is a terminal, and the terminal may establish a connection with the wearable device, so that the terminal and the wearable device perform background data transmission. The terminal background refers to the background displayed on the display screen of the terminal when the terminal is in the power-on state. The terminal background includes, but is not limited to, a screenplay background and a wallpaper background. The terminal background data is used to represent specific information displayed in the terminal background. The terminal background does not refer to a fixed background. For example, when the terminal receives a modification instruction for the terminal context data, the terminal may modify the terminal context data based on the modification instruction, and the terminal context may be modified accordingly. The modification instruction includes, but is not limited to, a voice modification instruction, a click modification instruction, a text modification instruction, and the like.
It is easy to understand that the synchronization instruction refers to an instruction received by the terminal, and the synchronization instruction is used for instructing the terminal to send the context data packet to the wearable device, so that the device context data of the wearable device is the same as the terminal context data. The synchronization instructions include, but are not limited to, voice synchronization instructions, click synchronization instructions, timing synchronization instructions, and the like.
Optionally, the background style information is used to indicate a style corresponding to the terminal background data, and the background style information does not refer to a fixed information. When the terminal receives the modification instruction of the terminal background data, the background style information is changed correspondingly.
According to some embodiments, when the terminal is in a power-on state, the terminal may detect whether a synchronization instruction for the terminal context data is received. If the terminal receives the synchronization instruction for the terminal background data, the terminal can acquire the background style information corresponding to the terminal background data.
S102, generating a background data packet corresponding to the background style information;
according to some embodiments, the data packet refers to a data unit when the terminal performs communication transmission with the wearable device. The background data packet is a data unit when the terminal and the wearable device perform background data communication transmission. The background packet is a packet corresponding to the background style information. When the background data of the terminal changes, the background style information also changes correspondingly, and the background data packet also changes.
It is easy to understand that, if the terminal receives the synchronization instruction for the terminal background data, the terminal may obtain the background style information corresponding to the terminal background data. When the terminal acquires the background style information corresponding to the background data of the terminal, the terminal can generate a background data packet corresponding to the background style information.
And S103, transmitting the background data packet to the wearable device, wherein the background data packet is used for instructing the wearable device to set the terminal background data as the device background data of the wearable device based on the background data packet.
According to some embodiments, a wearable device refers to a portable device that may be worn directly on the body, or integrated into a user's clothing or accessory. The wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction and cloud interaction. Wearable devices include, but are not limited to, wearable bracelets, wearable watches, wearable glasses, wearable headsets, wearable foot chains, and the like.
It is easy to understand that the device context data of the wearable device refers to context data corresponding to the device context in the wearable device. The device background data does not refer to a fixed data. When the wearable device receives a modification instruction for the device context data, the device context data also changes accordingly. The modification instruction received by the wearable device may be a modification instruction received by the wearable device on a wearable display screen directly for device context data, or a modification instruction received by the wearable device and sent by the terminal.
If the terminal receives the synchronization instruction aiming at the terminal background data, the terminal can acquire the background style information corresponding to the terminal background data. When the terminal acquires the background style information corresponding to the background data of the terminal, the terminal can generate a background data packet corresponding to the background style information. When the terminal generates the background data packet corresponding to the background style information, the terminal may transmit the background data packet to the wearable device. The context data packet is used to instruct the wearable device to set the terminal context data as device context data of the wearable device based on the context data packet. When wearable equipment receives the background data packet, the wearable equipment can replace the equipment background data of the wearable equipment with the terminal background data.
In one or more embodiments of the present application, if a synchronization instruction for terminal background data is received, background style information corresponding to the terminal background data is obtained, a background data packet corresponding to the background style information may be generated, and the background data packet is transmitted to the wearable device, where the background data packet is used to instruct the wearable device to set the terminal background data as device background data of the wearable device based on the background data packet. During background synchronization, a background data packet corresponding to the background style information can be generated and transmitted to the wearable device, so that the terminal background data is associated with the device background data of the wearable device, the transmission mode between the terminal and the wearable device can be improved, the background synchronization time is shortened, the background synchronization efficiency is improved, and the use experience of a user can be improved.
Referring to fig. 4, a flowchart of a background synchronization method is provided according to an embodiment of the present application. As shown in fig. 4, the specific flow of the background synchronization method is collectively illustrated from the terminal side and the wearable device side, and it should be noted that the method of the embodiment of the present invention can be specifically applied to the context synchronization scenario, and the method includes the following steps S201 to S205.
S201, if the terminal receives a synchronous instruction aiming at the background data of the terminal, acquiring background style information corresponding to the background data of the terminal;
the specific process is as described above, and is not described herein.
According to some embodiments, the background style information includes, but is not limited to, clock background style information, teletext background style information, animation background style information, and the like. The image-text background style information can be selected and obtained by a user based on image-text information prestored in the terminal, and can also be obtained by the terminal based on personal information input by the user.
Alternatively, the terminal may receive a setting instruction for the terminal context data before the terminal receives the synchronization instruction for the terminal context data. For example, the terminal may set terminal context data in an application. The application is an application for the terminal to communicate with the wearable device. The terminal may receive a setting instruction for the terminal context data at the context setting interface. The user may select style information from the background style information, for example. The terminal may determine the terminal context data based on the style information selected by the user. For example, when the user selects the clock style information, the clock background data may be directly selected among a plurality of clock style data stored in the terminal. The terminal may directly determine the clock context data as the terminal context data. When the user selects the image-text style information, the user can select an image from the image set stored in the terminal and input characters on the display screen. The terminal may determine the picture and text as terminal background data. When the user selects the animation style information, the terminal background can be manually drawn on a display screen of the terminal at the terminal, the terminal can obtain corresponding animation path data, and the terminal can use the animation path data as the terminal background data.
It is easy to understand that fig. 5 shows an exemplary schematic diagram of a terminal interface according to an embodiment of the present application. Fig. 5 shows a terminal interface that is currently displayed by the terminal when the terminal receives a synchronization instruction for the terminal background data. If the terminal receives a synchronization instruction aiming at the terminal background data, the terminal can directly determine the terminal background data based on the selection instruction of the user, and the terminal can also identify and obtain the terminal background data based on a data identification algorithm. For example, because the clock background data is the data with the highest frequency set by the user in the terminal background data, before the terminal receives the synchronization instruction for the terminal background data, data mapping information can be synchronously set in the terminal and the wearable device, where the data mapping information is the corresponding relationship information of the second description identifier corresponding to the clock background data and the clock background data, data transmitted during background synchronization can be reduced, the duration of the background synchronization can be reduced, and the efficiency of the background synchronization can be improved.
Alternatively, the terminal context data may be, for example, only clock context data. And if the terminal receives a synchronization instruction aiming at the clock background data, acquiring background style information corresponding to the terminal background data. At this time, an example diagram of the terminal interface may be as shown in fig. 6. When the terminal acquires the background style information corresponding to the clock background data, the terminal can directly acquire the selection instruction of the user for the terminal background data to determine the background style information. The background style information may include, for example, a first description flag and a second description flag. The first description flag may be, for example, a 1 description flag, and the second description flag may be, for example, a 2 description flag.
S202, the terminal generates a background data packet corresponding to the background style information;
the specific process is as described above, and is not described herein.
According to some embodiments, if the terminal receives a synchronization instruction for the terminal background data, the terminal may obtain background style information corresponding to the terminal background data. When the terminal acquires the background style information, the terminal may acquire the information amount of the background style information. Based on the amount of information, the terminal may generate a background packet corresponding to the background style information. For example, when the amount of information is greater than the information amount threshold, the terminal generates a background packet corresponding to the background style information, which may be a file type of background packet. When the information amount is less than the information amount threshold, the terminal generates a background packet corresponding to the background style information, which may be a message type background packet.
It will be readily appreciated that the traffic threshold is not specifically referred to as a fixed threshold. For example, when the terminal receives a threshold modification instruction for the traffic threshold, the terminal may modify the traffic threshold based on the threshold modification instruction. The threshold modification instructions include, but are not limited to, voice modification instructions, click modification instructions, text modification instructions, and the like.
S203, the terminal transmits the background data packet to the wearable device;
the specific process is as described above, and is not described herein.
It is easily understood that, when the terminal generates a background packet corresponding to the background style information, the terminal may acquire type information corresponding to the background packet. The terminal may acquire a transmission mode corresponding to the type information. When the terminal acquires the transmission mode corresponding to the type information, the terminal can transmit the background data packet to the wearable device by adopting the transmission mode.
Optionally, for example, if the terminal receives a synchronization instruction for the terminal background data, the terminal may obtain the background style information corresponding to the terminal background data. When the terminal acquires the background style information, the terminal may acquire the information amount of the background style information. When the information amount is greater than the information amount threshold, the terminal generates a background data packet corresponding to the background style information, which may be a file type background data packet. The type information corresponding to the background data packet acquired by the terminal is file type information, and the transmission mode corresponding to the file type information may be a file transmission mode, for example. The terminal can adopt the file transmission mode to transmit the background data package to wearable equipment.
S204, the wearable device receives a background data packet sent by the terminal;
according to some embodiments, when the terminal transmits the context data packet to the wearable device, the wearable device may receive the context data packet transmitted by the terminal when the wearable device detects that the terminal transmits the wearable device.
It is easy to understand that, when the wearable device detects that the terminal sends the context packet to the wearable device, the wearable device may receive the context packet by using the transmission method adopted by the terminal. For example, the type information corresponding to the background data packet acquired by the terminal is file type information, and the transmission mode corresponding to the file type information may be, for example, a file transmission mode. The terminal can adopt the file transmission mode to transmit the background data package to wearable equipment. The wearable device may receive the context packet using file transfer.
And S205, the wearable device sets the terminal background data as the device background data of the wearable device based on the background data packet.
According to some embodiments, when the wearable device receives the context data packet transmitted by the terminal, the wearable device may set the terminal context data as the device context data of the wearable device based on the context data packet. For example, the wearable device may parse the background data packet and acquire the background style information corresponding to the background data packet. The wearable device may set the terminal context data as device context data of the wearable device based on the context style information.
It is easy to understand that fig. 7 shows an example schematic diagram of an interface of a wearable device of the application embodiment before a background data packet sent by a terminal is not received. The terminal context data may for example be clock context data only. When the terminal acquires the background style information corresponding to the clock background data, the terminal can directly acquire the background style information determined by the user according to the selection instruction of the terminal background data. The background style information may include, for example, a first description flag and a second description flag. The first description flag may be, for example, a 1 description flag, and the second description flag may be, for example, a Y description flag. The terminal can generate a background data packet corresponding to the background style information and send the background data packet to the wearable device. When the wearable device receives the context data packet, the wearable device may set the terminal context data as device context data of the wearable device based on the context data packet. The wearable device can replace the device background data of the wearable device with the first description identifier being a 1 description identifier and the second description identifier being clock background data corresponding to the Y description identifier. At this time, fig. 8 shows an example schematic diagram of an interface of a wearable device after receiving a background data packet sent by a terminal according to an embodiment of the present application. At this time, the device context data of the wearable device and the terminal context data are synchronized.
In one or more embodiments of the present application, if a synchronization instruction for terminal background data is received, background style information corresponding to the terminal background data is obtained, a background data packet corresponding to the background style information may be generated, and the background data packet is transmitted to the wearable device, where the background data packet is used to instruct the wearable device to set the terminal background data as device background data of the wearable device based on the background data packet. During background synchronization, the terminal can generate a background data packet corresponding to the background style information and transmit the background data packet to the wearable device, so that the terminal background data is associated with the device background data of the wearable device, the transmission mode between the terminal and the wearable device can be improved, the background synchronization time is shortened, the background synchronization efficiency is improved, and the use experience of a user can be improved.
Please refer to fig. 9, which provides a flowchart of a background synchronization method according to an embodiment of the present application. As shown in fig. 9, the embodiment of the present invention describes a specific flow of the background synchronization method from the terminal side, and the method includes the following steps S301 to S308.
S301, if a connection instruction for the wearable device is received, acquiring a device identifier of the wearable device;
according to some embodiments, the device identity refers to an identity carried by the wearable device, and the device identity may uniquely identify the wearable device. The wearable devices of different types carry different device identifications, and the wearable devices of the same type carry different device identifications.
It is easy to understand that, before the terminal receives the synchronization instruction for the terminal context data, the terminal may detect whether the connection instruction for the wearable device is received. Wherein the number of wearable devices is at least one. If the terminal receives a connection instruction for the wearable device, the terminal can acquire the device identifier of the wearable device.
Optionally, the Q terminal may display the set of device identifications in the application. The set of device identities refers to a set comprising at least one device identity. The connection instruction received by the terminal for the wearable device may be, for example, a click connection instruction, which may be, for example, a user clicking on a device identifier of the wearable device on a display screen of the Q terminal. The set of device identifications may include, for example, an a device identification, a B device identification, a C device identification, a D device identification, and an E device identification. When the Q receives a click connection instruction for the wearable device a, the device identifier of the wearable device a acquired by the Q terminal is the device identifier A.
S302, based on the device identification, a connection request is sent to the wearable device in the application program;
according to some embodiments, the application refers to an application provided in the terminal for communicating with the wearable device. The functions supported by the application program may be determined based on a setting instruction of the user. If the terminal receives a connection instruction for the wearable device, the terminal can acquire the device identifier of the wearable device. When the terminal acquires the device identifier, the terminal may send a connection request to the wearable device in the application program based on the device identifier.
It will be readily appreciated that the Q terminal may display the set of device identifications in the application. The set of device identities refers to a set comprising at least one device identity. The connection instruction received by the Q terminal for the wearable device may be, for example, a click-to-connect instruction, which may be, for example, a user clicking on a device identifier of the wearable device on a display screen of the terminal. The set of device identities may include, for example, an a device identity, a B device identity, a C device identity, a D device identity, and an E device identity. When the Q receives a click connection instruction for the wearable device a, the device identifier of the wearable device a acquired by the Q terminal is the device identifier A. The Q terminal may send a connection request to the a wearable device corresponding to the a device identification in the application.
S303, if a confirmation instruction sent by the wearable device aiming at the connection request is obtained, establishing a connection relation with the wearable device;
according to some embodiments, when the terminal sends a connection request to the wearable device in the application program based on the device identification, the terminal may detect whether a confirmation instruction sent by the wearable device for the connection request is acquired. If the terminal acquires the confirmation instruction sent by the wearable device for the connection request, the terminal can establish a connection relationship with the wearable device. For example, the terminal sends a connection request to the a wearable device corresponding to the a device identification in the application program. And if the Q acquires a confirmation instruction sent by the wearable device A aiming at the connection request, establishing a connection relation with the wearable device A.
S304, if a synchronous instruction aiming at the background data of the terminal is received, acquiring background style information corresponding to the background data of the terminal;
the specific process is as described above, and is not described herein.
S305, acquiring a first description identifier in the background style information;
according to some embodiments, the background style information includes, but is not limited to, clock background style information, teletext background style information, animation background style information, and the like. The first description mark is used for representing the background style type corresponding to the terminal background data. The first descriptive label does not refer to a fixed label. The first description identifier may be modified based on an identifier modification instruction. For example, when the type of the identifier changes, the first description identifier also changes correspondingly.
It will be readily appreciated that the identification type may be, for example, a numeric type and the first description identification may be, for example, a numeric identification. Different numbers are used to represent different background style types. For example, 1 description mark represents a clock background style type, 2 description mark represents a teletext background style type, 3 description mark represents an animation scene style type, etc.
Optionally, when the terminal acquires the background style information corresponding to the terminal background data, the terminal may acquire the first description identifier in the background style information. The first description identifier acquired by the terminal may be, for example, a 1 description identifier.
S306, generating a background data packet corresponding to the background style information by adopting a data generation mode corresponding to the first description identifier;
according to some embodiments, when the terminal acquires the first description identifier in the background style information, the terminal may acquire a data generation manner corresponding to the first description identifier. When the terminal acquires the data generation mode corresponding to the first description identifier, the terminal may generate a background data packet corresponding to the background style information by using the data generation mode. Because different background style types are different correspondingly, the background data packet generated by adopting different data generation modes can reduce the time length of background synchronization and improve the efficiency of background synchronization.
It is easily understood that the data generation manner includes, but is not limited to, a logo generation manner, a picture generation manner, an animation generation manner, and the like. Different background style types correspond to different data generation modes. When the background style information includes at least one piece of background style information, the terminal may generate the background data packet corresponding to the background style information by using at least one data generation manner corresponding to the background style information.
According to some embodiments, when the terminal generates the background data packet corresponding to the background style information in a data generation manner corresponding to the first description identifier, the terminal acquires the background style type indicated by the first description identifier. If the first description identifier indicates that the background style type is the clock background style, the terminal may obtain a second description identifier corresponding to the clock background style. When the terminal acquires the first description identifier and the second description identifier, the terminal may generate a background data packet corresponding to the background style information based on the first description identifier and the second description identifier. Because the clock background data is the background data with the highest use frequency in the terminal background data, the terminal can generate the background data packet only based on the first description identifier and the second description identifier, the generation duration of the background data packet can be reduced, the duration of background synchronization can be reduced, and the efficiency of background synchronization can be improved.
Optionally, the second description identifies clock context data representing a clock context pattern. The clock background data includes, but is not limited to, clock text format data, clock text color data, clock text display data, and the like. The clock text color data includes, but is not limited to, monochrome data, gradient direction data, and the like. The second descriptive label does not refer to a fixed label. The second description identifier may be modified based on the identifier modification instruction. The identification modification instruction includes, but is not limited to, a voice identification modification instruction, a click identification modification instruction, a text identification modification instruction, a timing modification identification modification instruction, and the like.
It is readily understood that the second description identifier includes, but is not limited to, a numerical description identifier, a textual description identifier, an alphabetic description identifier, a combination of numerical and alphabetic description identifiers, and the like. Different clock context data correspond to different second description identities. Fig. 10 is an exemplary diagram illustrating various clock background patterns according to an embodiment of the application. The second description identifier corresponding to the clock background style from left to right may be, for example, an O description identifier, a U description identifier, an I description identifier, and a Y description identifier, respectively. The first description identifier acquired by the terminal may be, for example, a 1 description identifier. If the first description identifier 1 indicates that the background style type is the clock background style, the terminal may acquire the second description identifier corresponding to the clock background style, for example, the second description identifier may be a Y description identifier. The terminal may generate a context data packet corresponding to the context data packet, and the context data packet may include, for example, a first description identifier 1 description identifier and a second description identifier Y description identifier.
According to some embodiments, before the terminal receives a synchronization instruction for the terminal background data, the terminal may receive a data setting instruction based on which the terminal may establish data mapping information. The data mapping information is a mapping relation between the second description identifier and the clock background data. Similarly, the wearable device may receive a data setting instruction, and the terminal may establish data mapping information based on the data setting instruction. The data mapping information established by the terminal is the same as the data mapping information established by the wearable device, so that when the terminal determines that the first description identifier indicates that the background style type is the clock background style, only the first description identifier and the second description identifier can be transmitted to the wearable device, the transmission amount of background data can be reduced, the generation duration of a background data packet can be reduced, the duration of background synchronization can be reduced, and the efficiency of background synchronization can be improved.
According to some embodiments, when the terminal generates the background data packet corresponding to the background style information in a data generation manner corresponding to the first description identifier, the terminal acquires the background style type indicated by the first description identifier. If the first description identifier indicates that the background style type is an image-text background style, the terminal may generate a first background picture corresponding to the terminal background data. When the terminal generates the first background picture corresponding to the terminal background data, the terminal may generate a background data packet corresponding to the background style information based on the first description identifier and the first background picture. The image-text background pattern includes, but is not limited to, pictures stored in the terminal, characters supported by the terminal, a personal signature input by the user, and the like. The text format supported by the terminal includes, but is not limited to, regular script, song script, bold font, english font, and the like. The personalized signature input by the user includes, but is not limited to, a signature input based on an input method, a signature input by the user by handwriting, and the like. The signature input by the user by handwriting includes but is not limited to a personal signature in a continuous stroke form, a personal signature in an English form and a personal signature in a pattern form. The personal signature may be, for example, a personal signature in the form of a continuous stroke directly input by the user on the display screen of the terminal. The pictures stored by the terminal include, but are not limited to, pictures acquired by a terminal control camera, pictures acquired by the terminal through a wireless communication mode, and the like. Due to the fact that the image-text background data in the terminal are directly sent to the wearable device, the situation that the device background data of the wearable device is inconsistent with the image-text background data occurs, and the situation that the background synchronization effect is poor occurs. Therefore, the terminal generates the background data packet corresponding to the background style information based on the first description identifier and the first background picture, so that the background synchronization effect when the background style type is the image-text background style can be improved, and the use experience of a user is improved.
It is to be understood that, for example, when the terminal acquires the background style information corresponding to the terminal background data, the terminal may acquire the first description identifier in the background style information. The first description identifier acquired by the terminal may be, for example, a 2 description identifier. At this time, an example diagram of the terminal interface may be as shown in fig. 11. The terminal may obtain teletext background data, which may comprise, for example, a user signature and a user single picture. And the terminal generates a background picture by using the user signature and the user single picture, and generates a background data packet based on the background picture and the first description identifier.
According to some embodiments, when the terminal generates the background data packet corresponding to the background style information based on the first description identifier and the first background picture, the terminal may acquire display control information of the wearable device. When the terminal acquires the display control information of the wearable device, the terminal can process the first background picture based on the display control information to obtain the processed first background picture. The processing of the first background picture by the terminal includes, but is not limited to, a cropping process, a beautifying process, a resolution conversion process, a scaling process, and the like. The terminal may generate a background data packet corresponding to the background style information based on the first description identifier and the processed first background picture. The processing of the terminal on the first background picture can reduce the transmission time of the background data packet, reduce the time for setting the background data of the wearable device, and improve the background synchronization efficiency, and meanwhile, the processing of the terminal on the first background picture can also improve the matching between the background picture and the display control information of the wearable device, and improve the convenience and the display effect for displaying the background picture by the wearable device.
It is easy to understand that the terminal processes the first background picture, such as a scaling process. When the terminal generates the first background picture, the terminal can acquire size information of a display control of the wearable device. The size information may be, for example, 1.5 inches. The size information of the first background picture generated by the terminal may be, for example, 5 inches. The terminal can zoom the first background picture according to the proportion of the size information of the display control to the size information of the background picture to obtain a 1.5-inch background picture. The terminal may generate a background packet corresponding to the background style information based on the first description identifier 2 description identifier and the 1.5-inch background picture.
According to some embodiments, when the terminal generates the background data packet corresponding to the background style information in a data generation manner corresponding to the first description identifier, the terminal acquires the background style type indicated by the first description identifier. And if the first description identifier indicates that the background style type is an animation background style, acquiring animation path data corresponding to the terminal background data. When the terminal acquires animation path data corresponding to the background data, the terminal may generate a background data packet corresponding to the background style information based on the first description identifier and the animation path data. The animation path data may include data corresponding to a plurality of animation paths.
It is to be understood that, for example, when the terminal acquires the background style information corresponding to the terminal background data, the terminal may acquire the first description identifier in the background style information. The first description identifier acquired by the terminal may be, for example, a 3 description identifier. At this time, an example diagram of the terminal interface may be as shown in fig. 12. The terminal may obtain animation path data which may, for example, represent a user's hand-drawn authoring background process recorded and stored by the terminal. The terminal generates a background data packet based on the animation path data and the first description identifier 3 description identifier.
Optionally, the animation path data may also be signature path data corresponding to a personalized signature input by a user through handwriting, for example. The first description identifier acquired by the terminal may be, for example, a 3 description identifier. The terminal can obtain signature path data corresponding to the personalized signature input by the user through handwriting, and a background data packet is generated based on the signature path data and the first description identifier 3 description identifier.
According to some embodiments, if a synchronization instruction for the terminal background data is received, before the terminal acquires the background style information corresponding to the terminal background data, the terminal may further acquire the selected second background picture in the background picture set and acquire the selected clock background style in the clock background style set. When the terminal acquires the second background picture and the clock background pattern, the terminal may acquire the terminal background data based on the second background picture and the clock background pattern.
Optionally, when the terminal acquires the selected second background picture, the terminal may process the second background picture to obtain a processed second background picture. The processing of the second background picture by the terminal includes, but is not limited to, a cropping process, a beautification process, a scaling process, a picture direction conversion process, and the like. For example, when the terminal acquires the second background picture after the cropping processing, the terminal may receive a selection instruction for the clock background style set. The terminal can acquire the clock background pattern corresponding to the selection instruction. The terminal may set the processed second background picture and the clock style data corresponding to the clock background style as the terminal background data.
According to some embodiments, when the terminal generates the background data packet corresponding to the background style information by using the data generation method corresponding to the first description identifier, if the first description identifier indicates that the background style type includes a clock background style and an image-text background style, the terminal may obtain a second description identifier and a second background picture corresponding to the clock background style. The second description identifies clock context data representing a clock context pattern. When the terminal acquires the second description identifier and the second background picture, the terminal may generate a background data packet corresponding to the background style information based on the first description identifier, the second description identifier, and the second background picture. The terminal adopts different data generation modes for different background style types, can obtain background data packets corresponding to the background style information, can improve the transmission mode of the background data packets during background synchronization, and can improve the convenience of the background synchronization.
It is easily understood that, when the first description flag includes a 1 description flag and a 2 description flag, the terminal may determine that the background style type includes a clock background style and a teletext background style. The terminal may obtain a second description identifier corresponding to the clock background style, where the second description identifier may be, for example, a Y description identifier, and meanwhile, the terminal may also obtain a second background picture after clipping processing. The terminal may generate a background data packet corresponding to the background style information based on the 1 description identifier, the 2 description identifier, the Y description identifier, and the clipped second background picture.
According to some embodiments, the background style type may include at least one of a clock background style, a teletext background style, and an animation background style. For example, if the first description identifier indicates that the background style type includes a clock background style and an animation background style, the terminal may obtain animation path data corresponding to a second description identifier corresponding to the clock background style and the animation background style. The terminal may generate a background data packet corresponding to the background style information based on the first description identifier, the second description identifier, and the animation path data.
S307, acquiring type information corresponding to the background data packet;
according to some embodiments, when the terminal generates the background data packet, the terminal may acquire type information corresponding to the background data packet. The type information includes at least one of file type information and message type information. Different types of information correspond to different transmission modes. When the terminal generates the background data packet, the terminal may determine type information corresponding to the background data packet based on the information amount of the background style information. For example, when the information amount of the background style information is greater than the information amount threshold, the terminal may determine that the type information corresponding to the background data packet is file type information, and the terminal may generate the background data packet of the file type. When the information amount of the background style information is smaller than the information amount threshold, the terminal may determine that the type information corresponding to the background data packet is the message type information, and the terminal may generate the background data packet of the message type.
Alternatively, the information amount threshold may be 5k, for example. When the information amount of the background style information acquired by the terminal is 2M, the terminal may generate a background data packet of a file type. When the information amount of the background style information acquired by the terminal is 2k, the terminal may generate a background data packet of a message type.
It is easy to understand that, when the terminal generates the background data packet, the terminal may further determine type information corresponding to the background data packet based on the transmission signal strength value. For example, when the transmission signal strength value is greater than the signal strength threshold, the terminal may determine that the type information corresponding to the background data packet is file type information, and the terminal may generate the background data packet of the file type. When the transmission signal strength value is smaller than the signal strength threshold value, the terminal may determine that the type information corresponding to the background data packet is the message type information, and the terminal may generate the background data packet of the message type.
And S308, transmitting the background data packet to the wearable device by adopting a transmission mode corresponding to the type information.
According to some embodiments, the transmission mode refers to a mode of transmitting the data packet to the wearable device, and the transmission mode corresponds to the type information. The transmission method does not refer to a fixed transmission method. The transmission mode may be modified, for example, based on a mode modification instruction input by a user. The mode modification instruction includes, but is not limited to, a voice mode modification instruction, a click mode modification instruction, a text mode modification instruction, and the like.
It is easy to understand that, when the terminal acquires the type information corresponding to the background data packet, the terminal may acquire the transmission mode corresponding to the type information. When the terminal acquires the transmission mode corresponding to the type information, the terminal can adopt the transmission mode corresponding to the type information to transmit the background data packet to the wearable device. The wearable device may receive the context data packet in a transmission manner corresponding to the type information, and set the terminal context data as device context data of the wearable device based on the context data packet.
Alternatively, the information amount threshold may be 5k, for example. When the information amount of the background style information acquired by the terminal is 2M, the terminal may generate a background data packet of a file type. When the type information corresponding to the background data packet is acquired by the terminal as file type information, the terminal can transmit the background data packet to the wearable device in a file transmission mode.
In one or more embodiments of the application, if a connection instruction for the wearable device is received, an device identifier of the wearable device is acquired, a connection request is sent to the wearable device in an application program based on the device identifier, and if a confirmation instruction sent by the wearable device for the connection request is acquired, a connection relationship is established with the wearable device, so that the security of communication with the wearable device can be improved. Secondly, if a synchronization instruction for the background data of the terminal is received, the background style information corresponding to the background data of the terminal is acquired, the first description identifier in the background style information can be acquired, the background data packet corresponding to the background style information is generated by adopting a data generation mode corresponding to the first description identifier, different background data packets can be generated according to different background style information, the background synchronization duration can be reduced, and the background synchronization efficiency can be improved. Finally, the type information corresponding to the background data packet is obtained, the transmission mode corresponding to the type information can be adopted, the background data packet is transmitted to the wearable device, the situation that the transmission mode is not matched with the type information of the background data packet is reduced, the transmission convenience of the background data packet can be improved, the background synchronization efficiency is improved, and the use experience of a user is improved.
Please refer to fig. 13, which provides a flowchart of a background synchronization method according to an embodiment of the present application. As shown in fig. 13, the embodiment of the present invention sets forth a specific flow of a background synchronization method from a wearable device side, and the method of the embodiment of the present invention may include the following steps S401 to S402. Specifically, the background synchronization method includes:
s401, receiving a background data packet sent by a terminal;
according to some embodiments, the background data packet is generated based on the background style information corresponding to the terminal background data when the terminal receives the synchronization instruction for the terminal background data. That is, if the terminal receives the synchronization instruction for the terminal background data, the terminal may obtain the background style information corresponding to the terminal background data. When the terminal acquires the background style information, the terminal may generate a background data packet corresponding to the background style information. The terminal may send a context packet to the wearable device.
It is easy to understand that when the wearable device detects that the terminal transmits the background data packet, the wearable device may receive the background data packet transmitted by the terminal. Before the wearable device receives the background data packet sent by the terminal, the wearable device can establish a connection with the terminal. For example, the wearable device may transmit an acknowledgement instruction for the connection request upon receiving the connection request transmitted by the terminal. Based on the confirmation, the wearable device may be instructed to establish a connection with the terminal.
Alternatively, the wearable device may be, for example, a T-wearable watch. After the wearable watch of T and the Q terminal are connected, when the wearable watch of T detects that the Q terminal sends the background data package, the wearable watch of T can receive the background data package that the Q terminal sent.
S402, setting the background data of the terminal as the device background data of the wearable device based on the background data packet.
According to some embodiments, the device context data is used to represent display information of a context in the wearable device. The device context data does not refer to a fixed data. The device context data may be modified based on a data modification instruction of a user, and may also be modified based on a context packet sent by the terminal.
It is easy to understand that when the wearable device receives the context data packet sent by the terminal, the wearable device may set the terminal context data as the device context data of the wearable device based on the context data packet. For example, the wearable device may parse the context data packet, obtain context pattern information in the context data packet, and the wearable device may set the terminal context data as device context data of the wearable device based on the context pattern information. The wearable device can thus achieve background synchronization with the terminal.
In one or more embodiments of the present application, the wearable device may receive a context data packet sent by the terminal, and set the terminal context data as device context data of the wearable device based on the context data packet. Therefore, when the background is synchronous, the transmission mode between the terminal and the wearable device can be improved, the terminal background data and the device background data do not need to be separately set, the time length of background synchronization can be reduced, the efficiency of background synchronization is improved, and the use experience of a user can be improved.
Please refer to fig. 14, which provides a flowchart of a background synchronization method according to an embodiment of the present disclosure. As shown in fig. 14, the method of the embodiment of the present application may include the following S501-S504. Specifically, the background synchronization method includes:
s501, receiving a background data packet sent by a terminal;
the specific process is as described above, and is not described herein again.
S502, analyzing the background data packet, and acquiring background style information corresponding to the background data packet;
according to some embodiments, when the wearable device receives a background data packet sent by a terminal, the wearable device may parse the background data packet to obtain background style information corresponding to the background data packet. The background style information includes, but is not limited to, a first description identifier, a second description identifier, teletext background data, animation background data, and the like.
It is readily understood that the wearable device may be, for example, a T-wearable watch. After the wearable watch of T and the Q terminal are connected, when the wearable watch of T detects that the Q terminal sends the background data package, the wearable watch of T can receive the background data package that the Q terminal sent. The T-wearable watch may parse the context data packet, and obtain context style information corresponding to the context data packet, where the context style information may include, for example, the first description identifier.
S503, acquiring a first description identifier in the background style information;
according to some embodiments, when the wearable device parses the background data packet and obtains the background style information corresponding to the background data packet, the wearable device may obtain the first description identifier in the background style information. The first description mark is used for representing the background style type corresponding to the terminal background data. The first descriptive label does not refer to a fixed label. The first description identifier may be modified based on an identifier modification instruction. For example, when the type of the identifier changes, the first description identifier also changes correspondingly. When the background data of the terminal changes, the first description identifier also changes correspondingly.
It will be readily appreciated that the identification type may be, for example, a numeric type and the first description identification may be, for example, a numeric identification. Different numbers are used to represent different background style types. For example, 1 description mark represents a clock background style type, 2 description mark represents a teletext background style type, 3 description mark represents an animation scene style type, etc. The T-wearable watch may parse the background data packet, and obtain background style information corresponding to the background data packet, where a first description identifier in the background style information may be, for example, a 1 description identifier.
S504, setting the terminal background data as the device background data of the wearable device based on the first description identification.
According to some embodiments, when the wearable device acquires the first description identifier in the context style information, the wearable device may set the terminal context data as the device context data of the wearable device based on the first description identifier. The wearable device may determine a context style type indicated by the first description identifier, and based on the context style type, the wearable device may obtain the terminal context data and set the terminal context data as device context data of the wearable device.
According to some embodiments, when the wearable device sets the terminal context data as the device context data of the wearable device based on the first description identifier, the wearable device may acquire the context style type indicated by the first description identifier. If the first description identifier indicates that the background style type is the clock background style, the wearable device may obtain a second description identifier in the background style information. The second description identifies clock context data representing a clock context pattern. When the wearable device acquires the second description identifier, the wearable device may set clock context data corresponding to the second description identifier as device context data of the wearable device. Data mapping information of the second description identification and the clock background data is preset in the wearable device. The data mapping information is consistent with data mapping information preset in the terminal.
It is easy to understand that the T-wearable watch may parse the context data packet, and obtain context style information corresponding to the context data packet, where the first description identifier in the context style information may be, for example, a 1 description identifier. If the first description identifier 1 description identifier indicates that the background style type is the clock background style, the T-wearable watch may acquire the second description identifier in the background style information. The second description identifier corresponding to the T-wearable watch obtaining clock background style may be a Y description identifier, for example. The Y description flag represents, for example, clock background data representing a text format in a regular script format. The T-wearable watch may set the regular script format clock context data as device context data for the T-wearable watch.
According to some embodiments, when the wearable device sets the terminal context data as the device context data of the wearable device based on the first description identifier, the wearable device may acquire the context style type indicated by the first description identifier. And if the first description identifier indicates that the background style type is the image-text background style, acquiring a first background picture in the background data packet. When the wearable device acquires the first background picture, the wearable device may set the first background picture as device background data of the wearable device.
It is easy to understand that, when the terminal acquires the background style information corresponding to the terminal background data, the terminal may acquire the first description identifier in the background style information. The first description identifier acquired by the terminal may be, for example, a 2 description identifier. As shown in fig. 11, the terminal may obtain the teletext background data, which may include, for example, the user signature and the user single picture. The terminal generates a first background picture by the user signature and the user single picture, generates a background data packet based on the first background picture and the first description identifier, and sends the background data packet to the T wearable watch. The T-wearable watch may receive and parse the background data packet, and obtain background style information corresponding to the background data packet, where a first description identifier in the background style information may be, for example, a 2 description identifier. If the first description identifier 2 indicates that the background style type is the image-text background style, the T wearable watch may acquire a first background picture. The T wearable watch sets the first background picture as the device background data of the wearable device. At this time, an example interface diagram of the wearable device may be as shown in fig. 15.
According to some embodiments, when the wearable device sets the terminal context data as the device context data of the wearable device based on the first description identifier, the wearable device may acquire the context style type indicated by the first description identifier. If the first description identification indicates that the background style information is the animation background style, animation path data in the background data packet are obtained. When the wearable device acquires the animation path data, the wearable device may set the animation path data as device context data of the wearable device.
It is to be understood that, for example, when the terminal acquires the background style information corresponding to the terminal background data, the terminal may acquire the first description identifier in the background style information. The first description identifier acquired by the terminal may be, for example, a 3 description identifier. As shown in fig. 12, the terminal may acquire animation path data, which may represent, for example, a process of a user hand-drawing an authoring background recorded and stored by the terminal. The terminal generates a background data packet based on the animation path data and the first description identifier 3 description identifier, and sends the background data packet to the T wearable watch. The T-wearable watch may receive and parse the background data packet, and obtain background style information corresponding to the background data packet, where a first description identifier in the background style information may be, for example, a 3 description identifier. If the first description identifier 3 indicates that the background style type is an animation background style, the T-wearable watch may obtain animation background data. The T-wearable watch sets the animation context data as device context data of the wearable device. At this time, an example schematic diagram of an interface of the wearable device may be as shown in fig. 16.
According to some embodiments, when the wearable device acquires the first description identifier indicating that the background style type includes a clock background style and a picture-text background style, the wearable device may acquire a second description identifier and a second background picture corresponding to the clock background style. The clock background style is selected by a user obtained by the terminal in the clock background style set, and the second background picture is selected by the user obtained by the terminal in the background picture set. When the second background picture acquired by the terminal is processed based on the processing instruction of the user, the second background picture acquired by the terminal can also be processed based on the processing instruction of the user. When the wearable device acquires the second description identifier and the second background picture, the wearable device may set clock background data and the second background picture corresponding to the second description identifier as device background data.
It is easily understood that, when the first description identifier includes a 1 description identifier and a 2 description identifier, the wearable device may determine that the background style type includes a clock background style and a graphic background style. The wearable device may acquire a second description identifier corresponding to the clock background style, where the second description identifier may be, for example, a Y description identifier, and meanwhile, the wearable device may also acquire a second background picture after the clipping process. And the wearable device sets the clock background data corresponding to the second description identification and the cut second background picture as device background data.
In one or more embodiments of the present application, a background data packet sent by a terminal is received, the background data packet is analyzed, background style information corresponding to the background data packet is obtained, a first description identifier in the background style information is obtained, and the terminal background data is set as device background data of a wearable device based on the first description identifier. In background synchronization, the wearable device can set the device background data of the wearable device based on the first description identifier, so that the setting time of the device background data can be reduced, the background synchronization efficiency can be improved, and the use experience of a user can be improved.
The background synchronization apparatus provided in the embodiments of the present application will be described in detail below with reference to fig. 17 to 19. It should be noted that, the background synchronization apparatus shown in fig. 17-19 is used for executing the method of the embodiment shown in fig. 3-12 of the present application, and for convenience of description, only the portion related to the embodiment of the present application is shown, and details of the technology are not disclosed, please refer to the embodiment shown in fig. 3-12 of the present application.
Please refer to fig. 17, which illustrates a schematic structural diagram of a background synchronization apparatus according to an embodiment of the present application. The background synchronization apparatus 1700 may be implemented by software, hardware or a combination of both as all or part of a user terminal. According to some embodiments, the background synchronization apparatus 1700 includes an information obtaining unit 1701, a packet generating unit 1702, and a packet transmitting unit 1703, and is specifically configured to:
an information obtaining unit 1701, configured to obtain background style information corresponding to terminal background data if a synchronization instruction for the terminal background data is received;
a packet generating unit 1702, configured to generate a background packet corresponding to the background style information;
a data packet transmitting unit 1703, configured to transmit the context data packet to a wearable device, where the context data packet is used to instruct the wearable device to set the terminal context data as device context data of the wearable device based on the context data packet.
According to some embodiments, fig. 18 shows a schematic structural diagram of a background synchronization apparatus according to an embodiment of the present application. As shown in fig. 18, the packet generating unit 1702 includes a first identifier obtaining sub-unit 1712 and a packet generating sub-unit 1722, and the packet generating unit 1702 is configured to, when generating a background packet corresponding to the background style information:
a first identifier obtaining subunit 1712, configured to obtain a first description identifier in the background style information; the first description identification is used for representing a background style type corresponding to the terminal background data;
a data packet generating subunit 1722, configured to generate a background data packet corresponding to the background style information by using the data generating manner corresponding to the first description identifier.
According to some embodiments, the data packet generating subunit 1722 is configured to, when generating the background data packet corresponding to the background style information in the data generating manner corresponding to the first description identifier, specifically:
if the first description identification indicates that the background style type is the clock background style, acquiring a second description identification corresponding to the clock background style; the second description identifies clock context data representing a clock context pattern;
and generating a background data packet corresponding to the background style information based on the first description identifier and the second description identifier.
According to some embodiments, the data packet generating subunit 1722 is configured to, when generating the background data packet corresponding to the background style information in a data generating manner corresponding to the first description identifier, specifically:
if the first description identification indicates that the background style type is an image-text background style, generating a first background picture corresponding to the terminal background data;
and generating a background data packet corresponding to the background style information based on the first description identifier and the first background picture.
According to some embodiments, the packet generating subunit 1722 is configured to, when generating the background packet corresponding to the background style information based on the first description identifier and the first background picture, specifically:
acquiring display control information of wearable equipment;
processing the first background picture based on the display control information to obtain a processed first background picture;
and generating a background data packet corresponding to the background style information based on the first description identifier and the processed first background picture.
According to some embodiments, the data packet generating subunit 1722 is configured to, when generating the background data packet corresponding to the background style information in the data generating manner corresponding to the first description identifier, specifically:
if the first description identification indicates that the background style type is an animation background style, acquiring animation path data corresponding to the background data of the terminal;
and generating a background data packet corresponding to the background style information based on the first description identifier and the animation path data.
According to some embodiments, the background synchronization apparatus 1700 further includes a data obtaining unit, configured to, before obtaining the background style information corresponding to the terminal background data if the synchronization instruction for the terminal background data is received, further include:
acquiring a selected second background picture from the background picture set, and acquiring a selected clock background style from the clock background style set;
and acquiring the background data of the terminal based on the second background picture and the clock background style.
According to some embodiments, the data packet generating subunit 1722 is configured to, when generating the background data packet corresponding to the background style information in the data generating manner corresponding to the first description identifier, specifically:
if the first description identifier indicates that the background style type comprises a clock background style and an image-text background style, acquiring a second description identifier and a second background picture corresponding to the clock background style; the second description identifies clock context data representing a clock context pattern;
and generating a background data packet corresponding to the background style information based on the first description identifier, the second description identifier and the second background picture.
According to some embodiments, fig. 19 is a schematic structural diagram of a background synchronization apparatus according to an embodiment of the present application. As shown in fig. 19, the background synchronization apparatus 1700 further includes a connection establishing unit 1704, configured to, if a synchronization instruction for the terminal background data is received, before the background style information corresponding to the terminal background data is acquired, specifically:
if a connection instruction for the wearable device is received, acquiring a device identifier of the wearable device;
sending a connection request to the wearable device in the application based on the device identification;
and if a confirmation instruction sent by the wearable device aiming at the connection request is obtained, establishing a connection relation with the wearable device.
According to some embodiments, the data packet transmitting unit 1703, when transmitting the background data packet to the wearable device, is specifically configured to:
acquiring type information corresponding to the background data packet; the type information comprises at least one of file type information and message type information, and different types of information correspond to different transmission modes;
and transmitting the background data packet to the wearable device by adopting a transmission mode corresponding to the type information.
In one or more embodiments of the present application, if an information obtaining unit receives a synchronization instruction for terminal background data, the information obtaining unit obtains background style information corresponding to the terminal background data, a data packet generating unit may generate a background data packet corresponding to the background style information, and a data packet transmitting unit may transmit the background data packet to a wearable device. When the background is synchronous, the background synchronization device can generate a background data packet corresponding to the background style information and transmit the background data packet to the wearable device, so that the terminal background data is associated with the device background data of the wearable device, the transmission mode between the terminal and the wearable device can be improved, the time length of background synchronization is reduced, the efficiency of background synchronization is improved, and the use experience of a user can be improved.
The background synchronization apparatus provided in the embodiments of the present application will be described in detail below with reference to fig. 20 to 21. It should be noted that, the background synchronization apparatus shown in fig. 20 to 21 is used for executing the method of the embodiment shown in fig. 13 to 16 of the present application, and for convenience of description, only the portion related to the embodiment of the present application is shown, and details of the technology are not disclosed, please refer to the embodiment shown in fig. 13 to 16 of the present application.
Please refer to fig. 20, which illustrates a schematic structural diagram of a background synchronization apparatus according to an embodiment of the present application. The background synchronization apparatus 2000 may be implemented by software, hardware or a combination of both as all or a part of the user terminal. According to some embodiments, the background synchronization apparatus 2000 includes a packet receiving unit 2001 and a data setting unit 2002, and is specifically configured to:
a packet receiving unit 2001, configured to receive a background packet sent by the terminal; the background data packet is generated based on background style information corresponding to the background data of the terminal when the terminal receives a synchronous instruction aiming at the background data of the terminal;
a data setting unit 2002, configured to set the terminal context data as device context data of the wearable device based on the context data packet.
According to some embodiments, fig. 21 is a schematic structural diagram of a background synchronization apparatus according to an embodiment of the present application. As shown in fig. 21, the data setting unit 2002 includes an information acquiring subunit 2012, a second identifier acquiring subunit 2022, and a data setting subunit 2032, and the data setting unit 2002 is configured to, when setting the terminal context data as the device context data of the wearable device based on the context data packet:
the information obtaining subunit 2012 is configured to parse the background data packet and obtain background style information corresponding to the background data packet;
a second identifier obtaining subunit 2022, configured to obtain the first description identifier in the background style information; the first description identification is used for representing a background style type corresponding to the terminal background data;
a data setting subunit 2032, configured to set the terminal context data as device context data of the wearable device based on the first description identifier.
According to some embodiments, the data setting subunit 2032, configured to, when setting the terminal context data as the device context data of the wearable device based on the first description identifier, specifically:
if the first description identification indicates that the background style type is the clock background style, acquiring a second description identification in the background style information; the second description identifies clock context data representing a clock context pattern;
and setting the clock context data corresponding to the second description identification as the device context data of the wearable device.
According to some embodiments, the data setting subunit 2032, when setting the terminal context data as the device context data of the wearable device based on the first description identifier, is specifically configured to:
if the first description identification indicates that the background style type is an image-text background style, acquiring a first background picture in the background data packet;
and setting the first background picture as the device background data of the wearable device.
According to some embodiments, the data setting subunit 2032, configured to, when setting the terminal context data as the device context data of the wearable device based on the first description identifier, specifically:
if the first description identification indicates that the background style information is an animation background style, acquiring animation path data in the background data packet;
the animation path data is set as device context data of the wearable device.
In one or more embodiments of the present application, the data packet receiving unit may receive a background data packet sent by a terminal, and the data setting unit may set the terminal background data as device background data of the wearable device based on the background data packet. Therefore, when the background is synchronous, the transmission mode between the terminal and the wearable device can be improved, the terminal background data and the device background data do not need to be separately set, the time length of background synchronization can be reduced, the efficiency of background synchronization is improved, and the use experience of a user can be improved.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the background synchronization method according to the embodiments shown in fig. 3 to fig. 16, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 3 to fig. 16, which is not described herein again.
The present application further provides a computer program product, where at least one instruction is stored, and the at least one instruction is loaded by the processor and executes the background synchronization method according to the embodiment shown in fig. 3 to 16, where a specific execution process may refer to specific descriptions of the embodiment shown in fig. 3 to 16, and is not described herein again.
The present application further provides a background synchronization system, where the background synchronization system includes a terminal and a wearable device, and the terminal is configured to execute the background synchronization method according to the embodiment shown in fig. 3 to 12, and a specific execution process may refer to specific descriptions of the embodiment shown in fig. 3 to 12, which is not described herein again. The wearable device is configured to execute the background synchronization method for performing the embodiments shown in fig. 13 to fig. 16, and specific execution processes may refer to specific descriptions of the embodiments shown in fig. 13 to fig. 16, which are not described herein again
Referring to fig. 22, a block diagram of a terminal according to an exemplary embodiment of the present application is shown. A terminal in the present application may include one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, memory 120, input device 130, and output device 140 may be connected by a bus 150. The processor loads and executes the background synchronization method according to the embodiments shown in fig. 3 to fig. 12, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 3 to fig. 12, which is not described herein again.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the entire terminal using various interfaces and lines, and performs various functions of the terminal 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), field-programmable gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a read-only Memory (ROM). Optionally, the memory 120 includes a non-transitory computer-readable medium. The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, and the like), instructions for implementing various method embodiments described below, and the like, and the operating system may be an Android (Android) system, including a system based on Android system depth development, an IOS system developed by apple, including a system based on IOS system depth development, or other systems. The storage data area may also store data created by the terminal in use, such as a phonebook, audio-video data, chat log data, etc.
Referring to fig. 23, the memory 120 may be divided into an operating system space and a user space, wherein the operating system is run in the operating system space, and the native and third-party applications are run in the user space. In order to ensure that different third-party application programs can achieve a better operation effect, the operating system allocates corresponding system resources for the different third-party application programs. However, the requirements of different application scenarios in the same third-party application program on system resources are different, for example, in a local resource loading scenario, the third-party application program has a higher requirement on the disk reading speed; in the animation rendering scene, the third-party application program has a high requirement on the performance of the GPU. The operating system and the third-party application program are independent from each other, and the operating system often cannot timely sense the current application scene of the third-party application program, so that the operating system cannot perform targeted system resource adaptation according to the specific application scene of the third-party application program.
In order to enable the operating system to distinguish a specific application scenario of the third-party application program, data communication between the third-party application program and the operating system needs to be opened, so that the operating system can acquire current scenario information of the third-party application program at any time, and further perform targeted system resource adaptation based on the current scenario.
Taking an operating system as an Android system as an example, programs and data stored in the memory 120 are as shown in fig. 24, and a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360, and an application layer 380 may be stored in the memory 120, where the Linux kernel layer 320, the system runtime library layer 340, and the application framework layer 360 belong to an operating system space, and the application layer 380 belongs to a user space. The Linux kernel layer 320 provides underlying drivers for various hardware of the terminal, such as a display driver, an audio driver, a camera driver, a bluetooth driver, a Wi-Fi driver, power management, and the like. The system runtime library layer 340 provides main feature support for the Android system through some C/C + + libraries. For example, the SQLite library provides support for a database, the OpenGL/ES library provides support for 3D drawing, the Webkit library provides support for a browser kernel, and the like. Also provided in the system runtime library layer 340 is an Android runtime library (Android runtime), which mainly provides some core libraries that can allow developers to write Android applications using the Java language. The application framework layer 360 provides various APIs that may be used in building an application, and developers may build their own applications by using these APIs, such as activity management, window management, view management, notification management, content provider, package management, session management, resource management, and location management. At least one application program runs in the application layer 380, and the application programs may be native application programs carried by the operating system, such as a contact program, a short message program, a clock program, a camera application, and the like; or a third-party application program developed by a third-party developer, such as a game application program, an instant messaging program, a photo beautification program, a gesture data acquisition program, and the like.
Taking an operating system as an IOS system as an example, programs and data stored in the memory 120 are shown in fig. 25, and the IOS system includes: a Core operating system Layer 420 (Core OS Layer), a Core Services Layer 440 (Core Services Layer), a Media Layer 460 (Media Layer), and a touchable Layer 480 (Cocoa Touch Layer). The kernel os layer 420 includes an os kernel, drivers, and underlying program frameworks that provide more hardware-like functionality for use by program frameworks located in the kernel services layer 440. The core services layer 440 provides system services and/or program frameworks, such as a Foundation framework, an account framework, an advertisement framework, a data storage framework, a network connection framework, a geographic location framework, a motion framework, and so forth, as required by the application. The media layer 460 provides audiovisual related interfaces for applications, such as graphics image related interfaces, audio technology related interfaces, video technology related interfaces, audio video transmission technology wireless playback (AirPlay) interfaces, and the like. Touchable layer 480 provides various common interface-related frameworks for application development, and touchable layer 480 is responsible for user touch interaction operations on the terminal. Such as a local notification service, a remote push service, an advertising framework, a game tool framework, a messaging User Interface (UI) framework, a User Interface UIKit framework, a map framework, and so forth.
In the framework shown in FIG. 23, the framework associated with most applications includes, but is not limited to: a base framework in the core services layer 440 and a UIKit framework in the touchable layer 480. The base framework provides many basic object classes and data types, provides the most basic system services for all applications, and is UI independent. While the class provided by the UIKit framework is a base UI class library for creating touch-based user interfaces, iOS applications can provide UIs based on the UIKit framework, so it provides an infrastructure for applications for building user interfaces, drawing, processing and user interaction events, responding to gestures, and so on.
The Android system can be referred to as a mode and a principle for realizing data communication between the third-party application program and the operating system in the IOS system, and details are not repeated herein.
The input device 130 is used for receiving input instructions or data, and the input device 130 includes, but is not limited to, a keyboard, a mouse, a camera, a microphone, or a touch device. The output device 140 is used for outputting instructions or data, and the output device 140 includes, but is not limited to, a display device, a speaker, and the like. In one example, the input device 130 and the output device 140 may be combined, and the input device 130 and the output device 140 are touch display screens for receiving a touch operation of a user on or near the touch display screens by using a finger, a touch pen or any other suitable object, and displaying user interfaces of various applications. The touch display screen is generally provided at a front panel of the terminal. The touch display screen may be designed as a full-face screen, a curved screen, or a profiled screen. The touch display screen can also be designed to be a combination of a full-face screen and a curved-face screen, and a combination of a special-shaped screen and a curved-face screen, which is not limited in the embodiment of the present application.
Please refer to fig. 26, which is a schematic structural diagram of a wearable device according to an embodiment of the present application. As shown in fig. 26, the wearable device 2600 may comprise: at least one processor 2601, at least one network interface 2604, a user interface 2603, memory 2605, at least one communication bus 2602.
The communication bus 2602 is used for realizing connection communication among these components.
The user interface 2603 may include a display screen, a standard wired interface, and a wireless interface.
The network interface 2604 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface).
The processor 2601 may include one or more processing cores, among others. Processor 2601 connects various parts throughout wearable device 2600 with various interfaces and lines to perform various functions of wearable device 2600 and process data by running or executing instructions, programs, code sets, or instruction sets stored in memory 2605 and invoking data stored in memory 2605. Optionally, the processor 2601 may be implemented in at least one hardware form of Digital Signal Processing (DSP), field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 2601 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is to be understood that the modem may not be integrated into the processor 2601, but may be implemented by a single chip.
The Memory 2605 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 2605 includes a non-transitory computer-readable medium. The memory 2605 may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory 2605 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 2605 may optionally be at least one storage device located remotely from the processor 2601. As shown in fig. 26, the memory 2605, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an application program for background synchronization.
In wearable device 2600 shown in fig. 26, user interface 2603 is primarily used to provide an input interface for the user, obtaining data input by the user; the processor 2601 may be configured to invoke the background synchronization application program stored in the memory 2605, and specifically execute the background synchronization method according to the embodiment shown in fig. 13 to fig. 16, where a specific execution process may refer to specific descriptions of the embodiment shown in fig. 13 to fig. 16, and is not described herein again.
In addition, those skilled in the art will appreciate that the configurations of the terminals illustrated in the above-described figures do not constitute limitations on the terminals, as the terminals may include more or less components than those illustrated, or some components may be combined, or a different arrangement of components may be used. For example, the terminal further includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a power supply, a bluetooth module, and other components, which are not described herein again.
In the embodiment of the present application, the main body of execution of each step may be the terminal described above. Optionally, the execution subject of each step is an operating system of the terminal. The operating system may be an android system, an IOS system, or another operating system, which is not limited in this embodiment of the present application.
The terminal of the embodiment of the present application may further have a display device installed thereon, and the display device may be various devices capable of implementing a display function, for example: a cathode ray tube display (CR), a light-emitting diode display (LED), an electronic ink screen, a Liquid Crystal Display (LCD), a Plasma Display Panel (PDP), and the like. A user may utilize a display device on terminal 100 to view displayed text, images, video, etc. The terminal may be a smartphone, a tablet computer, a gaming device, an AR (Augmented Reality) device, an automobile, a data storage device, an audio playback device, a video playback device, a notebook, a desktop computing device, a wearable device such as an electronic watch, an electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, an electronic garment, or the like.
It is clear to a person skilled in the art that the solution of the present application can be implemented by means of software and/or hardware. The term "unit" and "module" in this specification refers to software and/or hardware capable of performing a specific function independently or in cooperation with other components, wherein the hardware may be, for example, a Field-ProgrammaBLE Gate Array (FPGA), an Integrated Circuit (IC), or the like.
It should be noted that for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some service interfaces, devices or units, and may be an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solutions of the present application, in essence or part of the technical solutions contributing to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program which instructs associated hardware to perform the steps, and the program may be stored in a computer readable memory, and the memory may include: flash disks, read-Only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
The above description is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure should not be limited thereby. It is intended that all equivalent variations and modifications made in accordance with the teachings of the present disclosure be covered thereby. Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (21)

1. A background synchronization method, the method comprising:
if a synchronous instruction aiming at terminal background data is received, acquiring background style information corresponding to the terminal background data;
generating a background data packet corresponding to the background style information;
transmitting the context data packet to a wearable device, the context data packet being used to instruct the wearable device to set the terminal context data as device context data of the wearable device based on the context data packet.
2. The method according to claim 1, wherein the generating the context data packet corresponding to the context style information comprises:
acquiring a first description identifier in the background style information; the first description identification is used for representing a background style type corresponding to the terminal background data;
and generating a background data packet corresponding to the background style information by adopting a data generation mode corresponding to the first description identifier.
3. The method according to claim 2, wherein the generating a background data packet corresponding to the background style information by using a data generation manner corresponding to the first description identifier comprises:
if the first description identifier indicates that the background style type is a clock background style, acquiring a second description identifier corresponding to the clock background style; the second description identifying clock context data representing the clock context pattern;
and generating a background data packet corresponding to the background style information based on the first description identifier and the second description identifier.
4. The method according to claim 2, wherein the generating a background data packet corresponding to the background style information by using the data generation manner corresponding to the first description identifier comprises:
if the first description identifier indicates that the background style type is an image-text background style, generating a first background picture corresponding to the terminal background data;
and generating a background data packet corresponding to the background style information based on the first description identifier and the background picture.
5. The method according to claim 4, wherein the generating a context data packet corresponding to the context style information based on the first description identifier and the context picture comprises:
acquiring display control information of wearable equipment;
processing the first background picture based on the display control information to obtain a processed first background picture;
and generating a background data packet corresponding to the background style information based on the first description identifier and the processed first background picture.
6. The method according to claim 2, wherein the generating a background data packet corresponding to the background style information by using a data generation manner corresponding to the first description identifier comprises:
if the first description identification indicates that the background style type is an animation background style, acquiring animation path data corresponding to the terminal background data;
and generating a background data packet corresponding to the background style information based on the first description identifier and the animation path data.
7. The method according to claim 2, wherein before the step of obtaining the background style information corresponding to the terminal background data if the synchronization instruction for the terminal background data is received, the method further comprises:
acquiring a selected second background picture from the background picture set, and acquiring a selected clock background pattern from the clock background pattern set;
and acquiring terminal background data based on the second background picture and the clock background pattern.
8. The method according to claim 7, wherein the generating a background data packet corresponding to the background style information by using a data generation manner corresponding to the first description identifier comprises:
if the first description identifier indicates that the background style type comprises a clock background style and an image-text background style, acquiring a second description identifier and a second background picture corresponding to the clock background style; the second description identifying clock context data representing the clock context pattern;
and generating a background data packet corresponding to the background style information based on the first description identifier, the second description identifier and the second background picture.
9. The method of claim 1, wherein before the obtaining the background style information corresponding to the terminal background data if the synchronization instruction for the terminal background data is received, the method further comprises:
if a connection instruction for the wearable equipment is received, acquiring an equipment identifier of the wearable equipment;
sending a connection request to the wearable device in an application based on the device identification;
and if a confirmation instruction sent by the wearable device aiming at the connection request is obtained, establishing a connection relation with the wearable device.
10. The method of claim 1, wherein transmitting the context data packet to a wearable device comprises:
acquiring type information corresponding to the background data packet; the type information comprises at least one of file type information and message type information, and different types of information correspond to different transmission modes;
and transmitting the background data packet to wearable equipment by adopting a transmission mode corresponding to the type information.
11. A background synchronization apparatus, the apparatus comprising:
the information acquisition unit is used for acquiring background style information corresponding to the terminal background data if a synchronous instruction aiming at the terminal background data is received;
a packet generating unit configured to generate a background packet corresponding to the background style information;
a data packet transmission unit, configured to transmit the context data packet to a wearable device, where the context data packet is used to instruct the wearable device to set the terminal context data as device context data of the wearable device based on the context data packet.
12. A background synchronization method, the method comprising:
receiving a background data packet sent by a terminal; the background data packet is generated based on background style information corresponding to the terminal background data when the terminal receives a synchronization instruction aiming at the terminal background data;
and setting the terminal background data as the device background data of the wearable device based on the background data packet.
13. The method of claim 12, wherein setting the terminal context data as device context data of a wearable device based on the context data packet comprises:
analyzing the background data packet to obtain background style information corresponding to the background data packet;
acquiring a first description identifier in the background style information; the first description identification is used for representing a background style type corresponding to the terminal background data;
setting the terminal context data as the device context data of the wearable device based on the first description identification.
14. The method of claim 13, wherein setting the terminal context data as device context data of a wearable device based on the first description identifier comprises:
if the first description identifier indicates that the background style type is a clock background style, acquiring a second description identifier in the background style information; the second description identifies clock context data representing the clock context pattern;
and setting the clock context data corresponding to the second description identification as the device context data of the wearable device.
15. The method of claim 13, wherein the setting the terminal context data as device context data of a wearable device based on the first description identifier comprises:
if the first description mark indicates that the background style type is an image-text background style, acquiring a first background picture in the background data packet;
and setting the first background picture as the device background data of the wearable device.
16. The method of claim 13, wherein setting the terminal context data as device context data of a wearable device based on the first description identifier comprises:
if the first description identification indicates that the background style information is an animation background style, acquiring animation path data in the background data packet;
setting the animation path data as device context data of the wearable device.
17. A background synchronization apparatus, the apparatus comprising:
the data packet receiving unit is used for receiving a background data packet sent by the terminal; the background data packet is generated based on background style information corresponding to the terminal background data when the terminal receives a synchronization instruction aiming at the terminal background data;
and the data setting unit is used for setting the terminal background data as the equipment background data of the wearable equipment based on the background data packet.
18. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method of any of the preceding claims 1-10 when executing the computer program.
19. A wearable device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program implements the method of any of claims 12-16.
20. A context synchronization system comprising a terminal for performing the method of any of the preceding claims 1-10 and a wearable device for performing the method of any of the preceding claims 12-16.
21. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of any one of the preceding claims 1-10 or 12-16.
CN202110431263.8A 2021-04-21 2021-04-21 Background synchronization method, device, terminal, equipment, system and storage medium Active CN115314588B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110431263.8A CN115314588B (en) 2021-04-21 2021-04-21 Background synchronization method, device, terminal, equipment, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110431263.8A CN115314588B (en) 2021-04-21 2021-04-21 Background synchronization method, device, terminal, equipment, system and storage medium

Publications (2)

Publication Number Publication Date
CN115314588A true CN115314588A (en) 2022-11-08
CN115314588B CN115314588B (en) 2024-05-17

Family

ID=83853197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110431263.8A Active CN115314588B (en) 2021-04-21 2021-04-21 Background synchronization method, device, terminal, equipment, system and storage medium

Country Status (1)

Country Link
CN (1) CN115314588B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404093A (en) * 2010-09-10 2012-04-04 ***通信集团公司 Management method of data transmission modes and data transmission equipment
CN103220351A (en) * 2013-04-15 2013-07-24 广东欧珀移动通信有限公司 Mobile terminal, file transmission method and system thereof and network system
CN106776826A (en) * 2016-11-25 2017-05-31 上海斐讯数据通信技术有限公司 A kind of update method, the apparatus and system of wrist-watch background picture
CN109189544A (en) * 2018-10-17 2019-01-11 三星电子(中国)研发中心 Method and apparatus for generating dial plate
CN109254817A (en) * 2018-08-28 2019-01-22 广东小天才科技有限公司 A kind of dial plate replacing options, system and the wearable device of wearable device
CN109782563A (en) * 2019-01-24 2019-05-21 北京方寸致远科技有限公司 A kind of unit and method for realizing animation dial plate background on smartwatch
CN110069193A (en) * 2019-03-15 2019-07-30 努比亚技术有限公司 A kind of interface switching method of wearable device, wearable device and storage medium
CN110399196A (en) * 2019-07-30 2019-11-01 努比亚技术有限公司 Wearable device and its changing interface implementation method and computer readable storage medium
US20200264567A1 (en) * 2019-02-19 2020-08-20 Samsung Electronics Co., Ltd. Method for determining watch face image and electronic device therefor

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404093A (en) * 2010-09-10 2012-04-04 ***通信集团公司 Management method of data transmission modes and data transmission equipment
CN103220351A (en) * 2013-04-15 2013-07-24 广东欧珀移动通信有限公司 Mobile terminal, file transmission method and system thereof and network system
CN106776826A (en) * 2016-11-25 2017-05-31 上海斐讯数据通信技术有限公司 A kind of update method, the apparatus and system of wrist-watch background picture
CN109254817A (en) * 2018-08-28 2019-01-22 广东小天才科技有限公司 A kind of dial plate replacing options, system and the wearable device of wearable device
CN109189544A (en) * 2018-10-17 2019-01-11 三星电子(中国)研发中心 Method and apparatus for generating dial plate
CN109782563A (en) * 2019-01-24 2019-05-21 北京方寸致远科技有限公司 A kind of unit and method for realizing animation dial plate background on smartwatch
US20200264567A1 (en) * 2019-02-19 2020-08-20 Samsung Electronics Co., Ltd. Method for determining watch face image and electronic device therefor
CN110069193A (en) * 2019-03-15 2019-07-30 努比亚技术有限公司 A kind of interface switching method of wearable device, wearable device and storage medium
CN110399196A (en) * 2019-07-30 2019-11-01 努比亚技术有限公司 Wearable device and its changing interface implementation method and computer readable storage medium

Also Published As

Publication number Publication date
CN115314588B (en) 2024-05-17

Similar Documents

Publication Publication Date Title
CN108762937B (en) Configuration information sending method, configuration information obtaining method, configuration information sending device, configuration information obtaining device and terminal
WO2021190184A1 (en) Remote assistance method and apparatus, and storage medium and terminal
CN111127469A (en) Thumbnail display method, device, storage medium and terminal
WO2023273463A1 (en) Data plan acquisition method and apparatus, terminal, and storage medium
CN111986454A (en) Wireless earphone searching method, device, storage medium and terminal
CN110572815A (en) Network access method, device, storage medium and terminal
CN111913614B (en) Multi-picture display control method and device, storage medium and display
CN113419873A (en) Chat message reminding method and device, storage medium and terminal equipment
CN112995562A (en) Camera calling method and device, storage medium and terminal
CN113126859A (en) Contextual model control method, contextual model control device, storage medium and terminal
CN113098859B (en) Webpage page rollback method, device, terminal and storage medium
CN113286349B (en) Personal hot spot connection method, device, terminal and storage medium
CN113419650A (en) Data moving method and device, storage medium and electronic equipment
CN113950043B (en) Communication method, device, storage medium and terminal
CN115314588B (en) Background synchronization method, device, terminal, equipment, system and storage medium
CN115145660A (en) Multimedia playing method, device, storage medium and terminal equipment
CN113595662A (en) Signal prompting method and device, terminal equipment and storage medium
CN113791380A (en) UWB angle measurement method, terminal device, tag device, and storage medium
CN113312572A (en) Resource processing method and device, storage medium and electronic equipment
CN111859999A (en) Message translation method, device, storage medium and electronic equipment
CN114125048B (en) Message push setting method and device, storage medium and electronic equipment
WO2023273936A1 (en) Wallpaper setting method and apparatus, and storage medium and electronic device
CN111212411B (en) File transmission method, device, storage medium and terminal
CN113692026B (en) Network connection method, device, terminal and storage medium
CN113068252B (en) Positioning method, positioning device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant