WO2022001647A1 - Theme rendering method and apparatus, and electronic device and computer readable storage medium - Google Patents
Theme rendering method and apparatus, and electronic device and computer readable storage medium Download PDFInfo
- Publication number
- WO2022001647A1 WO2022001647A1 PCT/CN2021/100018 CN2021100018W WO2022001647A1 WO 2022001647 A1 WO2022001647 A1 WO 2022001647A1 CN 2021100018 W CN2021100018 W CN 2021100018W WO 2022001647 A1 WO2022001647 A1 WO 2022001647A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- theme
- package
- theme package
- electronic device
- player
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
Definitions
- the present application relates to the field of computer technology, and in particular, to a subject rendering method, apparatus, electronic device, and computer-readable storage medium.
- a subject rendering method, apparatus, electronic device, and computer-readable storage medium are provided.
- a theme rendering method applied to a first electronic device, the method comprising:
- the theme package includes a first theme package and a second theme package, and the first theme package and the second theme package are corresponding to different types of electronic devices. , and the theme package that matches the theme;
- a theme rendering method applied to a second electronic device, the method comprising:
- the package includes a first theme package and a second theme package.
- the first theme package and the second theme package are theme packages corresponding to different types of electronic devices and have matching themes.
- the first theme package uses instructing the first electronic device to perform parsing and rendering based on the first theme package;
- a theme rendering device comprising:
- the acquisition module is used to acquire the selected theme and the corresponding theme package, wherein the theme package includes a first theme package and a second theme package, and the first theme package and the second theme package are of different types
- the theme package corresponding to the electronic device and matching the theme
- a first rendering module for parsing and rendering based on the first theme package
- a sending module configured to send the second theme package to a second electronic device connected to the first electronic device, where the second theme package is used to instruct the second electronic device based on the second theme package Parse and render.
- a theme rendering device comprising:
- the receiving module is used to receive the second theme package sent by the first electronic device connected to the second electronic device, the second theme package is obtained by the first electronic device parses the theme package corresponding to the selected theme, and the theme package It includes a first theme package and a second theme package.
- the first theme package and the second theme package are theme packages corresponding to different types of electronic devices and have matching themes.
- the first theme package is used to indicate that the first electronic device is based on The first theme package is parsed and rendered;
- the second rendering module is configured to parse the second theme package and render based on the parsed second theme package.
- a computer device comprising a memory and one or more processors, the memory storing computer-readable instructions that, when executed by the one or more processors, cause the one or more processors
- the processor performs the steps of the theme rendering method described above.
- One or more non-volatile computer-readable storage media having computer-readable instructions stored thereon that, when executed by one or more processors, cause the one or a plurality of processors perform the steps of the above theme rendering method.
- 1 is an application environment diagram of a theme rendering method in one or more embodiments
- FIG. 2 is a flowchart of a theme rendering method in one or more embodiments
- FIG. 3 is a schematic diagram of an interface rendered by a first electronic device based on a first theme package in one or more embodiments
- FIG. 4 is a schematic diagram of an interface rendered by a wearable device based on a second theme package in one or more embodiments
- FIG. 5 is a schematic flowchart of rendering a browser theme package in one or more embodiments
- FIG. 6 is a schematic flowchart of rendering an instant messaging theme package in one or more embodiments
- FIG. 7 is a schematic diagram of a rendering process of a player in one or more embodiments.
- FIG. 8 is a schematic flowchart of a theme rendering method in another or more embodiments.
- FIG. 9 is a structural block diagram of a theme rendering apparatus according to one or more embodiments.
- FIG. 10 is a structural block diagram of a theme rendering apparatus according to another or more embodiments.
- FIG. 11 is a schematic diagram of the internal structure of an electronic device in one or more embodiments.
- first, second, etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another.
- a first theme package could be referred to as a second theme package, and, similarly, a second theme package could be termed a first theme package, without departing from the scope of this application.
- Both the first theme package and the second theme package are theme packages, but they are not the same theme package.
- FIG. 1 is a schematic diagram of an application environment of a theme rendering method in one embodiment.
- the application environment includes a first electronic device 102 and a second electronic device 104 .
- the first electronic device 102 and the second electronic device 104 may be connected through a wired network or a wireless network.
- Both the first electronic device 102 and the second electronic device 104 may be, but are not limited to, various personal computers, notebook computers, smartphones, tablet computers, and portable wearable devices.
- the device types of the first electronic device 102 and the second electronic device 104 are not the same.
- the first electronic device 102 is a desktop computer or a notebook computer
- the second electronic device 104 is a smart phone
- the first electronic device 102 is a smart phone
- the second electronic device 104 is a wearable device.
- Users can select their favorite themes in the theme store, and configure and render them in electronic devices.
- the current theme rendering method has the problem of cumbersome operation.
- FIG. 2 is a flowchart of a theme rendering method in one embodiment.
- the theme rendering method in this embodiment is described by taking the first electronic device 102 running in FIG. 1 as an example. As shown in FIG. 2 , the theme rendering method includes steps 202 to 206 .
- Step 202 obtain the selected theme and the corresponding theme package, wherein, the theme package includes a first theme package and a second theme package, and the first theme package and the second theme package are corresponding to different types of electronic equipment, and the theme matching theme package.
- Themes can be applied to electronic devices, and a theme is a style of electronic devices.
- the electronic device can configure a corresponding theme by downloading a certain theme package, so that the electronic device displays at least one of a standby picture, a background picture, an operation interface, an icon, and a text of a corresponding style.
- Two theme packages can be preset in the theme package, including the first theme package and the second theme package.
- the first theme package and the second theme package are theme packages with matching themes.
- the first theme package and the second theme package are both theme packages corresponding to theme A.
- Both the first theme package and the second theme package may include at least one of a background picture, a standby picture, a ringtone, an icon, and a text of a corresponding style, but are not limited thereto.
- both the first theme package and the second theme package are made according to the specified grammar and packaging rules. After packing the first theme package and the second theme package into the theme package, upload it to the theme store.
- the first electronic device acquires the theme selected on the theme store and the theme package corresponding to the theme.
- the format of the theme package may specifically be an xml (Extensible Markup Language, Extensible Markup Language) format.
- the first electronic device may parse the theme package to obtain the first theme package and the second theme package.
- the first theme package is adapted to the first electronic device
- the second theme package is adapted to the second electronic device.
- the theme package may be a desktop theme package, a browser theme package, an instant messaging theme package or a player theme package.
- the corresponding first theme package may be the first desktop theme package, the first instant messaging theme package or the first player theme package.
- the corresponding second theme package may be a second desktop theme package, a second instant messaging theme package or a second player theme package.
- Step 204 parsing and rendering based on the first theme package.
- Parsing is based on a set of grammatical description rules customized with xml files.
- the theme package needs to describe the effect it wants to achieve in the xml file according to the designed grammar rules.
- the first electronic device parses the theme package to obtain the first theme package.
- the first electronic device parses the first theme package, and obtains an parsed first theme package, where the parsed first theme package includes at least one kind of information among a picture to be displayed, a picture display position of the picture to be displayed, animation rules, and audio playback But not limited to this.
- the first electronic device renders based on the parsed first theme package.
- Step 206 Send a second theme package to a second electronic device connected to the first electronic device, where the second theme package is used to instruct the second electronic device to perform parsing and rendering based on the second theme package.
- the number of second electronic devices connected to the first electronic device is not limited.
- the first electronic device sends the second theme package to the second electronic device connected to the first electronic device.
- the second electronic device can display on the interface whether it agrees to configure the second theme package.
- the second electronic device parses and analyzes the second theme package based on the second theme package. render.
- the theme rendering method in this embodiment obtains the selected theme and the corresponding theme package, and the theme package includes a first theme package and a second theme package, and the first theme package and the second theme package are respectively applied to different types of theme packages.
- the first electronic device parses and renders the first theme package
- the second electronic device parses and renders the second theme package, so that the The theme of one electronic device matches the theme of the second electronic device, so that the theme of the first electronic device and the theme of the second electronic device have a linkage effect, which does not require the user to configure the theme twice, which simplifies user operations and improves theme rendering efficiency.
- the theme rendering method further includes: parsing the theme package to obtain the first theme package and the dial theme package.
- Sending a second theme package to a second electronic device connected to the first electronic device includes: sending a dial theme package to a wearable device connected to the first electronic device, where the dial theme package is used to instruct the wearable device to parse the dial theme package and render the watch face based on the parsed watch face theme package.
- a watch face theme package refers to a theme package applied to wearable devices.
- the watch face may refer to the main interface of the wearable device.
- the connection can be specifically connected through a local area network, Bluetooth, NFC (Near Field Communication, near field communication) and other methods.
- the first electronic device parses the theme package, and obtains a first theme package applied to the first electronic device and a dial theme package applied to the second electronic device.
- the first electronic device sends the dial theme package to the wearable device connected to the first electronic device.
- the wearable device parses the dial theme package to obtain the parsed dial theme package, and renders the dial based on the parsed dial theme package.
- FIG. 3 it is a schematic diagram of an interface rendered by the first electronic device based on the first theme package in one of the embodiments.
- FIG. 4 it is a schematic diagram of the interface rendered by the wearable device based on the second theme package in one of the embodiments. It can be seen from FIG. 3 and FIG. 4 that the themes in the interface match, and the solution of the present application can simplify user operations, improve rendering efficiency, and improve user visual experience.
- a dial theme package is sent to the wearable device, and the wearable device can parse the dial theme package and render the dial based on the parsed dial theme package, which can realize the first electronic device and the wearable device.
- the theme matches the theme, simplifying user operations and improving theme rendering efficiency.
- parsing the theme package to obtain the first theme package and the dial theme package includes: parsing the theme package to obtain the first theme package; parsing the first theme package to obtain the first theme background; A size adjustment process is performed to obtain a second theme background suitable for the second electronic device; and a dial theme package is generated based on the second theme background.
- the first theme background is a background image applied to the first electronic device.
- the first electronic device parses the theme package to obtain a first theme package, and parses the first theme package to obtain a first theme background.
- the first electronic device may perform a cropping process on the first theme background according to the display size of the second electronic device to obtain a second theme background suitable for the second electronic device.
- the first electronic device performs scaling processing on the first theme background according to the display size of the second electronic device to obtain a second theme background suitable for the second electronic device.
- the first electronic device generates a dial theme package containing the second theme background information based on the second theme background, wherein the dial theme package may also include at least one of a standby picture, a ringtone, and an icon.
- the first theme package is analyzed to obtain the first theme background, the size of the first theme background is adjusted to obtain the second theme background suitable for the second electronic device, and the dial is generated based on the second theme background.
- the theme package can match the backgrounds of the first electronic device and the wearable device, simplify user operations, and improve theme rendering efficiency.
- FIG. 5 it is a schematic flowchart of rendering a browser theme package in one of the embodiments. Get the selected theme and the corresponding theme package, including:
- Step 502 Obtain the browser theme selected on the browser interface and the corresponding browser theme package, where the browser theme package includes a first browser theme package and a second browser theme package.
- the browser can also correspond to different themes, for example, the minimalist theme, the Chinese style theme, etc. are not limited to this.
- the browser theme package may include at least one of a background picture, a standby picture, a ringtone, and an icon.
- the first electronic device acquires the browser theme selected on the interface of the browser and a browser theme package corresponding to the browser theme, where the browser theme package includes a first browser theme package and a second browser theme package.
- the first browser theme package can be applied to the browser of the first electronic device.
- the second browser theme package can be applied to the browser of the second electronic device.
- Parsing and rendering based on the first browser theme package including:
- Step 504 parsing and rendering based on the first browser theme package.
- the first electronic device parses the theme package to obtain the first browser theme package.
- the first electronic device parses the first theme package, and obtains the parsed first browser theme package.
- the first electronic device renders based on the parsed first browser theme package.
- Sending a second browser theme package to a second electronic device connected to the first electronic device including:
- Step 506 Send a second browser theme package corresponding to the browser to a second electronic device connected to the first electronic device, where the second browser theme package is used to instruct the second electronic device to parse the second browser theme package and rendering the browser based on the parsed second browser theme package.
- the first electronic device sends the second browser theme package to the second electronic device connected to the first electronic device.
- the second electronic device can display on the interface whether it agrees to configure the second browser theme package.
- the second electronic device parses the Second browser theme package, and render the corresponding browser based on the parsed second browser theme package.
- the theme packages corresponding to different browsers can be different. For example, browser A corresponds to theme A, and browser B corresponds to theme B.
- the theme rendering method in this embodiment obtains the selected theme and the corresponding theme package, and the theme package includes a first browser theme package and a second browser theme package, and the first browser theme package and the second browser theme package
- the theme packages are respectively applied to different types of electronic devices, and the themes of the first browser theme package and the second browser theme package match, then the first electronic device parses and renders the first browser theme package, and the second electronic device parses and renders the first browser theme package.
- the device parses and renders the second browser theme package, which can automatically match the browser themes of the first electronic device and the second electronic device, without requiring the user to configure the browser theme twice, simplifying user operations and improving browser theme rendering efficient.
- FIG. 6 it is a schematic flowchart of rendering an instant messaging theme package in one of the embodiments. Get the selected theme and the corresponding theme package, including:
- Step 602 Obtain the instant messaging theme selected on the interface of the instant messaging tool and the corresponding instant messaging theme package, where the instant messaging theme package includes a first instant messaging theme package and a second instant messaging theme package.
- Instant messaging refers to services that can instantly send and receive Internet messages.
- Instant communication tools are tools that can instantly send and receive Internet messages.
- the instant communication tool may be QQ, WeChat, etc., but not limited thereto.
- the instant messaging theme can be applied to instant messaging software for electronic devices.
- the instant messaging theme is a style of instant messaging tools in electronic devices.
- the electronic device can configure a corresponding instant messaging theme by downloading a certain instant messaging theme package.
- the instant messaging theme package includes two instant messaging theme packages, which are a first instant messaging theme package and a second instant messaging theme package respectively.
- the first instant messaging theme package and the second instant messaging theme package are instant messaging theme packages that match the instant messaging theme.
- the first instant messaging theme package and the second instant messaging theme package are both instant messaging theme packages corresponding to the instant messaging theme A.
- Both the first instant messaging theme package and the second instant messaging theme package may include at least one of background pictures and icons, but are not limited thereto.
- the first electronic device acquires the instant messaging theme selected on the instant messaging theme interface, and the instant messaging theme package corresponding to the instant messaging theme.
- the format of the instant messaging theme package may specifically be an xml (Extensible Markup Language, Extensible Markup Language) format.
- the first electronic device can parse the instant messaging theme package to obtain the first instant messaging theme package and the second instant messaging theme package.
- the first instant messaging theme package is adapted to the first electronic device
- the second instant messaging theme package is adapted to the second electronic device.
- Parsing and rendering based on the first instant messaging theme package including:
- Step 604 parsing and rendering based on the first instant messaging theme package.
- the first electronic device parses the instant messaging theme package to obtain the first instant messaging theme package.
- the first electronic device parses the first instant messaging theme package to obtain the parsed first instant messaging theme package.
- the first electronic device renders based on the parsed first instant messaging theme package.
- Sending a second instant messaging theme package to a second electronic device connected to the first electronic device including:
- Step 606 send a second instant messaging theme package corresponding to the instant messaging tool to a second electronic device connected to the first electronic device, and the second instant messaging theme package is used to instruct the second electronic device to parse the first The second instant messaging theme package and rendering the instant messaging tool based on the parsed second instant messaging theme package.
- the first electronic device sends the second instant messaging theme package sent by the second electronic device to the second electronic device connected to the first electronic device.
- the second electronic device After the second electronic device receives the second instant messaging theme package, it can display on the interface whether it agrees to configure the second instant messaging theme package.
- the instant messaging theme package is rendered based on the parsed second instant messaging theme package.
- the theme packages corresponding to different instant messaging tools may be different. For example, instant messaging tool A corresponds to topic A, and instant messaging tool B corresponds to topic B.
- the theme rendering method in this embodiment obtains the selected instant messaging theme and the corresponding instant messaging theme package, and the instant messaging theme package includes a first instant messaging theme package and a second instant messaging theme package, and the first instant messaging theme package
- the package and the second instant messaging theme package are respectively applied to different types of electronic devices, and the instant messaging theme of the first instant messaging theme package and the second instant messaging theme package match, then the first electronic device parses and renders the first instant messaging theme package.
- the instant messaging theme package, the second electronic device parses and renders the second instant messaging theme package, which can automatically match the instant messaging themes of the first electronic device and the second electronic device, without requiring the user to configure the instant messaging theme twice, simplifying User operation to improve the rendering efficiency of instant messaging topics.
- FIG. 7 it is a schematic diagram of the rendering process of the player in one of the embodiments.
- Get the selected theme and the corresponding theme package including:
- Step 702 Obtain the theme selected on the player interface and the corresponding player theme package, where the player theme package includes a first player theme package and a second player theme package.
- a player refers to software that can play video or audio files stored in the form of digital signals, or an electronic device product with the function of playing video or audio files.
- the player may be a video player, an audio player, a picture player, etc. but not limited thereto.
- Player themes can be used in player software for electronic devices.
- Player themes are a style of players in electronic devices.
- the electronic device can configure the corresponding player theme by downloading a certain player theme package.
- the player theme package includes two player theme packages, namely a first player theme package and a second player theme package.
- the first player theme package and the second player theme package are player theme packages that match the player theme.
- the first player theme package and the second player theme package are both player theme packages corresponding to the player theme A.
- Both the first player theme package and the second player theme package may include at least one of background pictures and icons, but are not limited thereto.
- the first electronic device acquires the player theme selected on the player theme interface, and the player theme package corresponding to the player theme.
- the format of the player theme package may specifically be an xml (Extensible Markup Language, Extensible Markup Language) format.
- the first electronic device can parse the player theme package to obtain the first player theme package and the second player theme package.
- the first player theme package is adapted to the first electronic device
- the second player theme package is adapted to the second electronic device.
- Parse and render based on the first player theme package including:
- Step 704 parsing and rendering based on the first player theme package.
- the first electronic device parses the player theme package to obtain the first player theme package.
- the first electronic device parses the first player theme package to obtain the parsed first player theme package.
- the first electronic device renders based on the parsed first player theme package.
- Sending a second theme package to a second electronic device connected to the first electronic device including:
- Step 706 send the second player theme package corresponding to the player to the second electronic device connected to the first electronic device, the second player theme package is used to instruct the second electronic device to parse the second player theme package And render the player based on the parsed second player theme package.
- the first electronic device sends a second player theme package sent by the second electronic device to a second electronic device connected to the first electronic device.
- the second electronic device can display on the interface whether it agrees to configure the second player theme package.
- the second electronic device parses the Second player theme package, and render based on the parsed second player theme package.
- the theme packages corresponding to different players can be different. For example, player A corresponds to theme A, and player B corresponds to theme B.
- the selected player theme and the corresponding player theme package are obtained, and the player theme package includes a first player theme package and a second player theme package, and the first player theme package includes a first player theme package and a second player theme package.
- the package and the second player theme package are respectively applied to different types of electronic devices, and the player theme of the first player theme package and the second player theme package match, then the first electronic device parses and renders the first player theme package.
- the player theme package, the second electronic device parses and renders the second player theme package, which can automatically match the player themes of the first electronic device and the second electronic device, without requiring the user to configure the player theme twice, simplifying User operation to improve the rendering efficiency of the player theme.
- FIG. 8 it is a schematic flowchart of a theme rendering method in another embodiment.
- a theme rendering method, applied to a second electronic device includes the following steps:
- Step 802 receiving the second theme package sent by the first electronic device connected with the second electronic device, the second theme package is obtained by the first electronic device parsing the theme package corresponding to the selected theme, and the theme package includes the first theme package.
- the first theme package and the second theme package are theme packages corresponding to different types of electronic devices and have matching themes.
- the first theme package is used to indicate that the first electronic device is based on the first theme package.
- the theme package is parsed and rendered.
- the first electronic device obtains the selected theme and the corresponding theme package, and parses the theme package to obtain the first theme package and the second theme package.
- the first theme package and the second theme package are theme packages corresponding to different types of electronic devices and with matching themes.
- the first electronic device parses the first theme package, and performs rendering based on the parsed first theme package.
- the first electronic device sends a second theme package to a second electronic device connected to the first electronic device.
- the second electronic device receives the second theme package sent by the first electronic device.
- Step 804 parsing the second theme package, and rendering based on the parsed second theme package.
- the second electronic device parses the second theme package, and renders the corresponding software program based on the parsed second theme package.
- the first theme package and the second theme package are respectively applied to different types of electronic devices, And the theme of the first theme package and the theme of the second theme package match, then the first electronic device parses and renders the first theme package, and the second electronic device parses and renders the second theme package, which can automatically enable the first electronic device and the second theme package.
- the theme of the second electronic device is matched, and the user does not need to configure the theme twice, which simplifies the user operation and improves the theme rendering efficiency.
- parsing the second theme package and rendering based on the parsed second theme package includes: when the second electronic device is a wearable device, loading a dial engine on the desktop, and parsing the dial theme through the dial engine package and render based on the parsed watch face theme package.
- the second electronic device After receiving the dial theme package, the second electronic device stores it in a specified directory.
- a dial engine is built into the system of the wearable device.
- the watch face engine is used to directly parse and render the watch face theme package on the storage device.
- the dial engine can read the xml file and the required images, sound resources and other materials from the dial resource package, and parse the rules in the xml file to render the actual dial.
- the second electronic device is a wearable device
- a dial engine is loaded on the desktop
- the dial engine is used to parse the dial theme package
- rendering is performed based on the parsed dial theme package, so that the first electronic device can be automatically rendered.
- the theme of the device and the second electronic device are matched, so that the theme of the first electronic device and the theme of the second electronic device have a linkage effect, and the user does not need to configure the theme twice, which simplifies user operations and improves theme rendering efficiency.
- FIGS. 2 and 5 to 8 are shown in sequence as indicated by arrows, these steps are not necessarily performed sequentially in the sequence indicated by arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and the steps may be executed in other orders. Moreover, at least a part of the steps in FIGS. 2 and 5 to 8 may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. The order of execution of the steps or phases is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of sub-steps of other steps or phases.
- FIG. 9 is a structural block diagram of a theme rendering apparatus according to one embodiment.
- a theme rendering apparatus includes an obtaining module 902, a first rendering module 904 and a sending module 906, wherein:
- the obtaining module 902 is used to obtain the selected theme and the corresponding theme package, wherein the theme package includes a first theme package and a second theme package, and the first theme package and the second theme package are corresponding to different types of electronic devices. , and the theme package that matches the theme;
- the first rendering module 904 is used for parsing and rendering based on the first theme package
- the sending module 906 is configured to send a second theme package to a second electronic device connected to the first electronic device, where the second theme package is used to instruct the second electronic device to perform parsing and rendering based on the second theme package.
- the theme rendering device in this embodiment obtains the selected theme and the corresponding theme package, and the theme package includes a first theme package and a second theme package, and the first theme package and the second theme package are respectively applied to different types of theme packages.
- the first electronic device parses and renders the first theme package
- the second electronic device parses and renders the second theme package, so that the The theme of one electronic device matches the theme of the second electronic device, so that the theme of the first electronic device and the theme of the second electronic device have a linkage effect, which does not require the user to configure the theme twice, which simplifies user operations and improves theme rendering efficiency.
- the theme rendering apparatus further includes a parsing module, and the parsing module is configured to parse the theme package to obtain the first theme package and the dial theme package.
- the sending module 906 is configured to send the dial theme package to the wearable device connected to the first electronic device, where the dial theme package is used to instruct the wearable device to parse the dial theme package and render the dial based on the parsed dial theme package.
- the theme rendering device in this embodiment sends the dial theme package to the wearable device, and the wearable device can parse the dial theme package and render the dial based on the parsed dial theme package, which can realize the first electronic device and the wearable device.
- the theme matches the theme, simplifying user operations and improving theme rendering efficiency.
- the parsing module is further configured to parse the theme package to obtain the first theme package, parse the first theme package to obtain the first theme background, perform size adjustment processing on the first theme background, and obtain a first theme package suitable for the second electronic device The second theme background of , generates a dial theme package based on the second theme background.
- the theme rendering device in this embodiment parses the first theme package to obtain the first theme background, performs size adjustment processing on the first theme background, obtains the second theme background suitable for the second electronic device, and generates a dial based on the second theme background
- the theme package can match the backgrounds of the first electronic device and the wearable device, simplify user operations, and improve theme rendering efficiency.
- the obtaining module 902 is configured to obtain a browser theme selected on the browser interface and a corresponding browser theme package, where the browser theme package includes a first browser theme package and a second browser theme Bag.
- the first rendering module 904 is used for parsing and rendering based on the first browser theme package.
- the sending module 906 is configured to send a second browser theme package corresponding to the browser to the second electronic device connected to the first electronic device, and the second browser theme package is used to instruct the second electronic device to parse the second browser theme package and render the browser based on the parsed second browser theme package.
- the theme rendering device in this embodiment obtains the selected theme and the corresponding theme package, and the theme package includes a first browser theme package and a second browser theme package, and the first browser theme package and the second browser theme package
- the theme packages are respectively applied to different types of electronic devices, and the themes of the first browser theme package and the second browser theme package match, then the first electronic device parses and renders the first browser theme package, and the second electronic device parses and renders the first browser theme package.
- the device parses and renders the second browser theme package, which can automatically match the browser themes of the first electronic device and the second electronic device, without requiring the user to configure the browser theme twice, simplifying user operations and improving browser theme rendering efficient.
- the obtaining module 902 is configured to obtain the instant messaging theme selected on the interface of the instant messaging tool and the corresponding instant messaging theme package, where the instant messaging theme package includes a first instant messaging theme package and a second instant messaging theme package theme pack.
- the first rendering module 904 is configured to perform parsing and rendering based on the first instant messaging topic package.
- the sending module 906 is configured to send a second instant messaging theme package corresponding to the instant messaging tool to a second electronic device connected to the first electronic device, and the second instant messaging theme package is used to instruct the second electronic device Parsing the second instant messaging theme package and rendering the instant messaging tool based on the parsed second instant messaging theme package.
- the theme rendering device in this embodiment obtains the selected instant messaging theme and the corresponding instant messaging theme package, and the instant messaging theme package includes a first instant messaging theme package and a second instant messaging theme package, the first instant messaging theme package.
- the package and the second instant messaging theme package are respectively applied to different types of electronic devices, and the instant messaging theme of the first instant messaging theme package and the second instant messaging theme package match, then the first electronic device parses and renders the first instant messaging theme package.
- the instant messaging theme package, the second electronic device parses and renders the second instant messaging theme package, which can automatically match the instant messaging themes of the first electronic device and the second electronic device, without requiring the user to configure the instant messaging theme twice, simplifying User operation to improve the rendering efficiency of instant messaging topics.
- the obtaining module 902 is configured to obtain the theme selected on the interface of the player and the corresponding player theme package, where the player theme package includes a first player theme package and a second player theme package.
- the rendering module is used for parsing and rendering based on the first player theme package.
- the sending module 906 is configured to send a second player theme package corresponding to the player to a second electronic device connected to the first electronic device, and the second player theme package is used to instruct the second electronic device to parse the second player theme package and render the player based on the parsed second player theme package.
- the theme rendering device in this embodiment obtains the selected player theme and the corresponding player theme package, and the player theme package includes a first player theme package and a second player theme package, and the first player theme package
- the package and the second player theme package are respectively applied to different types of electronic devices, and the player theme of the first player theme package and the second player theme package match, then the first electronic device parses and renders the first player theme package.
- the player theme package, the second electronic device parses and renders the second player theme package, which can automatically match the player themes of the first electronic device and the second electronic device, without requiring the user to configure the player theme twice, simplifying User operation to improve the rendering efficiency of the player theme.
- FIG. 10 is a structural block diagram of a theme rendering apparatus according to another embodiment. As shown in FIG. 9, a theme rendering apparatus includes a receiving module 1002 and a second rendering module 1004, wherein:
- the receiving module 1002 is used for receiving the second theme package sent by the first electronic device connected with the second electronic device, the second theme package is obtained by the first electronic device parsing the theme package corresponding to the selected theme, and the theme
- the package includes a first theme package and a second theme package.
- the first theme package and the second theme package are theme packages corresponding to different types of electronic devices and have matching themes.
- the first theme package is used to indicate the first electronic device. Parsing and rendering based on the first theme package;
- the second rendering module 1004 is configured to parse the second theme package, and perform rendering based on the parsed second theme package.
- the theme rendering apparatus in this embodiment receives the second theme package sent by the first electronic device connected to the second electronic device, and the first theme package and the second theme package are respectively applied to different types of electronic devices, And the theme of the first theme package and the theme of the second theme package match, then the first electronic device parses and renders the first theme package, and the second electronic device parses and renders the second theme package, which can automatically enable the first electronic device and the second theme package.
- the theme of the second electronic device is matched, and the user does not need to configure the theme twice, which simplifies the user operation and improves the theme rendering efficiency.
- the second rendering module 1004 is configured to load a dial engine on the desktop when the second electronic device is a wearable device, parse the dial theme package through the dial engine, and perform rendering based on the parsed dial theme package.
- the theme rendering device in this embodiment when the second electronic device is a wearable device, loads a dial engine on the desktop, parses the dial theme package through the dial engine, and renders based on the parsed dial theme package, which can automatically make the first electronic device
- the theme of the device and the second electronic device are matched, so that the theme of the first electronic device and the theme of the second electronic device have a linkage effect, and the user does not need to configure the theme twice, which simplifies user operations and improves theme rendering efficiency.
- each module in the above theme rendering apparatus is only for illustration. In other embodiments, the theme rendering apparatus may be divided into different modules as required to complete all or part of the functions of the above theme rendering apparatus.
- Each module in the above-mentioned theme rendering apparatus may be implemented in whole or in part by software, hardware and combinations thereof.
- the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
- FIG. 11 is a schematic diagram of the internal structure of an electronic device in one of the embodiments.
- the electronic device may be the first electronic device or the second electronic device in the embodiment of the present application.
- the electronic device includes a processor and a memory connected by a system bus.
- the processor is used to provide computing and control capabilities to support the operation of the entire electronic device.
- the memory may include non-volatile storage media and internal memory.
- the non-volatile storage medium stores an operating system and computer-readable instructions.
- the computer-readable instructions can be executed by the processor to implement a theme rendering method provided by the following embodiments.
- Internal memory provides a cached execution environment for operating system computer-readable instructions in a non-volatile storage medium.
- the electronic device may be any terminal device such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales, a sales terminal), a vehicle-mounted computer, a wearable device, and the like.
- each module in the theme rendering apparatus may be in the form of computer-readable instructions.
- the computer readable instructions can be executed on a terminal or server.
- the program modules constituted by the computer readable instructions may be stored on the memory of the electronic device.
- one or more processors included in the electronic device implement the subject rendering methods in the foregoing embodiments when the computer-readable instructions stored in the memory are executed by one or more processors.
- Embodiments of the present application also provide a computer-readable storage medium.
- One or more non-volatile computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the subject matter of the various embodiments described above render method.
- Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
- Volatile memory may include random access memory (RAM), which acts as external cache memory.
- RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).
- SRAM static RAM
- DRAM dynamic RAM
- SDRAM synchronous DRAM
- DDR SDRAM double data rate SDRAM
- ESDRAM enhanced SDRAM
- SLDRAM synchronous Link (Synchlink) DRAM
- SLDRAM synchronous Link (Synchlink) DRAM
- Memory Bus Radbus
- RDRAM Direct RAM
- DRAM Direct Memory Bus Dynamic RAM
- RDRAM Memory Bus Dynamic RAM
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A theme rendering method and apparatus, and an electronic device and a computer readable storage medium. The theme rendering method comprises: obtaining a selected theme and a corresponding theme pack, wherein the theme pack comprises a first theme pack and a second theme pack, and the first theme pack and the second theme pack are theme packs corresponding to different types of electronic devices and having matched themes; parsing and rendering on the basis of the first theme pack; and sending the second theme pack to a second electronic device connected to the first electronic device, the second theme pack being used for instructing the second electronic device to parse and render on the basis of the second theme pack.
Description
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求于2020年06月29日提交中国专利局,申请号为202010603370X,申请名称为“主题渲染方法、装置、电子设备和计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on June 29, 2020 with the application number 202010603370X and the application title is "Theme Rendering Method, Device, Electronic Device and Computer-readable Storage Medium", the entire content of which is Incorporated herein by reference.
本申请涉及计算机技术领域,特别是涉及一种主题渲染方法、装置、电子设备和计算机可读存储介质。The present application relates to the field of computer technology, and in particular, to a subject rendering method, apparatus, electronic device, and computer-readable storage medium.
随着计算机技术的发展,用户可在主题商店选取喜欢的主题,并在电子设备中进行配置并渲染。With the development of computer technology, users can select favorite themes in the theme store, and configure and render them in electronic devices.
发明内容SUMMARY OF THE INVENTION
根据本申请公开的各种实施例,提供了一种主题渲染方法、装置、电子设备、计算机可读存储介质。According to various embodiments disclosed in the present application, a subject rendering method, apparatus, electronic device, and computer-readable storage medium are provided.
一种主题渲染方法,应用于第一电子设备,所述方法包括:A theme rendering method, applied to a first electronic device, the method comprising:
获取选取的主题以及所对应的主题包,其中,所述主题包包括第一主题包和第二主题包,所述第一主题包和所述第二主题包为不同类型的电子设备所对应的、且主题相匹配的主题包;Obtain the selected theme and the corresponding theme package, wherein the theme package includes a first theme package and a second theme package, and the first theme package and the second theme package are corresponding to different types of electronic devices. , and the theme package that matches the theme;
基于所述第一主题包进行解析和渲染;及parsing and rendering based on the first theme package; and
向与所述第一电子设备相连接的第二电子设备发送所述第二主题包,所述第二主题包用于指示所述第二电子设备基于所述第二主题包进行解析和渲染。Sending the second theme package to a second electronic device connected to the first electronic device, where the second theme package is used to instruct the second electronic device to parse and render based on the second theme package.
一种主题渲染方法,应用于第二电子设备,所述方法包括:A theme rendering method, applied to a second electronic device, the method comprising:
接收与所述第二电子设备相连接的第一电子设备所发送的第二主题包,所述第二主题包是第一电子设备解析选取的主题所对应的主题包得到的,且所述主题包包括第一主题包和第二主题包,所述第一主题包和所述第二主题包为不同类型的电子设备所对应的、且主题相匹配的主题包,所述第一主题包用于指示所述第一电子设备基于所述第一主题包进行解析和渲染;Receive a second theme package sent by a first electronic device connected to the second electronic device, where the second theme package is obtained by the first electronic device parsing the theme package corresponding to the selected theme, and the theme The package includes a first theme package and a second theme package. The first theme package and the second theme package are theme packages corresponding to different types of electronic devices and have matching themes. The first theme package uses instructing the first electronic device to perform parsing and rendering based on the first theme package;
解析所述第二主题包,并基于解析后的第二主题包进行渲染。Parse the second theme package, and render based on the parsed second theme package.
一种主题渲染装置,包括:A theme rendering device, comprising:
获取模块,用于获取选取的主题以及所对应的主题包,其中,所述主题包包括第一主题包和第二主题包,所述第一主题包和所述第二主题包为不同类型的电子设备所对应的、且主题相匹配的主题包;The acquisition module is used to acquire the selected theme and the corresponding theme package, wherein the theme package includes a first theme package and a second theme package, and the first theme package and the second theme package are of different types The theme package corresponding to the electronic device and matching the theme;
第一渲染模块,用于基于所述第一主题包进行解析和渲染;及a first rendering module for parsing and rendering based on the first theme package; and
发送模块,用于向与所述第一电子设备相连接的第二电子设备发送所述第二主题包, 所述第二主题包用于指示所述第二电子设备基于所述第二主题包进行解析和渲染。a sending module, configured to send the second theme package to a second electronic device connected to the first electronic device, where the second theme package is used to instruct the second electronic device based on the second theme package Parse and render.
一种主题渲染装置,包括:A theme rendering device, comprising:
接收模块,用于接收与第二电子设备相连接的第一电子设备所发送的第二主题包,第二主题包是第一电子设备解析选取的主题所对应的主题包得到的,且主题包包括第一主题包和第二主题包,第一主题包和第二主题包为不同类型的电子设备所对应的、且主题相匹配的主题包,第一主题包用于指示第一电子设备基于第一主题包进行解析和渲染;The receiving module is used to receive the second theme package sent by the first electronic device connected to the second electronic device, the second theme package is obtained by the first electronic device parses the theme package corresponding to the selected theme, and the theme package It includes a first theme package and a second theme package. The first theme package and the second theme package are theme packages corresponding to different types of electronic devices and have matching themes. The first theme package is used to indicate that the first electronic device is based on The first theme package is parsed and rendered;
第二渲染模块,用于解析第二主题包,并基于解析后的第二主题包进行渲染。The second rendering module is configured to parse the second theme package and render based on the parsed second theme package.
一种计算机设备,包括存储器和一个或多个处理器,所述存储器存储有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器执行上述主题渲染方法的步骤。A computer device comprising a memory and one or more processors, the memory storing computer-readable instructions that, when executed by the one or more processors, cause the one or more processors The processor performs the steps of the theme rendering method described above.
一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,其上存储有计算机可读指令,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行上述主题渲染方法的步骤。One or more non-volatile computer-readable storage media having computer-readable instructions stored thereon that, when executed by one or more processors, cause the one or a plurality of processors perform the steps of the above theme rendering method.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below. Other features and advantages of the present application will be apparent from the description, drawings, and claims.
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为一个或多个实施例中主题渲染方法的应用环境图;1 is an application environment diagram of a theme rendering method in one or more embodiments;
图2为一个或多个实施例中主题渲染方法的流程图;FIG. 2 is a flowchart of a theme rendering method in one or more embodiments;
图3为一个或多个实施例中第一电子设备基于第一主题包渲染后的界面示意图;3 is a schematic diagram of an interface rendered by a first electronic device based on a first theme package in one or more embodiments;
图4为一个或多个实施例中穿戴式设备基于第二主题包渲染后的界面示意图;4 is a schematic diagram of an interface rendered by a wearable device based on a second theme package in one or more embodiments;
图5为一个或多个实施例中渲染浏览器主题包的流程示意图;5 is a schematic flowchart of rendering a browser theme package in one or more embodiments;
图6为一个或多个实施例中渲染即时通信主题包的流程示意图;6 is a schematic flowchart of rendering an instant messaging theme package in one or more embodiments;
图7为一个或多个实施例中播放器的渲染流程示意图;7 is a schematic diagram of a rendering process of a player in one or more embodiments;
图8为另一个或多个实施例中主题渲染方法的流程示意图;8 is a schematic flowchart of a theme rendering method in another or more embodiments;
图9为一个或多个实施例的主题渲染装置的结构框图;9 is a structural block diagram of a theme rendering apparatus according to one or more embodiments;
图10为另一个或多个实施例的主题渲染装置的结构框图;10 is a structural block diagram of a theme rendering apparatus according to another or more embodiments;
图11为一个或多个实施例中电子设备的内部结构示意图。FIG. 11 is a schematic diagram of the internal structure of an electronic device in one or more embodiments.
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将一个数据与另一个元件区分。举例来说, 在不脱离本申请的范围的情况下,可以将第一主题包称为第二主题包,且类似地,可将第二主题包称为第一主题包。第一主题包和第二主题包两者都是主题包,但其不是同一主题包。It will be understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first theme package could be referred to as a second theme package, and, similarly, a second theme package could be termed a first theme package, without departing from the scope of this application. Both the first theme package and the second theme package are theme packages, but they are not the same theme package.
图1为其中一个实施例中主题渲染方法的应用环境示意图。如图1所示,该应用环境包括第一电子设备102和第二电子设备104。第一电子设备102和第二电子设备104可通过有线网络或无线网络进行连接。第一电子设备102和第二电子设备104均可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备。第一电子设备102和第二电子设备104的设备类型不相同。例如第一电子设备102为台式电脑或笔记本电脑,第二电子设备104为智能手机;第一电子设备102为智能手机,第二电子设备104为穿戴式设备等不限于此。用户可在主题商店选取喜欢的主题,并在电子设备中进行配置并渲染。然而,目前的主题渲染方法,存在操作繁琐的问题。FIG. 1 is a schematic diagram of an application environment of a theme rendering method in one embodiment. As shown in FIG. 1 , the application environment includes a first electronic device 102 and a second electronic device 104 . The first electronic device 102 and the second electronic device 104 may be connected through a wired network or a wireless network. Both the first electronic device 102 and the second electronic device 104 may be, but are not limited to, various personal computers, notebook computers, smartphones, tablet computers, and portable wearable devices. The device types of the first electronic device 102 and the second electronic device 104 are not the same. For example, the first electronic device 102 is a desktop computer or a notebook computer, and the second electronic device 104 is a smart phone; the first electronic device 102 is a smart phone, and the second electronic device 104 is a wearable device. Users can select their favorite themes in the theme store, and configure and render them in electronic devices. However, the current theme rendering method has the problem of cumbersome operation.
图2为其中一个实施例中主题渲染方法的流程图。本实施例中的主题渲染方法,以运行于图1中的第一电子设备102为例进行描述。如图2所示,主题渲染方法包括步骤202至步骤206。FIG. 2 is a flowchart of a theme rendering method in one embodiment. The theme rendering method in this embodiment is described by taking the first electronic device 102 running in FIG. 1 as an example. As shown in FIG. 2 , the theme rendering method includes steps 202 to 206 .
步骤202,获取选取的主题以及所对应的主题包,其中,主题包包括第一主题包和第二主题包,第一主题包和第二主题包为不同类型的电子设备所对应的、且主题相匹配的主题包。 Step 202, obtain the selected theme and the corresponding theme package, wherein, the theme package includes a first theme package and a second theme package, and the first theme package and the second theme package are corresponding to different types of electronic equipment, and the theme matching theme package.
主题可应用于电子设备,主题是电子设备的一种风格。电子设备可通过下载某个主题包配置对应的主题,使得电子设备显示相应样式的待机图片、背景图片、操作界面、图标、文字中至少一种。主题包中可预置两个主题包,包括第一主题包和第二主题包。第一主题包和第二主题包为主题相匹配的主题包。例如第一主题包和第二主题包均为主题A所对应的主题包。第一主题包和第二主题包中均可包括相应样式的背景图片、待机图片、铃声、图标、文字中至少一种但不限于此。Themes can be applied to electronic devices, and a theme is a style of electronic devices. The electronic device can configure a corresponding theme by downloading a certain theme package, so that the electronic device displays at least one of a standby picture, a background picture, an operation interface, an icon, and a text of a corresponding style. Two theme packages can be preset in the theme package, including the first theme package and the second theme package. The first theme package and the second theme package are theme packages with matching themes. For example, the first theme package and the second theme package are both theme packages corresponding to theme A. Both the first theme package and the second theme package may include at least one of a background picture, a standby picture, a ringtone, an icon, and a text of a corresponding style, but are not limited thereto.
具体地,第一主题包和第二主题包均是按照指定的语法和打包规则制作的。将第一主题包和第二主题包打包到主题包后,上传到主题商店。第一电子设备获取在主题商店上选取的主题,以及该主题对应的主题包。主题包的格式具体可以是xml(Extensible Markup Language,可扩展标记语言)格式。第一电子设备可解析主题包得到第一主题包和第二主题包。例如第一主题包与第一电子设备适配,第二主题包与第二电子设备适配。主题包可以是桌面主题包、浏览器主题包、即时通信主题包或者播放器主题包。那么对应的第一主题包可以是第一桌面主题包、第一即时通信主题包或者第一播放器主题包。对应的第二主题包可以是第二桌面主题包、第二即时通信主题包或者第二播放器主题包。Specifically, both the first theme package and the second theme package are made according to the specified grammar and packaging rules. After packing the first theme package and the second theme package into the theme package, upload it to the theme store. The first electronic device acquires the theme selected on the theme store and the theme package corresponding to the theme. The format of the theme package may specifically be an xml (Extensible Markup Language, Extensible Markup Language) format. The first electronic device may parse the theme package to obtain the first theme package and the second theme package. For example, the first theme package is adapted to the first electronic device, and the second theme package is adapted to the second electronic device. The theme package may be a desktop theme package, a browser theme package, an instant messaging theme package or a player theme package. Then the corresponding first theme package may be the first desktop theme package, the first instant messaging theme package or the first player theme package. The corresponding second theme package may be a second desktop theme package, a second instant messaging theme package or a second player theme package.
步骤204,基于第一主题包进行解析和渲染。 Step 204, parsing and rendering based on the first theme package.
解析是基于用xml文件自定义的一套语法描述规则。主题包都需要按照设计好的语法规则在xml文件中描述自己所想要达到的效果。Parsing is based on a set of grammatical description rules customized with xml files. The theme package needs to describe the effect it wants to achieve in the xml file according to the designed grammar rules.
具体地,第一电子设备解析主题包得到第一主题包。第一电子设备解析第一主题包,得到解析后的第一主题包,解析后的第一主题包中包括待显示图片、待显示图片的图片显示位置、动画规则、音频播放中至少一种信息但不限于此。第一电子设备基于解析后的第一主题包进行渲染。Specifically, the first electronic device parses the theme package to obtain the first theme package. The first electronic device parses the first theme package, and obtains an parsed first theme package, where the parsed first theme package includes at least one kind of information among a picture to be displayed, a picture display position of the picture to be displayed, animation rules, and audio playback But not limited to this. The first electronic device renders based on the parsed first theme package.
步骤206,向与第一电子设备相连接的第二电子设备发送第二主题包,第二主题包用 于指示第二电子设备基于第二主题包进行解析和渲染。Step 206: Send a second theme package to a second electronic device connected to the first electronic device, where the second theme package is used to instruct the second electronic device to perform parsing and rendering based on the second theme package.
与第一电子设备相连的第二电子设备的数量不限。The number of second electronic devices connected to the first electronic device is not limited.
具体地,第一电子设备向与第一电子设备相连接的第二电子设备发送第二主题包。第二电子设备接收到第二主题包后,可在界面上显示是否同意配置第二主题包,当获取到同意配置第二主题包的指令时,第二电子设备基于第二主题包进行解析和渲染。Specifically, the first electronic device sends the second theme package to the second electronic device connected to the first electronic device. After receiving the second theme package, the second electronic device can display on the interface whether it agrees to configure the second theme package. When obtaining the instruction to agree to configure the second theme package, the second electronic device parses and analyzes the second theme package based on the second theme package. render.
本实施例中的主题渲染方法,获取选取的主题以及所对应的主题包,且主题包中包括第一主题包和第二主题包,第一主题包和第二主题包分别应用于不同类型的电子设备中,且第一主题包和第二主题包的主题相匹配,那么第一电子设备解析并渲染该第一主题包,第二电子设备解析并渲染该第二主题包,能够自动使得第一电子设备和第二电子设备的主题相匹配,使第一电子设备的主题和第二电子设备的主题产生联动效果,不需要用户配置两次主题,简化用户操作,提高主题渲染效率,可以让用户觉得第一电子设备和第二电子设备是相互关联的设备,且更具趣味性。The theme rendering method in this embodiment obtains the selected theme and the corresponding theme package, and the theme package includes a first theme package and a second theme package, and the first theme package and the second theme package are respectively applied to different types of theme packages. In the electronic device, and the themes of the first theme package and the second theme package match, then the first electronic device parses and renders the first theme package, and the second electronic device parses and renders the second theme package, so that the The theme of one electronic device matches the theme of the second electronic device, so that the theme of the first electronic device and the theme of the second electronic device have a linkage effect, which does not require the user to configure the theme twice, which simplifies user operations and improves theme rendering efficiency. The user feels that the first electronic device and the second electronic device are interrelated and more interesting.
在其中一个实施例中,该主题渲染方法还包括:解析主题包,得到第一主题包和表盘主题包。向与第一电子设备相连接的第二电子设备发送第二主题包,包括:向与第一电子设备相连接的穿戴式设备发送表盘主题包,表盘主题包用于指示穿戴式设备解析表盘主题包并基于解析后的表盘主题包对表盘进行渲染。In one embodiment, the theme rendering method further includes: parsing the theme package to obtain the first theme package and the dial theme package. Sending a second theme package to a second electronic device connected to the first electronic device includes: sending a dial theme package to a wearable device connected to the first electronic device, where the dial theme package is used to instruct the wearable device to parse the dial theme package and render the watch face based on the parsed watch face theme package.
表盘主题包是指应用于穿戴式设备的主题包。表盘可以是指穿戴式设备的主界面。相连接具体可以通过局域网、蓝牙、NFC(Near Field Communication,近场通信)等方式进行连接。A watch face theme package refers to a theme package applied to wearable devices. The watch face may refer to the main interface of the wearable device. The connection can be specifically connected through a local area network, Bluetooth, NFC (Near Field Communication, near field communication) and other methods.
具体地,第一电子设备解析主题包,得到应用于第一电子设备的第一主题包和应用于第二电子设备的表盘主题包。第一电子设备向与第一电子设备相连接的穿戴式设备发送表盘主题包。穿戴式设备接收到表盘主题包后,解析表盘主题包得到解析后的表盘主题包,并基于解析后的表盘主题包对表盘进行渲染。Specifically, the first electronic device parses the theme package, and obtains a first theme package applied to the first electronic device and a dial theme package applied to the second electronic device. The first electronic device sends the dial theme package to the wearable device connected to the first electronic device. After receiving the dial theme package, the wearable device parses the dial theme package to obtain the parsed dial theme package, and renders the dial based on the parsed dial theme package.
本实施例中,如图3所示,为其中一个实施例中第一电子设备基于第一主题包渲染后的界面示意图。如图4所示,为其中一个实施例中穿戴式设备基于第二主题包渲染后的界面示意图。由图3和图4可知,界面中的主题相匹配,采用本申请的方案能够简化用户操作,提高渲染效率以及提高用户视觉体验。In this embodiment, as shown in FIG. 3 , it is a schematic diagram of an interface rendered by the first electronic device based on the first theme package in one of the embodiments. As shown in FIG. 4 , it is a schematic diagram of the interface rendered by the wearable device based on the second theme package in one of the embodiments. It can be seen from FIG. 3 and FIG. 4 that the themes in the interface match, and the solution of the present application can simplify user operations, improve rendering efficiency, and improve user visual experience.
本实施例中的主题渲染方法,向穿戴式设备发送表盘主题包,则穿戴式设备可解析表盘主题包并基于解析后的表盘主题包对表盘进行渲染,能够实现第一电子设备和穿戴式设备的主题相匹配,简化用户操作,提高主题渲染效率。In the theme rendering method in this embodiment, a dial theme package is sent to the wearable device, and the wearable device can parse the dial theme package and render the dial based on the parsed dial theme package, which can realize the first electronic device and the wearable device. The theme matches the theme, simplifying user operations and improving theme rendering efficiency.
在其中一个实施例中,解析主题包,得到第一主题包和表盘主题包,包括:解析主题包,得到第一主题包;解析第一主题包得到第一主题背景;对第一主题背景进行尺寸调整处理,得到适用于第二电子设备的第二主题背景;基于第二主题背景生成表盘主题包。In one embodiment, parsing the theme package to obtain the first theme package and the dial theme package includes: parsing the theme package to obtain the first theme package; parsing the first theme package to obtain the first theme background; A size adjustment process is performed to obtain a second theme background suitable for the second electronic device; and a dial theme package is generated based on the second theme background.
第一主题背景是应用于第一电子设备的背景图片。The first theme background is a background image applied to the first electronic device.
具体地,第一电子设备解析该主题包得到第一主题包,解析第一主题包得到第一主题背景。第一电子设备可根据第二电子设备的显示尺寸对第一主题背景进行裁剪处理,得到适用于第二电子设备的第二主题背景。或者,第一电子设备根据第二电子设备的显示尺寸对第一主题背景进行缩放处理,得到适用于第二电子设备的第二主题背景。第一电子设备基于第二主题背景生成包含第二主题背景信息的表盘主题包,其中该表盘主题包中还可以 包括待机图片、铃声、图标中至少一种。Specifically, the first electronic device parses the theme package to obtain a first theme package, and parses the first theme package to obtain a first theme background. The first electronic device may perform a cropping process on the first theme background according to the display size of the second electronic device to obtain a second theme background suitable for the second electronic device. Alternatively, the first electronic device performs scaling processing on the first theme background according to the display size of the second electronic device to obtain a second theme background suitable for the second electronic device. The first electronic device generates a dial theme package containing the second theme background information based on the second theme background, wherein the dial theme package may also include at least one of a standby picture, a ringtone, and an icon.
本实施例中的主题渲染方法,解析第一主题包得到第一主题背景,对第一主题背景进行尺寸调整处理,得到适用于第二电子设备的第二主题背景,基于第二主题背景生成表盘主题包,能够使得第一电子设备和穿戴式设备的背景相匹配,简化用户操作,提高主题渲染效率。In the theme rendering method in this embodiment, the first theme package is analyzed to obtain the first theme background, the size of the first theme background is adjusted to obtain the second theme background suitable for the second electronic device, and the dial is generated based on the second theme background. The theme package can match the backgrounds of the first electronic device and the wearable device, simplify user operations, and improve theme rendering efficiency.
在其中一个实施例中,如图5所示,为其中一个实施例中渲染浏览器主题包的流程示意图。获取选取的主题以及所对应的主题包,包括:In one of the embodiments, as shown in FIG. 5 , it is a schematic flowchart of rendering a browser theme package in one of the embodiments. Get the selected theme and the corresponding theme package, including:
步骤502,获取在浏览器的界面上选取的浏览器主题以及所对应的浏览器主题包,浏览器主题包包括第一浏览器主题包和第二浏览器主题包。Step 502: Obtain the browser theme selected on the browser interface and the corresponding browser theme package, where the browser theme package includes a first browser theme package and a second browser theme package.
具体地,浏览器也可以对应不同的主题,例如简约主题、中国风主题等不限于此。浏览器主题包中可包括背景图片、待机图片、铃声、图标中至少一种。第一电子设备获取在浏览器的界面上选取的浏览器主题,以及该浏览器主题所对应的浏览器主题包,该浏览器主题包包括第一浏览器主题包和第二浏览器主题包。第一浏览器主题包可应用于第一电子设备的浏览器中。第二浏览器主题包可应用于第二电子设备的浏览器中。Specifically, the browser can also correspond to different themes, for example, the minimalist theme, the Chinese style theme, etc. are not limited to this. The browser theme package may include at least one of a background picture, a standby picture, a ringtone, and an icon. The first electronic device acquires the browser theme selected on the interface of the browser and a browser theme package corresponding to the browser theme, where the browser theme package includes a first browser theme package and a second browser theme package. The first browser theme package can be applied to the browser of the first electronic device. The second browser theme package can be applied to the browser of the second electronic device.
基于第一浏览器主题包进行解析和渲染,包括:Parsing and rendering based on the first browser theme package, including:
步骤504,基于第一浏览器主题包进行解析和渲染。 Step 504, parsing and rendering based on the first browser theme package.
具体地,第一电子设备解析主题包得到第一浏览器主题包。第一电子设备解析第主题包,得到解析后的第一浏览器主题包。第一电子设备基于解析后的第一浏览器主题包进行渲染。Specifically, the first electronic device parses the theme package to obtain the first browser theme package. The first electronic device parses the first theme package, and obtains the parsed first browser theme package. The first electronic device renders based on the parsed first browser theme package.
向与第一电子设备相连接的第二电子设备发送第二浏览器主题包,包括:Sending a second browser theme package to a second electronic device connected to the first electronic device, including:
步骤506,向与第一电子设备相连接的第二电子设备发送与浏览器相对应的第二浏览器主题包,第二浏览器主题包用于指示第二电子设备解析第二浏览器主题包并基于解析后的第二浏览器主题包对浏览器进行渲染。Step 506: Send a second browser theme package corresponding to the browser to a second electronic device connected to the first electronic device, where the second browser theme package is used to instruct the second electronic device to parse the second browser theme package and rendering the browser based on the parsed second browser theme package.
具体地,第一电子设备向与第一电子设备相连接的第二电子设备发送第二浏览器主题包。第二电子设备接收到第二浏览器主题包后,可在界面上显示是否同意配置第二浏览器主题包,当获取到同意配置第二浏览器主题包的指令时,第二电子设备解析第二浏览器主题包,并基于解析后的第二浏览器主题包对相应的浏览器进行渲染。不同的浏览器所对应的主题包可以不相同。例如浏览器A对应A主题,浏览器B对应B主题。Specifically, the first electronic device sends the second browser theme package to the second electronic device connected to the first electronic device. After receiving the second browser theme package, the second electronic device can display on the interface whether it agrees to configure the second browser theme package. When obtaining the instruction to agree to configure the second browser theme package, the second electronic device parses the Second browser theme package, and render the corresponding browser based on the parsed second browser theme package. The theme packages corresponding to different browsers can be different. For example, browser A corresponds to theme A, and browser B corresponds to theme B.
本实施例中的主题渲染方法,获取选取的主题以及所对应的主题包,且主题包中包括第一浏览器主题包和第二浏览器主题包,第一浏览器主题包和第二浏览器主题包分别应用于不同类型的电子设备中,且第一浏览器主题包和第二浏览器主题包的主题相匹配,那么第一电子设备解析并渲染该第一浏览器主题包,第二电子设备解析并渲染该第二浏览器主题包,能够自动使得第一电子设备和第二电子设备的浏览器主题相匹配,不需要用户配置两次浏览器主题,简化用户操作,提高浏览器主题渲染效率。The theme rendering method in this embodiment obtains the selected theme and the corresponding theme package, and the theme package includes a first browser theme package and a second browser theme package, and the first browser theme package and the second browser theme package The theme packages are respectively applied to different types of electronic devices, and the themes of the first browser theme package and the second browser theme package match, then the first electronic device parses and renders the first browser theme package, and the second electronic device parses and renders the first browser theme package. The device parses and renders the second browser theme package, which can automatically match the browser themes of the first electronic device and the second electronic device, without requiring the user to configure the browser theme twice, simplifying user operations and improving browser theme rendering efficient.
在其中一个实施例中,如图6所示,为其中一个实施例中渲染即时通信主题包的流程示意图。获取选取的主题以及所对应的主题包,包括:In one of the embodiments, as shown in FIG. 6 , it is a schematic flowchart of rendering an instant messaging theme package in one of the embodiments. Get the selected theme and the corresponding theme package, including:
步骤602,获取在即时通信工具的界面上选取的即时通信主题以及所对应的即时通信主题包,即时通信主题包包括第一即时通信主题包和第二即时通信主题包。Step 602: Obtain the instant messaging theme selected on the interface of the instant messaging tool and the corresponding instant messaging theme package, where the instant messaging theme package includes a first instant messaging theme package and a second instant messaging theme package.
即时通信(instant message,IM)是指能够即时发送和接收互联网消息等的业务。 即时通信工具是指能够实现即时发送和接收互联网消息的工具。例如即时通信工具可以是QQ、微信等不限于此。Instant messaging (IM) refers to services that can instantly send and receive Internet messages. Instant communication tools are tools that can instantly send and receive Internet messages. For example, the instant communication tool may be QQ, WeChat, etc., but not limited thereto.
即时通信主题可应用于电子设备的即时通信软件中。即时通信主题是电子设备中即时通信工具的一种风格。电子设备可通过下载某个即时通信主题包从而配置对应的即时通信主题。即时通信主题包中包括两个即时通信主题包,分别为第一即时通信主题包和第二即时通信主题包。第一即时通信主题包和第二即时通信主题包为即时通信主题相匹配的即时通信主题包。例如第一即时通信主题包和第二即时通信主题包均为即时通信主题A所对应的即时通信主题包。The instant messaging theme can be applied to instant messaging software for electronic devices. The instant messaging theme is a style of instant messaging tools in electronic devices. The electronic device can configure a corresponding instant messaging theme by downloading a certain instant messaging theme package. The instant messaging theme package includes two instant messaging theme packages, which are a first instant messaging theme package and a second instant messaging theme package respectively. The first instant messaging theme package and the second instant messaging theme package are instant messaging theme packages that match the instant messaging theme. For example, the first instant messaging theme package and the second instant messaging theme package are both instant messaging theme packages corresponding to the instant messaging theme A.
第一即时通信主题包和第二即时通信主题包中均可包括背景图片、图标中至少一种但不限于此。Both the first instant messaging theme package and the second instant messaging theme package may include at least one of background pictures and icons, but are not limited thereto.
具体地,第一电子设备获取在即时通信主题界面上选取的即时通信主题,以及该即时通信主题对应的即时通信主题包。即时通信主题包的格式具体可以是xml(Extensible Markup Language,可扩展标记语言)格式。第一电子设备可解析即时通信主题包得到第一即时通信主题包和第二即时通信主题包。例如第一即时通信主题包与第一电子设备适配,第二即时通信主题包与第二电子设备适配。Specifically, the first electronic device acquires the instant messaging theme selected on the instant messaging theme interface, and the instant messaging theme package corresponding to the instant messaging theme. The format of the instant messaging theme package may specifically be an xml (Extensible Markup Language, Extensible Markup Language) format. The first electronic device can parse the instant messaging theme package to obtain the first instant messaging theme package and the second instant messaging theme package. For example, the first instant messaging theme package is adapted to the first electronic device, and the second instant messaging theme package is adapted to the second electronic device.
基于第一即时通信主题包进行解析和渲染,包括:Parsing and rendering based on the first instant messaging theme package, including:
步骤604,基于第一即时通信主题包进行解析和渲染。 Step 604, parsing and rendering based on the first instant messaging theme package.
具体地,第一电子设备解析即时通信主题包得到第一即时通信主题包。第一电子设备解析第一即时通信主题包,得到解析后的第一即时通信主题包。第一电子设备基于解析后的第一即时通信主题包进行渲染。Specifically, the first electronic device parses the instant messaging theme package to obtain the first instant messaging theme package. The first electronic device parses the first instant messaging theme package to obtain the parsed first instant messaging theme package. The first electronic device renders based on the parsed first instant messaging theme package.
向与第一电子设备相连接的第二电子设备发送第二即时通信主题包,包括:Sending a second instant messaging theme package to a second electronic device connected to the first electronic device, including:
步骤606,向与第一电子设备相连接的第二电子设备发送与即时通讯工具相对应的第二即时通讯即时通信主题包,第二即时通讯即时通信主题包用于指示第二电子设备解析第二即时通讯即时通信主题包并基于解析后的第二即时通讯即时通信主题包对即时通信工具进行渲染。 Step 606, send a second instant messaging theme package corresponding to the instant messaging tool to a second electronic device connected to the first electronic device, and the second instant messaging theme package is used to instruct the second electronic device to parse the first The second instant messaging theme package and rendering the instant messaging tool based on the parsed second instant messaging theme package.
具体地,第一电子设备向与第一电子设备相连接的第二电子设备发送第二电子设备发送第二即时通信主题包。第二电子设备接收到第二即时通信主题包后,可在界面上显示是否同意配置第二即时通信主题包,当获取到同意配置第二即时通信主题包的指令时,第二电子设备解析第二即时通信主题包,并基于解析后的第二即时通信主题包进行渲染。不同的即时通信工具所对应的主题包可以不相同。例如即时通信工具A对应A主题,即时通信工具B对应B主题。Specifically, the first electronic device sends the second instant messaging theme package sent by the second electronic device to the second electronic device connected to the first electronic device. After the second electronic device receives the second instant messaging theme package, it can display on the interface whether it agrees to configure the second instant messaging theme package. Second, the instant messaging theme package is rendered based on the parsed second instant messaging theme package. The theme packages corresponding to different instant messaging tools may be different. For example, instant messaging tool A corresponds to topic A, and instant messaging tool B corresponds to topic B.
本实施例中的主题渲染方法,获取选取的即时通信主题以及所对应的即时通信主题包,且即时通信主题包中包括第一即时通信主题包和第二即时通信主题包,第一即时通信主题包和第二即时通信主题包分别应用于不同类型的电子设备中,且第一即时通信主题包和第二即时通信主题包的即时通信主题相匹配,那么第一电子设备解析并渲染该第一即时通信主题包,第二电子设备解析并渲染该第二即时通信主题包,能够自动使得第一电子设备和第二电子设备的即时通信主题相匹配,不需要用户配置两次即时通信主题,简化用户操作,提高即时通信主题渲染效率。The theme rendering method in this embodiment obtains the selected instant messaging theme and the corresponding instant messaging theme package, and the instant messaging theme package includes a first instant messaging theme package and a second instant messaging theme package, and the first instant messaging theme package The package and the second instant messaging theme package are respectively applied to different types of electronic devices, and the instant messaging theme of the first instant messaging theme package and the second instant messaging theme package match, then the first electronic device parses and renders the first instant messaging theme package. The instant messaging theme package, the second electronic device parses and renders the second instant messaging theme package, which can automatically match the instant messaging themes of the first electronic device and the second electronic device, without requiring the user to configure the instant messaging theme twice, simplifying User operation to improve the rendering efficiency of instant messaging topics.
在其中一个实施例中,如图7所示,为其中一个实施例中播放器的渲染流程示意图。 获取选取的主题以及所对应的主题包,包括:In one of the embodiments, as shown in FIG. 7 , it is a schematic diagram of the rendering process of the player in one of the embodiments. Get the selected theme and the corresponding theme package, including:
步骤702,获取在播放器的界面上选取的主题以及所对应的播放器主题包,播放器主题包包括第一播放器主题包和第二播放器主题包。Step 702: Obtain the theme selected on the player interface and the corresponding player theme package, where the player theme package includes a first player theme package and a second player theme package.
播放器是指能播放以数字信号形式存储的视频或音频文件的软件,或者具有播放视频或音频文件功能的电子器件产品。播放器可以是视频播放器、音频播放器、图片播放器等不限于此。A player refers to software that can play video or audio files stored in the form of digital signals, or an electronic device product with the function of playing video or audio files. The player may be a video player, an audio player, a picture player, etc. but not limited thereto.
播放器主题可应用于电子设备的播放器软件中。播放器主题是电子设备中播放器的一种风格。电子设备可通过下载某个播放器主题包配置对应的播放器主题。播放器主题包中包括两个播放器主题包,分别为第一播放器主题包和第二播放器主题包。第一播放器主题包和第二播放器主题包为播放器主题相匹配的播放器主题包。例如第一播放器主题包和第二播放器主题包均为播放器主题A所对应的播放器主题包。第一播放器主题包和第二播放器主题包中均可包括背景图片、图标中至少一种但不限于此。Player themes can be used in player software for electronic devices. Player themes are a style of players in electronic devices. The electronic device can configure the corresponding player theme by downloading a certain player theme package. The player theme package includes two player theme packages, namely a first player theme package and a second player theme package. The first player theme package and the second player theme package are player theme packages that match the player theme. For example, the first player theme package and the second player theme package are both player theme packages corresponding to the player theme A. Both the first player theme package and the second player theme package may include at least one of background pictures and icons, but are not limited thereto.
具体地,第一电子设备获取在播放器主题界面上选取的播放器主题,以及该播放器主题对应的播放器主题包。播放器主题包的格式具体可以是xml(Extensible Markup Language,可扩展标记语言)格式。第一电子设备可解析播放器主题包得到第一播放器主题包和第二播放器主题包。例如第一播放器主题包与第一电子设备适配,第二播放器主题包与第二电子设备适配。Specifically, the first electronic device acquires the player theme selected on the player theme interface, and the player theme package corresponding to the player theme. The format of the player theme package may specifically be an xml (Extensible Markup Language, Extensible Markup Language) format. The first electronic device can parse the player theme package to obtain the first player theme package and the second player theme package. For example, the first player theme package is adapted to the first electronic device, and the second player theme package is adapted to the second electronic device.
基于第一播放器主题包进行解析和渲染,包括:Parse and render based on the first player theme package, including:
步骤704,基于第一播放器主题包进行解析和渲染。 Step 704, parsing and rendering based on the first player theme package.
具体地,第一电子设备解析播放器主题包得到第一播放器主题包。第一电子设备解析第一播放器主题包,得到解析后的第一播放器主题包。第一电子设备基于解析后的第一播放器主题包进行渲染。Specifically, the first electronic device parses the player theme package to obtain the first player theme package. The first electronic device parses the first player theme package to obtain the parsed first player theme package. The first electronic device renders based on the parsed first player theme package.
向与第一电子设备相连接的第二电子设备发送第二主题包,包括:Sending a second theme package to a second electronic device connected to the first electronic device, including:
步骤706,向与第一电子设备相连接的第二电子设备发送与播放器相对应的第二播放器主题包,第二播放器主题包用于指示第二电子设备解析第二播放器主题包并基于解析后的第二播放器主题包对播放器进行渲染。 Step 706, send the second player theme package corresponding to the player to the second electronic device connected to the first electronic device, the second player theme package is used to instruct the second electronic device to parse the second player theme package And render the player based on the parsed second player theme package.
具体地,第一电子设备向与第一电子设备相连接的第二电子设备发送第二电子设备发送第二播放器主题包。第二电子设备接收到第二播放器主题包后,可在界面上显示是否同意配置第二播放器主题包,当获取到同意配置第二播放器主题包的指令时,第二电子设备解析第二播放器主题包,并基于解析后的第二播放器主题包进行渲染。不同的播放器所对应的主题包可以不相同。例如播放器A对应A主题,播放器B对应B主题。Specifically, the first electronic device sends a second player theme package sent by the second electronic device to a second electronic device connected to the first electronic device. After receiving the second player theme package, the second electronic device can display on the interface whether it agrees to configure the second player theme package. When obtaining the instruction to agree to configure the second player theme package, the second electronic device parses the Second player theme package, and render based on the parsed second player theme package. The theme packages corresponding to different players can be different. For example, player A corresponds to theme A, and player B corresponds to theme B.
本实施例中的主题渲染方法,获取选取的播放器主题以及所对应的播放器主题包,且播放器主题包中包括第一播放器主题包和第二播放器主题包,第一播放器主题包和第二播放器主题包分别应用于不同类型的电子设备中,且第一播放器主题包和第二播放器主题包的播放器主题相匹配,那么第一电子设备解析并渲染该第一播放器主题包,第二电子设备解析并渲染该第二播放器主题包,能够自动使得第一电子设备和第二电子设备的播放器主题相匹配,不需要用户配置两次播放器主题,简化用户操作,提高播放器主题渲染效率。In the theme rendering method in this embodiment, the selected player theme and the corresponding player theme package are obtained, and the player theme package includes a first player theme package and a second player theme package, and the first player theme package includes a first player theme package and a second player theme package. The package and the second player theme package are respectively applied to different types of electronic devices, and the player theme of the first player theme package and the second player theme package match, then the first electronic device parses and renders the first player theme package. The player theme package, the second electronic device parses and renders the second player theme package, which can automatically match the player themes of the first electronic device and the second electronic device, without requiring the user to configure the player theme twice, simplifying User operation to improve the rendering efficiency of the player theme.
在其中一个实施例中,如图8所示,为另一个实施例中主题渲染方法的流程示意图。一种主题渲染方法,应用于第二电子设备,包括以下步骤:In one of the embodiments, as shown in FIG. 8 , it is a schematic flowchart of a theme rendering method in another embodiment. A theme rendering method, applied to a second electronic device, includes the following steps:
步骤802,接收与第二电子设备相连接的第一电子设备所发送的第二主题包,第二主题包是第一电子设备解析选取的主题所对应的主题包得到的,且主题包包括第一主题包和第二主题包,第一主题包和第二主题包为不同类型的电子设备所对应的、且主题相匹配的主题包,第一主题包用于指示第一电子设备基于第一主题包进行解析和渲染。 Step 802, receiving the second theme package sent by the first electronic device connected with the second electronic device, the second theme package is obtained by the first electronic device parsing the theme package corresponding to the selected theme, and the theme package includes the first theme package. A theme package and a second theme package. The first theme package and the second theme package are theme packages corresponding to different types of electronic devices and have matching themes. The first theme package is used to indicate that the first electronic device is based on the first theme package. The theme package is parsed and rendered.
具体地,第一电子设备获取选取的主题以及所对应的主题包,并解析主题包得到第一主题包和第二主题包。第一主题包和第二主题包为不同类型的电子设备所对应的、且主题相匹配的主题包。第一电子设备解析第一主题包,并基于解析后的第一主题包进行渲染。第一电子设备向与第一电子设备相连接的第二电子设备发送第二主题包。第二电子设备接收第一电子设备所发送的第二主题包。Specifically, the first electronic device obtains the selected theme and the corresponding theme package, and parses the theme package to obtain the first theme package and the second theme package. The first theme package and the second theme package are theme packages corresponding to different types of electronic devices and with matching themes. The first electronic device parses the first theme package, and performs rendering based on the parsed first theme package. The first electronic device sends a second theme package to a second electronic device connected to the first electronic device. The second electronic device receives the second theme package sent by the first electronic device.
步骤804,解析第二主题包,并基于解析后的第二主题包进行渲染。 Step 804, parsing the second theme package, and rendering based on the parsed second theme package.
具体地,第二电子设备解析第二主题包,并基于解析后的第二主题包对对应软件程序进行渲染。Specifically, the second electronic device parses the second theme package, and renders the corresponding software program based on the parsed second theme package.
本实施例中的主题渲染方法,通过接收与第二电子设备相连接的第一电子设备所发送的第二主题包,第一主题包和第二主题包分别应用于不同类型的电子设备中,且第一主题包和第二主题包的主题相匹配,那么第一电子设备解析并渲染该第一主题包,第二电子设备解析并渲染该第二主题包,能够自动使得第一电子设备和第二电子设备的主题相匹配,不需要用户配置两次主题,简化用户操作,提高主题渲染效率。In the theme rendering method in this embodiment, by receiving the second theme package sent by the first electronic device connected to the second electronic device, the first theme package and the second theme package are respectively applied to different types of electronic devices, And the theme of the first theme package and the theme of the second theme package match, then the first electronic device parses and renders the first theme package, and the second electronic device parses and renders the second theme package, which can automatically enable the first electronic device and the second theme package. The theme of the second electronic device is matched, and the user does not need to configure the theme twice, which simplifies the user operation and improves the theme rendering efficiency.
在其中一个实施例中,解析第二主题包,并基于解析后的第二主题包进行渲染,包括:当第二电子设备为穿戴式设备时,在桌面加载表盘引擎,通过表盘引擎解析表盘主题包并基于解析后的表盘主题包进行渲染。In one embodiment, parsing the second theme package and rendering based on the parsed second theme package includes: when the second electronic device is a wearable device, loading a dial engine on the desktop, and parsing the dial theme through the dial engine package and render based on the parsed watch face theme package.
具体地,第二电子设备接到表盘主题包后,将其存储在指定的目录。在穿戴式设备的系统中内置一套表盘引擎。表盘引擎用于直接对存储设备上的表盘主题包进行解析并渲染。表盘引擎从表盘资源包中可以读取到该xml文件和需要用到的图片、声音资源等素材,解析xml文件内的规则去渲染成实际显示的表盘。Specifically, after receiving the dial theme package, the second electronic device stores it in a specified directory. A dial engine is built into the system of the wearable device. The watch face engine is used to directly parse and render the watch face theme package on the storage device. The dial engine can read the xml file and the required images, sound resources and other materials from the dial resource package, and parse the rules in the xml file to render the actual dial.
本实施例中的主题渲染方法,当第二电子设备为穿戴式设备时,在桌面加载表盘引擎,通过表盘引擎解析表盘主题包并基于解析后的表盘主题包进行渲染,能够自动使得第一电子设备和第二电子设备的主题相匹配,使第一电子设备的主题和第二电子设备的主题产生联动效果,不需要用户配置两次主题,简化用户操作,提高主题渲染效率。In the theme rendering method in this embodiment, when the second electronic device is a wearable device, a dial engine is loaded on the desktop, the dial engine is used to parse the dial theme package, and rendering is performed based on the parsed dial theme package, so that the first electronic device can be automatically rendered. The theme of the device and the second electronic device are matched, so that the theme of the first electronic device and the theme of the second electronic device have a linkage effect, and the user does not need to configure the theme twice, which simplifies user operations and improves theme rendering efficiency.
应该理解的是,虽然图2、和5至8的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2、和5至8中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowcharts of FIGS. 2 and 5 to 8 are shown in sequence as indicated by arrows, these steps are not necessarily performed sequentially in the sequence indicated by arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and the steps may be executed in other orders. Moreover, at least a part of the steps in FIGS. 2 and 5 to 8 may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. The order of execution of the steps or phases is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of sub-steps of other steps or phases.
图9为其中一个实施例的主题渲染装置的结构框图。如图9所示,一种主题渲染装置包括获取模块902、第一渲染模块904和发送模块906,其中:FIG. 9 is a structural block diagram of a theme rendering apparatus according to one embodiment. As shown in FIG. 9, a theme rendering apparatus includes an obtaining module 902, a first rendering module 904 and a sending module 906, wherein:
获取模块902,用于获取选取的主题以及所对应的主题包,其中,主题包包括第一主题包和第二主题包,第一主题包和第二主题包为不同类型的电子设备所对应的、且主题相匹配的主题包;The obtaining module 902 is used to obtain the selected theme and the corresponding theme package, wherein the theme package includes a first theme package and a second theme package, and the first theme package and the second theme package are corresponding to different types of electronic devices. , and the theme package that matches the theme;
第一渲染模块904,用于基于第一主题包进行解析和渲染;The first rendering module 904 is used for parsing and rendering based on the first theme package;
发送模块906,用于向与第一电子设备相连接的第二电子设备发送第二主题包,第二主题包用于指示第二电子设备基于第二主题包进行解析和渲染。The sending module 906 is configured to send a second theme package to a second electronic device connected to the first electronic device, where the second theme package is used to instruct the second electronic device to perform parsing and rendering based on the second theme package.
本实施例中的主题渲染装置,获取选取的主题以及所对应的主题包,且主题包中包括第一主题包和第二主题包,第一主题包和第二主题包分别应用于不同类型的电子设备中,且第一主题包和第二主题包的主题相匹配,那么第一电子设备解析并渲染该第一主题包,第二电子设备解析并渲染该第二主题包,能够自动使得第一电子设备和第二电子设备的主题相匹配,使第一电子设备的主题和第二电子设备的主题产生联动效果,不需要用户配置两次主题,简化用户操作,提高主题渲染效率,可以让用户觉得第一电子设备和第二电子设备是相互关联的设备,且更具趣味性。The theme rendering device in this embodiment obtains the selected theme and the corresponding theme package, and the theme package includes a first theme package and a second theme package, and the first theme package and the second theme package are respectively applied to different types of theme packages. In the electronic device, and the themes of the first theme package and the second theme package match, then the first electronic device parses and renders the first theme package, and the second electronic device parses and renders the second theme package, so that the The theme of one electronic device matches the theme of the second electronic device, so that the theme of the first electronic device and the theme of the second electronic device have a linkage effect, which does not require the user to configure the theme twice, which simplifies user operations and improves theme rendering efficiency. The user feels that the first electronic device and the second electronic device are interrelated and more interesting.
在其中一个实施例中,主题渲染装置还包括解析模块,解析模块用于解析主题包,得到第一主题包和表盘主题包。发送模块906用于向与第一电子设备相连接的穿戴式设备发送表盘主题包,表盘主题包用于指示穿戴式设备解析表盘主题包并基于解析后的表盘主题包对表盘进行渲染。In one embodiment, the theme rendering apparatus further includes a parsing module, and the parsing module is configured to parse the theme package to obtain the first theme package and the dial theme package. The sending module 906 is configured to send the dial theme package to the wearable device connected to the first electronic device, where the dial theme package is used to instruct the wearable device to parse the dial theme package and render the dial based on the parsed dial theme package.
本实施例中的主题渲染装置,向穿戴式设备发送表盘主题包,则穿戴式设备可解析表盘主题包并基于解析后的表盘主题包对表盘进行渲染,能够实现第一电子设备和穿戴式设备的主题相匹配,简化用户操作,提高主题渲染效率。The theme rendering device in this embodiment sends the dial theme package to the wearable device, and the wearable device can parse the dial theme package and render the dial based on the parsed dial theme package, which can realize the first electronic device and the wearable device. The theme matches the theme, simplifying user operations and improving theme rendering efficiency.
在其中一个实施例中,解析模块还用于解析主题包,得到第一主题包,解析第一主题包得到第一主题背景,对第一主题背景进行尺寸调整处理,得到适用于第二电子设备的第二主题背景,基于第二主题背景生成表盘主题包。In one embodiment, the parsing module is further configured to parse the theme package to obtain the first theme package, parse the first theme package to obtain the first theme background, perform size adjustment processing on the first theme background, and obtain a first theme package suitable for the second electronic device The second theme background of , generates a dial theme package based on the second theme background.
本实施例中的主题渲染装置,解析第一主题包得到第一主题背景,对第一主题背景进行尺寸调整处理,得到适用于第二电子设备的第二主题背景,基于第二主题背景生成表盘主题包,能够使得第一电子设备和穿戴式设备的背景相匹配,简化用户操作,提高主题渲染效率。The theme rendering device in this embodiment parses the first theme package to obtain the first theme background, performs size adjustment processing on the first theme background, obtains the second theme background suitable for the second electronic device, and generates a dial based on the second theme background The theme package can match the backgrounds of the first electronic device and the wearable device, simplify user operations, and improve theme rendering efficiency.
在其中一个实施例中,获取模块902用于获取在浏览器的界面上选取的浏览器主题以及所对应的浏览器主题包,浏览器主题包包括第一浏览器主题包和第二浏览器主题包。第一渲染模块904用于基于第一浏览器主题包进行解析和渲染。发送模块906用于向与第一电子设备相连接的第二电子设备发送与浏览器相对应的第二浏览器主题包,第二浏览器主题包用于指示第二电子设备解析第二浏览器主题包并基于解析后的第二浏览器主题包对浏览器进行渲染。In one embodiment, the obtaining module 902 is configured to obtain a browser theme selected on the browser interface and a corresponding browser theme package, where the browser theme package includes a first browser theme package and a second browser theme Bag. The first rendering module 904 is used for parsing and rendering based on the first browser theme package. The sending module 906 is configured to send a second browser theme package corresponding to the browser to the second electronic device connected to the first electronic device, and the second browser theme package is used to instruct the second electronic device to parse the second browser theme package and render the browser based on the parsed second browser theme package.
本实施例中的主题渲染装置,获取选取的主题以及所对应的主题包,且主题包中包括第一浏览器主题包和第二浏览器主题包,第一浏览器主题包和第二浏览器主题包分别应用于不同类型的电子设备中,且第一浏览器主题包和第二浏览器主题包的主题相匹配,那么第一电子设备解析并渲染该第一浏览器主题包,第二电子设备解析并渲染该第二浏览器主题包,能够自动使得第一电子设备和第二电子设备的浏览器主题相匹配,不需要用户配置两次浏览器主题,简化用户操作,提高浏览器主题渲染效率。The theme rendering device in this embodiment obtains the selected theme and the corresponding theme package, and the theme package includes a first browser theme package and a second browser theme package, and the first browser theme package and the second browser theme package The theme packages are respectively applied to different types of electronic devices, and the themes of the first browser theme package and the second browser theme package match, then the first electronic device parses and renders the first browser theme package, and the second electronic device parses and renders the first browser theme package. The device parses and renders the second browser theme package, which can automatically match the browser themes of the first electronic device and the second electronic device, without requiring the user to configure the browser theme twice, simplifying user operations and improving browser theme rendering efficient.
在其中一个实施例中,获取模块902用于获取在即时通信工具的界面上选取的即时通信主题以及所对应的即时通信主题包,即时通信主题包包括第一即时通信主题包和第二即时通信主题包。第一渲染模块904用于基于第一即时通信主题包进行解析渲染。发送模块906用于向与第一电子设备相连接的第二电子设备发送与即时通讯工具相对应的第二即时通讯即时通信主题包,第二即时通讯即时通信主题包用于指示第二电子设备解析第二即时通讯即时通信主题包并基于解析后的第二即时通讯即时通信主题包对即时通信工具进行渲染。In one embodiment, the obtaining module 902 is configured to obtain the instant messaging theme selected on the interface of the instant messaging tool and the corresponding instant messaging theme package, where the instant messaging theme package includes a first instant messaging theme package and a second instant messaging theme package theme pack. The first rendering module 904 is configured to perform parsing and rendering based on the first instant messaging topic package. The sending module 906 is configured to send a second instant messaging theme package corresponding to the instant messaging tool to a second electronic device connected to the first electronic device, and the second instant messaging theme package is used to instruct the second electronic device Parsing the second instant messaging theme package and rendering the instant messaging tool based on the parsed second instant messaging theme package.
本实施例中的主题渲染装置,获取选取的即时通信主题以及所对应的即时通信主题包,且即时通信主题包中包括第一即时通信主题包和第二即时通信主题包,第一即时通信主题包和第二即时通信主题包分别应用于不同类型的电子设备中,且第一即时通信主题包和第二即时通信主题包的即时通信主题相匹配,那么第一电子设备解析并渲染该第一即时通信主题包,第二电子设备解析并渲染该第二即时通信主题包,能够自动使得第一电子设备和第二电子设备的即时通信主题相匹配,不需要用户配置两次即时通信主题,简化用户操作,提高即时通信主题渲染效率。The theme rendering device in this embodiment obtains the selected instant messaging theme and the corresponding instant messaging theme package, and the instant messaging theme package includes a first instant messaging theme package and a second instant messaging theme package, the first instant messaging theme package. The package and the second instant messaging theme package are respectively applied to different types of electronic devices, and the instant messaging theme of the first instant messaging theme package and the second instant messaging theme package match, then the first electronic device parses and renders the first instant messaging theme package. The instant messaging theme package, the second electronic device parses and renders the second instant messaging theme package, which can automatically match the instant messaging themes of the first electronic device and the second electronic device, without requiring the user to configure the instant messaging theme twice, simplifying User operation to improve the rendering efficiency of instant messaging topics.
在其中一个实施例中,获取模块902用于获取在播放器的界面上选取的主题以及所对应的播放器主题包,播放器主题包包括第一播放器主题包和第二播放器主题包。渲染模块用于基于第一播放器主题包进行解析和渲染。发送模块906用于向与第一电子设备相连接的第二电子设备发送与播放器相对应的第二播放器主题包,第二播放器主题包用于指示第二电子设备解析第二播放器主题包并基于解析后的第二播放器主题包对播放器进行渲染。In one embodiment, the obtaining module 902 is configured to obtain the theme selected on the interface of the player and the corresponding player theme package, where the player theme package includes a first player theme package and a second player theme package. The rendering module is used for parsing and rendering based on the first player theme package. The sending module 906 is configured to send a second player theme package corresponding to the player to a second electronic device connected to the first electronic device, and the second player theme package is used to instruct the second electronic device to parse the second player theme package and render the player based on the parsed second player theme package.
本实施例中的主题渲染装置,获取选取的播放器主题以及所对应的播放器主题包,且播放器主题包中包括第一播放器主题包和第二播放器主题包,第一播放器主题包和第二播放器主题包分别应用于不同类型的电子设备中,且第一播放器主题包和第二播放器主题包的播放器主题相匹配,那么第一电子设备解析并渲染该第一播放器主题包,第二电子设备解析并渲染该第二播放器主题包,能够自动使得第一电子设备和第二电子设备的播放器主题相匹配,不需要用户配置两次播放器主题,简化用户操作,提高播放器主题渲染效率。The theme rendering device in this embodiment obtains the selected player theme and the corresponding player theme package, and the player theme package includes a first player theme package and a second player theme package, and the first player theme package The package and the second player theme package are respectively applied to different types of electronic devices, and the player theme of the first player theme package and the second player theme package match, then the first electronic device parses and renders the first player theme package. The player theme package, the second electronic device parses and renders the second player theme package, which can automatically match the player themes of the first electronic device and the second electronic device, without requiring the user to configure the player theme twice, simplifying User operation to improve the rendering efficiency of the player theme.
图10为另一个实施例的主题渲染装置的结构框图。如图9所示,一种主题渲染装置包括接收模块1002和第二渲染模块1004,其中:FIG. 10 is a structural block diagram of a theme rendering apparatus according to another embodiment. As shown in FIG. 9, a theme rendering apparatus includes a receiving module 1002 and a second rendering module 1004, wherein:
接收模块1002,用于接收与第二电子设备相连接的第一电子设备所发送的第二主题包,第二主题包是第一电子设备解析选取的主题所对应的主题包得到的,且主题包包括第一主题包和第二主题包,第一主题包和第二主题包为不同类型的电子设备所对应的、且主题相匹配的主题包,第一主题包用于指示第一电子设备基于第一主题包进行解析和渲染;The receiving module 1002 is used for receiving the second theme package sent by the first electronic device connected with the second electronic device, the second theme package is obtained by the first electronic device parsing the theme package corresponding to the selected theme, and the theme The package includes a first theme package and a second theme package. The first theme package and the second theme package are theme packages corresponding to different types of electronic devices and have matching themes. The first theme package is used to indicate the first electronic device. Parsing and rendering based on the first theme package;
第二渲染模块1004,用于解析第二主题包,并基于解析后的第二主题包进行渲染。The second rendering module 1004 is configured to parse the second theme package, and perform rendering based on the parsed second theme package.
本实施例中的主题渲染装置,通过接收与第二电子设备相连接的第一电子设备所发送的第二主题包,第一主题包和第二主题包分别应用于不同类型的电子设备中,且第一主题包和第二主题包的主题相匹配,那么第一电子设备解析并渲染该第一主题包,第二电子设备解析并渲染该第二主题包,能够自动使得第一电子设备和第二电子设备的主题相匹配,不需要用户配置两次主题,简化用户操作,提高主题渲染效率。The theme rendering apparatus in this embodiment receives the second theme package sent by the first electronic device connected to the second electronic device, and the first theme package and the second theme package are respectively applied to different types of electronic devices, And the theme of the first theme package and the theme of the second theme package match, then the first electronic device parses and renders the first theme package, and the second electronic device parses and renders the second theme package, which can automatically enable the first electronic device and the second theme package. The theme of the second electronic device is matched, and the user does not need to configure the theme twice, which simplifies the user operation and improves the theme rendering efficiency.
在其中一个实施例中,第二渲染模块1004用于当第二电子设备为穿戴式设备时,在桌面加载表盘引擎,通过表盘引擎解析表盘主题包并基于解析后的表盘主题包进行渲染。In one embodiment, the second rendering module 1004 is configured to load a dial engine on the desktop when the second electronic device is a wearable device, parse the dial theme package through the dial engine, and perform rendering based on the parsed dial theme package.
本实施例中的主题渲染装置,当第二电子设备为穿戴式设备时,在桌面加载表盘引擎,通过表盘引擎解析表盘主题包并基于解析后的表盘主题包进行渲染,能够自动使得第一电子设备和第二电子设备的主题相匹配,使第一电子设备的主题和第二电子设备的主题产生联动效果,不需要用户配置两次主题,简化用户操作,提高主题渲染效率。The theme rendering device in this embodiment, when the second electronic device is a wearable device, loads a dial engine on the desktop, parses the dial theme package through the dial engine, and renders based on the parsed dial theme package, which can automatically make the first electronic device The theme of the device and the second electronic device are matched, so that the theme of the first electronic device and the theme of the second electronic device have a linkage effect, and the user does not need to configure the theme twice, which simplifies user operations and improves theme rendering efficiency.
上述主题渲染装置中各个模块的划分仅用于举例说明,在其他实施例中,可将主题渲染装置按照需要划分为不同的模块,以完成上述主题渲染装置的全部或部分功能。The division of each module in the above theme rendering apparatus is only for illustration. In other embodiments, the theme rendering apparatus may be divided into different modules as required to complete all or part of the functions of the above theme rendering apparatus.
关于主题渲染装置的具体限定可以参见上文中对于主题渲染方法的限定,在此不再赘述。上述主题渲染装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For specific limitations on the theme rendering apparatus, reference may be made to the above limitations on the theme rendering method, which will not be repeated here. Each module in the above-mentioned theme rendering apparatus may be implemented in whole or in part by software, hardware and combinations thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
图11为其中一个实施例中电子设备的内部结构示意图。该电子设备具体可以是本申请实施例中的第一电子设备或第二电子设备。如图10所示,该电子设备包括通过系统总线连接的处理器和存储器。其中,该处理器用于提供计算和控制能力,支撑整个电子设备的运行。存储器可包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统和计算机可读指令。该计算机可读指令可被处理器所执行,以用于实现以下各个实施例所提供的一种主题渲染方法。内存储器为非易失性存储介质中的操作系统计算机可读指令提供高速缓存的运行环境。该电子设备可以是手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑、穿戴式设备等任意终端设备。FIG. 11 is a schematic diagram of the internal structure of an electronic device in one of the embodiments. Specifically, the electronic device may be the first electronic device or the second electronic device in the embodiment of the present application. As shown in FIG. 10, the electronic device includes a processor and a memory connected by a system bus. Among them, the processor is used to provide computing and control capabilities to support the operation of the entire electronic device. The memory may include non-volatile storage media and internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions. The computer-readable instructions can be executed by the processor to implement a theme rendering method provided by the following embodiments. Internal memory provides a cached execution environment for operating system computer-readable instructions in a non-volatile storage medium. The electronic device may be any terminal device such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales, a sales terminal), a vehicle-mounted computer, a wearable device, and the like.
本申请实施例中提供的主题渲染装置中的各个模块的实现可为计算机可读指令的形式。该计算机可读指令可在终端或服务器上运行。该计算机可读指令构成的程序模块可存储在电子设备的存储器上。该计算机可读指令被处理器执行时,实现本申请实施例中所描述方法的步骤。The implementation of each module in the theme rendering apparatus provided in the embodiments of the present application may be in the form of computer-readable instructions. The computer readable instructions can be executed on a terminal or server. The program modules constituted by the computer readable instructions may be stored on the memory of the electronic device. When the computer-readable instructions are executed by the processor, the steps of the methods described in the embodiments of the present application are implemented.
在本申请实施例中,该电子设备所包括的一个或多个处理器执行存储在存储器上的计算机可读指令时实现上述各个实施例中的主题渲染方法。In the embodiments of the present application, one or more processors included in the electronic device implement the subject rendering methods in the foregoing embodiments when the computer-readable instructions stored in the memory are executed by one or more processors.
本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行上述各个实施例中的主题渲染方法。Embodiments of the present application also provide a computer-readable storage medium. One or more non-volatile computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the subject matter of the various embodiments described above render method.
一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各个实施例中的主题渲染方法。A computer program product containing instructions, when run on a computer, causes the computer to perform the subject rendering method of the various embodiments described above.
本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to a memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent of the present application. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.
Claims (18)
- 一种主题渲染方法,应用于第一电子设备,所述方法包括:A theme rendering method, applied to a first electronic device, the method comprising:获取选取的主题以及所对应的主题包,其中,所述主题包包括第一主题包和第二主题包,所述第一主题包和所述第二主题包为不同类型的电子设备所对应的、且主题相匹配的主题包;Obtain the selected theme and the corresponding theme package, wherein the theme package includes a first theme package and a second theme package, and the first theme package and the second theme package are corresponding to different types of electronic devices. , and the theme package that matches the theme;基于所述第一主题包进行解析和渲染;及parsing and rendering based on the first theme package; and向与所述第一电子设备相连接的第二电子设备发送所述第二主题包,所述第二主题包用于指示所述第二电子设备基于所述第二主题包进行解析和渲染。Sending the second theme package to a second electronic device connected to the first electronic device, where the second theme package is used to instruct the second electronic device to parse and render based on the second theme package.
- 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1, wherein the method further comprises:解析所述主题包,得到第一主题包和表盘主题包;Parse the theme package to obtain the first theme package and the dial theme package;所述向与所述第一电子设备相连接的第二电子设备发送所述第二主题包,包括:The sending the second theme package to the second electronic device connected to the first electronic device includes:向与所述第一电子设备相连接的穿戴式设备发送所述表盘主题包,所述表盘主题包用于指示所述穿戴式设备解析所述表盘主题包并基于解析后的表盘主题包对表盘进行渲染。Sending the dial theme package to the wearable device connected to the first electronic device, where the dial theme package is used to instruct the wearable device to parse the dial theme package and analyze the dial based on the parsed dial theme package to render.
- 根据权利要求2所述的方法,其中,所述解析所述主题包,得到第一主题包和表盘主题包,包括:The method according to claim 2, wherein the analyzing the theme package to obtain the first theme package and the dial theme package, comprising:解析所述主题包,得到第一主题包;Parse the theme package to obtain the first theme package;解析所述第一主题包得到第一主题背景;Parsing the first theme package to obtain a first theme background;对所述第一主题背景进行尺寸调整处理,得到适用于所述第二电子设备的第二主题背景;及performing a size adjustment process on the first theme background to obtain a second theme background suitable for the second electronic device; and基于所述第二主题背景生成表盘主题包。A dial theme package is generated based on the second theme background.
- 根据权利要求1所述的方法,其中,所述获取选取的主题以及所对应的主题包,包括:The method according to claim 1, wherein the obtaining the selected theme and the corresponding theme package comprises:获取在浏览器的界面上选取的浏览器主题以及所对应的浏览器主题包,所述浏览器主题包包括第一浏览器主题包和第二浏览器主题包;Obtain a browser theme selected on the interface of the browser and a corresponding browser theme package, where the browser theme package includes a first browser theme package and a second browser theme package;所述基于所述第一主题包进行解析和渲染,包括:The parsing and rendering based on the first theme package includes:基于所述第一浏览器主题包进行解析和渲染;parsing and rendering based on the first browser theme package;所述向与所述第一电子设备相连接的第二电子设备发送所述第二主题包,包括:The sending the second theme package to the second electronic device connected to the first electronic device includes:向与所述第一电子设备相连接的第二电子设备发送与所述浏览器相对应的第二浏览器主题包,所述第二浏览器主题包用于指示所述第二电子设备解析所述第二浏览器主题包并基于解析后的第二浏览器主题包对所述浏览器进行渲染。Send a second browser theme package corresponding to the browser to a second electronic device connected to the first electronic device, where the second browser theme package is used to instruct the second electronic device to parse the The second browser theme package is generated and the browser is rendered based on the parsed second browser theme package.
- 根据权利要求1所述的方法,其中,所述获取选取的主题以及所对应的主题包,包括:The method according to claim 1, wherein the obtaining the selected theme and the corresponding theme package comprises:获取在即时通信工具的界面上选取的即时通信主题以及所对应的即时通信主题包,所述即时通信主题包包括第一即时通信主题包和第二即时通信主题包;Obtaining the instant messaging theme selected on the interface of the instant messaging tool and the corresponding instant messaging theme package, where the instant messaging theme package includes a first instant messaging theme package and a second instant messaging theme package;所述基于所述第一主题包进行解析和渲染,包括:The parsing and rendering based on the first theme package includes:基于所述第一即时通信主题包进行解析和渲染;parsing and rendering based on the first instant messaging theme package;所述向与所述第一电子设备相连接的第二电子设备发送所述第二主题包,包括:The sending the second theme package to the second electronic device connected to the first electronic device includes:向与所述第一电子设备相连接的第二电子设备发送与所述即时通讯工具相对应的第二即时通讯主题包,所述第二即时通讯主题包用于指示所述第二电子设备解析所述第二即 时通讯主题包并基于所述解析后的第二即时通讯主题包对所述即时通信工具进行渲染。Send a second instant messaging theme package corresponding to the instant messaging tool to a second electronic device connected to the first electronic device, where the second instant messaging theme package is used to instruct the second electronic device to parse The second instant messaging theme package renders the instant messaging tool based on the parsed second instant messaging theme package.
- 根据权利要求1所述的方法,其中,所述获取选取的主题以及所对应的主题包,包括:The method according to claim 1, wherein the obtaining the selected theme and the corresponding theme package comprises:获取在播放器的界面上选取的主题以及所对应的播放器主题包,所述播放器主题包包括第一播放器主题包和第二播放器主题包;Obtain the theme selected on the interface of the player and the corresponding player theme package, where the player theme package includes a first player theme package and a second player theme package;所述基于所述第一主题包进行解析和渲染,包括:The parsing and rendering based on the first theme package includes:基于所述第一播放器主题包进行解析和渲染;parsing and rendering based on the first player theme package;所述向与所述第一电子设备相连接的第二电子设备发送所述第二主题包,包括:The sending the second theme package to the second electronic device connected to the first electronic device includes:向与所述第一电子设备相连接的第二电子设备发送与所述播放器相对应的第二播放器主题包,所述第二播放器主题包用于指示所述第二电子设备解析所述第二播放器主题包并基于解析后的第二播放器主题包对所述播放器进行渲染。Send a second player theme package corresponding to the player to a second electronic device connected to the first electronic device, where the second player theme package is used to instruct the second electronic device to parse the The second player theme package is rendered and the player is rendered based on the parsed second player theme package.
- 一种主题渲染方法,应用于第二电子设备,所述方法包括:A theme rendering method, applied to a second electronic device, the method comprising:接收与所述第二电子设备相连接的第一电子设备所发送的第二主题包,所述第二主题包是第一电子设备解析选取的主题所对应的主题包得到的,且所述主题包包括第一主题包和第二主题包,所述第一主题包和所述第二主题包为不同类型的电子设备所对应的、且主题相匹配的主题包,所述第一主题包用于指示所述第一电子设备基于所述第一主题包进行解析和渲染;Receive a second theme package sent by a first electronic device connected to the second electronic device, where the second theme package is obtained by the first electronic device parsing the theme package corresponding to the selected theme, and the theme The package includes a first theme package and a second theme package. The first theme package and the second theme package are theme packages corresponding to different types of electronic devices and have matching themes. The first theme package uses instructing the first electronic device to perform parsing and rendering based on the first theme package;解析所述第二主题包,并基于解析后的第二主题包进行渲染。Parse the second theme package, and render based on the parsed second theme package.
- 根据权利要求7所述的方法,其中,所述解析所述第二主题包,并基于解析后的第二主题包进行渲染,包括:The method according to claim 7, wherein the parsing the second theme package and rendering based on the parsed second theme package comprises:当所述第二电子设备为穿戴式设备时,在桌面加载表盘引擎,通过所述表盘引擎解析表盘主题包并基于解析后的表盘主题包进行渲染。When the second electronic device is a wearable device, a dial engine is loaded on the desktop, the dial theme package is parsed by the dial engine, and rendering is performed based on the parsed dial theme package.
- 一种主题渲染装置,其中,包括:A theme rendering device, comprising:获取模块,用于获取选取的主题以及所对应的主题包,其中,所述主题包包括第一主题包和第二主题包,所述第一主题包和所述第二主题包为不同类型的电子设备所对应的、且主题相匹配的主题包;The acquisition module is used to acquire the selected theme and the corresponding theme package, wherein the theme package includes a first theme package and a second theme package, and the first theme package and the second theme package are of different types The theme package corresponding to the electronic device and matching the theme;第一渲染模块,用于基于所述第一主题包进行解析和渲染;及a first rendering module for parsing and rendering based on the first theme package; and发送模块,用于向与第一电子设备相连接的第二电子设备发送所述第二主题包,所述第二主题包用于指示所述第二电子设备基于所述第二主题包进行解析和渲染。A sending module, configured to send the second theme package to a second electronic device connected to the first electronic device, where the second theme package is used to instruct the second electronic device to perform parsing based on the second theme package and rendering.
- 根据权利要求9所述的装置,其中,所述装置还包括:The apparatus of claim 9, wherein the apparatus further comprises:解析模块,用于解析所述主题包,得到第一主题包和表盘主题包;a parsing module for parsing the theme package to obtain the first theme package and the dial theme package;所述发送模块还用于向与所述第一电子设备相连接的穿戴式设备发送所述表盘主题包,所述表盘主题包用于指示所述穿戴式设备解析所述表盘主题包并基于解析后的表盘主题包对表盘进行渲染。The sending module is further configured to send the dial theme package to the wearable device connected to the first electronic device, where the dial theme package is used to instruct the wearable device to parse the dial theme package and based on the parsing After the watch face theme package renders the watch face.
- 根据权利要求10所述的装置,其中,所述解析模块还用于解析所述主题包,得到第一主题包,解析所述第一主题包得到第一主题背景,对所述第一主题背景进行尺寸调整处理,得到适用于所述第二电子设备的第二主题背景,基于所述第二主题背景生成表盘主题包。The apparatus according to claim 10, wherein the parsing module is further configured to parse the theme package to obtain a first theme package, parse the first theme package to obtain a first theme background, and analyze the first theme background. A size adjustment process is performed to obtain a second theme background suitable for the second electronic device, and a dial theme package is generated based on the second theme background.
- 根据权利要求9所述的装置,其中,所述获取模块还用于获取在浏览器的界面上 选取的浏览器主题以及所对应的浏览器主题包,所述浏览器主题包包括第一浏览器主题包和第二浏览器主题包;The device according to claim 9, wherein the obtaining module is further configured to obtain a browser theme selected on the interface of the browser and a corresponding browser theme package, wherein the browser theme package includes the first browser Theme packs and second browser theme packs;所述第一渲染模块还用于基于所述第一浏览器主题包进行解析和渲染;The first rendering module is further configured to perform parsing and rendering based on the first browser theme package;所述发送模块还用于向与所述第一电子设备相连接的第二电子设备发送与所述浏览器相对应的第二浏览器主题包,所述第二浏览器主题包用于指示所述第二电子设备解析所述第二浏览器主题包并基于解析后的第二浏览器主题包对所述浏览器进行渲染。The sending module is further configured to send a second browser theme package corresponding to the browser to a second electronic device connected to the first electronic device, where the second browser theme package is used to indicate the The second electronic device parses the second browser theme package and renders the browser based on the parsed second browser theme package.
- 根据权利要求9所述的装置,其中,所述获取模块还用于获取在即时通信工具的界面上选取的即时通信主题以及所对应的即时通信主题包,所述即时通信主题包包括第一即时通信主题包和第二即时通信主题包;The device according to claim 9, wherein the acquiring module is further configured to acquire an instant messaging theme selected on an interface of an instant messaging tool and a corresponding instant messaging theme package, wherein the instant messaging theme package includes the first instant messaging theme package. A communication theme package and a second instant messaging theme package;所述第一渲染模块还用于基于所述第一即时通信主题包进行解析和渲染;The first rendering module is further configured to perform parsing and rendering based on the first instant messaging theme package;所述发送模块还用于向与所述第一电子设备相连接的第二电子设备发送与所述即时通讯工具相对应的第二即时通讯主题包,所述第二即时通讯主题包用于指示所述第二电子设备解析所述第二即时通讯主题包并基于所述解析后的第二即时通讯主题包对所述即时通信工具进行渲染。The sending module is further configured to send a second instant messaging theme package corresponding to the instant messaging tool to a second electronic device connected to the first electronic device, where the second instant messaging theme package is used to indicate The second electronic device parses the second instant messaging theme package and renders the instant messaging tool based on the parsed second instant messaging theme package.
- 根据权利要求9所述的装置,其中,所述获取模块还用于获取在播放器的界面上选取的主题以及所对应的播放器主题包,所述播放器主题包包括第一播放器主题包和第二播放器主题包;The device according to claim 9, wherein the obtaining module is further configured to obtain the theme selected on the interface of the player and the corresponding player theme package, wherein the player theme package includes the first player theme package and the second player theme pack;所述第一渲染模块还用于基于所述第一播放器主题包进行解析和渲染;The first rendering module is further configured to perform parsing and rendering based on the first player theme package;所述发送模块还用于向与所述第一电子设备相连接的第二电子设备发送与所述播放器相对应的第二播放器主题包,所述第二播放器主题包用于指示所述第二电子设备解析所述第二播放器主题包并基于解析后的第二播放器主题包对所述播放器进行渲染。The sending module is further configured to send a second player theme package corresponding to the player to a second electronic device connected to the first electronic device, where the second player theme package is used to indicate the The second electronic device parses the second player theme package and renders the player based on the parsed second player theme package.
- 一种主题渲染装置,其中,包括:A theme rendering device, comprising:接收模块,用于接收与第二电子设备相连接的第一电子设备所发送的第二主题包,所述第二主题包是第一电子设备解析选取的主题所对应的主题包得到的,且所述主题包包括第一主题包和第二主题包,所述第一主题包和所述第二主题包为不同类型的电子设备所对应的、且主题相匹配的主题包,所述第一主题包用于指示所述第一电子设备基于所述第一主题包进行解析和渲染;a receiving module, configured to receive a second theme package sent by the first electronic device connected to the second electronic device, where the second theme package is obtained by the first electronic device parsing the theme package corresponding to the selected theme, and The theme package includes a first theme package and a second theme package. The first theme package and the second theme package are theme packages corresponding to different types of electronic devices and have matching themes. The theme package is used to instruct the first electronic device to perform parsing and rendering based on the first theme package;第二渲染模块,用于解析所述第二主题包,并基于解析后的第二主题包进行渲染。The second rendering module is configured to parse the second theme package and render based on the parsed second theme package.
- 根据权利要求15所述的装置,其中,所述第二渲染模块还用于当所述第二电子设备为穿戴式设备时,在桌面加载表盘引擎,通过所述表盘引擎解析表盘主题包并基于解析后的表盘主题包进行渲染。The apparatus according to claim 15, wherein the second rendering module is further configured to load a dial engine on the desktop when the second electronic device is a wearable device, and use the dial engine to parse the dial theme package and based on the The parsed watch face theme package is rendered.
- 一种电子设备,包括存储器及一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述处理器执行如权利要求1至8中任一项所述的方法的步骤。An electronic device comprising a memory and one or more processors, the memory stores computer-readable instructions that, when executed by the one or more processors, cause the processors to execute The steps of the method of any one of claims 1 to 8.
- 一个或多个存储有计算机可读指令的计算机可读存储介质,计算机可读指令被一个或多个处理器执行时,使得实现如权利要求1至8中任一项所述的方法的步骤。One or more computer-readable storage media storing computer-readable instructions which, when executed by one or more processors, cause the steps of the method of any one of claims 1 to 8 to be implemented.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010603370.XA CN113934477A (en) | 2020-06-29 | 2020-06-29 | Theme rendering method and device, electronic equipment and computer-readable storage medium |
CN202010603370.X | 2020-06-29 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022001647A1 true WO2022001647A1 (en) | 2022-01-06 |
Family
ID=79272721
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/100018 WO2022001647A1 (en) | 2020-06-29 | 2021-06-15 | Theme rendering method and apparatus, and electronic device and computer readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113934477A (en) |
WO (1) | WO2022001647A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113515279A (en) * | 2020-04-09 | 2021-10-19 | Oppo广东移动通信有限公司 | Dial plate generation method and device, electronic equipment, smart watch and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104935613A (en) * | 2014-03-18 | 2015-09-23 | 小米科技有限责任公司 | Scene synchronization method, terminal, server and system |
CN105630436A (en) * | 2014-10-28 | 2016-06-01 | Tcl集团股份有限公司 | Data sharing method and apparatus for desktop layout in multi-screen sharing |
CN105847916A (en) * | 2016-04-29 | 2016-08-10 | 乐视控股(北京)有限公司 | Theme synchronizing and switching method and system |
US20170099602A1 (en) * | 2015-10-06 | 2017-04-06 | Samsung Electronics Co., Ltd. | Theme applying method and electronic device for performing the same |
US10117198B2 (en) * | 2015-07-21 | 2018-10-30 | Huawei Technologies Co., Ltd. | Terminal and terminal synchronization method |
CN110213648A (en) * | 2019-06-05 | 2019-09-06 | 重庆菜鸽途讯科技有限公司 | One kind is the same as screen method, system, mobile terminal and computer readable storage medium |
CN111147549A (en) * | 2019-12-06 | 2020-05-12 | 珠海格力电器股份有限公司 | Terminal desktop content sharing method, device, equipment and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170025153A1 (en) * | 2013-03-05 | 2017-01-26 | Wevideo, Inc. | Theme-based effects multimedia editor |
-
2020
- 2020-06-29 CN CN202010603370.XA patent/CN113934477A/en active Pending
-
2021
- 2021-06-15 WO PCT/CN2021/100018 patent/WO2022001647A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104935613A (en) * | 2014-03-18 | 2015-09-23 | 小米科技有限责任公司 | Scene synchronization method, terminal, server and system |
CN105630436A (en) * | 2014-10-28 | 2016-06-01 | Tcl集团股份有限公司 | Data sharing method and apparatus for desktop layout in multi-screen sharing |
US10117198B2 (en) * | 2015-07-21 | 2018-10-30 | Huawei Technologies Co., Ltd. | Terminal and terminal synchronization method |
US20170099602A1 (en) * | 2015-10-06 | 2017-04-06 | Samsung Electronics Co., Ltd. | Theme applying method and electronic device for performing the same |
CN105847916A (en) * | 2016-04-29 | 2016-08-10 | 乐视控股(北京)有限公司 | Theme synchronizing and switching method and system |
CN110213648A (en) * | 2019-06-05 | 2019-09-06 | 重庆菜鸽途讯科技有限公司 | One kind is the same as screen method, system, mobile terminal and computer readable storage medium |
CN111147549A (en) * | 2019-12-06 | 2020-05-12 | 珠海格力电器股份有限公司 | Terminal desktop content sharing method, device, equipment and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113515279A (en) * | 2020-04-09 | 2021-10-19 | Oppo广东移动通信有限公司 | Dial plate generation method and device, electronic equipment, smart watch and storage medium |
CN113515279B (en) * | 2020-04-09 | 2024-01-12 | Oppo广东移动通信有限公司 | Dial generation method, dial generation device, electronic equipment, intelligent watch and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113934477A (en) | 2022-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210216700A1 (en) | Information Processing Method and System | |
US10852912B2 (en) | Image creation app in messaging app | |
CN111580879A (en) | Applet running method and device, electronic equipment and computer storage medium | |
CN109165050B (en) | Program running method and device, computing equipment and storage medium | |
US20200195980A1 (en) | Video information processing method, computer equipment and storage medium | |
CN112738623A (en) | Video file generation method, device, terminal and storage medium | |
JP2013122768A (en) | Apparatus and methods for retrieving/downloading content on communication device | |
JP2009533780A (en) | Notebook-taking user experience with multimedia mobile devices | |
CN112073307B (en) | Mail processing method, mail processing device, electronic equipment and computer readable medium | |
EP4439287A1 (en) | Prompt method and apparatus based on document sharing, device, and medium | |
CN111324343B (en) | Code generation method and device | |
CN110674624B (en) | Method and system for editing graphics context | |
US20130177295A1 (en) | Enabling copy and paste functionality for videos and other media content | |
US11818491B2 (en) | Image special effect configuration method, image recognition method, apparatus and electronic device | |
CN113835571A (en) | Terminal device, information display method and storage medium | |
CN104811485A (en) | Resource sharing method | |
WO2022001647A1 (en) | Theme rendering method and apparatus, and electronic device and computer readable storage medium | |
Hernandez | War of the mobile browsers | |
CN113110829B (en) | Multi-UI component library data processing method and device | |
US9973371B1 (en) | Requesting a specific website version | |
CN112631482A (en) | Page processing method and device | |
CN110618811B (en) | Information presentation method and device | |
CN112307393A (en) | Information issuing method and device and electronic equipment | |
US20140101284A1 (en) | System and method for customization of web content | |
CN112202958B (en) | Screenshot method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21831547 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21831547 Country of ref document: EP Kind code of ref document: A1 |