Dial plate resource management method, terminal equipment and system
By integrating the dial market web page on the terminal device and using a unified standard interface to communicate with the application program, the problem of poor reusability of the dial market in the prior art is solved, and the reuse and expansion of the dial market functions are realized, reducing development and maintenance costs.
Patent Information
- Application Number
- CN202311310319.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-10
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2043-10-10
AI Technical Summary
The existing watch face market has poor reusability and requires the development of the watch face market separately for each operating system and each application, resulting in higher development and maintenance costs.
By integrating the watch face market web page on the terminal device, using a unified standard interface to communicate with the native interface of the application, the watch face market is reused and expanded, making it suitable for different operating systems and applications.
It realizes the reuse and expansion of the dial market functions, reduces development and maintenance costs, and facilitates users to provide personalized dial resources for wearable devices.
Smart Images

Figure CN119847386A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a dial resource management method, terminal device and system. Background Art
[0002] Smart watches, smart bracelets and other wearable devices are used more and more frequently in daily life, and users have more and more personalized needs for wearable devices. For example, smart watches, smart bracelets and other wearable devices can provide dials with various patterns and styles to meet the diverse and personalized needs of users.
[0003] The watch face market is a service that provides users with functions such as querying and downloading online watch face resources. Users can query online watch face resources, download watch face resources, install watch faces for wearable devices, delete downloaded watch face resources, etc. through the watch face market to realize personalized skinning for wearable devices.
[0004] Currently, the reusability of the watch face market is poor. A set of watch face markets cannot be reused between different applications and different operating systems. Generally speaking, developers who need a watch face market need to develop a corresponding watch face market for each operating system and each application separately, which has high development and maintenance costs. Summary of the invention
[0005] The embodiments of the present application provide a dial resource management method, terminal device and system, which can provide a dial market that can be reused in various operating systems and various applications, thereby reducing the cost of developing and maintaining the dial market.
[0006] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:
[0007] In a first aspect, a dial resource management method is provided, which is applied to a terminal device, and a first application is installed on the terminal device, and the method includes: the terminal device displays a first user interface of a first application (such as a sports health app, a theme app, etc.); the terminal device receives a first operation of a user on the first user interface, and the first operation is used to open a dial market, and the dial market is used to manage dial resources, and the dial resources are used to generate a dial for a wearable device. After receiving the first operation, the terminal device obtains the page format of the dial market webpage from the server; the page format includes at least one of the style, icon and font of the webpage; the terminal device loads the page of the dial market webpage according to the page format of the dial market webpage; the terminal device obtains information about the dial resources corresponding to the first wearable device from the server; the terminal device displays the dial resources corresponding to the first wearable device on the dial market webpage.
[0008] In this method, the dial market is integrated into the application in the form of a web page, rather than in the form of an SDK. In this way, the dial market web page can communicate with the native interface of the application using a unified standard interface. For different applications, the dial market web page can be accessed using a unified standard. In this way, the same set of dial market functions can be applied to different applications and different operating systems. There is no need to develop a separate dial market for various applications or different operating systems, which makes it easy to reuse and expand the dial market functions.
[0009] In combination with the first aspect, in a possible implementation, the terminal device obtains the page format of the watch dial market webpage from the server, including: the terminal device requests the server to obtain the page format of the watch dial 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 dial market webpage.
[0010] Since the watch face market is integrated into the application in the form of a web page, you need to first obtain the page format of the web page, and then load the web page according to the page format. In contrast, if the watch face market is implemented in the form of an SDK, you need to define the user interface format in the SDK instead of obtaining the page format of the web page from the server.
[0011] In combination with the first aspect, in a possible implementation, the terminal device obtains information about the dial resources corresponding to the first wearable device from the server, including: the terminal device sends a first request to the server; the first request is used to request information about the dial resources corresponding to the first wearable device, and the first request includes the device model of the first wearable device; the terminal device receives information about the dial resources corresponding to the device model of the first wearable device from the server.
[0012] In this method, the dial resources provided by the dial market correspond to the model of the wearable device. Different models of wearable devices may have different shapes, sizes, image resolutions, etc. of the display screens of the wearable devices. The dial resources provided by the dial market correspond to the models of the wearable devices, that is, the dial market provides dial resources corresponding to the shape, size, and image resolution of the display screens of the wearable devices. This improves the user experience.
[0013] In combination with the first aspect, in a possible implementation, the terminal device obtains information about the dial resources corresponding to the first wearable device from the server, including: the dial market webpage obtains the device model of the first wearable device from the first application through the native interface of the first application; the dial market webpage sends a first request to the server; the dial market webpage receives information about the dial resources corresponding to the device model of the first wearable device from the server.
[0014] In this method, since the watch face market is integrated into the application in the form of a web page, the watch face market web page 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] In combination with the first aspect, in a possible implementation, the method further includes: the watch face market webpage obtains information about watch face resources that have been downloaded, installed, and currently enabled by the first wearable device from the first application through the native interface of the first application.
[0016] In combination with the first aspect, in a possible implementation, the terminal device displays the dial resources corresponding to the first wearable device on the dial market webpage, including: the terminal device merges the dial resources corresponding to the first wearable device obtained from the server with the dial resources that have been downloaded, installed and currently enabled for the first wearable device; the terminal device displays the merged dial resources on the dial 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] In combination with the first aspect, in a possible implementation, before the terminal device obtains the information of the dial resources corresponding to the first wearable device from the server, the method also includes: the terminal device sends the identifier of the first application and a verification code to the server; the verification code is a dynamic password assigned to the user for this login process after the user logs into the first application; if it is determined that the server fails to verify the verification code, the terminal device displays the user login interface of the first application.
[0019] In combination with the first aspect, in a possible implementation, the method also includes: the dial market webpage receives an operation by a user to purchase a first dial resource; the first dial resource is one of the dial resources displayed on the dial market webpage and corresponding to the first wearable device; the dial market webpage sends a request to purchase a dial to the server; the request to purchase a dial is used to request the server to initiate a process for purchasing the first dial resource; the dial market webpage receives a first purchase order number from the server; the first purchase order number is the purchase order number corresponding to the first dial resource; the dial 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 dial market webpage obtains the first payment order number from the first application through the native interface of the first application; the first payment order number is the payment order number corresponding to the first purchase order number; the dial 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 dial market webpage determines through the native interface of the first application that the payment corresponding to the first payment order number is successful, the dial market webpage determines that the first dial resource has been successfully purchased.
[0020] In this method, the watch face market webpage provides a purchase function for watch face resources.
[0021] In combination with the first aspect, in a possible implementation, the method also includes: the dial market webpage receives an operation from a user to download a second dial resource; the second dial resource is a free dial resource or a dial resource that has been successfully purchased; the dial market webpage requests the first application to download the second dial resource through the native interface of the first application; the first application requests the server to download the second dial resource; the first application downloads the second dial resource from the server; the first application notifies the dial market webpage through the native interface of the first application that the download of the second dial resource has been completed.
[0022] In this method, the watch face market webpage provides a download function for watch face resources.
[0023] In combination with the first aspect, in a possible implementation, the method also includes: the watch dial market webpage receives an operation from a user to install a second watch dial resource; the watch dial market webpage requests the first application to install the second watch dial resource through the native interface of the first application; and the first application pushes the second watch dial resource to the first wearable device.
[0024] In this method, the watch face market webpage provides the installation function of the watch face resource.
[0025] In a second aspect, an electronic device is provided, which has the function of implementing the method described in the first aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0026] In a third aspect, an electronic device is provided, comprising: a processor and a memory; the memory is used to store computer execution instructions, and when the electronic device is running, the processor executes the computer execution instructions stored in the memory to enable the electronic device to perform a method as described in any one of the above-mentioned first aspects.
[0027] In a fourth aspect, an electronic device is provided, comprising: a processor; the processor is used to couple with a memory, and after reading instructions in the memory, execute a method as described in any one of the above-mentioned first aspects according to the instructions.
[0028] In a fifth aspect, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is executed on a computer, the computer can execute any of the methods described in the first aspect.
[0029] In a sixth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute any of the methods described in the first aspect.
[0030] In a seventh aspect, a device (for example, the device may be a chip system) is provided, the device including a processor for supporting an electronic device to implement the functions involved in the first aspect above. In one possible design, the device also includes a memory for storing program instructions and data necessary for the electronic device. When the device is a chip system, it may be composed of a chip, or may include a chip and other discrete devices.
[0031] Among them, the technical effects brought about by any design method in the second to seventh aspects can refer to the technical effects brought about by different design methods in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 A schematic diagram of a system architecture applicable to the dial resource management method provided in an embodiment of the present application;
[0033] Figure 2 A schematic diagram of a scenario example of the dial resource management method provided in an embodiment of the present application;
[0034] Figure 3 A schematic diagram of a scenario example of the dial resource management method provided in an embodiment of the present application;
[0035] Figure 4 A schematic diagram of a scenario example of the dial resource management method provided in an embodiment of the present application;
[0036] Figure 5 A schematic diagram of a scenario example of the dial resource management method provided in an embodiment of the present application;
[0037] Figure 6 A schematic diagram of a scenario example of the dial resource management method provided in an embodiment of the present application;
[0038] Figure 7 A schematic diagram of a scenario example of the dial resource management method provided in an embodiment of the present application;
[0039] Figure 8 A schematic diagram of a scenario example of the dial resource management method provided in an embodiment of the present application;
[0040] Fig. 9 A schematic diagram of a scenario example of the dial resource management method provided in an embodiment of the present application;
[0041] Fig.10 A schematic diagram of a scenario example of the dial resource management method provided in an embodiment of the present application;
[0042] Fig.11 A schematic diagram of the hardware structure of a terminal device provided in an embodiment of the present application;
[0043] Fig.12 A schematic diagram of a dial market implementation method;
[0044] Fig.13 A schematic diagram of an implementation method of a dial resource management method provided in an embodiment of the present application;
[0045] Fig.14 A schematic diagram of a composition structure of a network architecture applicable to the dial resource management method provided in an embodiment of the present application;
[0046] Fig.15 A schematic diagram of a flow chart of a dial resource management method provided in an embodiment of the present application;
[0047] Fig.16 A schematic diagram of a flow chart of a dial resource management method provided in an embodiment of the present application;
[0048] Fig.17 A schematic diagram of a flow chart of a dial resource management method provided in an embodiment of the present application;
[0049] Fig.18 A schematic diagram of a flow chart of a dial resource management method provided in an embodiment of the present application;
[0050] Fig.19 A schematic diagram of a scenario example of the dial resource management method provided in an embodiment of the present application;
[0051] Fig. 20 A schematic diagram of a flow chart of a dial resource management method provided in an embodiment of the present application;
[0052] Fig.21 A schematic diagram of the structural composition of a terminal device provided in an embodiment of the present application. 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 specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and the appended claims of the present application, the singular expressions "a", "said", "above", "the" and "this" are intended to also include such expressions as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more (including two). The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are a kind of "or" relationship.
[0054] References to "one embodiment" or "some embodiments" etc. described in this specification mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Thus, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. The term "connection" includes direct connection and indirect connection, unless otherwise specified. "First" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
[0055] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0056] The dial resource management method provided in the embodiment of the present application can be applied to Figure 1 The system architecture shown. 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 exchange information, transmit data, etc. through wireless communication methods such as Bluetooth and wireless fidelity (Wi-Fi). The terminal device 10 and the server 20 can communicate through wired or wireless communication methods.
[0057] Among them, the terminal device 10 is used to provide a dial market, and the dial market is used to manage dial resources, that is, to provide users with functions such as query, download, purchase, install, and delete dial resources for wearable devices 30. Generally speaking, the dial market is integrated into an application (application, App) on the terminal device 10. For example, the dial market can be integrated into apps such as sports health App and theme App. Users can open the dial market through the user interface of the App, and query, download, purchase, install or delete dial resources through the user interface of the dial market. Exemplarily, the terminal device 10 may include a mobile phone, a tablet computer, a laptop computer, a personal computer (personal computer, PC), an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a handheld computer, a netbook, a smart home device (for example, a smart TV, a smart screen, a large screen, a smart speaker, etc.), a personal digital assistant (personal digital assistant, PDA), a car-mounted device, etc., and the embodiments of the present application do not impose any restrictions on this.
[0058] The server 20 is used to provide online resources and capabilities in the cloud. For example, the server 20 can be used to save and distribute watch face resources, provide sports and health services, and perform payment management. For example, the server 20 can be a cloud server. In one example, after the watch face developer uploads the watch face resources to the server 20, the server 20 saves and manages these watch face resources. The terminal device 10 can request the server 20 to obtain watch face resource information, download watch face resources, etc.
[0059] It should be noted that the server 20 may be a single server, or may include multiple independent servers or server clusters. For example, the server 20 includes a server for storing dial resources; a server for distributing dial resources, such as a content delivery network (CDN); a server for theme management; a server for identity authentication; a server for copyright management; a server for payment management; a server for managing sports and health functions, etc. Of course, servers with these functions can be combined, merged or split arbitrarily according to actual conditions.
[0060] The wearable device 30 may be a smart watch, a smart bracelet, etc. The wearable device 30 may obtain a watch face resource from a watch face market provided by the terminal device 10 and install and display the watch face.
[0061] In the embodiment of the present application, the terminal device 10 is a mobile phone and the wearable device 30 is a smart watch. Various apps are installed on the mobile phone 10, such as sports health apps, theme apps, etc. In one example, the dial market is integrated into the sports health app. The user can open the dial market through the user interface of the sports health app.
[0062] For example, Figure 2 As shown, the mobile phone 10 displays a desktop interface, and the desktop interface includes the icon "Sports Health" of the Sports Health App. In response to the user clicking the "Sports Health" icon, the mobile phone 10 displays the user interface 101 of Sports Health. The user interface 101 includes information about devices that have been successfully paired with the mobile phone 10; for example, the information page 102 is used to display the information of watch 1, and the information page 103 is used to display the information of watch 2. Exemplarily, in response to the user clicking the information page 102, the mobile phone 10 displays the "Watch 1" interface 104. The "Watch 1" interface 104 includes the connection status information, power information, exercise information, etc. of the watch 1. The "Watch 1" interface 104 also includes a "Watch Dial Market" option 105 for opening the watch dial market. For example, after receiving the user's click operation on the "Watch Face Market" option 105, the mobile phone 10 opens the watch face market; the mobile phone 10 obtains the watch face resources corresponding to the watch 1 from the server 30, and displays the information of the watch face resources corresponding to the watch 1 in the user interface; illustratively, in response to the user's click operation on the "Watch Face Market" option 105, the mobile phone 10 displays the "Watch Face Market" interface 106, and the "Watch Face Market" interface 106 is used to display the watch face resources corresponding to the watch 1. In one example, Figure 2As shown, the "watch dial market" interface 106 includes a "recommendation" page and a "my" page. The "recommendation" page is used to display the watch dial resources recommended to the user and applicable to the watch 1, and the "my" page is used to display the information of the watch dial resources of the watch 1. For example, the "recommendation" page includes a "hottest recommendation" page 107, and the "hottest recommendation" page 107 includes icons of multiple watch dial resources applicable to the watch 1. In other examples, in response to the user's click operation on the "hot selling list" option, the mobile phone 10 displays the icons of the watch dial resources corresponding to the watch 1 in the order of the sales volume of the watch dial resources from high to low; in response to the user's click operation on the "new product list" option, the mobile phone 10 can display the icons of the watch dial resources corresponding to the watch 1 in the order of the release time of the watch dial resources; in response to the user's click operation on the "free" option, the mobile phone 10 can display the icons of the free watch dial resources corresponding to the watch 1; in response to the user's click operation on the "sports" option, the mobile phone 10 can display the icons of the watch dial resources of the "sports" theme corresponding to the watch 1, etc. That is to say, the mobile phone 10 can provide a query function for online watch face resources, and the user can query the watch face resources applicable to the wearable device 30 through the watch face market.
[0063] In some embodiments, the dial resources provided by the dial market correspond to the model of the wearable device 30. The shape, size, image resolution, etc. of the display screen of the wearable device 30 may be different for different models of the wearable device 30. The dial resources provided by the dial market correspond to the model of the wearable device 30, that is, the dial market provides dial resources corresponding to the shape, size, and image resolution of the display screen of the wearable device 30.
[0064] For example, Figure 2 As shown, the display screen of the watch 1 is circular, and accordingly, the dial image displayed in the "Dial Market" interface 106 is also circular.
[0065] In one example, if Figure 3 As shown, the user interface 101 receives a click operation on the information page 103 from the user, and in response to the click operation on the information page 103, the mobile phone 10 displays the "Watch 2" interface 108. The "Watch 2" interface 108 includes the connection status information, power information, exercise information, etc. of the watch 2. The "Watch 2" interface 108 also includes a "Watch Dial Market" option 109, which is used to open the watch dial market. After the mobile phone 10 receives the user's click operation on the "Watch Dial Market" option 109, the mobile phone 10 opens the watch dial market; the mobile phone 10 obtains the watch dial resources corresponding to the watch 2 from the server 30, and displays the information of the watch dial resources corresponding to the watch 2 in the user interface; illustratively, in response to the user's click operation on the "Watch Dial Market" option 109, the mobile phone 10 displays the "Watch Dial Market" interface 10a, and the "Watch Dial Market" interface 10a is used to display the watch dial resources corresponding to the watch 2. As shown Figure 3As shown, the "Watch Face Market" interface 10a includes a "Recommendation" page and a "My" page. The "Recommendation" page is used to display watch face resources recommended to the user and suitable for the watch 2. For example, the "Recommendation" page includes a "Hottest Recommendation" page 10b. Figure 3 As shown, the display screen of the watch 2 is rectangular, and accordingly, 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 accordingly, the dial image is also square. Figure 4 As shown, the dial image displayed in the "Watch Dial Market" interface 10c is square.
[0067] The user can select one of the watch face resources displayed in the watch face market user interface and install it on the wearable device 30. The wearable device 30 can download and install the watch face resource and display the corresponding watch face.
[0068] In some scenarios, the watch face resource selected by the user is free or has been purchased. After receiving the user's operation of selecting the watch face resource, the terminal device notifies the wearable device to download and install the watch face resource. For example, Figure 5 As shown, the mobile phone 10 displays the "watch dial market" interface 106, in which the "hottest recommendation" page 107 displays multiple watch dial resource icons corresponding to the watch 1, among which the watch dial resource corresponding to the watch dial icon 1071 is free. After receiving the user's click operation on the watch dial icon 1071, the mobile phone 10 downloads the watch dial resource corresponding to the watch dial icon 1071 from the server 20, and notifies the watch 1 (wearable device 30) to download the watch dial resource corresponding to the watch dial icon 1071. The watch 1 (wearable device 30) downloads and installs the watch dial resource corresponding to the watch dial icon 1071, and displays the watch dial.
[0069] In other scenarios, the dial resource selected by the user needs to be purchased. After receiving the user's operation of selecting the dial resource, the terminal device initiates the process of purchasing the dial resource. For example, Figure 6As shown, the mobile phone 10 displays the "watch dial market" interface 106, wherein the "most recommended" page 107 displays multiple watch dial resource icons corresponding to the watch 1, wherein the watch dial resource corresponding to the watch dial icon 1072 needs to be purchased for a fee. In response to the user's click operation on the watch dial icon 1072, the mobile phone 10 displays the information page 110, and the information page 110 is used to display the information of the watch dial resource corresponding to the watch dial icon 1072. For example, the information page 110 displays the pattern, style, name, price, designer, size and other information of the watch dial resource. Exemplarily, the information page 110 includes a "buy" button 111, and in response to the user's click operation on the "buy" button 111, the mobile phone 10 displays a "payment" page 112, and the "payment" page 112 is used to receive the user's payment operation. After determining that the user has successfully paid, the watch dial resource is successfully purchased.
[0070] After the watch face resource is purchased successfully, the terminal device can download the watch face resource from the server. Figure 7 As shown, after determining that "Sunny Mood" has been purchased, the mobile phone 10 displays a download interface 114, which includes a "Download" button 115. The user can click the "Download" button 115 to download the "Sunny Mood" watch face resource. Exemplarily, in response to the user clicking the "Download" button 115, the mobile phone 10 downloads "Sunny Mood" from the server 20. Optionally, the text on the "Download" button 115 can display the download progress in real time.
[0071] After the dial resource is downloaded, if the terminal device receives an operation from the user to install the dial resource, the terminal device notifies the wearable device to download and install the dial resource. Figure 8 As shown, after the download of "Sunny Mood" is completed, the mobile phone 10 displays the installation interface 116, and the installation interface 116 includes an "Install" button 117. The user can click the "Install" button 117 to install "Sunny Mood" on the watch 1. Exemplarily, in response to the user's click operation on the "Install" button 117, the mobile phone 10 notifies the watch 1 (wearable device 30) to download the dial resources corresponding to "Sunny Mood". The watch 1 (wearable device 30) downloads and installs the dial resources corresponding to "Sunny Mood" and displays the dial. Optionally, the text on the "Install" button 117 can display the progress of the watch 1 installing the dial resources in real time.
[0072] In some embodiments, the dial market of the terminal device can provide the user with information about the dial resources that have been installed on the wearable device. In other words, the user can query the information about the dial resources that have been installed on the wearable device on the user interface of the dial market. For example, Fig. 9As shown, the mobile phone 10 displays the "Watch Face Market" interface 106, which includes a "My" page for displaying information about the watch face resources corresponding to the watch 1. For example, the "My" page includes an "Edit" page 118, and the "Edit" page 118 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 of the watch face resources and delete it. For example, Fig. 9 As shown, the “Edit” page 118 includes an icon 1181 of a dial resource and a “Delete” button 1182 corresponding to the icon 1181. In response to receiving a click operation of the user on the “Delete” button 1182, the mobile phone 10 deletes the dial resource corresponding to the icon 1181. Further, the watch 1 (wearable device 30) deletes the dial resource corresponding to the icon 1181.
[0073] In some embodiments, the dial resources in the dial market can be generated locally by the terminal device. Fig.10 As shown, the "Edit" page 118 includes an "Album" icon 1183. In response to the user clicking the "Album" icon 1183, the mobile phone 10 displays the "Album" interface 120. The "Album" interface 120 includes an "Add" button 121, which is used to add a local picture to generate a dial resource. Optionally, the "Album" interface 120 also includes the dial resource of the watch 1 that has been locally generated by the mobile phone 10. For example, the "Album" interface 120 includes an icon 122 of a dial resource, and the dial resource corresponding to the icon 122 is the dial resource of the watch 1 that has been locally generated by the mobile phone 10. Optionally, the "Album" interface 120 also includes a "Background" button, a "Style" button, a "Location" button, etc., wherein the "Background" button is used to modify the background of the picture in the dial, the "Style" button is used to modify the style of the dial, and the "Location" button is used to add location information in the dial, etc. Exemplarily, in response to the user clicking the "Add" button 121, the "Select Picture" page 123 is displayed on the "Album" interface 120. The "Select Picture" page 123 includes a "Photo" option 1231 and a "Select from Mobile Album" option 1232; the "Photo" option 1231 is used to start the camera and take a picture to generate a dial resource; the "Select from Mobile Album" option 1232 is used to select a picture from the pictures locally stored on the mobile phone to generate a dial resource. In this way, the user can take a picture through the mobile phone camera or select a picture on the mobile phone to customize the dial resource.
[0074] Referring to the above-mentioned specific scenario examples, the dial resource management method provided in the embodiment of the present application, the terminal device provides a dial market, and provides users with online dial resource query, purchase, download, installation, deletion and other functions, which can realize convenient and fast skin changing services for wearable devices.
[0075] For example, Fig.11 1 is a schematic diagram of the structure of the terminal device 10. The terminal device 10 may 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, an earphone interface 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 may also include: a sensor module, a key module, etc., wherein the sensor module may include a temperature sensor, an ambient light sensor, a touch sensor, etc.; the key module may include a power button, a volume button, etc.
[0076] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the terminal device 10. In other embodiments, the terminal device 10 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0077] The processor 11 may include one or more processing units, for example, the processor 11 may include an application processor (AP), a modem processor, a graphics processor (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 may be independent devices or integrated into one or more processors.
[0078] The controller may be the nerve center and command center of the terminal device 10. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0079] The processor 11 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 11 is a cache memory. The memory may store instructions or data that the processor 11 has just used or cyclically used. If the processor 11 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 11, and thus improves the efficiency of the system.
[0080] In some embodiments, the processor 11 may include one or more interfaces. The interface may 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 is understandable that the interface connection relationship between the modules illustrated in this embodiment is only a schematic illustration and does not constitute a structural limitation on the terminal device. In other embodiments, the terminal device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0082] The charging management module 15 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 15 may receive charging input from a wired charger through the USB interface 14. In some wireless charging embodiments, the charging management module 15 may receive wireless charging input through a wireless charging coil of the terminal device. While the charging management module 15 is charging the battery 152, it may also power the terminal device through the power management module 151.
[0083] The power management module 151 is used to connect the battery 152, the charging management module 15 and the processor 11. The power management module 151 receives input from the battery 152 and / or the charging management module 15, and supplies power to the processor 11, the internal memory 13, the external memory, the display screen 194, the camera 193, and the wireless communication module 17. The power management module 151 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 151 can also be set in the processor 11. In other embodiments, the power management module 151 and the charging management module 15 can also be set in the same device.
[0084] The wireless communication function of the terminal device 10 can be implemented through the antenna 1, the antenna 2, the mobile communication module 16, the wireless communication module 17, the modem processor and the baseband processor.
[0085] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal device 10 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0086] The mobile communication module 16 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the terminal device 10. The mobile communication module 16 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 16 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 16 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 16 can be set in the processor 11. In some embodiments, at least some of the functional modules of the mobile communication module 16 can be set in the same device as at least some of the modules of the processor 11.
[0087] The modulation and demodulation processor may include a modulator and a demodulator, wherein the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal, and the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
[0088] The wireless communication module 17 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to 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 the frequency of the electromagnetic wave signal and performs filtering processing, and sends the processed signal to the processor 11. The wireless communication module 17 can also receive the signal to be sent from the processor 11, modulate the frequency of the signal, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0089] In some embodiments, the antenna 1 of the terminal device 10 is coupled to the mobile communication module 16, and the antenna 2 is coupled to the wireless communication module 17, so that the terminal device 10 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may 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. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0090] In the embodiment of the present application, the terminal device 10 communicates wirelessly with the server 20 or the wearable device 30 through the wireless communication function to transmit data, files, etc. For example, the terminal device 10 can communicate with the server 20 via Wi-Fi; for example, the terminal device 10 can communicate with the wearable device 30 via Bluetooth.
[0091] The terminal device 10 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 11 may include one or more GPUs, which execute program instructions to generate or change display information.
[0092] The display screen 194 is used to display images, videos, etc. For example, it is used to display the user interface of the sports health app, display the dial market user interface, etc. 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 or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), Mini-LED, Micro-OLED, Micro-OLED, quantum dot light emitting diodes (QLED), etc.
[0093] The terminal device 10 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0094] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the 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 ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.
[0095] Camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the 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 optical signal into an electrical signal, and then transmits the electrical signal to the ISP for conversion 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 an image signal in a standard RGB, YUV or other format. In some embodiments, the terminal device may include 1 or N cameras 193, where N is a positive integer greater than 1. For example, in an embodiment of the present application, pictures can be taken by camera 193 for local generation of dial resources on the terminal device 10.
[0096] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the terminal device is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0097] Video codecs are used to compress or decompress digital videos. The terminal device 10 may support one or more video codecs. In this way, the terminal device can play or record videos in multiple coding formats, such as moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0098] NPU is a neural network (NN) computing processor. It can quickly process input information and continuously self-learn by drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain. NPU can realize applications such as intelligent cognition of terminal devices, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0099] The terminal device 10 can implement audio functions such as music playing and recording through the audio module 18, the speaker 18A, the receiver 18B, the microphone 18C, the headphone interface 18D, and the application processor.
[0100] The audio module 18 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into 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 some functional modules of the audio module 18 can be arranged in the processor 11. The speaker 18A, also known as the "speaker", is used to convert audio electrical signals into sound signals. The receiver 18B, also known as the "earpiece", is used to convert audio electrical signals into sound signals. The microphone 18C, also known as the "microphone" or "microphone", is used to convert sound signals into electrical signals. The headphone jack 18D is used to connect wired headphones. The headphone jack 18D can be a USB interface 14, or it can be a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, the American Cellular Telecommunications Industry Association (cellular telecommunications industry association of the USA, CTIA) standard interface.
[0101] The external memory interface 12 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity 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 are stored in the external memory card.
[0102] The internal memory 13 can be used to store computer executable program codes, which include instructions. The processor 11 executes various functional applications and data processing of the terminal device by running the instructions stored in the internal memory 13. For example, in an embodiment of the present application, the processor 11 can execute instructions stored in the internal memory 13, and the internal memory 13 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.). The data storage area can store data (such as video files) created during the use of the terminal device, etc. In addition, the internal memory 13 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0103] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. Indicator 192 can be an indicator light, which can be used to indicate the charging status, power changes, messages, missed calls, notifications, etc. SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the terminal device by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The terminal device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card, etc.
[0104] In the embodiment of the present application, the terminal device 10 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 system, system, System, etc.
[0105] Generally speaking, the watch face market is integrated into the App of the terminal device 10; for example, the watch face market can be integrated into the sports and health App; for example, the watch face market can be integrated into the theme App.
[0106] In one implementation, the watch face market is integrated into 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, it is necessary to develop a corresponding SDK for each App; there is no unified standard for the development of each SDK, and the style is not unified. For example, Fig.12 As shown, the terminal device is installed with apps such as Sports Health App and Theme App; the Sports Health App integrates the watch dial market SDK 1 through the native interface, so that the watch dial market can be displayed in the Sports Health App; the Theme App integrates the watch dial market SDK 2 through the native interface, so that the watch dial market can be displayed in the Theme App. Developers need to develop one set of watch dial market SDKs for the Sports Health App and one set of watch dial market SDKs for the Theme App; the watch dial market SDK cannot be reused between different apps. In addition, corresponding versions of the watch dial market SDK also need to be developed on different operating systems; for example, developers need to develop a watch dial market SDK for apps running on The system's sports health app developed a set of watch face market SDKs for running on The system's sports and health app develops a separate set of watch face market SDKs; the watch face market SDKs cannot be reused between different operating systems. The watch face market SDKs have poor reusability and scalability, which brings inconvenience to the development and operation and maintenance of the watch face market functions.
[0107] In the dial resource management method provided in the embodiment of the present application, the dial market is integrated into the App in the form of a web page. The dial market webpage provides the user interface of the dial market; the dial market webpage and the native interface of each App can use a unified standard interface for communication, and the dial market webpage uses a unified standard to access different Apps. In this way, the same set of dial market functions can be applied to different Apps and different operating systems, and the dial market functions can be reused and expanded conveniently.
[0108] For example, Fig.13 As shown, the terminal device 10 is installed with apps such as sports health app and theme app; the dial market webpage can be connected to the native interface of the sports health app through a standard interface, the dial market webpage can also be connected to the native interface of the theme app through the standard interface, and the dial market webpage can also be connected to other app native interfaces through the standard interface...; and the dial market webpage communicates with the theme cloud of the server 20 through the standard interface to obtain dial resources from the theme cloud. Since the dial market webpage is connected to the native interface of the app through a unified standard interface, the same set of dial market webpages can be applied to different apps and different operating systems, and there is no need to develop corresponding dial market functions for each app and operating system separately, thus realizing the expansion and reuse of capabilities.
[0109] The following takes the integration of the watch face market in the sports health app as an example, and describes in detail the watch face resource management method provided in the embodiment of the present application in combination with the accompanying drawings.
[0110] For example, Fig.14 A schematic diagram of the composition structure of a network architecture applicable to the dial resource management method provided in an embodiment of the present application is shown.
[0111] like Fig.14 As shown, a sports health App is installed on the terminal device 10. The sports health App provides an App native interface for connecting and communicating with other modules of the sports health App. A dial market webpage is integrated in the sports health App to provide a dial market function. In one implementation, the dial market webpage is an H5-based webpage, that is, a page built using H5. H5, also known as hypertext markup language 5 (HTML5), is a language description method for constructing web page content. In the case where the dial market webpage is an H5-based webpage, the communication interface between the dial market webpage and the sports health App is a standard interface based on H5, and the communication interface between the dial market webpage and the theme cloud is also a standard interface based on H5; in this case, the dial market webpage uses a unified standard interface to communicate with other modules, and a set of dial market webpages can be applicable to different apps and different operating systems, achieving reusability and scalability.
[0112] Optionally, some SDKs can be integrated into the sports health app to provide corresponding functions. For example, a payment SDK can be integrated into the sports health app to provide payment functions; for example, a Bluetooth SDK can be integrated into the sports health app to implement Bluetooth communication. Exemplarily, the sports health app can implement Bluetooth communication with the wearable device 30 through the Bluetooth SDK, and perform file transfer and data interaction with the wearable device 30 through Bluetooth.
[0113] The server 20 may include a theme cloud server, a sports and health cloud server, a payment cloud server, etc. Among them, the theme cloud server stores online dial resources; the theme cloud server can distribute online dial resources to the terminal device 10 through CDN; the theme cloud server also provides theme services for providing the terminal device 10 with services related to the dial market function. In one implementation, the theme cloud server also provides a web page management service for managing the page format of the dial market web page; for example, the page format includes the style, icon, font, etc. of the web page. The sports and health cloud server is used to provide sports and health services and manage sports and health functions. The payment cloud server is used to provide payment services and manage the payment process.
[0114] Combination Fig.14 The network architecture shown takes the terminal device 10 as a mobile phone, the sports health app on the mobile phone provides a dial market function, and the wearable device 30 is a watch as an example, and introduces in detail the dial resource management method provided in the embodiment of the present application.
[0115] In one scenario, the watch face market can provide a query function for watch face resources, and users can query watch face resources suitable for a certain watch through the watch face market. In one implementation, before obtaining the watch face resources on the watch face market webpage, the login status of the sports health app is first verified; if the verification passes, the watch face resources corresponding to the watch are obtained from the server; if the verification fails, the login process is started.
[0116] In one example, if Fig.15 As shown, the dial resource management method provided in the embodiment of the present application may include:
[0117] S401. The mobile phone receives an operation from a user to view the watch face market interface.
[0118] In one example, in the user interface of the sports health app, after the mobile phone receives the user's operation to open the dial market, it opens the dial market function and displays the dial market interface. Receiving the user's operation to open the dial market is equivalent to receiving the user's operation to view the dial market interface. Figure 2 In the scenario shown, the mobile phone 10 receives a click operation on the "Watch Face Market" option 105 from the user, and determines that the user's operation to open the Watch Face Market has been received.
[0119] In another example, in the dial market interface, after receiving the user's operation of sliding the page, the mobile phone turns the page and displays the next page of the dial market interface. Receiving the user's operation of sliding the page means receiving the user's operation of viewing the dial market interface.
[0120] S402: The sports health App requests the webpage management service to obtain the page format of the watch face market webpage.
[0121] In response to the mobile phone receiving the user's operation of viewing the watch face market interface, the sports health App requests the web page management service to obtain the page format of the watch face market web page.
[0122] It should be noted that for the convenience of description, Figure 15-19 When describing the steps in the flowchart shown, the native interface for the Sports Health App to interact with other modules is simply described as the Sports Health App. For example, in S402, the Sports Health App requests the webpage management service to obtain the page format of the dial market webpage, which means that the Sports Health App requests the webpage management service to obtain the page format of the dial market webpage through the native interface.
[0123] S403. The webpage management service sends the 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 the webpage style, 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 the app identifier and verification code.
[0128] Optionally, the watch face market webpage first verifies the login status of the sports health app. Among them, the App ID is used to uniquely identify an app. The verification code is the dynamic password assigned by the sports health service to the user during the login process after the user logs in to the sports health app; generally speaking, the verification code is a dynamic password that is valid for a preset period of time.
[0129] S406. The sports health App sends the App ID and verification code to the watch face market page.
[0130] Exemplarily, the App identifier is the identifier of the sports health App; if the user has successfully logged into the sports health App, the sports health App sends the dynamic password assigned to the user when logging into the sports health App to the watch dial market page, for example, the value of the verification code is AT1.
[0131] In one implementation, after the watch face market page receives the App ID and the verification code, it saves the App ID and the verification code.
[0132] In one implementation, if the dial market page fails to obtain the verification code, S420 is directly executed.
[0133] S407. The watch face market page sends the App ID and verification code to the theme service.
[0134] For example, the App ID is the ID of a sports health App; the verification code is AT1.
[0135] S408: The theme service verifies the received App ID and sends a verification code (AT1) to the sports health service.
[0136] S409, the sports health service verifies the received verification code (AT1); if the verification passes, the sports health service sends a verification success message and the user ID corresponding to the verification code to the theme service; if the verification fails, the sports health service sends a verification failure message to the theme service.
[0137] The sports health service receives the verification code from the theme service and compares the verification code with the dynamic password assigned to the user when the user logs in to the sports health app. If the received verification code is consistent with the dynamic password assigned to the user when the user logs in to the sports health app, the verification is successful; if the received verification code is inconsistent with the dynamic password assigned to the user when the user logs in to the sports health app, the verification fails.
[0138] S410. The theme service returns a verification result to the watch face market webpage, where the verification result includes success or failure.
[0139] In one implementation, if the verification result received by the dial market webpage is a failure, execute S420; if the verification result received by the dial market webpage is a success, execute S430.
[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 a user login interface.
[0142] The user login interface is used to log in to the sports health App. Exemplarily, the user login interface includes a first text box and a second text box, the first text box is used to receive a user identification, and the second text box is used to receive a login password.
[0143] S422: After receiving a login operation from the user on the user login interface, the sports health App requests the sports health service to verify the user's login.
[0144] Exemplarily, the login operation is to enter a user ID in the first text box and a login password in the second text box. The sports health App sends the received user ID and login password to the sports health service. The sports health service verifies the user ID and login password.
[0145] S423. The sports health service returns a login result to the sports health App, where the login result includes a successful login or a failed login.
[0146] If the verification is successful, the Sports Health Service assigns a dynamic password to the user for this login process; for example, the dynamic password value is AT2; further, the Sports Health Service returns a login success message to the Sports Health App, which includes the dynamic password assigned this time (for example, AT2). If the verification fails, the Sports Health Service returns a login failure message to the Sports Health App.
[0147] If the Sports Health App receives a login success, the process continues to execute S404 ; if the Sports Health App receives a login failure, the process continues to execute S421 .
[0148] After the verification result received by the dial market webpage is successful, the method further includes:
[0149] S430: The watch face 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 face market webpage.
[0151] In one implementation, the sports health app obtains the model of the watch that is connected to the mobile phone (for example, a Bluetooth connection is established), and returns the watch model to the watch face market webpage.
[0152] S432: The dial market webpage requests the theme service to query the information of the dial resource corresponding to the watch model.
[0153] In one implementation, the dial market webpage carries an App ID and a verification code in the request message; for example, the App ID is the ID of a sports health App, and the verification code is AT1. The dial market webpage also carries a watch model in the request message.
[0154] S433: The theme service verifies the received App ID and sends a verification code (AT1) to the sports health service.
[0155] Optionally, the theme service verifies the received App ID and sends a 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 a verification success message and the user ID corresponding to the verification code to the theme service; if the verification fails, the sports health service sends a verification failure message to the theme service.
[0157] S435. After receiving the verification success information, the theme service queries the corresponding dial resource information according to the watch model.
[0158] Different watch models may have different shapes, sizes, image resolutions, etc. of the watch display. The theme service searches the watch face resources saved in the theme cloud server for watch face resources that are compatible with the shape, size, and image resolution of the watch display based on the watch model.
[0159] In one example, the dial resources corresponding to the watch model include free dial resources and paid dial resources, and the paid dial resources include purchased dial resources and unpurchased dial resources. The theme service can also query the user's purchase record according to the user identifier to determine the purchased dial resources among the dial resources corresponding to the watch model.
[0160] S436. The theme service returns information about the watch face resource corresponding to the watch model to the watch face market webpage.
[0161] In one example, the information of the dial resource corresponding to the watch model includes a list of identifications of the dial resources corresponding to the watch model. In one example, the list of identifications of the dial resources corresponding to the watch model includes a list of identifications of free dial resources and a list of identifications of purchased dial resources.
[0162] S437. The watch face market webpage requests the sports health App to query the local watch face resources corresponding to the watch.
[0163] The theme service returns the information of online watch face resources. After the watch face market webpage obtains the online watch face resources corresponding to the watch from the theme service, the watch face market webpage can also obtain the local watch face resources corresponding to the watch. The local watch face resources include the downloaded watch face resources, installed watch face resources, and currently enabled watch face resources of the watch.
[0164] S438. The Sports Health App sends information about the local watch face resources corresponding to the watch to the watch face market webpage.
[0165] S439. The watch dial market webpage displays the watch dial resources corresponding to the watch.
[0166] In one implementation, the watch face resources corresponding to the watch include online watch face resources corresponding to the watch (watch face resources queried from the server in real time) and local watch face resources corresponding to the watch. The watch face market webpage merges the online watch face resources and the local watch face resources and displays the merged watch face resources.
[0167] In some scenarios, users will purchase watch face resources, such as Fig.16 As shown, the dial resource management method provided in the embodiment of the present application may also include:
[0168] S501. The watch face market webpage receives an operation from a user to purchase a watch face resource 1.
[0169] The dial resource 1 is any charging dial resource selected by the user. For example, Figure 6 As shown, the mobile phone 10 displays an information page 110, and the information page 110 includes a "Buy" button 111. The mobile phone receives a click operation of the user on the "Buy" button 111, namely, receives an operation of the user to purchase the watch face resource 1 (Sunny Mood).
[0170] S502. The watch face market webpage sends a request to purchase a watch face to the theme service, which includes an App ID, a verification code, a resource ID, etc.
[0171] The purchase watch face request is used to request the theme service to initiate the purchase watch face resource process. The purchase watch face request can carry the App ID, verification code, resource ID, etc. The resource ID is the ID of the watch face resource requested to be purchased, which is used to uniquely identify a watch face resource. For example, the App ID is the ID of the sports health app, the verification code is AT1, and the resource ID is the ID of the watch face resource 1 (sunny mood).
[0172] S503: The theme service verifies the received App ID and sends a verification code (AT1) to the sports health service.
[0173] S504, the sports health service verifies the received verification code (AT1); if the verification passes, the sports health service sends a verification success message and the user ID corresponding to the verification code to the theme service; if the verification fails, the sports health service sends a verification failure message to the theme service.
[0174] S505. After receiving the verification success information, the theme service generates a purchase order for the dial resource one.
[0175] S506. The theme service returns the purchase order number and the watch face resource information to the watch face market webpage.
[0176] The purchase order number is used to uniquely identify a purchase business order. The dial resource information is used to indicate a dial resource. For example, the dial resource information includes the identifier of the dial resource. The theme service returns the purchase order number and the dial resource information to the dial market webpage, and the dial market webpage obtains the dial resource information and the corresponding purchase order number.
[0177] S507, the watch face market webpage requests the sports health app to create a payment order, which includes the app identifier, purchase order number, etc. 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 based on the App ID 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 face market webpage.
[0179] The payment order number is used to uniquely identify a payment order.
[0180] S509: The watch face market webpage requests the sports health app to initiate payment. The sports health app requests the payment SDK to initiate payment.
[0181] S510. The payment SDK opens a payment page.
[0182] For example, Figure 6 As shown, the mobile phone 10 displays a “payment” page 112 .
[0183] S511. After receiving the user's payment operation, the payment SDK sends a payment request to the payment service.
[0184] Exemplarily, receiving the payment password input by the user means receiving the user's payment operation.
[0185] S512. The payment SDK obtains a payment result from the payment service, where the payment result includes a payment success or a 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 polls and queries the payment result at a certain time interval.
[0187] S513. After the payment SDK obtains the payment result, it returns the payment result to the Sports Health App; the Sports Health App returns the payment result to the watch face market webpage.
[0188] S514: If the payment is successful, the watch face market webpage refreshes and displays the user interface.
[0189] After the payment is successful, the user who is currently logged in to the Sports Health App has successfully purchased watch face resource one.
[0190] In one example, the user can further download and install the watch face resource 1. Figure 7 After the payment is successful, the mobile phone 10 displays a download interface 114, which includes a "download" button 115. The user can click the "download" button 115 to download the "sunny mood" watch face resource.
[0191] In one example, the mobile phone can display the watch face resources that have been successfully purchased among the watch face resources corresponding to the watch (the watch that is connected to the mobile phone). Fig. 9 , the mobile phone displays the "My" page of the "Watch Face Market" interface 106. The "My" page includes a "Purchase Record" option. In response to the user clicking the "Purchase Record" option, the mobile phone 10 can display the purchased watch face resources corresponding to the watch 1.
[0192] S515. The payment service also synchronizes payment information to the subject service.
[0193] In one example, the payment information includes a purchase order number, a payment result, and the like.
[0194] S516. The subject service updates the status of the purchase order according to the payment information, and updates the purchase record.
[0195] In one example, after the payment is successful, the theme service updates the status of the purchase order for the watch face resource 1 to paid.
[0196] In one example, the theme service adds the user ID of the current user to the purchase record corresponding to the dial resource 1, indicating that the user has purchased the dial resource 1. In this way, the theme service can maintain the purchase record of each dial resource in real time.
[0197] In some scenarios, users can also download watch face resources, for example, Fig.17 As shown, the dial resource management method provided in the embodiment of the present application may also include:
[0198] S601: The watch face market webpage receives an operation from a user to download a watch face resource 1.
[0199] The watch face resource 1 may be a free watch face resource, or a paid watch face resource that the user has successfully purchased.
[0200] For example, Figure 7 As shown, after the "Sunny Mood" has been purchased, the mobile phone 10 displays a download interface 114, which includes a "Download" button 115. The user can click the "Download" button 115 to download the "Sunny Mood" watch face resource. When the user clicks the "Download" button 115, the user's operation of downloading the watch face resource 1 ("Sunny Mood") is received.
[0201] S602. The watch face market webpage requests the sports health App to download a watch face resource 1.
[0202] S603, the sports health App requests the CDN to download the watch face resource 1.
[0203] S604. CDN distributes disk resource 1 to the sports health App.
[0204] In one 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 obtains and saves the watch face resource 1.
[0206] S606. The Sports Health App notifies the watch face market webpage that the watch face resource 1 has been downloaded.
[0207] S607. The watch face market webpage updates the status of the watch face resource one.
[0208] In one example, after the dial market webpage determines that the download of the dial resource 1 has been completed, the status of the dial resource 1 is updated to downloaded. In this way, the dial resource 1 can be installed according to the user operation. For example, Figure 8 As shown, after the download of "Sunny Mood" is completed, the mobile phone 10 displays the installation interface 116, and the installation interface 116 is used to install the dial resource 1 ("Sunny Mood").
[0209] In some scenarios, after the watch face resource is successfully downloaded, the watch face resource can be installed on the wearable device. For example, Fig.18 As shown, the dial resource management method provided in the embodiment of the present application may also include:
[0210] S701. The watch face market webpage receives the user's operation to install watch face resource one.
[0211] The first watch face resource is a downloaded watch face resource. The user can trigger the installation of the downloaded watch face resource on the watch on the user interface of the mobile phone.
[0212] For example, Figure 8 As shown, after the download of "Sunny Mood" is completed, the mobile phone 10 displays an installation interface 116, which is used to install the dial resource 1 ("Sunny Mood"), and the installation interface 116 includes an "Install" button 117. The user can click the "Install" button 117 to install "Sunny Mood" to the watch 1.
[0213] Receiving the user's click operation on the "Install" button 117, that is, receiving the user's operation of installing the dial resource one ("Sunny Mood").
[0214] S702. The watch face market webpage requests the sports health App to install watch face resource 1.
[0215] In one implementation, the sports health app obtains watch face resource one from the server and saves the watch face resource one.
[0216] In some embodiments, the sports health app obtains unencrypted watch face resources; for example, watch face resource 1 is a free watch face resource and is not encrypted.
[0217] In some embodiments, the sports health app obtains an encrypted watch face resource; for example, watch face resource one is a paid watch face resource, and after watch face resource one is successfully purchased, the server distributes the encrypted watch face resource one to the sports health app.
[0218] If the sports health app obtains an encrypted watch face resource, it is necessary to decrypt the encrypted watch face resource and then install the decrypted watch face resource. Exemplarily, if the sports health app obtains an encrypted watch face resource, the method further includes S703.
[0219] S703. The sports health app obtains a watch face resource 1.
[0220] In some embodiments, the sports health app saves the unencrypted watch face resource one, and the sports health app directly reads the saved watch face resource one.
[0221] For example, Fig.18 As shown, S703 may include S703a:
[0222] S703a. The sports health App reads the saved unencrypted watch face resource one and obtains the watch face resource one.
[0223] In other embodiments, the Sports Health App stores an encrypted watch face resource 1. In one implementation, the server uses a content key to encrypt the watch face resource 1, distributes the encrypted watch face resource 1 to the Sports Health App, and the Sports Health App stores the encrypted watch face resource 1. The Sports Health App needs to obtain the content key, use the content key to decrypt the encrypted watch face resource 1, and obtain the watch face resource 1.
[0224] For example, Fig.18 As shown, S703 may include S7031-S7033:
[0225] S7031. The Sports Health App reads the encrypted watch face resource 1.
[0226] S7032. The sports health app obtains the content key.
[0227] The content key is used by the server to encrypt the watch face resource 1. After the sports health app obtains the content key, it can use the content key to decrypt the encrypted watch face resource 1.
[0228] In one implementation, the content key is used by the theme service of the server when encrypting the watch face resource 1, and the sports health app can obtain the content key from the theme service.
[0229] In one implementation, when transmitting the content key, the elliptic curve Diffie-Hellman key exchange (ECDH) algorithm is used to encrypt the content key. The ECDH algorithm is a highly secure encryption algorithm. Using the ECDH algorithm to encrypt the content key improves the security of transmitting the content key between the server and the mobile phone and prevents the content key from being leaked.
[0230] In one example, if Fig.18 As shown, the sports health app generates ECDH public and private keys on the terminal device side. Afterwards, the sports health app requests the dial market webpage to obtain the content key, which carries the user ID, the ECDH public key on the terminal device side, etc. The dial market webpage requests the theme service to obtain the content key, which carries the user ID, the ECDH public key on the terminal device side, etc. The theme service determines whether the user indicated by the user ID has purchased the dial resource one according to the received user ID and the saved purchase record; if it is determined that the user indicated by the user ID has purchased the dial resource one, it generates the cloud side (server side) ECDH public and private keys. 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; the encrypted content key is sent to the dial market webpage, which carries the cloud side ECDH public key. The dial market webpage receives the encrypted content key and sends the encrypted content key to the sports health app. The sports health app stores the encrypted content key in the keystore. Keystore is a secure storage tool that can be a file or a hardware device. The encrypted content key is stored in the Keystore to prevent the content key from being stolen and leaked. The Sports Health App uses the ECDH algorithm to negotiate and generate a transmission key, and uses the transmission key in the Keystore to decrypt the encrypted content key to obtain the content key. Since the content key is encrypted and stored in the Keystore, the security of the content key is guaranteed.
[0231] S7033. The sports health app uses the content key to decrypt the encrypted watch face resource one to obtain the watch face resource one.
[0232] S704, the sports health app pushes a watch face resource 1 to the watch.
[0233] S705. The watch downloads a watch face resource 1, and returns the download result to the Sports Health App after the download is successful.
[0234] Exemplarily, the download result includes download success or download failure.
[0235] S706: If the watch face resource 1 is a paid watch face resource, the sports health app clears the decrypted watch face resource 1.
[0236] S707. The Sports Health App notifies the watch to install a watch face resource 1.
[0237] S708. The watch installs the watch face resource 1 and returns the 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 one implementation, during the process of installing the dial resource 1 on 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. Figure 8 As shown, the text on the "Install" button 117 displays in real time the progress of the watch face resource installation on the watch 1.
[0241] After successful installation, the corresponding dial can be displayed on the watch. Figure 8 As shown, the dial of the watch 30 is updated to "Sunny Mood".
[0242] S710. The watch face market webpage updates the status of the watch face resource one.
[0243] In one implementation, if it is determined that the dial resource 1 is successfully installed, the dial market webpage updates the status of the dial resource 1 to installed. In one example, after the watch installs the dial resource 1, the dial corresponding to the dial resource 1 is displayed; that is, the watch activates the dial corresponding to the dial resource 1. The dial market webpage updates the status of the dial resource 1 to activated.
[0244] In some embodiments, the dial market webpage can display all dial resources installed on the watch. The dial enabled on the watch can be switched according to the user's selection.
[0245] For example, Fig.19 As shown, the mobile phone 10 displays the "watch dial market" interface 106, which includes a "my" page for displaying information about the watch dial resource corresponding to the watch 1. The "my" page includes an "edit" page 118, and the "edit" page 118 includes information about the watch dial resources that have been downloaded and installed on the watch 1 (watch 30). For example, the "edit" page 118 includes an icon 1184, and the watch dial resource corresponding to the icon 1184 is "sunny mood".
[0246] Watch 30 displays dial 301 , which is the dial corresponding to icon 1184 .
[0247] The user can click any dial resource icon in the "Edit" page 118 to set the dial resource corresponding to the selected icon as the dial of watch 1; that is, switch the dial of watch 1. For example, Fig.19 As shown, in response to the user clicking the icon 1185, the dial resource corresponding to the icon 1185 is set as the dial of the watch 1. The watch 1 enables the dial resource corresponding to the icon 1185 and displays the dial 302 corresponding to the icon 1185.
[0248] For example, Fig. 20 As shown, the dial resource management method provided in the embodiment of the present application may also include:
[0249] S801. The watch face market webpage receives an operation from a user to activate watch face resource 2.
[0250] When the watch displays the dial corresponding to the dial resource 1, the dial market webpage receives the user's operation of activating the dial resource 2. For example, Fig.19 As shown, the watch 30 displays a dial 301, which is the dial corresponding to the icon 1184 (corresponding to dial resource 1). When the mobile phone 10 receives the user's click operation on the icon 1185, it determines that the user's operation of activating the dial corresponding to the icon 1185 (corresponding to dial resource 2) is received.
[0251] S802. The watch face market webpage requests the sports health app to enable watch face resource 2.
[0252] S803, the sports health app notifies the watch to activate the second watch face resource.
[0253] S804: The watch activates dial resource 2 and displays the dial corresponding to dial resource 2.
[0254] In this way, the dial of the watch is switched from dial resource 1 to dial resource 2, thus realizing the skin change of the watch.
[0255] S805. The watch returns the activation result to the Sports Health App.
[0256] The enabling result includes enabling success or enabling failure.
[0257] S806. The Sports Health App returns the activation result to the watch face market webpage.
[0258] S807. The watch face market webpage updates the status of the watch face resource.
[0259] For example, the watch face market webpage updates the status of watch face resource one to not enabled and updates the status of watch face resource two to enabled.
[0260] In this way, the watch dial is switched from dial resource one to dial resource two.
[0261] The dial resource management method provided in the embodiment of the present application is that the dial market is integrated in the App in the form of a web page. The dial market webpage and the native interfaces of each App use a unified standard interface for communication, and the dial market webpage uses a unified standard to access different Apps. The same set of dial market functions can be applied to different Apps and different operating systems, which conveniently realizes the reuse and expansion of the dial market functions. Using the dial resource management method provided in the embodiment of the present application, it is possible to provide users with functions such as query, download, purchase, installation, deletion, and activation of dial resources for wearable devices (such as smart watches, smart bracelets, etc.).
[0262] It is understandable that the terminal device provided in the embodiment of the present application includes a hardware structure and / or software module corresponding to each function in order to realize the above functions. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiment disclosed herein, the embodiment of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiment of the present application.
[0263] The embodiment of the present application can divide the functional modules of the above-mentioned terminal device according to the above-mentioned method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0264] In one example, see Fig.21 , which shows a possible structural diagram of the terminal device involved in the above embodiment. 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 used to control and manage the actions of the terminal device 2100. The storage unit 2120 is used to store the program code and data of the terminal device 2100. The display unit 2130 is used to display the interface of the terminal device 2100; for example, displaying the user interface of the dial market, etc. The communication unit 2140 is used 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 above-mentioned terminal device 2100 include but are not limited to the above-mentioned processing unit 2110, storage unit 2120, display unit 2130 and communication unit 2140.
[0267] Optionally, the terminal device 2100 may further include an image acquisition unit, and the image acquisition unit is used to acquire images.
[0268] Optionally, the terminal device 2100 may also include an audio unit, which is used to collect audio, play audio, etc.
[0269] Among them, 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 devices, transistor logic devices, hardware components 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 Fig.11 The processor 11 shown in FIG. 11 ), the storage unit 2120 may be a memory (eg, Fig.11 The internal memory 13 shown in FIG. 1 ), the display unit 2130 may be a display screen (such as Fig.11 The display screen 194 shown in FIG. 1 ), the communication unit 2140 may include a mobile communication unit (such as Fig.11 The mobile communication module 16 shown) and the wireless communication unit (such as Fig.11 The image acquisition unit may be a camera (such as a wireless communication module 17). Fig.11The audio unit may be an audio module (eg, Fig.11 The terminal device 2100 provided in the embodiment of the present application may be Fig.11 The terminal device 10 shown in the figure. The processor, memory, display screen, camera, audio module, mobile communication unit, wireless communication unit, etc. mentioned above can be connected together, for example, through a bus.
[0271] The embodiment of the present application also provides a chip system, which includes at least one processor and at least one interface circuit. The processor and the interface circuit can be interconnected by lines. For example, the interface circuit can be used to receive signals from other devices (such as a memory of a terminal device). For another example, the interface circuit can be used to send signals to other devices (such as a processor). Exemplarily, 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 execute the various steps in the above embodiments. Of course, the chip system can also include other discrete devices, which are not specifically limited in the embodiment of the present application.
[0272] An embodiment of the present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on the above-mentioned electronic device, the electronic device executes each function or step executed by the mobile phone in the above-mentioned method embodiment.
[0273] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute each function or step executed by the mobile phone in the above method embodiment.
[0274] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0275] In the 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. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0276] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0277] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0278] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0279] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A dial resource management method, characterized in that: Applied to a terminal device, the terminal device having a first application installed thereon, the method comprising: The terminal device displays a first user interface of the first application; The terminal device receives a first operation of a user on the first user interface; the first operation is used to open a watch dial market, the watch dial market is used to manage watch dial resources, and the watch dial resources are used to generate a watch dial for a wearable device; After receiving the first operation, the terminal device obtains the page format of the dial market webpage from the server; the page format includes at least one of the style, icon and font of the webpage; The terminal device loads a page of the watch dial market webpage according to the page format of the watch dial market webpage; The terminal device obtains information of a watch face resource corresponding to the first wearable device from the server; The terminal device displays the watch face resources corresponding to the first wearable device on the watch face market webpage.
2. The method according to claim 1, characterized in that The page format of the dial market webpage obtained by the terminal device from the server includes: The terminal device requests the server to obtain the page format of the dial 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 dial market webpage.
3. The method according to claim 1, characterized in that The terminal device obtains information about the dial resource corresponding to the first wearable device from the server, including: The terminal device sends a first request to the server; the first request is used to request to query information of a dial resource corresponding to a first wearable device, and the first request includes a device model of the first wearable device; The terminal device receives information about dial resources corresponding to the device model of the first wearable device from the server.
4. The method according to claim 3, characterized in that The terminal device obtains information about the dial resource corresponding to the first wearable device from the server, including: The watch face market webpage obtains the device model of the first wearable device from the first application through the native interface of the first application; The watch dial market webpage sends the first request to the server; The watch face market webpage receives information about watch face resources corresponding to the device model of the first wearable device from a server.
5. The method according to claim 4, characterized in that The method further comprises: The watch face market webpage obtains information about watch face resources that have been downloaded, installed, and currently enabled by the first wearable device from the first application through the native interface of the first application.
6. The method according to any one of claims 1 to 5, characterized in that: The terminal device displays the watch face resource corresponding to the first wearable device on the watch face market webpage, including: The terminal device combines the watch face resource corresponding to the first wearable device obtained from the server with the watch face resource downloaded, installed and currently enabled by the first wearable device; The terminal device displays the merged 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 information about a watch face resource corresponding to the first wearable device from the server, the method further includes: The terminal device sends the identification of the first application and a verification code to the server; the verification code is a dynamic password allocated to the user during the current login process after the user logs into the first application; 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.
8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: The watch dial market webpage receives an operation of a user purchasing a first watch dial resource; the first watch dial resource is one of the watch dial resources corresponding to the first wearable device and displayed on the watch dial 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 a 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 obtains a first payment order number from the first application through a 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 through the native interface of the first application that the payment corresponding to the first payment order number is successful, 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 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 a server; The first application notifies the watch face market webpage through the native interface of the first application that the download of the second watch face resource has been completed.
10. The method according to claim 9, characterized in that The method further comprises: The watch face market webpage receives an operation by a user to install 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; The first application pushes the second watch face resource to the first wearable device.
11. A terminal device, characterized in that: include: Processors, displays, and memory; One or more computer programs are stored in the memory, and the one or more computer programs include instructions. When the instructions are executed by the terminal device, the terminal device executes the method according to any one of claims 1 to 10.
12. A computer-readable storage medium, characterized in that: The method comprises computer instructions; when the computer instructions are executed on an electronic device, the electronic device executes the method as claimed in any one of claims 1 to 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