CN115314588B - 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
CN115314588B
CN115314588B CN202110431263.8A CN202110431263A CN115314588B CN 115314588 B CN115314588 B CN 115314588B CN 202110431263 A CN202110431263 A CN 202110431263A CN 115314588 B CN115314588 B CN 115314588B
Authority
CN
China
Prior art keywords
background
terminal
data
data packet
background data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110431263.8A
Other languages
Chinese (zh)
Other versions
CN115314588A (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

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 application belongs to the technical field of communication, and particularly relates to a background synchronization method, a background synchronization device, a background synchronization terminal, background synchronization equipment, background synchronization system and a background synchronization storage medium. The background synchronization method comprises the following steps: if a synchronization instruction aiming at terminal background data is received, background style information corresponding to the terminal background data is obtained; generating a background data packet corresponding to the background style information; and transmitting the background data packet to a wearable device, wherein the background data packet is used for indicating the wearable device to set the terminal background data as the device background data of the wearable device based on the background data packet. The application can improve the use experience of the user.

Description

Background synchronization method, device, terminal, equipment, system and storage medium
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a background synchronization method, a background synchronization device, a background synchronization terminal, background synchronization equipment, background synchronization system and a background synchronization storage medium.
Background
With the development of science and technology, the types of wearable devices and the supported application functions are increasing. For example, when the application functions include, but are 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, background synchronization system and a background synchronization storage medium, which can improve the use experience of users. 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 synchronization instruction aiming at terminal background data is received, background style information corresponding to the terminal background data is obtained;
Generating a background data packet corresponding to the background style information;
and transmitting the background data packet to a wearable device, wherein the background data packet is used for indicating the wearable device to set the terminal background data as the device background data of the wearable device based on the background data packet.
In a second aspect, an embodiment of the present application provides a background synchronization apparatus, including:
The information acquisition unit is used for acquiring background style information corresponding to the background data of the terminal if a synchronous instruction aiming at the background data of the terminal is received;
a data packet generating unit, configured to generate a background data packet corresponding to the background style information;
The data packet transmission unit is used for transmitting the background data packet to the wearable device, and the background data packet is used for indicating the wearable device to set the terminal background data to be the device background data of the wearable device based on the background 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 background data of the terminal when the terminal receives a synchronous instruction aiming at the background data of the terminal;
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, including:
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 background data of the terminal when the terminal receives a synchronous instruction aiming at the background data of the terminal;
And the data setting unit is used for setting the terminal background data into the device background data of the wearable device 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, the processor implementing the method of any of the first aspects 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.
A seventh aspect, a context synchronization system comprising a terminal for performing any of the methods of the first aspect above and a wearable device for performing any of the methods of the third aspect above.
In an eighth aspect, embodiments of the present application provide a computer readable storage medium having stored thereon a computer program which when executed by a processor implements a method as described in any of the preceding claims.
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 operable to cause a computer to perform part or all of the steps as described in the first or third aspects of the embodiments of the present application. The computer program product may be a software installation package.
The technical scheme provided by the embodiments of the application has the beneficial effects that at least:
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 background data of the terminal is associated with the background data of the wearable device, the transmission mode between the terminal and the wearable device can be improved, the duration 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 application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a schematic view of a scene of a background synchronization method applied to an embodiment of the present application;
FIG. 2 shows a system architecture diagram of a background synchronization method applied to an embodiment of the present application;
FIG. 3 is a flow chart of a background synchronization method according to an embodiment of the present application;
FIG. 4 is a flow chart of a background synchronization method according to an embodiment of the application;
FIG. 5 shows an exemplary schematic of a terminal interface according to an embodiment of the application;
FIG. 6 shows an exemplary schematic of a terminal interface according to an embodiment of the application;
fig. 7 is a schematic diagram of an example interface of a wearable device according to an embodiment of the application before receiving no background data packet sent by a terminal;
Fig. 8 is a schematic diagram of an interface example 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 of a background synchronization method according to an embodiment of the application;
FIG. 10 shows an exemplary schematic of various clock background patterns of an embodiment of the application;
FIG. 11 shows an exemplary schematic of a terminal interface according to an embodiment of the present application;
FIG. 12 shows an exemplary schematic of a terminal interface according to an embodiment of the application;
FIG. 13 is a flow chart of a background synchronization method according to an embodiment of the application;
FIG. 14 is a flow chart of a background synchronization method according to an embodiment of the application;
FIG. 15 shows an exemplary schematic of a wearable device interface of an embodiment of the application;
FIG. 16 shows an exemplary schematic of a wearable device interface of an embodiment of the application;
FIG. 17 is a schematic diagram of a background synchronization device according to an embodiment of the present application;
FIG. 18 is a schematic diagram showing a background synchronization device according to an embodiment of the present application;
FIG. 19 is a schematic diagram showing the structure of a background synchronization device according to an embodiment of the present application;
FIG. 20 is a schematic diagram of a background synchronization device according to an embodiment of the present application;
FIG. 21 is a schematic diagram of a background synchronization device 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 schematic diagram of an operating system and user space provided by an embodiment of the present application;
FIG. 24 is an architecture diagram of the android operating system of FIG. 22;
FIG. 25 is an architecture 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 the present application better understood by those skilled in the art, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In the description of the present application, it should 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 should be noted that, unless expressly specified and limited otherwise, "comprise" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may 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 will be understood in specific cases by those of ordinary skill in the art. Furthermore, in the description of the present application, unless otherwise indicated, "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
With the development of science and technology, the types of wearable devices and the supported application functions are increasing. For example, when the application functions include, but are not limited to, a payment function, a device context setting function, a talk function, and the like. Fig. 1 shows a schematic view of a scene 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 may also send the picture in the terminal to the wearable device so that the wearable device may display the picture. The terminal sets the picture as the terminal background and the terminal sends the picture in the terminal to the wearable equipment separately, the situation that the terminal background data cannot be synchronized with the equipment background data of the wearable equipment can occur in a transmission mode between the terminal and the wearable equipment, namely, the association between the terminal background and the wearable equipment background cannot be unified, the background synchronization time length can be increased, the background synchronization efficiency is lower, 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 above-mentioned problems. Fig. 2 shows a system architecture diagram of a background synchronization method applied to an embodiment of the present application. As shown in fig. 2, the terminal according to the embodiment of the present application may be connected to a plurality of wearable devices, where the plurality of wearable devices may include different types of wearable devices, and may further include a plurality of wearable devices of the same type. The terminal may be an electronic device with a display screen, including but not limited to: handheld devices, personal computers, tablet computers, vehicle-mounted devices, smart phones, computing devices, or other processing devices connected to a wireless modem, etc. Terminal devices in different networks may be called different names, for example: a user equipment, an access terminal, a subscriber unit, a subscriber station, a mobile station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent or user equipment, a cellular telephone, a cordless telephone, a Personal Digital Assistant (PDA), a fifth generation mobile communication technology (5th generation mobile networks,5G) network, or a terminal device in a future evolution network, or the like.
It is easy to understand that the terminal includes, for example, a wearable device management application, which can manage various wearable devices. The wearable device management application may include a plurality of modules to invoke various application functions in the terminal. The wearable device management application program can also have multiple device protocols, can register, safely bind and establish connection with multiple wearable devices, so that the accuracy of recognition and response to 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 can acquire the display 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 specifically proposed, which can be implemented in dependence on a computer program and can be run on a terminal with a display screen. The computer program may be integrated in the application or may run as a stand-alone tool class application.
Specifically, the background synchronization method includes:
s101, if a synchronization instruction aiming at terminal background data is received, background style information corresponding to the terminal background data is obtained;
According to some embodiments, the execution body 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 a background displayed on a terminal display screen when the terminal is in a starting state. The terminal context includes, but is not limited to, a rest screen context and a wallpaper context. The terminal background data is used to represent specific information displayed in the terminal background. The terminal context is not particularly a fixed context. For example, when the terminal receives a modification instruction for the terminal background data, the terminal can modify the terminal background data based on the modification instruction, and the terminal background is correspondingly modified. The modification instructions include, but are not limited to, voice modification instructions, click modification instructions, text modification instructions, and the like.
It is easy to understand that the synchronization instruction refers to an instruction received by the terminal, where the synchronization instruction is used to instruct the terminal to send a background data packet to the wearable device, so that device background data of the wearable device is the same as the terminal background 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 for representing a style corresponding to the background data of the terminal, and the background style information does not particularly refer to certain fixed information. When the terminal receives a modification instruction of the background data of the terminal, the background style information also changes correspondingly.
According to some embodiments, when the terminal is in an on state, the terminal may detect whether a synchronization instruction for terminal background data is received. If the terminal receives a synchronization instruction aiming at the background data of the terminal, the terminal can acquire background style information corresponding to the background data of the terminal.
S102, generating a background data packet corresponding to background style information;
According to some embodiments, a data packet refers to a unit of data when a terminal communicates with a wearable device. The background data packet refers to a data unit when the terminal performs background data communication transmission with the wearable device. The background data packet is a data packet corresponding to 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 a synchronization instruction for the background data of the terminal, the terminal may acquire background style information corresponding to the background data of the terminal. 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 a background data packet to the wearable device, wherein the background data packet is used for indicating the wearable device to set the terminal background data to be 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 the clothing or accessories of the user. The wearable device is not only a hardware device, but also can realize a powerful function through software support, data interaction and cloud interaction. Wearable devices include, but are not limited to, wearable bracelets, wearable watches, wearable glasses, wearable headphones, 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 context data is not specific to a certain 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 that the wearable device directly receives the modification instruction for the device background data on the wearable display screen, or may be that the wearable device receives the modification instruction sent by the terminal.
If the terminal receives a synchronization instruction aiming at the background data of the terminal, the terminal can acquire background style information corresponding to the background data of the terminal. 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 a background data packet corresponding to the background style information, the terminal can transmit the background data packet to the wearable device. The context data packet is used for indicating the wearable device to set the terminal context data to the device context data of the wearable device based on the context data packet. When the wearable device receives the background data packet, the wearable device can change the device background data of the wearable device into 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. 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 background data of the terminal is associated with the background data of the wearable device, the transmission mode between the terminal and the wearable device can be improved, the duration of background synchronization is reduced, the efficiency of background synchronization 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 in an embodiment of the present application. As shown in fig. 4, the embodiment of the present application describes a specific flow of a background synchronization method from a terminal side and a wearable device side together, and it should be noted that the method of the embodiment of the present application may be specifically applied to a background synchronization scenario, and the method includes the following S201 to S205.
S201, if a terminal receives a synchronization instruction aiming at terminal background data, background style information corresponding to the terminal background data is obtained;
The specific process is as described above and will not be described here again.
According to some embodiments, the background style information includes, but is not limited to, clock background style information, graphics background style information, animation background style information, and the like. The image-text background style information can be obtained by selecting the image-text information pre-stored in the terminal by the user, and can also be obtained by the terminal based on the personal information input by the user.
Alternatively, the terminal may receive a setting instruction for the terminal background data before the terminal receives a synchronization instruction for the terminal background data. For example, the terminal may set terminal context data in the application. The application is an application with which the terminal communicates with the wearable device. The terminal may receive a setting instruction for terminal background data at a background setting interface. The user may select style information from the background style information, for example. The terminal may determine terminal background data based on style information selected by the user. For example, when the user selects the clock pattern information, the clock background data may be directly selected from among a plurality of clock pattern data stored in the terminal. The terminal may directly determine the clock background data as terminal background data. When the user selects the graphic style information, the user can select a picture from a picture 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 created by hand drawing on the display screen of the terminal, the terminal can acquire corresponding animation path data, and the terminal can take the animation path data as the terminal background data.
It is to be understood that fig. 5 shows an exemplary schematic diagram of a terminal interface according to an embodiment of the present application. The terminal interface shown in fig. 5 is an interface currently displayed by the terminal when the terminal receives a synchronization instruction for terminal background data. If the terminal receives the 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 the terminal background data based on the 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, and the data mapping information is corresponding relation information of the clock background data and the second description identifier corresponding to the clock background data, so that data transmitted during background synchronization can be reduced, the duration of background synchronization can be reduced, and the efficiency of background synchronization can be improved.
Alternatively, the terminal background data may be, for example, only clock background 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 exemplary schematic diagram of the terminal interface may be shown in fig. 6. When the terminal obtains the background style information corresponding to the clock background data, the terminal can directly obtain a selection instruction of a user for the terminal background data to determine the background style information. The background style information may, for example, include a first descriptive identifier and a second descriptive identifier. The first descriptive identifier may be, for example, a 1 descriptive identifier and the second descriptive identifier may be, for example, a 2 descriptive identifier.
S202, the terminal generates a background data packet corresponding to background style information;
The specific process is as described above and will not be described here again.
According to some embodiments, if the terminal receives a synchronization instruction for the background data of the terminal, the terminal may obtain background style information corresponding to the background data of the terminal. When the terminal acquires the background pattern information, the terminal can acquire the information amount of the background pattern information. Based on the information amount, the terminal may generate a background packet corresponding to the background pattern information. For example, when the information amount is greater than the information amount threshold, the terminal generates a background packet corresponding to the background pattern information may be a file-type background packet. When the information amount is smaller than the information amount threshold, the terminal generates a background data packet corresponding to the background pattern information, which may be a background data packet of a message type.
It will be readily appreciated that the information amount threshold is not specific to a certain fixed threshold. For example, when the terminal receives a threshold modification instruction for the information amount threshold, the terminal may modify the information amount 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 will not be described here again.
It is easy to understand that, when the terminal generates a background data packet corresponding to the background style information, the terminal may acquire type information corresponding to the background data 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.
Alternatively, for example, if the terminal receives a synchronization instruction for the background data of the terminal, the terminal may obtain background style information corresponding to the background data of the terminal. When the terminal acquires the background pattern information, the terminal can acquire the information amount of the background pattern 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 obtained by the terminal is file type information, and the transmission mode corresponding to the file type information can be, for example, a file transmission mode. The terminal can transmit the background data packet to the wearable device in a file transmission mode.
S204, the wearable device receives a background data packet sent by the terminal;
according to some embodiments, when the wearable device detects that the terminal transmits the wearable device, the wearable device may receive the background data packet transmitted by the terminal when the terminal transmits the background data packet to the wearable device.
It is easy to understand that when the wearable device detects that the terminal sends the background data packet to the wearable device, the wearable device may receive the background data packet by adopting a transmission mode 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 a file transmission mode, for example. The terminal can transmit the background data packet to the wearable device in a file transmission mode. The wearable device may receive the background data packet in a file transfer manner.
S205, the wearable device sets the terminal context data to the device context data of the wearable device based on the context data packet.
According to some embodiments, when the wearable device receives the context data packet sent by the terminal, the wearable device may set the terminal context data to 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 to obtain background style information corresponding to the background data packet. The wearable device may set the terminal context data to device context data of the wearable device based on the context pattern information.
It is easy to understand that fig. 7 shows an exemplary schematic diagram of an interface of a wearable device according to an embodiment of the application before a background data packet sent by a terminal is not received. The terminal background data may be, for example, only clock background data. When the terminal obtains the background style information corresponding to the clock background data, the terminal can directly obtain a selection instruction of a user for the terminal background data to determine the background style information. The background style information may, for example, include a first descriptive identifier and a second descriptive identifier. The first descriptive identifier may be, for example, a1 descriptive identifier, and the second descriptive identifier may be, for example, a Y descriptive identifier. 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 background data packet, the wearable device may set the terminal background data to the device background data of the wearable device based on the background data packet. That is, the wearable device may change the device context data of the wearable device to clock context data corresponding to the first description identifier being a1 description identifier and the second description identifier being a Y description identifier. At this time, fig. 8 is a schematic diagram illustrating an interface example of the wearable device after receiving a background data packet sent by the terminal according to an embodiment of the present application. At this time, the device background data of the wearable device and the terminal background 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. When the background is synchronous, 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 background data of the terminal is associated with the background data of the wearable device, the transmission mode between the terminal and the wearable device can be improved, the duration of background synchronization is reduced, the efficiency of background synchronization is improved, and the use experience of a user can be further improved.
Referring to fig. 9, a flowchart of a background synchronization method is provided in an embodiment of the present application. As shown in fig. 9, the embodiment of the present application sets forth a specific flow of the background synchronization method from the terminal side, and the method includes the following 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 identifier refers to an identifier carried by the wearable device, and the device identifier may uniquely identify the wearable device. The device identifiers carried by different types of wearable devices are different, and the device identifiers carried by different wearable devices of the same type are also different.
It is easy to understand that before the terminal receives the synchronization instruction for the terminal background data, the terminal may detect whether a 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 identification of the wearable device.
Alternatively, the Q-terminal may display the set of device identifications in the application. The set of device identifications refers to a set comprising at least one device identification. The terminal receiving the connection instruction for the wearable device may be, for example, a click connection instruction, which may be, for example, a device identification of the user clicking on the wearable device on the Q terminal display screen. 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 aims at receiving a click connection instruction aiming at the a wearable device, the device identifier of the a wearable device acquired by the Q terminal is an A device identifier.
S302, based on the device identification, sending a connection request 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 may be determined based on user setup instructions. If the terminal receives a connection instruction for the wearable device, the terminal can acquire the device identification 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 identifications refers to a set comprising at least one device identification. The Q-terminal receiving a connection instruction for the wearable device may be, for example, a click connection instruction, which may be, for example, a device identification of the user clicking on the wearable device on the terminal display screen. 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 aims at receiving a click connection instruction aiming at the a wearable device, the device identifier of the a wearable device acquired by the Q terminal is an A device identifier. The Q terminal may send a connection request to the a-wearable device corresponding to the a-device identifier in the application.
S303, if a confirmation instruction sent by the wearable device for 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 based on the device identification, the terminal may detect whether an acknowledgement instruction sent by the wearable device for the connection request is acquired. If the terminal acquires a 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 wearable a device corresponding to the device a identifier in the application program. If the Q acquires a confirmation instruction sent by the wearable device A for the connection request, a connection relation is established with the wearable device A.
S304, if a synchronous instruction aiming at the background data of the terminal is received, background style information corresponding to the background data of the terminal is obtained;
The specific process is as described above and will not be described here again.
S305, acquiring a first description identifier in background style information;
According to some embodiments, the background style information includes, but is not limited to, clock background style information, graphics background style information, animation background style information, and the like. The first description identifier is used for representing a background style type corresponding to the background data of the terminal. The first descriptive identifier does not refer specifically to a fixed identifier. The first description identifier may be modified based on the identifier modification instruction. For example, when the type of the identifier changes, the first description identifier also changes accordingly.
It is to be readily understood that the identification type may be, for example, a digital type and the first descriptive identification may be, for example, a digital identification. Different numbers are used to represent different background style types. For example, 1 description identifier represents a clock background style type, 2 description identifier represents a graphic background style type, 3 description identifier represents an animation scene style type, etc.
Optionally, when the terminal obtains background style information corresponding to the background data of the terminal, the terminal may obtain the first description identifier in the background style information. The first description identifier acquired by the terminal may be, for example, a1 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 obtains the first description identifier in the background style information, the terminal may obtain 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 can generate a background data packet corresponding to the background style information by adopting the data generation mode. Because different background style types are correspondingly different, the background data packet is generated by adopting different data generation modes, the duration of background synchronization can be reduced, and the efficiency of background synchronization can be improved.
It is readily understood that the data generation means includes, but is not limited to, an identification generation means, a picture generation means, an animation generation means, and the like. Different background style types correspond to different data generation modes. When the background style information includes at least one background style information, the terminal may generate a background data packet corresponding to the background style information by using a data generation manner corresponding to the at least one background style information, respectively.
According to some embodiments, when the terminal generates a background data packet corresponding to the background style information by adopting a data generation mode 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 pattern type is the clock background pattern, the terminal can acquire a second description identifier corresponding to the clock background pattern. When the terminal acquires the first description identifier and the second description identifier, the terminal can generate a background data packet corresponding to the background style information based on the first description identifier and the second description identifier. The clock background data is the background data with the highest use frequency in the terminal background data, so that the terminal can only generate the background data packet based on the first description identifier and the second description identifier, the generation time of the background data packet can be reduced, the time of background synchronization can be reduced, and the efficiency of background synchronization can be improved.
Optionally, the second description identifies clock context data for 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 color direction data, and the like. The second descriptive identifier does not refer specifically to a fixed identifier. The second description identifier may be modified based on the identifier modification instruction. The identification modification instructions include, but are not limited to, voice identification modification instructions, click identification modification instructions, text identification modification instructions, timing modification identification modification instructions, and the like.
It is readily understood that the second descriptive identifier includes, but is not limited to, a numeric descriptive identifier, a textual descriptive identifier, a alphabetical descriptive identifier, a numeric-to-alphabetical descriptive identifier, and the like. The different clock background data corresponds to a different second description identifier. Fig. 10 shows an exemplary schematic of various clock background patterns of an embodiment of the application. The second description identifier corresponding to the clock background pattern from left to right can 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 description identifier of the first description identifier 1 indicates that the background pattern type is the clock background pattern, the terminal may obtain a second description identifier corresponding to the clock background pattern, for example, may be a Y description identifier. The terminal may generate a context data packet corresponding to the context data packet, which may include, for example, the first description identifier 1 description identifier and the second description identifier Y description identifier.
According to some embodiments, the terminal may receive a data setting instruction based on which the terminal may establish the data mapping information before the terminal receives a synchronization instruction for the terminal background data. The data mapping information is a second description identifier and clock background data mapping relationship. Similarly, the wearable device may receive a data setting instruction, based on which the terminal may establish the data mapping information. 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 pattern type is the clock background pattern, 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 a background data packet corresponding to the background style information by adopting a data generation mode 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 pattern type is an image-text background pattern, the terminal can generate a first background picture corresponding to the background data of the terminal. When the terminal generates a first background picture corresponding to the background data of the terminal, 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 text background style includes but is not limited to pictures stored in the terminal, characters supported by the terminal, personalized signatures input by a user and the like. Text formats supported by the terminal include, but are not limited to, regular script, song Ti, bold, english, etc. The user-entered personalized signature includes, but is not limited to, a signature entered based on an input method, a signature entered by handwriting of the user, and the like. The signature input by handwriting of the user comprises, but is not limited to, a character signature in a continuous pen form, a character signature in an English form and a character signature in a pattern form. The personal signature may be, for example, a personal signature in the form of a continuous pen directly input by the user on the terminal display screen. The pictures stored by the terminal include, but are not limited to, pictures acquired by the terminal controlling the camera, pictures acquired by the terminal through a wireless communication mode, and the like. Because the image-text background data in the terminal is 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 can occur, and the situation that the background synchronization effect is poor can occur. 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, the background synchronization effect when the background style is the image-text background style can be improved, and the use experience of a user is improved.
It is easy to understand that, for example, when the terminal acquires the background pattern information corresponding to the background data of the terminal, the terminal may acquire the first description identifier in the background pattern information. The first description identifier acquired by the terminal may be, for example, a2 description identifier. At this time, an exemplary schematic diagram of the terminal interface may be shown in fig. 11. The terminal may obtain teletext background data, which may include, for example, a user signature and a user single person picture. And the terminal generates a background picture from 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 a background data packet corresponding to the background style information based on the first description identifier and the first background picture, the terminal may obtain 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 terminal on the first background picture includes, but is not limited to, clipping processing, beautifying processing, resolution conversion processing, scaling processing and the like. The terminal can 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 to the first background picture can reduce the transmission duration of the background data packet, reduce the duration of the setting device background data of the wearable device, improve the background synchronization efficiency, and simultaneously, the processing of the terminal to the first background picture can also improve the matching property of the background picture and the display control information of the wearable device, and improve the convenience and the display effect of the display of the background picture by the wearable device.
It is easy to understand that the terminal processes the first background picture, for example, the scaling process. When the terminal generates the first background picture, the terminal can acquire the size information of the 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 scale the first background picture according to the proportion of the size information of the display control and the size information of the background picture to obtain a 1.5-inch background picture. The terminal may generate a background data 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 a background data packet corresponding to the background style information by adopting a data generation mode 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 pattern type is the animation background pattern, acquiring animation path data corresponding to the terminal background data. When the terminal acquires the animation path data corresponding to the background data, the terminal can 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 easy to understand that, for example, when the terminal acquires the background pattern information corresponding to the background data of the terminal, the terminal may acquire the first description identifier in the background pattern information. The first description identifier acquired by the terminal may be, for example, a3 description identifier. At this time, an exemplary schematic diagram of the terminal interface may be shown in fig. 12. The terminal may obtain animation path data, which may represent, for example, a process of the user's hand drawing authoring context 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.
Alternatively, the animation path data may be, for example, signature path data corresponding to a personalized signature input by handwriting of the user. The first description identifier acquired by the terminal may be, for example, a3 description identifier. The terminal can acquire signature path data corresponding to the personalized signature input by handwriting of the user, and generates a background data packet based on the signature path data and the description identifier of the first description identifier 3.
According to some embodiments, if a synchronization instruction for the background data of the terminal is received, before the terminal obtains the background pattern information corresponding to the background data of the terminal, the terminal may further obtain the selected second background picture in the background picture set and obtain the selected clock background pattern in the clock background pattern set. When the terminal acquires the second background picture and the clock background pattern, the terminal can acquire terminal background data based on the second background picture and the clock background pattern.
Optionally, when the terminal obtains 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, clipping processing, beautifying processing, scaling processing, picture direction conversion processing, and the like. For example, when the terminal acquires the second background picture after the cropping process, the terminal may receive a selection instruction for the clock background pattern set. The terminal can acquire the clock background pattern corresponding to the selection instruction. The terminal can set clock pattern data corresponding to the processed second background picture and the clock background pattern as terminal background data.
According to some embodiments, when the terminal generates the background data packet corresponding to the background style information by adopting a data generation mode 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 acquire a second description identifier and a second background picture corresponding to the clock background style. The second description identifies clock context data for representing a clock context pattern. When the terminal acquires the second description identifier and the second background picture, the terminal can 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 be used for background data packets corresponding to background style information, can improve the background data packet transmission mode during background synchronization, and can improve the convenience of background synchronization.
It is easy to understand that when the first description identifier includes a1 description identifier and a2 description identifier, the terminal may determine that the background pattern type includes a clock background pattern and a graphic background pattern. The terminal can acquire a second description identifier corresponding to the clock background pattern, the second description identifier can be, for example, a Y description identifier, and meanwhile, the terminal can also acquire a second background picture after the clipping processing. The terminal can 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 second background picture after clipping.
According to some embodiments, the background pattern type may include at least one of a clock background pattern, a graphic background pattern, and an animated background pattern. For example, if the first description identifier indicates that the background style includes a clock background style and an animation background style, the terminal may obtain animation path data corresponding to the 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, obtaining type information corresponding to the background data packet;
According to some embodiments, when the terminal generates the background data packet, the terminal may obtain 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 can determine the type information corresponding to the background data packet based on the information quantity 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 can determine that the type information corresponding to the background data packet is information of a message type, and the terminal can generate the background data packet of the message type.
Alternatively, the information amount threshold may be, for example, 5k. When the terminal acquires that the information amount of the background style information is 2M, the terminal can generate a background data packet of a file type. When the terminal acquires that the information amount of the background style information is 2k, the terminal can 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 also 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 can determine that the type information corresponding to the background data packet is information of the message type, and the terminal can generate the background data packet of the message type.
And S308, transmitting the background data packet to the wearable equipment by adopting a transmission mode corresponding to the type information.
According to some embodiments, the transmission mode is a mode of transmitting the data packet to the wearable device, and the transmission mode is a mode corresponding to the type information. The transmission mode is not particularly limited to a fixed transmission mode. The transmission mode may be modified, for example, based on a mode modification instruction input by a user. The mode modifying instruction includes, but is not limited to, a voice mode modifying instruction, a click mode modifying instruction, a text mode modifying 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 transmit the background data packet to the wearable device by adopting the transmission mode corresponding to the type information. The wearable device can receive the background data packet in a transmission mode corresponding to the type information, and set the terminal background data as the device background data of the wearable device based on the background data packet.
Alternatively, the information amount threshold may be, for example, 5k. When the terminal acquires that the information amount of the background style information is 2M, the terminal can generate a background data packet of a file type. When the terminal obtains that the type information corresponding to the background data packet is 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 present application, if a connection instruction for a wearable device is received, a device identifier of the wearable device is obtained, based on the device identifier, a connection request is sent to the wearable device in an application program, and if a confirmation instruction sent by the wearable device for the connection request is obtained, a connection relationship is established with the wearable device, so that the security of communication with the wearable device can be improved. And secondly, if a synchronization instruction aiming at the background data of the terminal is received, acquiring background style information corresponding to the background data of the terminal, acquiring a first description identifier in the background style information, generating a background data packet corresponding to the background style information by adopting a data generation mode corresponding to the first description identifier, generating different background data packets according to different background style information, reducing the duration of background synchronization, and improving the efficiency of background synchronization. Finally, the type information corresponding to the background data packet is acquired, the background data packet can be transmitted to the wearable equipment by adopting a transmission mode corresponding to the type information, 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.
Referring to fig. 13, a flowchart of a background synchronization method is provided in an embodiment of the present application. As shown in fig. 13, the specific flow of the background synchronization method is illustrated from the wearable device side according to the embodiment of the present application, and the method of the embodiment of the present application may include the following 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 background style information corresponding to the background data of the terminal when the terminal receives a synchronization instruction for the background data of the terminal. That is, if the terminal receives a synchronization instruction for the background data of the terminal, the terminal may acquire background style information corresponding to the background data of the terminal. 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 background data 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. The wearable device may establish a connection with the terminal before the wearable device receives the background data packet sent by the terminal. For example, the wearable device may send a confirmation instruction for the connection request when receiving the connection request sent by the terminal. Based on the confirmation instruction, the wearable device can establish a connection with the terminal.
Alternatively, the wearable device may be a T-wearable watch, for example. After the T wearable watch and the Q terminal are connected, when the T wearable watch detects that the Q terminal sends the background data packet, the T wearable watch can receive the background data packet sent by the Q terminal.
And S402, setting the terminal background data 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 the context in the wearable device. The device context data is not specific to a certain fixed data. The device background data can be modified based on a data modification instruction of a user, and can also be modified based on a background data 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 to 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, obtain background style information in the background data packet, and set the terminal background data to device background data of the wearable device based on the background style 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 to device context data of the wearable device based on the context data packet. Therefore, when the backgrounds are synchronized, the transmission mode between the terminal and the wearable equipment can be improved, terminal background data and equipment background data do not need to be set separately, the duration of the background synchronization can be reduced, the efficiency of the background synchronization is improved, and the use experience of a user can be improved.
Referring to fig. 14, a flowchart of a background synchronization method is provided in an embodiment of the present application. As shown in fig. 14, the method of the embodiment of the present application may include the following S501 to 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 will not be described here again.
S502, analyzing the background data packet to obtain background style information corresponding to the background data packet;
According to some embodiments, when the wearable device receives a background data packet sent by the 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, graphic background data, animation background data and the like.
It is easy to understand that the wearable device may be, for example, a T-wearable watch. After the T wearable watch and the Q terminal are connected, when the T wearable watch detects that the Q terminal sends the background data packet, the T wearable watch can receive the background data packet sent by the Q terminal. The T-wearable watch may parse the background data packet, and obtain background style information corresponding to the background data packet, where the background style information may include, for example, the first description identifier.
S503, acquiring a first description identifier in background style information;
According to some embodiments, when the wearable device parses the background data packet and obtains background style information corresponding to the background data packet, the wearable device may obtain a first description identifier in the background style information. The first description identifier is used for representing a background style type corresponding to the background data of the terminal. The first descriptive identifier does not refer specifically to a fixed identifier. The first description identifier may be modified based on the identifier modification instruction. For example, when the type of the identifier changes, the first description identifier also changes accordingly. When the background data of the terminal changes, the first description identifier also changes correspondingly.
It is to be readily understood that the identification type may be, for example, a digital type and the first descriptive identification may be, for example, a digital identification. Different numbers are used to represent different background style types. For example, 1 description identifier represents a clock background style type, 2 description identifier represents a graphic background style type, 3 description identifier 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 the first description identifier in the background style information may be, for example, a1 description identifier.
And 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 background style information, the wearable device may set the terminal background data to the device background data of the wearable device based on the first description identifier. The wearable device may determine a background style type indicated by the first description identifier, based on the background style type, the wearable device may obtain terminal background data, and set the terminal background data to device background data of the wearable device.
According to some embodiments, when the wearable device sets the terminal context data to the device context data of the wearable device based on the first description identifier, the wearable device may obtain the context pattern type indicated by the first description identifier. If the first description identifier indicates that the background pattern type is a clock background pattern, the wearable device may acquire a second description identifier in the background pattern information. The second description identifies clock context data for representing a clock context pattern. When the wearable device acquires the second description identifier, the wearable device can set clock background data corresponding to the second description identifier as device background data of the wearable device. The wearable device is preset with data mapping information of the second description identification and clock background data. 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 background data packet, and obtain background style information corresponding to the background data packet, where the first description identifier in the background style information may be, for example, a1 description identifier. If the first description identifier 1 indicates that the background pattern type is the clock background pattern, the T-wearable watch may acquire the second description identifier in the background pattern information. The second description identifier corresponding to the clock background pattern acquired by the T-wearable watch may be, for example, a Y description identifier. The Y description identifies, for example, clock background data representing that the text format is a regular script format. The T-wearable watch may set clock context data in a regular script format as device context data of the T-wearable watch.
According to some embodiments, when the wearable device sets the terminal context data to the device context data of the wearable device based on the first description identifier, the wearable device may obtain the context pattern type indicated by the first description identifier. And if the first description identifier indicates that the background pattern type is the image-text background pattern, 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 obtains the background style information corresponding to the background data of the terminal, the terminal may obtain the first description identifier in the background style information. The first description identifier acquired by the terminal may be, for example, a2 description identifier. As shown in fig. 11, the terminal may obtain teletext background data, which may include, for example, a user signature and a user single picture. And the terminal generates a first background picture from 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 the first description identifier in the background style information may be, for example, a2 description identifier. If the first description identifier 2 indicates that the background pattern type is the image-text background pattern, the T wearable watch can acquire the first background picture. The T-wearable watch sets the first context picture as device context data of the wearable device. At this time, an exemplary schematic of the interface of the wearable device may be as shown in fig. 15.
According to some embodiments, when the wearable device sets the terminal context data to the device context data of the wearable device based on the first description identifier, the wearable device may obtain the context pattern type indicated by the first description identifier. And if the first description identifier indicates that the background style information is the animation background style, acquiring animation path data in the background data packet. 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 easy to understand that, for example, when the terminal acquires the background pattern information corresponding to the background data of the terminal, the terminal may acquire the first description identifier in the background pattern information. The first description identifier acquired by the terminal may be, for example, a3 description identifier. As shown in fig. 12, the terminal may acquire animation path data, which may represent, for example, a process in which the user hand-draws authoring contexts 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 the first description identifier in the background style information may be, for example, a3 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 to the device context data of the wearable device. At this time, an exemplary schematic of the interface of the wearable device may be as shown in fig. 16.
According to some embodiments, when the wearable device obtains that the first description identifier indicates that the background pattern type includes a clock background pattern and an image-text background pattern, the wearable device may obtain a second description identifier and a second background picture corresponding to the clock background pattern. The clock background pattern is selected from a clock background pattern set by a user acquired by the terminal, and the second background picture is selected from a background picture set by the user acquired by the terminal. The second background picture acquired by the terminal can also be processed by the terminal 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 can set clock background data and the second background picture corresponding to the second description identifier as device background data.
It is readily understood that when the first description identifier comprises a1 description identifier and a2 description identifier, the wearable device may determine that the background pattern type comprises a clock background pattern and a teletext background pattern. The wearable device may acquire a second description identifier corresponding to the clock background pattern, 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 clipping. And the wearable device sets clock background data corresponding to the second description identifier and the second background picture after clipping processing 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 parsed, 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 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 efficiency of background synchronization can be improved, and the use experience of a user can be improved.
The background synchronization device provided by the embodiment of the application will be described in detail below with reference to fig. 17-19. It should be noted that, the background synchronization device shown in fig. 17-19 is used to execute the method of the embodiment shown in fig. 3-12, and for convenience of explanation, only the relevant parts of the embodiment of the present application are shown, and specific technical details are not disclosed, please refer to the embodiment shown in fig. 3-12 of the present application.
Fig. 17 is a schematic structural diagram of a background synchronization device according to an embodiment of the application. The context synchronization apparatus 1700 may be implemented as all or part of a user terminal by software, hardware, or a combination of both. According to some embodiments, the background synchronization apparatus 1700 includes an information acquisition unit 1701, a packet generation unit 1702, and a packet transmission unit 1703, 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 generation unit 1702 configured to generate a background packet corresponding to the background style information;
The data packet transmission unit 1703 is configured to transmit the context data packet to a wearable device, where the context data packet is configured to instruct the wearable device to set the terminal context data to device context data of the wearable device based on the context data packet.
Fig. 18 is a schematic structural diagram of a background synchronization device according to an embodiment of the present application. As shown in fig. 18, the packet generation unit 1702 includes a first identifier acquisition subunit 1712 and a packet generation subunit 1722, where the packet generation unit 1702 is configured to, when generating a background packet corresponding to background style information:
A first identifier obtaining subunit 1712, configured to obtain a first description identifier in the background style information; the first description identifier is used for representing a background style type corresponding to the background data of the terminal;
The packet generation subunit 1722 is configured to generate a background packet corresponding to the background style information by using the data generation manner corresponding to the first description identifier.
According to some embodiments, the packet generation subunit 1722 is configured to, when generating the background packet corresponding to the background style information by adopting the data generation manner corresponding to the first description identifier, specifically:
If the first description identifier indicates that the background pattern type is a clock background pattern, acquiring a second description identifier corresponding to the clock background pattern; the second description identifies clock context data for 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 packet generation subunit 1722 is configured to, when generating the background packet corresponding to the background style information by adopting the data generation manner corresponding to the first description identifier, specifically:
if the first description identifier indicates that the background pattern type is an image-text background pattern, 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 generation 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 packet generation subunit 1722 is configured to, when generating the background packet corresponding to the background style information by adopting the data generation manner corresponding to the first description identifier, specifically:
if the first description identifier indicates that the background pattern type is an animation background pattern, animation path data corresponding to the terminal background data are obtained;
based on the first description identification and the animation path data, a background data packet corresponding to the background style information is generated.
According to some embodiments, the background synchronization device 1700 further includes a data obtaining unit, configured to, before obtaining background style information corresponding to the background data of the terminal if a synchronization instruction for the background data of the terminal is received, further include:
Acquiring a selected second background picture from a background picture set, and acquiring a selected clock background pattern from a clock background pattern set;
And acquiring terminal background data based on the second background picture and the clock background pattern.
According to some embodiments, the packet generation subunit 1722 is configured to, when generating the background packet corresponding to the background style information by adopting the data generation manner corresponding to the first description identifier, specifically:
If the first description identifier indicates that the background pattern type comprises a clock background pattern and an image-text background pattern, a second description identifier and a second background picture corresponding to the clock background pattern are obtained; the second description identifies clock context data for 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.
Fig. 19 is a schematic structural diagram of a background synchronization device according to an embodiment of the present application. As shown in fig. 19, the background synchronization apparatus 1700 further includes a connection establishment unit 1704, configured to, before obtaining background style information corresponding to the background data of the terminal if a synchronization instruction for the background data of the terminal is received:
if a connection instruction aiming at the wearable equipment is received, acquiring the equipment identification of the wearable equipment;
based on the device identification, sending a connection request to the wearable device in the application program;
If a confirmation instruction sent by the wearable device for the connection request is obtained, a connection relation is established with the wearable device.
According to some embodiments, the packet transmission unit 1703 is configured to, when transmitting the background packet to the wearable device, specifically:
Acquiring type information corresponding to a 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 equipment by adopting a transmission mode corresponding to the type information.
In one or more embodiments of the present application, if the information obtaining unit receives a synchronization instruction for background data of a terminal, the information obtaining unit obtains background style information corresponding to the background data of the terminal, the data packet generating unit may generate a background data packet corresponding to the background style information, and the data packet transmitting unit may transmit the background data packet to the wearable device. When the background is synchronous, the background synchronous device can generate a background data packet corresponding to the background style information and transmit the background data packet to the wearable equipment, so that the background data of the terminal is associated with the background data of the wearable equipment, the transmission mode between the terminal and the wearable equipment can be improved, the duration of background synchronization is reduced, the efficiency of background synchronization is improved, and the use experience of a user can be further improved.
The background synchronization device provided by the embodiment of the application will be described in detail below with reference to fig. 20-21. It should be noted that, the background synchronization device shown in fig. 20-21 is used to execute the method of the embodiment shown in fig. 13-16, and for convenience of explanation, only the relevant parts of the embodiment of the present application are shown, and specific technical details are not disclosed, please refer to the embodiment shown in fig. 13-16 of the present application.
Fig. 20 is a schematic structural diagram of a background synchronization device according to an embodiment of the application. The background synchronization device 2000 may be implemented as all or part of a user terminal by software, hardware, or a combination of both. According to some embodiments, the background synchronization device 2000 includes a packet receiving unit 2001 and a data setting unit 2002, specifically configured to:
a packet receiving unit 2001 for receiving a background packet transmitted from a 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;
the data setting unit 2002 is configured to set, based on the context data packet, terminal context data as device context data of the wearable device.
Fig. 21 is a schematic structural diagram of a background synchronization device according to an embodiment of the present application. As shown in fig. 21, the data setting unit 2002 includes an information acquisition subunit 2012, a second identification acquisition subunit 2022, and a data setting subunit 2032, and the data setting unit 2002 is configured to, when setting terminal background data to device background data of the wearable device based on the background data packet:
An information obtaining subunit 2012, 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 a first description identifier in the background style information; the first description identifier is used for representing a background style type corresponding to the background data of the terminal;
A data setting subunit 2032, configured to set, based on the first description identifier, terminal context data as device context data of the wearable device.
According to some embodiments, the data setting subunit 2032 is configured to, when setting the terminal context data to the device context data of the wearable device based on the first description identifier, specifically:
If the first description identifier indicates that the background pattern type is a clock background pattern, a second description identifier in background pattern information is acquired; the second description identifies clock context data for representing a clock context pattern;
and setting clock background data corresponding to the second description identification as device background data of the wearable device.
According to some embodiments, the data setting subunit 2032 is configured to, when setting the terminal context data to the device context data of the wearable device based on the first description identifier, specifically:
If the first description identifier indicates that the background pattern type is an image-text background pattern, a first background picture in a background data packet is acquired;
The first background picture is set as device background data of the wearable device.
According to some embodiments, the data setting subunit 2032 is configured to, when setting the terminal context data to the device context data of the wearable device based on the first description identifier, specifically:
If the first description mark indicates that the background style information is an animation background style, animation path data in a background data packet are obtained;
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 transmitted by the 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 backgrounds are synchronized, the transmission mode between the terminal and the wearable equipment can be improved, terminal background data and equipment background data do not need to be set separately, the duration of the background synchronization can be reduced, the efficiency of the background synchronization is improved, and the use experience of a user can be improved.
The embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are adapted to be loaded by a processor and execute the background synchronization method according to the embodiment shown in fig. 3 to 16, and the specific execution process may refer to the specific description of the embodiment shown in fig. 3 to 16, which is not repeated herein.
The present application further provides a computer program product, where at least one instruction is stored, where the at least one instruction is loaded by the processor and executed by the processor to perform the background synchronization method according to the embodiment shown in fig. 3 to 16, and the specific execution process may refer to the specific description of the embodiment shown in fig. 3 to 16, which is not repeated herein.
The application also provides a background synchronization system, which comprises a terminal and a wearable device, wherein the terminal is used for executing the background synchronization method in the embodiment shown in fig. 3-12, and the specific execution process can refer to the specific description of the embodiment shown in fig. 3-12, and the description is omitted herein. The wearable device is configured to perform the background synchronization method for performing the embodiments shown in fig. 13-16, and the specific performing process may refer to the specific description of the embodiments shown in fig. 13-16, which is not repeated here
Referring to fig. 22, a block diagram illustrating a structure of a terminal according to an exemplary embodiment of the present application is shown. The terminal of the present application may include one or more of the following components: processor 110, memory 120, input device 130, output device 140, and bus 150. The processor 110, the memory 120, the input device 130, and the output device 140 may be connected by a bus 150. The processor loads and executes the background synchronization method in the embodiments shown in fig. 3-12, and the specific execution process may refer to the specific description of the embodiments shown in fig. 3-12, which is not repeated herein.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the overall terminal using various interfaces and lines, 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 invoking data stored in the memory 120. Alternatively, the processor 110 may be implemented in at least one hardware form of Digital Signal Processing (DSP), field-programmable gate array (FPGA), programmable logic array (programmable logic Array, PLA). The processor 110 may integrate one or a combination of several of a central processing unit (central processing unit, CPU), an image processor (graphics processing unit, GPU), a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 110 and may be implemented solely by a single communication chip.
The memory 120 may include a random access memory (random Access Memory, RAM) or a read-only memory (ROM). Optionally, the memory 120 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 120 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, which may be an Android (Android) system, including an Android system-based deep development system, an IOS system developed by apple corporation, including an IOS system-based deep development system, or other systems, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the terminal in use, such as phonebooks, audio-video data, chat-record data, etc.
Referring to FIG. 23, the memory 120 may be divided into an operating system space in which the operating system is running and a user space in which native and third party applications are running. In order to ensure that different third party application programs can achieve better operation effects, 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, under the local resource loading scenario, the third party application program has higher requirement on the disk reading speed; in the animation rendering scene, the third party application program has higher requirements on the GPU performance. The operating system and the third party application program are mutually independent, 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 specific application scenes of the third-party application program, data communication between the third-party application program and the operating system needs to be communicated, so that the operating system can acquire current scene information of the third-party application program at any time, and targeted system resource adaptation is performed based on the current scene.
Taking an operating system as an Android system as an example, as shown in fig. 24, a program and data stored in the memory 120 may be stored in the memory 120 with a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360 and an application layer 380, 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 the various hardware of the terminal with the underlying drivers such as display drivers, audio drivers, camera drivers, bluetooth drivers, wi-Fi drivers, power management, etc. The system runtime layer 340 provides the main feature support for the Android system through some C/c++ libraries. For example, the SQLite library provides support for databases, the OpenGL/ES library provides support for 3D graphics, the Webkit library provides support for browser kernels, and the like. Also provided in the system runtime library layer 340 is An Zhuoyun runtime library (Android runtime), which primarily 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 applications, which developers can also build their own applications by using, for example, campaign management, window management, view management, notification management, content provider, package management, call management, resource management, location management. At least one application program is running in the application layer 380, and these application programs may be native application programs of the operating system, such as a contact program, a short message program, a clock program, a camera application, etc.; and may also be a third party application developed by a third party developer, such as a game-like application, instant messaging program, photo beautification program, gesture data acquisition program, etc.
Taking an operating system as an IOS system as an example, the programs and data stored in the memory 120 are shown in fig. 25, the IOS system includes: core operating system layer 420 (Core OS layer), core services layer 440 (Core SERVICES LAYER), media layer 460 (MEDIA LAYER), and touchable layer 480 (Cocoa Touch Layer). The core operating system layer 420 includes an operating system kernel, drivers, and underlying program frameworks that provide more hardware-like functionality for use by the program frameworks at the core services layer 440. The core services layer 440 provides system services and/or program frameworks required by the application, such as a Foundation (Foundation) framework, an account framework, an advertisement framework, a data storage framework, a network connection framework, a geographic location framework, a sports framework, and the like. The media layer 460 provides an interface for applications related to audiovisual aspects, such as a graphics-image related interface, an audio technology related interface, a video technology related interface, an audio video transmission technology wireless play (AirPlay) interface, and so forth. The touchable layer 480 provides various commonly used interface-related frameworks for application development, with the touchable layer 480 being responsible for user touch interactions on the terminal. Such as a local notification service, a remote push service, an advertisement framework, a game tool framework, a message User Interface (UI) framework, a User Interface UIKit framework, a map framework, and so forth.
Among the frameworks shown in fig. 23, frameworks related to most applications include, but are not limited to: a base framework in core services layer 440 and UIKit frameworks in touchable layer 480. The infrastructure provides many basic object classes and data types, providing the most basic system services for all applications, independent of the UI. 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 the application's infrastructure for building user interfaces, drawing, handling and user interaction events, responding to gestures, and so on.
The manner and principle of implementing data communication between the third party application program and the operating system in the IOS system can refer to the Android system, and the application is not described herein.
The input device 130 is configured to receive 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 to output 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 a touch display screen for receiving a touch operation thereon or thereabout by a user using a finger, a touch pen, or any other suitable object, and displaying a user interface of each application program. The touch display screen is typically provided at the front panel of the terminal. The touch display screen may be designed as a full screen, a curved screen, or a contoured screen. The touch display screen may also be designed as a combination of a full screen and a curved screen, and the combination of a special-shaped screen and a curved screen, which is not limited in the embodiment of the present application.
Fig. 26 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 include: at least one processor 2601, at least one network interface 2604, a user interface 2603, memory 2605, at least one communication bus 2602.
Wherein communication bus 2602 is used to enable connected communications between these components.
The user interface 2603 may include a display screen, and may further include 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), among others.
Wherein the processor 2601 may include one or more processing cores. The processor 2601 utilizes various interfaces and lines to connect various portions within the overall wearable device 2600, performing various functions and processing data of the wearable device 2600 by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 2605, and invoking data stored in the memory 2605. Alternatively, the processor 2601 may be implemented in at least one hardware form of digital signal Processing (DIGITAL SIGNAL Processing, DSP), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 2601 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. 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 will be appreciated that the modem may not be integrated into the processor 2601 and may be implemented by a single chip.
The Memory 2605 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 2605 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). The memory 2605 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 2605 may include a stored program area and a stored data area, wherein the stored program 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 above-described respective method embodiments, etc.; the storage data area may store data or the like referred to in the above respective method embodiments. The memory 2605 may also optionally be at least one storage device located remotely from the processor 2601. As shown in fig. 26, an operating system, a network communication module, a user interface module, and an application program for background synchronization may be included in the memory 2605 as one type of computer storage medium.
In the wearable device 2600 shown in fig. 26, the user interface 2603 is mainly used for providing an input interface for a user, and acquiring data input by the user; the processor 2601 may be configured to invoke an application program for background synchronization stored in the memory 2605, and specifically execute the background synchronization method according to the embodiment shown in fig. 13-16, and the specific execution process may refer to the specific description of the embodiment shown in fig. 13-16, which is not described herein.
In addition, those skilled in the art will appreciate that the configuration of the terminal illustrated in the above-described figures does not constitute a limitation of the terminal, and the terminal may include more or less components than illustrated, or may combine certain components, or may have a different arrangement of components. For example, the terminal further includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WIRELESS FIDELITY, wiFi) module, a power supply, a bluetooth module, and the like, which are not described herein.
In the embodiment of the present application, the execution subject 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 other operating systems, which is not limited by the embodiments of the present application.
The terminal of the embodiment of the application can be further provided with a display device, and the display device can be various devices capable of realizing display functions, such as: cathode ray tube displays (cathode ray tubedisplay, CR), light-emitting diode displays (light-emitting diode display, LED), electronic ink screens, liquid Crystal Displays (LCD), plasma display panels (PLASMA DISPLAY PANEL, PDP), and the like. A user may view displayed text, images, video, etc. information using a display device on the terminal 100. The terminal may be a smart phone, a tablet computer, a gaming device, an AR (Augmented Reality ) device, an automobile, a data storage, an audio playing device, a video playing device, a notebook, a desktop computing device, a wearable device such as an electronic watch, electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, an electronic article of clothing, etc.
It will be clear to a person skilled in the art that the solution according to the application can be implemented by means of software and/or hardware. "Unit" and "module" in this specification refer to software and/or hardware capable of performing a particular function, either alone or in combination with other components, such as Field programmable gate arrays (Field-ProgrammaBLE GATE ARRAY, FPGA), integrated circuits (INTEGRATED CIRCUIT, ICs), etc.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, such as the division of the units, merely a logical function division, and there may be additional manners of dividing the actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some service interface, device or unit indirect coupling or communication connection, electrical or otherwise.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable memory. Based on this understanding, the technical solution of the present application may be embodied essentially or partly in the form of a software product, or all or part of the technical solution, which is stored in a memory, and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned memory includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the above embodiments may be performed by hardware associated with a program that is stored in a computer readable memory, which may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
The foregoing is merely exemplary embodiments of the present disclosure and is not intended to limit the scope of the present disclosure. That is, equivalent changes and modifications are contemplated by the teachings of this disclosure, which fall within the scope of the present disclosure. 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 scope and spirit of the disclosure being indicated by the claims.

Claims (19)

1. A method of background synchronization, the method comprising:
under the condition that terminal background data displayed in a terminal comprises at least two background style types, if a synchronous instruction aiming at the terminal background data is received, background style information corresponding to the terminal background data is obtained;
Acquiring a first description identifier in the background style information; the first description identifier is used for representing the background style type corresponding to the terminal background data, and different first description identifiers correspond to different background style types, wherein the background style types comprise clock background style, image-text background style or animation background style;
generating a background data packet corresponding to the background style information by adopting a data generation mode corresponding to the first description identifier;
And transmitting the background data packet to a wearable device, wherein the background data packet is used for indicating the wearable device to set the terminal background data into the device background data of the wearable device according to the background style information based on the background data packet.
2. The method according to claim 1, wherein the generating, by using the data generation manner corresponding to the first description identifier, a background data packet corresponding to the background style information includes:
If the first description identifier indicates that the background pattern type is the clock background pattern, acquiring a second description identifier corresponding to the clock background pattern; the second description identifies 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.
3. The method according to claim 1, wherein the generating, by using the data generation manner corresponding to the first description identifier, a background data packet corresponding to the background style information includes:
If the first description identifier indicates that the background pattern type is the image-text background pattern, 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.
4. The method of claim 3, wherein the generating a background data packet corresponding to the background style information based on the first description identifier and the background 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.
5. The method according to claim 1, wherein the generating, by using the data generation manner corresponding to the first description identifier, a background data packet corresponding to the background style information includes:
If the first description identifier indicates that the background style type is the animation background style, animation path data corresponding to the terminal background data are obtained;
And generating a background data packet corresponding to the background style information based on the first description identifier and the animation path data.
6. The method of claim 1, wherein before the step of obtaining the background pattern information corresponding to the terminal background data if the synchronization instruction for the terminal background data is received, further comprises:
Acquiring a selected second background picture from a background picture set, and acquiring a selected clock background pattern from a clock background pattern set;
And acquiring the terminal background data based on the second background picture and the clock background pattern.
7. The method of claim 6, wherein generating the background data packet corresponding to the background style information by using the data generation method corresponding to the first description identifier includes:
If the first description identifier indicates that the background pattern type comprises the clock background pattern and the image-text background pattern, a second description identifier corresponding to the clock background pattern and the second background picture are obtained; the second description identifies 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.
8. The method of claim 1, wherein before the step of obtaining the background pattern information corresponding to the terminal background data if the synchronization instruction for the terminal background data is received, further comprises:
if a connection instruction aiming at the wearable equipment is received, acquiring the equipment identification of the wearable equipment;
based on the device identification, sending a connection request to the wearable device in an application program;
if a confirmation instruction sent by the wearable device for the connection request is obtained, a connection relation is established with the wearable device.
9. The method of claim 1, wherein the 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 the wearable equipment by adopting a transmission mode corresponding to the type information.
10. A background synchronization device, the device 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 under the condition that the terminal background data displayed in the terminal comprises at least two background style types; acquiring a first description identifier in the background style information; the first description identifiers are used for representing background style types corresponding to the terminal background data, and different first description identifiers correspond to different background style types;
A data packet generating unit, configured to generate a background data packet corresponding to the background style information by adopting a data generating manner corresponding to the first description identifier;
The data packet transmission unit is used for transmitting the background data packet to the wearable device, and the background data packet is used for indicating the wearable device to set the terminal background data to be the device background data of the wearable device based on the background data packet.
11. A method of background synchronization, the method comprising:
Receiving a background data packet sent by a terminal under the condition that terminal background data displayed in the terminal comprises at least two background style types; 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;
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 identifiers are used for representing background style types corresponding to the terminal background data, different first description identifiers correspond to different background style types, and the background style types comprise clock background styles, image-text background styles or animation background styles;
And setting the terminal background data as the device background data of the wearable device according to the background style information based on the first description identifier.
12. The method according to claim 11, wherein the setting the terminal context data as the device context data of the wearable device according to the context pattern information based on the first description identifier includes:
If the first description identifier indicates that the background pattern type is the clock background pattern, a second description identifier in the background pattern information is acquired; the second description identifies clock context data representing the clock context pattern;
and setting clock background data corresponding to the second description identifier as equipment background data of the wearable equipment according to the clock background pattern.
13. The method according to claim 11, wherein the setting the terminal context data as the device context data of the wearable device according to the context pattern information based on the first description identifier includes:
If the first description identifier indicates that the background pattern type is the image-text background pattern, a first background picture in the background data packet is acquired;
And setting the first background picture as equipment background data of the wearable equipment according to the image-text background style.
14. The method according to claim 11, wherein the setting the terminal context data as the device context data of the wearable device according to the context pattern information based on the first description identifier includes:
If the first description identifier indicates that the background style information is the animation background style, animation path data in the background data packet are obtained;
And setting the animation path data into the device background data of the wearable device according to the animation background style.
15. A background synchronization device, the device comprising:
A data packet receiving unit, configured to receive a background data packet sent by a terminal when terminal background data displayed in the terminal includes at least two background pattern types; 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;
The data setting unit is used for analyzing the background data packet and acquiring background style information corresponding to the background data packet; acquiring a first description identifier in the background style information; the first description identifiers are used for representing background style types corresponding to the terminal background data, different first description identifiers correspond to different background style types, and the background style types comprise clock background styles, image-text background styles or animation background styles; and setting the terminal background data as the device background data of the wearable device according to the background style information based on the first description identifier.
16. 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-9 when executing the computer program.
17. A wearable device 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 11-14 when executing the computer program.
18. A context synchronization system comprising a terminal for performing the method of any of the preceding claims 1-9 and a wearable device for performing the method of any of the preceding claims 11-14.
19. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method of any of the preceding claims 1-9 or 11-14.
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 CN115314588A (en) 2022-11-08
CN115314588B true 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 (8)

* 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102633572B1 (en) * 2019-02-19 2024-02-06 삼성전자주식회사 Method for determining watch face image and electronic device thereof

Patent Citations (8)

* 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
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
CN115314588A (en) 2022-11-08

Similar Documents

Publication Publication Date Title
CN111459586B (en) Remote assistance method, device, storage medium and terminal
CN111127469A (en) Thumbnail display method, device, storage medium and terminal
CN110178111B (en) Image processing method and device for terminal
CN110572815A (en) Network access method, device, storage medium and terminal
CN111913614B (en) Multi-picture display control method and device, storage medium and display
CN117555459A (en) Application group processing method and device, storage medium and electronic equipment
CN112114965A (en) Application program running method and device, terminal and storage medium
CN114285936A (en) Screen brightness adjusting method and device, storage medium and terminal
CN112995562A (en) Camera calling method and device, storage medium and terminal
CN113286349B (en) Personal hot spot connection method, device, terminal and storage medium
CN113098859B (en) Webpage page rollback method, device, terminal and storage medium
CN115314588B (en) Background synchronization method, device, terminal, equipment, system and storage medium
CN113595662B (en) Signal prompting method, device, terminal equipment and storage medium
CN113825022B (en) Method and device for detecting play control state, storage medium and electronic equipment
CN113419650A (en) Data moving method and device, storage medium and electronic equipment
CN113950043B (en) Communication method, device, storage medium and terminal
CN111949150B (en) Method and device for controlling peripheral switching, storage medium and electronic equipment
CN113791380A (en) UWB angle measurement method, terminal device, tag device, and storage medium
CN115145660A (en) Multimedia playing method, device, storage medium and terminal equipment
CN113312572A (en) Resource processing method and device, storage medium and electronic equipment
CN114125048B (en) Message push setting method and device, storage medium and electronic equipment
CN112612633A (en) Inter-process communication method, device, storage medium and terminal
CN112541141A (en) Control display callback method, device, terminal and storage medium
CN111859999A (en) Message translation method, device, storage medium and electronic equipment
WO2023273936A1 (en) Wallpaper setting method and apparatus, and storage medium and electronic device

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