Dial plate resource management method, terminal device and system

By integrating the watch face marketplace webpage into the application and using a unified standard interface to achieve cross-platform watch face resource management, the reusability issue of the watch face marketplace is solved, development and maintenance costs are reduced, and user experience is improved.

CN119847386BActive Publication Date: 2026-01-16HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311310319.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-10
Publication Date
2026-01-16
Estimated Expiration
2043-10-10

AI Technical Summary

Technical Problem

In the current technology, the watch face market has poor reusability, which leads to the need for separate development for different applications and operating systems, increasing development and maintenance costs.

Method used

It adopts a watch face market webpage format integrated into the application, communicates with the application through a unified standard interface, and provides a watch face market that can be reused for various operating systems and applications, supporting functions such as querying, downloading, purchasing, installing and deleting watch face resources.

Benefits of technology

It enables cross-platform reuse and expansion of the watch face market function, reduces development and maintenance costs, and improves user experience and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119847386B_ABST
    Figure CN119847386B_ABST
Patent Text Reader

Abstract

The application discloses a watch face resource management method, a terminal device and a system, relates to the technical field of terminals, and is applied to a terminal device. A first application program is installed on the terminal device. A watch face market is integrated in the first application program in the form of a webpage. The watch face market is used for managing watch face resources, and the watch face resources are used for generating watch faces of wearable devices. The watch face market is integrated in the application program in the form of a webpage instead of being integrated in the application program in the form of an SDK. In this way, the watch face market webpage can communicate with a native interface of the application program by using a unified standard interface. The watch face market webpage can adopt a unified standard access for different application programs. In this way, the same set of watch face market functions can be applied to different application programs and different operating systems, and it is not necessary to separately develop watch face markets for various application programs or different operating systems, so that reuse and expansion of the watch face market functions are conveniently realized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of terminal, and in particular, to a watch face resource management method, a terminal device and a system. BACKGROUND

[0002] The wearable devices such as smart watches and smart bands are used more and more frequently in daily life, and the users have more and more personalized requirements for the wearable devices. For example, the wearable devices such as smart watches and smart bands can provide various watch faces of patterns and styles to meet the diversified and personalized requirements of the users.

[0003] A watch face market is a service that provides functions such as query and download of online watch face resources for users. The users can query the online watch face resources through the watch face market, download the watch face resources, install the watch face for the wearable devices, delete the downloaded watch face resources, and the like, to realize personalized skin changing for the wearable devices.

[0004] At present, the watch face market has poor reusability. A set of watch face market cannot be reused between different application programs and different operating systems. Generally, the developers of the watch face market need to develop the corresponding watch face market for each operating system and each application program, which has high development and maintenance costs. SUMMARY

[0005] Embodiments of the present application provide a watch face resource management method, a terminal device and a system, which can provide a set of watch face market that can be reused for various operating systems and various application programs, to reduce the development and maintenance costs of the watch face market.

[0006] To achieve the above object, embodiments of the present application adopt the following technical solutions:

[0007] In a first aspect, a watch face resource management method is provided, which is applied to a terminal device, and the terminal device is installed with a first application program. The method comprises the following steps: the terminal device displays a first user interface of the first application program (such as a sports health App, a theme App, or the like); the terminal device receives a first operation of a user on the first user interface, and the first operation is used to start a watch face market. The watch face market is used to manage watch face resources, and the watch face resources are used to generate a watch face of a wearable device. After receiving the first operation, the terminal device acquires a page format of a watch face market web page from a server; the page format comprises at least one of a style, an icon and a font of the web page; the terminal device loads a page of the watch face market web page according to the page format of the watch face market web page; the terminal device acquires information of watch face resources corresponding to a first wearable device from the server; and the terminal device displays the watch face resources corresponding to the first wearable device on the watch face market web page.

[0008] In the method, the watch face market is integrated in the application in the form of a webpage instead of an SDK, so that the watch face market webpage can communicate with the native interface of the application using a unified standard interface. The watch face market webpage can access different applications using a unified standard. In this way, the same set of watch face market functions can be applied to different applications and different operating systems, and the watch face market does not need to be developed separately for various applications or different operating systems, facilitating the reuse and expansion of the watch face market functions.

[0009] In combination with the first aspect, in a possible implementation, the terminal device obtaining the page format of the watch face market webpage from the server includes: the terminal device requesting the server to obtain the page format of the watch face market webpage; and the terminal device receiving a format file from the server, where the format file is used to define the page format of the watch face market webpage.

[0010] Since the watch face market is integrated in the application in the form of a webpage, the page format of the webpage needs to be obtained first, and then the webpage is loaded according to the page format. In contrast, if the watch face market is implemented in the form of an SDK, the user interface format needs to be defined in the SDK instead of obtaining the page format of the webpage from the server.

[0011] In combination with the first aspect, in a possible implementation, the terminal device obtaining the information of the watch face resource corresponding to the first wearable device from the server includes: the terminal device sending a first request to the server; the first request is used to request to query the information of the watch face resource corresponding to the first wearable device, and the first request includes the device model of the first wearable device; and the terminal device receiving the information of the watch face resource corresponding to the device model of the first wearable device from the server.

[0012] In the method, the watch face resource provided by the watch face market corresponds to the model of the wearable device. The models of wearable devices can be different, and the shapes, sizes, and image resolutions of wearable device screens can also be different. The watch face resource provided by the watch face market corresponds to the model of the wearable device, that is, the watch face market provides a watch face resource corresponding to the shape, size, and image resolution of the display screen of the wearable device. This improves the user experience.

[0013] In combination with the first aspect, in a possible implementation, the terminal device obtaining the information of the watch face resource corresponding to the first wearable device from the server includes: the watch face market webpage obtaining the device model of the first wearable device from the first application through a native interface of the first application; the watch face market webpage sending a first request to the server; and the watch face market webpage receiving the information of the watch face resource corresponding to the device model of the first wearable device from the server.

[0014] In the method, since the watch face market is integrated in the application in the form of a webpage, the watch face market webpage interacts with the application through the native interface of the application. In contrast, if the watch face market is implemented in the form of an SDK, the watch face market does not interact with the application through the native interface of the application.

[0015] With reference to the first aspect, in a possible implementation, the method further includes: the watch face market webpage obtaining, from the first application, information about watch face resources corresponding to the first wearable device that have been downloaded, installed and currently enabled by the first application through the native interface of the first application.

[0016] With reference to the first aspect, in a possible implementation, the method further includes: the terminal device combining the watch face resources corresponding to the first wearable device obtained from the server with the watch face resources corresponding to the first wearable device that have been downloaded, installed and currently enabled by the first application; and the terminal device displaying the combined watch face resources on the watch face market webpage.

[0017] In this way, the watch face market webpage integrates online watch face resources and local watch face resources, and the displayed watch face resources are more comprehensive.

[0018] With reference to the first aspect, in a possible implementation, before the terminal device obtains the information about the watch face resources corresponding to the first wearable device from the server, the method further includes: the terminal device sending, to the server, an identifier of the first application and a verification code; the verification code being a dynamic password allocated to the user for the current login process after the user logs in the first application; and if it is determined that the server fails to verify the verification code, the terminal device displays a user login interface of the first application.

[0019] With reference to the first aspect, in a possible implementation manner, the method further includes: the watch face market webpage receiving an operation of the user purchasing the first watch face resource; the first watch face resource is one of the watch face resources corresponding to the first wearable device displayed on the watch face market webpage; the watch face market webpage sends a watch face purchase request to the server; the watch face purchase request is used to request the server to initiate a process of purchasing the first watch face resource; the watch face market webpage receives a first purchase order number from the server; the first purchase order number is a purchase order number corresponding to the first watch face resource; the watch face market webpage requests the first application to create a payment order corresponding to the first purchase order number through the native interface of the first application; the watch face market webpage acquires the first payment order number from the first application through the native interface of the first application; the first payment order number is a payment order number corresponding to the first purchase order number; the watch face market webpage requests the first application to initiate a payment process corresponding to the first payment order number through the native interface of the first application; if the watch face market webpage determines that the payment corresponding to the first payment order number is successful through the native interface of the first application, the watch face market webpage determines that the first watch face resource has been successfully purchased.

[0020] In the method, the watch face market webpage provides a purchase function of the watch face resource.

[0021] With reference to the first aspect, in a possible implementation manner, the method further includes: the watch face market webpage receiving an operation of the user downloading the second watch face resource; the second watch face resource is a free watch face resource or a successfully purchased watch face resource; the watch face market webpage requests the first application to download the second watch face resource through the native interface of the first application; the first application requests the server to download the second watch face resource; the first application downloads the second watch face resource from the server; and the first application notifies the watch face market webpage that the downloading of the second watch face resource has been completed through the native interface of the first application.

[0022] In the method, the watch face market webpage provides a download function of the watch face resource.

[0023] With reference to the first aspect, in a possible implementation manner, the method further includes: the watch face market webpage receiving an operation of the user installing the second watch face resource; the watch face market webpage requests the first application to install the second watch face resource through the native interface of the first application; and the first application pushes the second watch face resource to the first wearable device.

[0024] In the method, the watch face market webpage provides an installation function of the watch face resource.

[0025] In a second aspect, an electronic device is provided, which has a function of implementing the method of the first aspect. The function can be implemented by hardware, or by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions.

[0026] In a third aspect, an electronic device is provided, which includes a processor and a memory. The memory is configured to store computer-executable instructions. When the electronic device is running, the processor executes the computer-executable instructions stored in the memory, so that the electronic device performs the method of any one of the first aspect.

[0027] In a fourth aspect, an electronic device is provided, which includes a processor. The processor is configured to be coupled with a memory, and after reading instructions in the memory, perform the method of any one of the first aspect according to the instructions.

[0028] In a fifth aspect, a computer-readable storage medium is provided, which stores instructions. When the instructions are run on a computer, the computer can perform the method of any one of the first aspect.

[0029] In a sixth aspect, a computer program product is provided, which contains instructions. When the instructions are run on a computer, the computer can perform the method of any one of the first aspect.

[0030] In a seventh aspect, an apparatus (for example, the apparatus can be a chip system) is provided, which includes a processor configured to support an electronic device to implement the functions involved in the first aspect. In a possible design, the apparatus further includes a memory configured to store necessary program instructions and data of the electronic device. When the apparatus is a chip system, it can be composed of a chip, or include a chip and other discrete devices.

[0031] The technical effects brought by any one of the second aspect to the seventh aspect can be referred to the technical effects brought by different design manners of the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0032] Figure 1 A system architecture diagram to which the watch face resource management method provided by the embodiments of the present application is applied;

[0033] Figure 2 A scenario example diagram of the watch face resource management method provided by the embodiments of the present application;

[0034] Figure 3 A scenario example diagram of the watch face resource management method provided by the embodiments of the present application;

[0035] Figure 4 A scenario example schematic diagram of the watch face resource management method provided by the embodiment of the present application is shown in FIG. 1;

[0036] Figure 5 A scenario example schematic diagram of the watch face resource management method provided by the embodiment of the present application is shown in FIG. 1;

[0037] Figure 6 A scenario example schematic diagram of the watch face resource management method provided by the embodiment of the present application is shown in FIG. 1;

[0038] Figure 7 A scenario example schematic diagram of the watch face resource management method provided by the embodiment of the present application is shown in FIG. 1;

[0039] Figure 8 A scenario example schematic diagram of the watch face resource management method provided by the embodiment of the present application is shown in FIG. 1;

[0040] Figure 9 A scenario example schematic diagram of the watch face resource management method provided by the embodiment of the present application is shown in FIG. 1;

[0041] Figure 10 A scenario example schematic diagram of the watch face resource management method provided by the embodiment of the present application is shown in FIG. 1;

[0042] Figure 11 A hardware structure schematic diagram of a terminal device provided by the embodiment of the present application is shown in FIG. 2;

[0043] Figure 12 An implementation manner schematic diagram of a watch face market is shown in FIG. 3;

[0044] Figure 13 An implementation manner schematic diagram of the watch face resource management method provided by the embodiment of the present application is shown in FIG. 4;

[0045] Figure 14 A component structure schematic diagram of a network architecture applicable to the watch face resource management method provided by the embodiment of the present application is shown in FIG. 5;

[0046] Figure 15 A flow schematic diagram of the watch face resource management method provided by the embodiment of the present application is shown in FIG. 6;

[0047] Figure 16 A flow schematic diagram of the watch face resource management method provided by the embodiment of the present application is shown in FIG. 6;

[0048] Figure 17 A flow schematic diagram of the watch face resource management method provided by the embodiment of the present application is shown in FIG. 6;

[0049] Figure 18 A flow schematic diagram of the watch face resource management method provided by the embodiment of the present application is shown in FIG. 6;

[0050] Figure 19 A scenario example schematic diagram of the watch face resource management method provided in the embodiments of the present application is shown in FIG. 1.

[0051] Figure 20 A flowchart schematic diagram of the watch face resource management method provided in the embodiments of the present application is shown in FIG. 2.

[0052] Figure 21 A schematic diagram of the structure of a terminal device provided in the embodiments of the present application is shown in FIG. 3. DETAILED DESCRIPTION

[0053] In the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing the specific embodiments and are not intended to be limiting on the present application. As used in the specification and the appended claims of the present application, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises,” “comprising,” “includes,” and / or “including,” as used herein, specify the presence of the stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. The term “and / or” used in the description of the embodiments herein refers to three possible relationships: A and / or B, A or B, and A and B. For example, A and / or B can mean that A exists alone, A and B exist together, and B exists alone.

[0054] In the present specification, the reference to “one embodiment” or “some embodiments” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases “in one embodiment,” “in some embodiments,” “in other embodiments,” “in additional embodiments,” and so on, in various places in the specification are not necessarily all referring to the same embodiment, unless otherwise specified. The terms “comprise,” “comprising,” “have,” “having,” “include,” “including,” and “contain,” “containing,” or variants thereof, mean “including but not limited to,” unless otherwise specified. The term “connect” includes both direct connections and indirect connections through one or more intervening components, unless otherwise specified. The terms “first,” “second,” and “third” are used only for descriptive purposes and do not connote or imply relative importance or an ordering.

[0055] In the embodiments of this application, the word "exemplary" or "for example" is used to mean serving as an example, instance, or illustration. Any embodiment or design presented as "exemplary" or "for example" in the embodiments of this application is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "for example" is intended to present concepts in a concrete manner.

[0056] The watch face resource management method provided by the embodiments of this application can be applied to Figure 1 The system architecture is shown in FIG. 1. The system architecture includes a terminal device 10, a server 20 and a wearable device 30. The terminal device 10 and the wearable device 30 can interact information, transmit data and the like through wireless communication modes such as Bluetooth, wireless fidelity (Wi-Fi) and the like. The terminal device 10 and the server 20 can communicate through wired or wireless communication modes.

[0057] The terminal device 10 is configured to provide a watch face market, and the watch face market is configured to manage watch face resources, i.e., provide functions such as query, download, purchase, installation, deletion and the like of watch face resources for the wearable device 30. Generally, the watch face market is integrated in an application (App) on the terminal device 10, for example, the watch face market can be integrated in a sports health App, a theme App and the like. A user can open the watch face market through a user interface of the App, and query, download, purchase, install or delete watch face resources through a user interface of the watch face market. Exemplarily, the terminal device 10 can include a mobile phone, a tablet computer, a notebook computer, a personal computer (PC), an ultra-mobile personal computer (UMPC), a handheld computer, a netbook, a smart home device (such as a smart television, a smart screen, a large screen, a smart speaker and the like), a personal digital assistant (PDA), a vehicle-mounted device and the like, and the embodiments of this application do not make any limitation in this regard.

[0058] The server 20 is configured to provide online resources and capabilities and the like in the cloud. For example, the server 20 can be configured to save and distribute watch face resources, provide sports health services, perform payment management and the like. Exemplarily, the server 20 can be a cloud server. In an example, after a watch face developer uploads watch face resources to the server 20, the server 20 saves and manages the watch face resources. The terminal device 10 can request the server 20 to obtain watch face resource information, download watch face resources and the like.

[0059] It should be noted that server 20 can be a single server, or it can include multiple independent servers or a server cluster. For example, server 20 may include servers for storing dial resources; servers for distributing dial resources, such as a content delivery network (CDN); servers for theme management; servers for authentication; servers for copyright management; servers for payment management; and servers for managing fitness and health functions, etc. Of course, servers with these functions can be combined, merged, or split up as needed.

[0060] Wearable device 30 can be a smartwatch, smart bracelet, etc. Wearable device 30 can obtain watch face resources from the watch face market provided by terminal device 10 and install and display watch faces.

[0061] In this embodiment, the terminal device 10 is a mobile phone and the wearable device 30 is a smartwatch, as an example for description and illustration. The mobile phone 10 has various apps installed, such as a health and fitness app and a theme app. In one example, the watch face market is integrated into the health and fitness app. Users can access the watch face market through the user interface of the health and fitness app.

[0062] For example, such as Figure 2 As shown, mobile phone 10 displays a desktop interface, which includes the icon for the "Health" app. In response to a user clicking the "Health" icon, mobile phone 10 displays the Health user interface 101. The user interface 101 includes information about devices successfully paired with mobile phone 10; for example, information page 102 displays information about watch 1, and information page 103 displays information about watch 2. For example, in response to a user clicking information page 102, mobile phone 10 displays the "Watch 1" interface 104. The "Watch 1" interface 104 includes connection status information, battery level information, and activity information for watch 1. The "Watch 1" interface 104 also includes a "Watch Face Market" option 105 for opening the watch face market. For example, after receiving a user's click on the "Watch Face Market" option 105, mobile phone 10 opens the watch face market; mobile phone 10 retrieves the watch face resources corresponding to watch 1 from server 30 and displays the information of the watch face resources corresponding to watch 1 in the user interface; for example, in response to the user's click on the "Watch Face Market" option 105, mobile phone 10 displays the "Watch Face Market" interface 106, which is used to display the watch face resources corresponding to watch 1. In one example, such as Figure 2As shown, the "Watch Face Market" interface 106 includes a "Recommended" page and a "My" page. The "Recommended" page displays watch face resources recommended to the user and suitable for Watch 1, while the "My" page displays information about the watch face resources for Watch 1. For example, the "Recommended" page includes a "Hottest Recommendations" page 107, which includes icons of multiple watch face resources suitable for Watch 1. In other examples, in response to the user's click on the "Bestsellers" option, the phone 10 displays the icons of the watch face resources corresponding to Watch 1 in descending order of sales volume; in response to the user's click on the "New Arrivals" option, the phone 10 can display the icons of the watch face resources corresponding to Watch 1 in the order of their release time; in response to the user's click on the "Free" option, the phone 10 can display the icons of the free watch face resources corresponding to Watch 1; in response to the user's click on the "Sports" option, the phone 10 can display the icons of the "Sports" themed watch face resources corresponding to Watch 1, and so on. In other words, the phone 10 can provide an online watch face resource search function, and users can search for watch face resources suitable for wearable devices 30 through the watch face market.

[0063] In some embodiments, the watch face resources provided by the watch face market correspond to the model of the wearable device 30. Different models of the wearable device 30 may have different shapes, sizes, image resolutions, etc., of their displays. The watch face resources provided by the watch face market correspond to the model of the wearable device 30, meaning the watch face market provides watch face resources that correspond to the shape, size, and image resolution of the display of the wearable device 30.

[0064] For example, such as Figure 2 As shown, the display screen of watch 1 is circular, and correspondingly, the watch face image displayed in the "Watch Face Market" interface 106 is also circular.

[0065] In one example, such as Figure 3 As shown, when the user interface 101 receives a click operation from the user on the information page 103, the mobile phone 10 displays the "Watch 2" interface 108 in response to the click operation on the information page 103. The "Watch 2" interface 108 includes the connection status information, battery information, and activity information of the Watch 2. The "Watch 2" interface 108 also includes a "Watch Face Market" option 109, used to open the watch face market. After receiving the user's click operation on the "Watch Face Market" option 109, the mobile phone 10 opens the watch face market; the mobile phone 10 obtains the watch face resources corresponding to the Watch 2 from the server 30 and displays the information of the watch face resources corresponding to the Watch 2 in the user interface; for example, in response to the user's click operation on the "Watch Face Market" option 109, the mobile phone 10 displays the "Watch Face Market" interface 10a, which is used to display the watch face resources corresponding to the Watch 2. Figure 3As shown, the "dial market" interface 10a includes a "recommendation" page and a "my" page, the "recommendation" page is used to display the watch 2 applicable dial resources recommended to the user. For example, the "recommendation" page includes a "hot recommendation" page 10b. As shown Figure 3 As shown, the display screen of the watch 2 is rectangular, and correspondingly, the dial image displayed in the "dial market" interface 10b is also rectangular.

[0066] In another example, the display screen of the smart watch is square, and correspondingly, the dial image is also square. For example, as shown Figure 4 As shown, the dial image displayed in the "dial market" interface 10c is square.

[0067] The user can select one of the dial resources displayed in the dial market user interface to install to the wearable device 30, and the wearable device 30 can download and install the dial resource, and display the corresponding dial.

[0068] In some scenarios, the dial resource selected by the user is free or has been purchased. After receiving the operation of the user selecting the dial resource, the terminal device notifies the wearable device to download and install the dial resource. For example, as shown Figure 5 As shown, the mobile phone 10 displays the "dial market" interface 106, wherein the "hot recommendation" page 107 displays a plurality of dial resource icons corresponding to the watch 1, and the dial icon 1071 corresponds to a free dial resource. After receiving the click operation of the user on the dial icon 1071, the mobile phone 10 downloads the dial resource corresponding to the dial icon 1071 from the server 20, and notifies the watch 1 (wearable device 30) to download the dial resource corresponding to the dial icon 1071. The watch 1 (wearable device 30) downloads and installs the dial resource corresponding to the dial icon 1071, and displays the dial.

[0069] In other scenarios, the dial resource selected by the user needs to be purchased. After receiving the operation of the user selecting the dial resource, the terminal device initiates a process to purchase the dial resource. For example, as shown Figure 6As shown, mobile phone 10 displays a "Watch Face Market" interface 106, where the "Hottest Recommendations" page 107 displays multiple watch face resource icons corresponding to watch 1. The watch face resource corresponding to watch face icon 1072 requires payment for purchase. In response to the user's click on watch face icon 1072, mobile phone 10 displays an information page 110, which displays information about the watch face resource corresponding to watch face icon 1072. For example, information page 110 displays information such as the pattern, style, name, price, designer, and size of the watch face resource. For instance, information page 110 includes a "Buy" button 111. In response to the user's click on the "Buy" button 111, mobile phone 10 displays a "Payment" page 112, which receives the user's payment. After successful payment, the watch face resource is successfully purchased.

[0070] After successfully purchasing the watch face resource, the terminal device can download the watch face resource from the server. For example, such as... Figure 7 As shown, after confirming that "Sunny Mood" has been purchased, mobile phone 10 displays a download interface 114, which includes a "Download" button 115. Users can click the "Download" button 115 to download the "Sunny Mood" watch face resource. For example, in response to the user's click on the "Download" button 115, mobile phone 10 downloads "Sunny Mood" from server 20. Optionally, the text on the "Download" button 115 can display the download progress in real time.

[0071] After the watch face resource is downloaded, if the terminal device receives a user's request to install the watch face resource, it notifies the wearable device to download and install the watch face resource. For example, such as... Figure 8 As shown, after the "Sunny Mood" app is downloaded, the mobile phone 10 displays an installation interface 116, which includes an "Install" button 117. The user can click the "Install" button 117 to install "Sunny Mood" onto the watch 1. For example, in response to the user's click on the "Install" button 117, the mobile phone 10 notifies the watch 1 (wearable device 30) to download the watch face resource corresponding to "Sunny Mood". The watch 1 (wearable device 30) downloads and installs the watch face resource corresponding to "Sunny Mood" and displays the watch face. Optionally, the text on the "Install" button 117 can display the progress of the watch face resource installation on the watch 1 in real time.

[0072] In some embodiments, the watch face marketplace of a terminal device can provide users with information on watch face resources already installed on the wearable device. That is, users can query information on watch face resources already installed on the wearable device through the watch face marketplace's user interface. For example, such as... Figure 9As shown, the mobile phone 10 displays a "Watch Face Market" interface 106, which includes a "My" page to display information about the watch face resources corresponding to the watch 1. For example, the "My" page includes an "Edit" page 118, which includes information about the watch face resources that have been downloaded and installed on the watch 1 (wearable device 30). The user can select any watch face resource and delete it. For example, as shown... Figure 9 As shown, the "Edit" page 118 includes an icon 1181 for the watch face resource and a "Delete" button 1182 corresponding to the icon 1181. In response to receiving a user's click operation on the "Delete" button 1182, the mobile phone 10 deletes the watch face resource corresponding to the icon 1181. Furthermore, the watch 1 (wearable device 30) deletes the watch face resource corresponding to the icon 1181.

[0073] In some embodiments, watch face resources in the watch face marketplace can be generated locally by the terminal device. In one example, such as... Figure 10 As shown, the "Edit" page 118 includes a "Photo Album" icon 1183. In response to a user's click on the "Photo Album" icon 1183, the phone 10 displays the "Photo Album" interface 120. The "Photo Album" interface 120 includes an "Add" button 121, used to add a local image to generate a watch face resource. Optionally, the "Photo Album" interface 120 also includes watch face resources already generated locally by the phone 10 and the watch face resource of the watch 1. For example, the "Photo Album" interface 120 includes an icon 122 for watch face resources, where the watch face resource corresponding to icon 122 is a watch face resource already generated locally by the phone 10 and the watch face resource of the watch 1. Optionally, the "Photo Album" interface 120 also includes a "Background" button, a "Style" button, a "Position" button, etc., where the "Background" button is used to modify the background of the image in the watch face, the "Style" button is used to modify the style of the watch face, and the "Position" button is used to add position information to the watch face, etc. For example, in response to a user clicking the "Add" button 121, the "Select Image" page 123 is displayed on the "Album" interface 120. The "Select Image" page 123 includes a "Shoot" option 1231 and a "Select from Phone Album" option 1232; the "Shoot" option 1231 is used to activate the camera and take a picture to generate a watch face resource; the "Select from Phone Album" option 1232 is used to select a picture from the pictures saved locally on the phone to generate a watch face resource. In this way, the user can take a picture with the phone's camera or select a picture on the phone to customize and generate a watch face resource.

[0074] Referring to the specific scenario examples above, the watch face resource management method provided in this application embodiment provides a watch face market for terminal devices, offering users online functions such as querying, purchasing, downloading, installing, and deleting watch face resources, thereby enabling convenient and quick skin-changing services for wearable devices.

[0075] For example,Figure 11 Fig. 1 shows a schematic diagram of an embodiment of a terminal device 10. The terminal device 10 can include a processor 11, an external memory interface 12, an internal memory 13, a universal serial bus (USB) interface 14, a charging management module 15, a power management module 151, a battery 152, an antenna 1, an antenna 2, a mobile communication module 16, a wireless communication module 17, an audio module 18, a speaker 18A, a receiver 18B, a microphone 18C, a headset jack 18D, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195. The terminal device 10 can also include a sensor module, a key module, etc. The sensor module can include a temperature sensor, an ambient light sensor, a touch sensor, etc. The key module can include a power button, a volume button, etc.

[0076] It can be understood that the structure shown in the embodiment does not constitute a specific limitation on the terminal device 10. In other embodiments, the terminal device 10 can include more or fewer components than shown, or combine certain components, or split certain components, or different arrangement of components. The components shown can be implemented in hardware, software, or a combination of software and hardware.

[0077] The processor 11 can include one or more processing units. For example, the processor 11 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units can be independent devices or integrated in one or more processors.

[0078] The controller can be the nerve center and command center of the terminal device 10. The controller can generate operation control signals according to instruction operation codes and timing signals, and complete the control of fetching and executing instructions.

[0079] The processor 11 can also include a memory for storing instructions and data. In some embodiments, the memory in the processor 11 is a cache memory. The memory can hold instructions or data that the processor 11 has just used or is using repeatedly. If the processor 11 needs to use the instructions or data again, it can be called directly from the memory. This avoids repeated access and reduces the waiting time of the processor 11, thus improving the efficiency of the system.

[0080] In some embodiments, the processor 11 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0081] It can be understood that the interface connection relationship between the modules shown in the embodiments is only illustrative and does not constitute a structural limitation on the terminal device. In other embodiments, the terminal device can also use different interface connection methods or combinations of multiple interface connection methods.

[0082] The charging management module 15 is configured to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 15 can receive charging input from a wired charger through the USB interface 14. In some wireless charging embodiments, the charging management module 15 can receive wireless charging input through the wireless charging coil of the terminal device. The charging management module 15 can charge the battery 152 while also supplying power to the terminal device through the power management module 151.

[0083] The power management module 151 is configured to connect the battery 152 and the charging management module 15 to the processor 11. The power management module 151 receives input from the battery 152 and / or the charging management module 15 to power the processor 11, the internal memory 13, the external memory, the display screen 194, the camera 193, the wireless communication module 17, and the like. The power management module 151 can also be configured to monitor parameters such as the battery capacity, the number of battery cycles, the battery health status (leakage, impedance), and the like. In some other embodiments, the power management module 151 can also be disposed in the processor 11. In some other embodiments, the power management module 151 and the charging management module 15 can also be disposed in the same device.

[0084] The wireless communication function of the terminal device 10 can be implemented by the antenna 1, the antenna 2, the mobile communication module 16, the wireless communication module 17, the modem processor, and the baseband processor, and the like.

[0085] The antenna 1 and the antenna 2 are configured to transmit and receive electromagnetic wave signals. Each of the antennas in the terminal device 10 can be configured to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example, the antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in combination with a tuning switch.

[0086] The mobile communication module 16 can provide a solution including 2G / 3G / 4G / 5G wireless communication applied to the terminal device 10. The mobile communication module 16 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like. The mobile communication module 16 can receive electromagnetic waves from the antenna 1, filter, amplify, and the like the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 16 can also amplify the signals modulated by the modem processor and radiate the signals as electromagnetic waves through the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 16 can be disposed in the processor 11. In some embodiments, at least part of the functional modules of the mobile communication module 16 and at least part of the modules of the processor 11 can be disposed in the same device.

[0087] The modem processor can include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is configured to demodulate a received electromagnetic wave signal into a low-frequency baseband signal.

[0088] The wireless communication module 17 can provide solutions for wireless communication including wireless local area networks (WLAN) (e.g. wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. applied on the terminal device 10. The wireless communication module 17 can be one or more devices integrating at least one communication processing module. The wireless communication module 17 receives electromagnetic waves via the antenna 2, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 11. The wireless communication module 17 can also receive signals to be sent from the processor 11, modulate them, amplify them, and radiate them as electromagnetic waves via the antenna 2.

[0089] In some embodiments, the antennas 1 and the mobile communication module 16 of the terminal device 10 are coupled, and the antennas 2 and the wireless communication module 17 are coupled, so that the terminal device 10 can communicate with the network and other devices through wireless communication technology. The wireless communication technology can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS can include global positioning system (GPS), global navigation satellite system (GLONASS), beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), and / or satellite based augmentation systems (SBAS).

[0090] In the embodiments of the present application, the terminal device 10 performs wireless communication with the server 20 or the wearable device 30 through the wireless communication function, and transmits data, files, etc. For example, the terminal device 10 can communicate with the server 20 through Wi-Fi; for example, the terminal device 10 can communicate with the wearable device 30 through Bluetooth.

[0091] The terminal device 10 realizes the display function through the GPU, the display screen 194, and the application processor, etc. The GPU is a microprocessor for image processing, which is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 11 can include one or more GPUs, which execute program instructions to generate or change display information.

[0092] The display screen 194 is configured to display images, videos, and the like. For example, a user interface of a sports health application, a watch face market user interface, and the like. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED), a flex light-emitting diode (FLED), a Mini-LED, a Micro-OLED, a quantum dot light emitting diodes (QLED), and the like.

[0093] The terminal device 10 can implement a photographing function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor, and the like.

[0094] The ISP is configured to process data fed back by the camera 193. For example, when taking a picture, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing to convert it into an image visible to the naked eye. The ISP can also optimize algorithms for image noise, brightness, and skin color. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be disposed in the camera 193.

[0095] The camera 193 is configured to capture still images or videos. An object generates an optical image through a lens and projects it onto a photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into a standard RGB, YUV, or the like format image signal. In some embodiments, the terminal device can include one or N cameras 193, where N is a positive integer greater than 1. For example, in the embodiments of the present application, a picture can be taken by the camera 193, which is used to generate a watch face resource locally in the terminal device 10.

[0096] The digital signal processor is used to process digital signals, in addition to being able to process digital image signals, it can also process other digital signals. For example, when the terminal device selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.

[0097] The video codec is used to compress or decompress digital video. The terminal device 10 can support one or more video codecs. In this way, the terminal device can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, etc.

[0098] The NPU is a neural-network (NN) calculation processor, which can quickly process input information by drawing on the structure of a biological neural network, such as drawing on the transmission mode between human brain neurons, and can also constantly self-learn. Through the NPU, intelligent cognitive applications of the terminal device can be realized, such as: image recognition, face recognition, voice recognition, text understanding, etc.

[0099] The terminal device 10 can realize audio functions through the audio module 18, the speaker 18A, the receiver 18B, the microphone 18C, the earphone interface 18D, and the application processor, etc. For example, music playing, recording, etc.

[0100] The audio module 18 is used to convert digital audio information into an analog audio signal output, and is also used to convert an analog audio input into a digital audio signal. The audio module 18 can also be used to encode and decode audio signals. In some embodiments, the audio module 18 can be arranged in the processor 11, or part of the functions of the audio module 18 can be arranged in the processor 11. The speaker 18A, also known as a "loudspeaker", is used to convert an audio electrical signal into a sound signal. The receiver 18B, also known as a "earpiece", is used to convert an audio electrical signal into a sound signal. The microphone 18C, also known as a "microphone", "sound transducer", is used to convert a sound signal into an electrical signal. The earphone interface 18D is used to connect a wired earphone. The earphone interface 18D can be a USB interface 14, or a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0101] The external memory interface 12 can be configured to connect an external memory card, such as a Micro SD card, to extend the storage capability of the terminal device. The external memory card communicates with the processor 11 through the external memory interface 12 to implement a data storage function. For example, audio, video, and other files can be saved in the external memory card.

[0102] The internal memory 13 can be configured to store computer-executable program code including instructions. The processor 11 executes various function applications and data processing of the terminal device by running the instructions stored in the internal memory 13. For example, in the embodiments of the present application, the processor 11 can execute the instructions stored in the internal memory 13, and the internal memory 13 can include a program storage area and a data storage area. The program storage area can store an operating system and at least one application program (such as a sound playing function, an image playing function, etc.) required by a function. The data storage area can store data (such as a video file) created during use of the terminal device. In addition, the internal memory 13 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0103] The motor 191 can generate a vibration prompt. The motor 191 can be used for incoming call vibration prompts and also can be used for touch vibration feedback. The indicator 192 can be an indicator light, which can be used to indicate a charging state, a power change, and also can be used to indicate a message, a missed call, a notification, etc. The SIM card interface 195 is configured to connect a SIM card. The SIM card can be inserted into or pulled out of the SIM card interface 195 to achieve contact and separation with the terminal device. The terminal device can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support a Nano SIM card, a Micro SIM card, a SIM card, etc.

[0104] In the embodiments of the present application, the terminal device 10 described above is an electronic device that can run an operating system and install an App. Optionally, the operating system running on the terminal device 10 can be an Android operating system, an iOS operating system, a Windows operating system, a system, system, system, etc.

[0105] Generally, the watch face market is integrated in an App of the terminal device 10; for example, the watch face market can be integrated in a sports health App; for example, the watch face market can be integrated in a theme App.

[0106] In an implementation, the watch face market is integrated in the App in the form of a software development kit (SDK). In this implementation, if the watch face market needs to be displayed in multiple Apps, a corresponding SDK needs to be developed for each App; the development standards of each SDK are not uniformly specified, and the styles are not uniform. For example, as shown in Figure 12 , the terminal device is installed with a sports health App and a theme App, etc. The sports health App integrates a watch face market SDK 1 through a native interface, and can display the watch face market in the sports health App. The theme App integrates a watch face market SDK 2 through a native interface, and can display the watch face market in the theme App. The developer needs to develop a set of watch face market SDK for the sports health App and a set of watch face market SDK for the theme App; the watch face market SDK cannot be reused between different Apps. Moreover, on different operating systems, corresponding versions of the watch face market SDK also need to be developed; for example, the developer needs to develop a set of watch face market SDK for the sports health App running on the Android system and another set of watch face market SDK for the sports health App running on the iOS system; the watch face market SDK cannot be reused between different operating systems. The reusability and scalability of the watch face market SDK are poor, which brings inconvenience to the development and operation and maintenance of the watch face market function. The reusability and scalability of the watch face market SDK are poor, which brings inconvenience to the development and operation and maintenance of the watch face market function.

[0107] The watch face resource management method provided by the embodiments of the present application integrates the watch face market in the App in the form of a webpage. The watch face market webpage provides a user interface of the watch face market; the watch face market webpage and the native interface of each App can communicate through a uniform standard interface, and the watch face market webpage accesses each different App through the uniform standard interface. In this way, the same set of watch face market function can be applied to different Apps and different operating systems, and the reuse and expansion of the watch face market function are conveniently realized.

[0108] For example, as shown in Figure 13 , the terminal device 10 is installed with a sports health App, a theme App, etc. The watch face market webpage can be connected with the sports health App native interface through a standard interface, the watch face market webpage can also be connected with the theme App native interface through the standard interface, and the watch face market webpage can also be connected with the native interface of other Apps through the standard interface; moreover, the watch face market webpage communicates with the theme cloud of the server 20 through the standard interface, and obtains watch face resources from the theme cloud. Since the watch face market webpage is connected with the App native interface through the uniform standard interface, the same set of watch face market webpage can be applied to different Apps and different operating systems, and the corresponding watch face market function does not need to be developed for each App and operating system, thereby realizing the expansion and reuse of the capability.​

[0109] The watch face resource management method provided by the embodiments of the present application is described in detail below with reference to the watch face market integrated in the sports health App as an example.

[0110] Exemplarily, Figure 14 A schematic diagram of a component structure of a network architecture to which the watch face resource management method provided by the embodiments of the present application is applicable is shown.

[0111] As Figure 14 shown, the terminal device 10 is installed with a sports health App. The sports health App provides an App native interface for connection and communication between the sports health App and other modules. The watch face market web page is integrated in the sports health App for providing the watch face market function. In an implementation manner, the watch face market web page is an H5-based web page, that is, a page constructed by using H5. H5 is also known as hypertext markup language 5 (HTML5), which is a language description manner for constructing web page content. In the case where the watch face market web page is an H5-based web page, the communication interface between the watch face market web page and the sports health App is a standard interface based on H5, and the communication interface between the watch face market web page and the theme cloud is also a standard interface based on H5; in this way, the watch face market web page uses a unified standard interface to communicate with other modules, and one set of watch face market web page can be applicable to different Apps and different operating systems, realizing reusability and extensibility.

[0112] Optionally, some SDKs can also be integrated in the sports health App to provide corresponding functions. For example, a payment SDK can be integrated in the sports health App to provide a payment function; for example, a Bluetooth SDK can be integrated in the sports health App to realize Bluetooth communication. Exemplarily, the sports health App can realize Bluetooth communication with the wearable device 30 through the Bluetooth SDK, and perform file transmission, data interaction and the like with the wearable device 30 through Bluetooth.

[0113] The server 20 can include a theme cloud server, a sports health cloud server, a payment cloud server and the like. Among them, the theme cloud server stores online watch face resources; the theme cloud server can distribute the online watch face resources to the terminal device 10 through a content delivery network (CDN); the theme cloud server also provides theme services for providing related services of the watch face market function to the terminal device 10. In an implementation manner, the theme cloud server also provides web page management services for managing the page format of the watch face market web page; for example, the page format includes the style, icon, font and the like of the web page. The sports health cloud server is used to provide sports health services and manage sports health functions. The payment cloud server is used to provide payment services and manage payment processes.

[0114] In combination withFigure 14 The network architecture shown, the terminal device 10 is a mobile phone, the mobile phone on the sports health App provides the watch market function, the wearable device 30 is a watch as an example, the watch resource management method provided by the embodiment of the application is introduced in detail.

[0115] In one scenario, the watch market can provide a query function of watch resources, and a user can query watch resources suitable for a watch through the watch market. In one implementation mode, before obtaining the watch resources on the watch market web page, the login state of the sports health App is checked first; if the check passes, the watch resources corresponding to the watch are obtained from the server; if the check does not pass, a login process is started.

[0116] In one example, as Figure 15 The watch resource management method provided by the embodiment of the application can include:

[0117] S401, the mobile phone receives an operation of a user viewing a watch market interface.

[0118] In one example, after the mobile phone receives an operation of a user opening the watch market on the user interface of the sports health App, the watch market function is opened, and the watch market interface is displayed. The operation of the user opening the watch market is received, that is, the operation of the user viewing the watch market interface is received. For example, as Figure 2 The mobile phone 10 receives a click operation of the user on the "watch market" option 105, it is determined that the operation of the user opening the watch market is received.

[0119] In another example, after the mobile phone receives an operation of a user sliding a page on the watch market interface, the page is turned, and the next page of the watch market interface is displayed. The operation of the user sliding the page is received, that is, the operation of the user viewing the watch market interface is received.

[0120] S402, the sports health App requests a web management service to obtain the page format of the watch market web page.

[0121] In response to the mobile phone receiving the operation of the user viewing the watch market interface, the sports health App requests the web management service to obtain the page format of the watch market web page.

[0122] It should be noted that, in order to facilitate the description, when the steps in the flowchart shown in Figures 15-19 The native interface of the sports health App interacting with other modules is simply described as the sports health App. For example, in S402, the sports health App requests the web management service to obtain the page format of the watch market web page, which means that the sports health App requests the web management service to obtain the page format of the watch market web page through the native interface.

[0123] S403, the webpage management service sends a format file corresponding to the watch face market webpage to the sports health App.

[0124] The format file is used to define the page format of the watch face market webpage; for example, the page format includes webpage styles, icons, fonts, etc.

[0125] S404, the sports health App loads the page of the watch face market webpage according to the format file.

[0126] The sports health App receives the format file corresponding to the watch face market webpage, and loads the page of the watch face market webpage according to the format file.

[0127] S405, the watch face market page requests the sports health App to obtain an App identifier and a verification code.

[0128] Optionally, the watch face market webpage first verifies the login state of the sports health App. The App identifier (AppID) is used to uniquely identify an App. The verification code is a dynamic password allocated by the sports health service for the user's current login process after the user logs in to the sports health App; generally, the verification code is a dynamic password valid within a preset time period.

[0129] S406, the sports health App sends the App identifier and the verification code to the watch face market page.

[0130] For example, the App identifier is the identifier of the sports health App; if the user has successfully logged in to the sports health App, the sports health App sends the dynamic password allocated when the user logs in to the sports health App to the watch face market page, for example, the value of the verification code is AT1.

[0131] In an implementation manner, after the watch face market page receives the App identifier and the verification code, the App identifier and the verification code are saved.

[0132] In an implementation manner, if the watch face market page fails to obtain the verification code, S420 is directly executed.

[0133] S407, the watch face market page sends the App identifier and the verification code to the theme service.

[0134] For example, the App identifier is the identifier of the sports health App; the verification code is AT1.

[0135] S408, the theme service verifies the received App identifier, and sends the verification code (AT1) to the sports health service.

[0136] S409, the sports health service checks the received verification code (AT1); if the check is passed, the sports health service sends the theme service a check success information and a user identifier corresponding to the verification code; if the check fails, the sports health service sends the theme service a check failure information.

[0137] The sports health service receives the verification code from the theme service and compares the verification code with a dynamic password assigned to the user for the current login process when the user logs in the sports health App. If the received verification code is consistent with the dynamic password assigned to the user for the current login process when the user logs in the sports health App, the check is successful; if the received verification code is inconsistent with the dynamic password assigned to the user for the current login process when the user logs in the sports health App, the check fails.

[0138] S410, the theme service returns a check result to the watch face market webpage, the check result including success or failure.

[0139] In an implementation manner, if the check result received by the watch face market webpage is failure, S420 is performed; if the check result received by the watch face market webpage is success, S430 is performed.

[0140] S420, the watch face market webpage notifies the sports health App to display a user login interface.

[0141] S421, the sports health App displays the user login interface.

[0142] The user login interface is used for logging in the sports health App. For example, the user login interface includes a first text box and a second text box, the first text box being used for receiving a user identifier, and the second text box being used for receiving a login password.

[0143] S422, the sports health App receives a login operation of the user on the user login interface and requests the sports health service to check the current login of the user.

[0144] For example, the login operation is inputting the user identifier in the first text box and inputting the login password in the second text box. The sports health App sends the received user identifier and login password to the sports health service. The sports health service verifies the user identifier and login password.

[0145] S423, the sports health service returns a login result to the sports health App, the login result including login success or login failure.

[0146] If the verification passes, the sports health service assigns a dynamic password for the user's current login process; for example, the dynamic password value is AT2; further, the sports health service returns login success to the sports health App, including the assigned dynamic password (for example, AT2) this time. If the verification fails, the sports health service returns login failure to the sports health App.

[0147] If the sports health App receives login success, continue to perform S404; if the sports health App receives login failure, continue to perform S421.

[0148] After the watch market webpage receives the verification result as success, the method further includes:

[0149] S430, the watch market webpage requests the sports health App to query the watch model.

[0150] S431, the sports health App returns the watch model to the watch market webpage.

[0151] In an implementation manner, the sports health App acquires the model of the watch in a connection state (for example, a Bluetooth connection is established) with the mobile phone, and returns the watch model to the watch market webpage.

[0152] S432, the watch market webpage requests the theme service to query the information of the watch face resource corresponding to the watch model.

[0153] In an implementation manner, the watch market webpage carries an App identifier and a verification code in the request message; for example, the App identifier is the identifier of the sports health App, and the verification code is AT1. The watch market webpage also carries the watch model in the request message.

[0154] S433, the theme service verifies the received App identifier, and sends the verification code (AT1) to the sports health service.

[0155] Optionally, the theme service verifies the received App identifier, and sends the verification code to the sports health service.

[0156] S434, the sports health service verifies the received verification code (AT1); if the verification passes, the sports health service sends the verification success information and the user identifier corresponding to the verification code to the theme service; if the verification fails, the sports health service sends the verification failure information to the theme service.

[0157] S435, after receiving the verification success information, the theme service queries the information of the corresponding watch face resource according to the watch model.

[0158] The watch type is different, the shape, size, image resolution of the watch display screen can be different. The theme service queries the watch display screen shape, size, image resolution compatible watch dial resource in the watch dial resource saved in the theme cloud server according to the watch type.

[0159] In an example, the watch type corresponding watch dial resource includes free watch dial resource and chargeable watch dial resource, the chargeable watch dial resource includes purchased watch dial resource and non-purchased watch dial resource. The theme service can also query the user's purchase record according to the user identification to determine the purchased watch dial resource in the watch type corresponding watch dial resource.

[0160] S436, the theme service returns the information of the watch type corresponding watch dial resource to the watch dial market webpage.

[0161] In an example, the information of the watch type corresponding watch dial resource includes the identification list of the watch type corresponding watch dial resource. In an example, the identification list of the watch type corresponding watch dial resource includes the identification list of the free watch dial resource and the identification list of the purchased watch dial resource.

[0162] S437, the watch dial market webpage requests the sports health App to query the local watch dial resource corresponding to the watch.

[0163] The theme service returns the information of the online watch dial resource. After the watch dial market webpage obtains the online watch dial resource corresponding to the watch from the theme service, the watch dial market webpage can optionally obtain the local watch dial resource corresponding to the watch. The local watch dial resource includes the downloaded watch dial resource, the installed watch dial resource, the currently enabled watch dial resource of the watch and the like.

[0164] S438, the sports health App sends the information of the local watch dial resource corresponding to the watch to the watch dial market webpage.

[0165] S439, the watch dial market webpage displays the watch dial resource corresponding to the watch.

[0166] In an example, the watch dial resource corresponding to the watch includes the online watch dial resource (the watch dial resource queried in real time from the server) and the local watch dial resource corresponding to the watch. The watch dial market webpage combines the online watch dial resource and the local watch dial resource, and displays the combined watch dial resource.

[0167] In some scenarios, the user will purchase the watch dial resource, as shown in the figure, the watch dial resource management method provided by the embodiment of the application can further include: Figure 16

[0168] S501, the watch dial market webpage receives the operation of the user purchasing the watch dial resource 1.

[0169] ​The watch face resource one is an arbitrary watch face resource selected by the user. For example, as shown in FIG. 11, the mobile phone 10 displays an information page 110, and the information page 110 includes a "purchase" button 111. The mobile phone receives a click operation of the "purchase" button 111 by the user, that is, receives an operation of the user to purchase the watch face resource one (sunny mood). Figure 6

[0170] S502, the watch face market web page sends a purchase watch face request to the theme service, including an App identifier, a verification code, a resource identifier, and the like.

[0171] The purchase watch face request is used to request the theme service to initiate a purchase watch face resource process. The purchase watch face request can carry an App identifier, a verification code, a resource identifier, and the like; the resource identifier is an identifier of the watch face resource to be purchased, and is used to uniquely identify a watch face resource. For example, the App identifier is an identifier of the sports health App, the verification code is AT1, and the resource identifier is an identifier of the watch face resource one (sunny mood).

[0172] S503, the theme service verifies the received App identifier, and sends the verification code (AT1) to the sports health service.

[0173] S504, the sports health service verifies the received verification code (AT1); if the verification is passed, the sports health service sends verification success information and a user identifier corresponding to the verification code to the theme service; if the verification fails, the sports health service sends verification failure information to the theme service.

[0174] S505, after receiving the verification success information, the theme service generates a purchase business order for the watch face resource one.

[0175] S506, the theme service returns a purchase order number and watch face resource information to the watch face market web page.

[0176] The purchase order number is used to uniquely identify a purchase business order. The watch face resource information is used to indicate a watch face resource, for example, the watch face resource information includes an identifier of the watch face resource. The theme service returns the purchase order number and the watch face resource information to the watch face market web page, and the watch face market web page obtains the watch face resource information and the corresponding purchase order number.

[0177] S507, the watch face market web page requests the sports health App to create a payment order, including an App identifier, a purchase order number, and the like. The sports health App requests the payment SDK to create a payment order. The payment SDK requests the payment service to create a payment order.

[0178] ​S508, the payment service generates a payment order according to the App identifier and the purchase order number, and returns the payment order number to the payment SDK. The payment SDK returns the payment order number to the sports health App. The sports health App returns the payment order number to the watch market web page.

[0179] The payment order number is used to uniquely identify a payment order.

[0180] S509, the watch market web page requests the sports health App to initiate payment. The sports health App requests the payment SDK to initiate payment.

[0181] S510, the payment SDK pulls up the payment page.

[0182] For example, as shown in Figure 6 , the mobile phone 10 displays the "payment" page 112.

[0183] S511, after receiving the user's payment operation, the payment SDK sends a payment request to the payment service.

[0184] For example, the payment password input by the user is received, that is, the user's payment operation is received.

[0185] S512, the payment SDK obtains the payment result from the payment service, and the payment result includes payment success or payment failure.

[0186] In one possible scenario, the payment service returns the payment result to the payment SDK. In one possible scenario, the payment SDK queries the payment result at a certain time interval.

[0187] S513, after the payment SDK obtains the payment result, the payment result is returned to the sports health App; the sports health App returns the payment result to the watch market web page.

[0188] S514, if the payment is successful, the watch market web page refreshes to display the user interface.

[0189] After the payment is successful, the user who has logged in the sports health App successfully purchases the watch resource 1.

[0190] In one example, the user can further download and install the watch resource 1. For example, referring to Figure 7 , after the payment is successful, the mobile phone 10 displays a download interface 114, and the download interface 114 includes a "download" button 115. The user can click the "download" button 115 to download the "sunny mood" watch resource.

[0191] In one example, the mobile phone can display the watch resources that have been successfully purchased among the watch resources corresponding to the watch (in a connected state with the mobile phone). For example, referring toFigure 9 The mobile phone displays a "My" page of the "Watch face market" interface 106. The "My" page includes a "Purchase record" option. In response to a click operation of the "Purchase record" option by the user, the mobile phone 10 can display the watch face resource corresponding to the watch 1 that has been purchased.

[0192] S515, the payment service also synchronizes the payment information to the theme service.

[0193] In an example, the payment information includes a purchase order number, a payment result, etc.

[0194] S516, the theme service updates the state of the purchase service order according to the payment information, and updates the purchase record.

[0195] In an example, after the payment is successful, the theme service updates the state of the purchase service order for the watch face resource one to "paid".

[0196] In an example, the theme service adds the user identifier of the current user in the purchase record corresponding to the watch face resource one, indicating that the user has purchased the watch face resource one. In this way, the theme service can maintain the purchase record of each watch face resource in real time.

[0197] In some scenarios, the user can also download the watch face resource. As shown in Figure 17 The watch face resource management method provided by the embodiment of the application can further include:

[0198] S601, the watch face market webpage receives an operation of the user downloading the watch face resource one.

[0199] The watch face resource one can be a free watch face resource, or a paid watch face resource that the user has successfully purchased.

[0200] As shown in Figure 7 After the "Sunny mood" is purchased, the mobile phone 10 displays a download interface 114, and the download interface 114 includes a "Download" button 115. The user can click the "Download" button 115 to download the "Sunny mood" watch face resource. After receiving the click operation of the "Download" button 115 by the user, that is, receiving the operation of the user downloading the watch face resource one ("Sunny mood").

[0201] S602, the watch face market webpage requests the sports health App to download the watch face resource one.

[0202] S603, the sports health App requests the CDN to download the watch face resource one.

[0203] S604, the CDN distributes the watch face resource one to the sports health App.

[0204] In an implementation, if the watch face resource one is a paid watch face resource, the CDN sends the encrypted watch face resource one to the sports health App.

[0205] S605, the sports health App acquires and saves the watch face resource one.

[0206] S606, the sports health App notifies the watch face market webpage that the watch face resource one has been downloaded.

[0207] S607, the watch face market webpage updates the state of the watch face resource one.

[0208] In an example, after the watch face market webpage determines that the watch face resource one has been downloaded, the watch face market webpage updates the state of the watch face resource one to downloaded. In this way, the watch face resource one can be installed according to a user operation. For example, as shown in FIG. 11, after the download of the “Sunny Mood” is completed, the mobile phone 10 displays an installation interface 116 for installing the watch face resource one (“Sunny Mood”). Figure 8

[0209] In some scenarios, after the watch face resource is downloaded successfully, the watch face resource can be installed on the wearable device. For example, as shown in FIG. 11, the watch face resource management method provided by the embodiments of the present application can further include: Figure 18

[0210] S701, the watch face market webpage receives an operation of a user installing the watch face resource one.

[0211] The watch face resource one is a downloaded watch face resource. The user can trigger, on a user interface of a mobile phone, installation of the downloaded watch face resource to a watch.

[0212] For example, as shown in FIG. 11, after the download of the “Sunny Mood” is completed, the mobile phone 10 displays an installation interface 116 for installing the watch face resource one (“Sunny Mood”), and the installation interface 116 includes an “Install” button 117. The user can click the “Install” button 117 to install the “Sunny Mood” to the watch 1. Figure 8 Upon receiving the click operation of the user on the “Install” button 117, that is, upon receiving the operation of the user installing the watch face resource one (“Sunny Mood”).

[0213] S702, the watch face market webpage requests the sports health App to install the watch face resource one.

[0214] In an implementation, the sports health App acquires the watch face resource one from a server and saves the watch face resource one.

[0215]

[0216] ​​​In some embodiments, the sports health App acquires an unencrypted watch face resource; for example, the watch face resource is a free watch face resource and is unencrypted.

[0217] In some embodiments, the sports health App acquires an encrypted watch face resource; for example, the watch face resource is a paid watch face resource and the sports health App is distributed with the encrypted watch face resource after successfully purchasing the watch face resource.

[0218] If the sports health App acquires an encrypted watch face resource, the encrypted watch face resource needs to be decrypted, and then the decrypted watch face resource is installed. For example, if the sports health App acquires an encrypted watch face resource, the method further includes S703.

[0219] S703, the sports health App acquires the watch face resource.

[0220] In some embodiments, the sports health App saves an unencrypted watch face resource, and the sports health App directly reads the saved watch face resource.

[0221] For example, as shown in Figure 18 S703 can include S703a:

[0222] S703a, the sports health App reads the saved unencrypted watch face resource and acquires the watch face resource.

[0223] In another embodiment, the sports health App saves an encrypted watch face resource. In one implementation, the server encrypts the watch face resource using a content key, distributes the encrypted watch face resource to the sports health App, and the sports health App saves the encrypted watch face resource. The sports health App needs to acquire the content key to decrypt the encrypted watch face resource using the content key to acquire the watch face resource.

[0224] For example, as shown in Figure 18 S703 can include S7031-S7033:

[0225] S7031, the sports health App reads the encrypted watch face resource.

[0226] S7032, the sports health App acquires the content key.

[0227] The content key is used by the server to encrypt the watch face resource. The sports health App acquires the content key, which can be used to decrypt the encrypted watch face resource using the content key.

[0228] In one implementation, the content key is used by the server's theme service when encrypting the watch face resource, and the fitness app can obtain the content key from the theme service.

[0229] In one implementation, the content key is encrypted using the elliptic curve Diffie-Hellman key exchange (ECDH) algorithm. ECDH is a highly secure encryption algorithm; using it to encrypt the content key improves the security of the content key transmitted between the server and the mobile phone, preventing its leakage.

[0230] In one example, such as Figure 18 As shown, the Health & Fitness App generates ECDH public and private keys on the terminal device side. Then, the Health & Fitness App requests a content key from the watch face marketplace website, carrying the user identifier and the terminal device's ECDH public key. The watch face marketplace website requests a content key from the theme service, carrying the user identifier and the terminal device's ECDH public key. The theme service determines whether the user indicated by the received user identifier has purchased watch face resource one based on the saved purchase records. If it is determined that the user indicated by the user identifier has purchased watch face resource one, it generates a cloud-side (server-side) ECDH public and private key. The theme service uses the ECDH algorithm to negotiate and generate a transmission key, and uses the generated transmission key to encrypt the content key; it then sends the encrypted content key to the watch face marketplace website, carrying the cloud-side ECDH public key. The watch face marketplace website receives the encrypted content key and sends it to the Health & Fitness App. The Health & Fitness App stores the encrypted content key in a keystore. A keystore is a secure storage tool, which can be a file or a hardware device. Storing the encrypted content key in the keystore prevents it from being stolen and leaked. The fitness and health app uses the ECDH algorithm to negotiate and generate a transmission key. This transmission key is then used in the Keystore to decrypt the encrypted content key, thus obtaining the content key. Because the content key is stored encrypted in the Keystore, its security is guaranteed.

[0231] S7033, the Sports & Health App uses the content key to decrypt the encrypted watch face resource one and obtain watch face resource one.

[0232] S704, the Sports & Health App pushes watch face resources to the watch.

[0233] S705, watch download watch face resource one, after successful download, the download result will be returned to the Sports & Health App.

[0234] Exemplarily, the download result includes download success or download failure.

[0235] S706, if the watch face resource one is a paid watch face resource, the sports health App clears the decrypted watch face resource one.

[0236] S707, the sports health App notifies the watch to install the watch face resource one.

[0237] S708, the watch installs the watch face resource one, and returns an installation result to the sports health App.

[0238] Exemplarily, the installation result includes installation success or installation failure.

[0239] S709, the sports health App returns the installation result to the watch face market webpage.

[0240] In an implementation mode, during the process of installing the watch face resource one by the watch, the sports health App reads the installation progress of the watch in real time, and displays the installation progress of the watch on the user interface. Exemplarily, as shown in Figure 8 , the text on the “installation” button 117 displays the progress of the watch 1 installing the watch face resource in real time.

[0241] After the installation is successful, the corresponding watch face can be displayed on the watch. Exemplarily, as shown in Figure 8 , the watch face of the watch 30 is updated to “sunny mood”.

[0242] S710, the watch face market webpage updates the state of the watch face resource one.

[0243] In an implementation mode, if it is determined that the watch face resource one is installed successfully, the watch face market webpage updates the state of the watch face resource one to installed. In an example, after the watch installs the watch face resource one, the watch face corresponding to the watch face resource one is displayed; that is, the watch enables the watch face corresponding to the watch face resource one. The watch face market webpage updates the state of the watch face resource one to enabled.

[0244] In some embodiments, the watch face market webpage can display all the watch face resources installed on the watch. The watch face enabled on the watch can be switched according to the selection of the user.

[0245] Exemplarily, as shown in Figure 19 , the mobile phone 10 displays the “watch face market” interface 106, which includes a “my” page for displaying the information of the watch face resource corresponding to the watch 1. The “my” page includes an “edit” page 118, and the “edit” page 118 includes the information of the watch face resources that have been downloaded and installed on the watch 1 (the watch 30). For example, the “edit” page 118 includes an icon 1184, and the watch face resource corresponding to the icon 1184 is “sunny mood”.

[0246] The watch 30 displays a watch face 301, which is the watch face corresponding to the icon 1184.

[0247] The user can click any one of the watch face resource icons in the "edit" page 118 to set the watch face resource corresponding to the selected icon as the watch face of the watch 1, i.e., to switch the watch face of the watch 1. For example, as shown in Figure 19 In response to the user's click operation on the icon 1185, the watch face resource corresponding to the icon 1185 is set as the watch face of the watch 1. The watch 1 enables the watch face resource corresponding to the icon 1185 and displays the watch face 302 corresponding to the icon 1185.

[0248] For example, as shown in Figure 20 The watch face resource management method provided by the embodiments of the present application can further include the following steps.

[0249] S801. The watch face market webpage receives an operation of enabling the watch face resource two by the user.

[0250] When the watch displays the watch face corresponding to the watch face resource one, the watch face market webpage receives an operation of enabling the watch face resource two by the user. For example, as shown in Figure 19 The watch 30 displays a watch face 301, which is the watch face corresponding to the icon 1184 (corresponding to the watch face resource one). The mobile phone 10 receives a click operation of the icon 1185 by the user, and determines that an operation of enabling the watch face corresponding to the icon 1185 (corresponding to the watch face resource two) by the user is received.

[0251] S802. The watch face market webpage requests the sports health App to enable the watch face resource two.

[0252] S803. The sports health App notifies the watch to enable the watch face resource two.

[0253] S804. The watch enables the watch face resource two and displays the watch face corresponding to the watch face resource two.

[0254] In this way, the watch face of the watch is switched from the watch face resource one to the watch face resource two, and the skin switching of the watch is realized.

[0255] S805. The watch returns an enabling result to the sports health App.

[0256] The enabling result includes enabling success or enabling failure.

[0257] S806. The sports health App returns the enabling result to the watch face market webpage.

[0258] S807. The watch face market webpage updates the state of the watch face resource.

[0259] For example, the watch face market webpage updates the state of the watch face resource one to be not enabled, and updates the state of the watch face resource two to be enabled.

[0260] In this way, the watch face of the watch is switched from the watch face resource one to the watch face resource two.

[0261] The watch face resource management method provided by the embodiment of the present application is that the watch face market is integrated in the App in the form of a webpage. The watch face market webpage and the native interface of each App communicate by using a unified standard interface, and the watch face market webpage accesses each different App by using a unified standard. The same set of watch face market functions can be applied to different Apps and different operating systems, and the reuse and extension of the watch face market functions are conveniently realized. By using the watch face resource management method provided by the embodiment of the present application, the functions of querying, downloading, purchasing, installing, deleting, and enabling the watch face resource for a wearable device (such as a smart watch, a smart bracelet, and the like) can be provided for a user.

[0262] It can be understood that, in order to implement the above functions, the terminal device provided by the embodiment of the present application contains the hardware structure and / or software module for executing the corresponding functions. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments disclosed in the present text, the embodiments of the present application can be realized in the form of hardware or the combination of hardware and computer software. Whether a certain function is realized in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of the present application.

[0263] The embodiments of the present application can divide the terminal device into functional modules according to the above method examples, for example, each functional module can be divided according to each function, or two or more functions can be integrated in one processing module. The integrated module can be realized in the form of hardware or in the form of a software functional module. It should be noted that the division of the modules in the embodiments of the present application is illustrative, and is only a logical function division. There can be another division manner when actually implemented.

[0264] In an example, refer to Figure 21 which shows a possible structure schematic diagram of the terminal device involved in the above embodiments. The terminal device 2100 includes a processing unit 2110, a storage unit 2120, a display unit 2130, and a communication unit 2140.

[0265] The processing unit 2110 is configured to control and manage the actions of the terminal device 2100. The storage unit 2120 is configured to store program codes and data of the terminal device 2100. The display unit 2130 is configured to display the interface of the terminal device 2100, for example, the user interface of the watch market, etc. The communication unit 2140 is configured to support the terminal device 2100 to communicate with other devices, for example, support the terminal device 2100 to communicate with a wearable device, support the terminal device 2100 to communicate with a server, etc.

[0266] Of course, the unit modules in the terminal device 2100 described above include but are not limited to the processing unit 2110, the storage unit 2120, the display unit 2130 and the communication unit 2140 described above.

[0267] Optionally, the terminal device 2100 can further include an image acquisition unit, and the image acquisition unit is configured to acquire images.

[0268] Optionally, the terminal device 2100 can further include an audio unit, and the audio unit is configured to acquire audio, play audio, etc.

[0269] The processing unit 2110 can be a processor or a controller, for example, a central processing unit (CPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. The storage unit 2120 can be a memory. The display unit 2130 can be a display screen, etc. The communication unit 2140 can include a mobile communication unit and / or a wireless communication unit. The image acquisition unit can be a camera, etc. The audio unit can include a microphone, a speaker, etc.

[0270] For example, the processing unit 2110 is a processor (such as the processor 11 shown in FIG. 1), the storage unit 2120 can be a memory (such as the internal memory 13 shown in FIG. 1), the display unit 2130 can be a display screen (such as the display screen 194 shown in FIG. 1), and the communication unit 2140 can include a mobile communication unit (such as the mobile communication module 16 shown in FIG. 1) and a wireless communication unit (such as the wireless communication module 17 shown in FIG. 1). Figure 11 Figure 11 Figure 11 Figure 11 Figure 11 Figure 11 ​​​​​a camera 193) shown. The audio unit can be an audio module (e.g. Figure 11 an audio module 18) shown. The terminal device 2100 provided by the embodiments of the present application can be a terminal device 10) shown. The processor, the memory, the display screen, the camera, the audio module, the mobile communication unit, the wireless communication unit, etc. can be connected together, for example, through a bus. Figure 11

[0271] The embodiments of the present application also provide a chip system, which includes at least one processor and at least one interface circuit. The processor and the interface circuit can be interconnected through a line. For example, the interface circuit can be used to receive signals from other devices (e.g. the memory of the terminal device). For another example, the interface circuit can be used to send signals to other devices (e.g. the processor). Illustratively, the interface circuit can read instructions stored in the memory and send the instructions to the processor. When the instructions are executed by the processor, the terminal device can perform various steps in the above embodiments. Of course, the chip system can also include other discrete devices, which are not limited in the embodiments of the present application.

[0272] The embodiments of the present application also provide a computer readable storage medium, which includes computer instructions, when the computer instructions run on the above electronic device, make the electronic device perform various functions or steps performed by the mobile phone in the above method embodiments.

[0273] The embodiments of the present application also provide a computer program product, when the computer program product runs on the computer, make the computer perform various functions or steps performed by the mobile phone in the above method embodiments.

[0274] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above-mentioned division of functional modules is taken as an example for illustration, and in actual application, the above-mentioned functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

[0275] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules or units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another device, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units or components shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, and can be electrical, mechanical or other forms.​

[0276] The units described as separate components may or may not be physically separate, and the components displayed as units may be one physical unit or multiple physical units, that is, may be located in one place, or also may be distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.

[0277] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present alone, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0278] The integrated unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a readable storage medium. Based on such understanding, the technical scheme of the embodiments of the present application essentially or the part that contributes to the prior art or the whole or part of the technical scheme can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions to make a device (which can be a single-chip microcomputer, a chip, etc.) or a processor execute all or part of the steps of the method described in the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various program code storage media.

[0279] The above is only a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any change or replacement within the technical scope disclosed in the present application should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A method for managing dial resources, characterized in that, The method is applied to a terminal device, and a first application program is installed on the terminal device, and the method comprises the following steps: The terminal device displays a first user interface of the first application program; The terminal device receives a first operation of a user on the first user interface; the first operation is used to open a watch face market, and the watch face market is used to manage watch face resources, and the watch face resources are used to generate a watch face of a wearable device; After receiving the first operation, the terminal device obtains a page format of a watch face market webpage from a server; the page format comprises at least one of a style, an icon and a font of the webpage; The terminal device loads a page of the watch face market webpage according to the page format of the watch face market webpage; The terminal device obtains information of watch face resources corresponding to a first wearable device from a server; The terminal device displays the watch face resources corresponding to the first wearable device on the watch face market webpage.

2. The method of claim 1, wherein, The terminal device obtains a page format of a watch face market webpage from a server, which comprises the following steps: The terminal device requests the server to obtain the page format of the watch face market webpage; The terminal device receives a format file from the server; the format file is used to define the page format of the watch face market webpage.

3. The method of claim 1, wherein, The terminal device obtains information of watch face resources corresponding to a first wearable device from a server, which comprises the following steps: The terminal device sends a first request to the server; the first request is used to request to query the information of the watch face resources corresponding to the first wearable device, and the device model of the first wearable device is included in the first request; The terminal device receives the information of the watch face resources corresponding to the device model of the first wearable device from the server.

4. The method of claim 3, wherein, The terminal device obtains information of watch face resources corresponding to a first wearable device from a server, which comprises the following steps: The watch face market webpage obtains the device model of the first wearable device from the first application program through a native interface of the first application program; The watch face market webpage sends the first request to the server; The watch face market webpage receives the information of the watch face resources corresponding to the device model of the first wearable device from the server.

5. The method of claim 4, wherein, The method further comprises the following steps: The watch face market webpage obtains information of watch face resources that have been downloaded, installed and currently enabled by the first wearable device from the first application program through a native interface of the first application program.

6. The method according to any one of claims 1 to 5, characterized in that, The terminal device displays the watch face resources corresponding to the first wearable device on the watch face market webpage, which comprises the following steps: The terminal device combines the watch face resources corresponding to the first wearable device obtained from the server and the watch face resources that have been downloaded, installed and currently enabled by the first wearable device; The terminal device displays the combined watch face resources on the watch face market webpage.

7. The method according to any one of claims 1 to 6, characterized in that, Before the terminal device obtains the information of the watch face resources corresponding to the first wearable device from the server, the method further comprises the following steps: The terminal device sends an identifier of the first application program and a verification code to the server; the verification code is a dynamic password allocated to the user for the current login process after the user logs in the first application program. If it is determined that the server fails to check the check code, the terminal device displays a user login interface of the first application program.

8. The method according to any one of claims 1 to 7, characterized in that, The method further comprises: The watch face market webpage receives an operation of a user purchasing a first watch face resource; the first watch face resource is one of watch face resources corresponding to the first wearable device displayed on the watch face market webpage; The watch face market webpage sends a watch face purchase request to a server; the watch face purchase request is used to request the server to initiate a process of purchasing the first watch face resource; The watch face market webpage receives a first purchase order number from the server; the first purchase order number is a purchase order number corresponding to the first watch face resource; The watch face market webpage requests the first application program to create a payment order corresponding to the first purchase order number through a native interface of the first application program; The watch face market webpage acquires a first payment order number from the first application program through the native interface of the first application program; the first payment order number is a payment order number corresponding to the first purchase order number; The watch face market webpage requests the first application program to initiate a payment process corresponding to the first payment order number through the native interface of the first application program; If the watch face market webpage determines that the payment corresponding to the first payment order number is successful through the native interface of the first application program, the watch face market webpage determines that the first watch face resource has been successfully purchased.

9. The method according to any one of claims 1 to 8, characterized in that, The method further comprises: The watch face market webpage receives an operation of a user downloading a second watch face resource; the second watch face resource is a free watch face resource or a watch face resource that has been successfully purchased; The watch face market webpage requests the first application program to download the second watch face resource through the native interface of the first application program; The first application program requests the server to download the second watch face resource; The first application program downloads the second watch face resource from the server; The first application program notifies the watch face market webpage that the downloading of the second watch face resource has been completed through the native interface of the first application program.

10. The method of claim 9, wherein, The method further comprises: The watch face market webpage receives an operation of a user installing the second watch face resource; The watch face market webpage requests the first application program to install the second watch face resource through the native interface of the first application program; The first application program pushes the second watch face resource to the first wearable device.

11. A terminal device, comprising: Comprise: A processor, a display screen and a memory; The memory stores one or more computer programs comprising instructions which, when executed by the terminal device, cause the terminal device to perform the method of any one of claims 1-10.

12. A computer-readable storage medium, characterized in that, Comprise computer instructions; when the computer instructions run on an electronic device, cause the electronic device to perform the method of any one of claims 1-10.

Citation Information

Patent Citations

  • Dial display control method and device, wearable equipment and storage medium

    CN113835605A

  • Method and system for bookmarking a webpage

    US20170052994A1