WO2018032848A1 - 一种更换定制皮肤的方法、装置及设备 - Google Patents

一种更换定制皮肤的方法、装置及设备 Download PDF

Info

Publication number
WO2018032848A1
WO2018032848A1 PCT/CN2017/085756 CN2017085756W WO2018032848A1 WO 2018032848 A1 WO2018032848 A1 WO 2018032848A1 CN 2017085756 W CN2017085756 W CN 2017085756W WO 2018032848 A1 WO2018032848 A1 WO 2018032848A1
Authority
WO
WIPO (PCT)
Prior art keywords
customized
version number
skin
wireless router
response message
Prior art date
Application number
PCT/CN2017/085756
Other languages
English (en)
French (fr)
Inventor
任中杰
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018032848A1 publication Critical patent/WO2018032848A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0843Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates

Definitions

  • This document relates to, but is not limited to, application software technology of mobile terminals, and in particular, to a method, device and device for replacing customized skin.
  • the wireless router provided by the network operator already has corresponding mobile terminal application software (Application, APP) as the client controlling the wireless router; the network operator can control the same application software of the wireless router.
  • APP mobile terminal application software
  • Customization especially skin customization of the same application software, to distinguish between multiple types of users for operational maintenance and management.
  • the method of replacing the skin of the application software mainly includes: the network operator puts the customized skin data on the network server, and the application software needs to use the Internet to download the skinned custom skin data from the network server for skin resurfacing when the skin is changed; thus, The network server obtains customized skin data, which is greatly affected by the external network environment, and consumes user traffic.
  • the network operator cannot replace the customized skin for the application software of the provided wireless router, and reduce the operation and maintenance and management. effectiveness.
  • An embodiment of the present invention is to provide a method, a device, and a device for replacing a customized skin, so that a network operator can replace a customized skin with an application software of a provided wireless router to distinguish multiple types of users, and improve operation, maintenance, and management. Work efficiency.
  • an embodiment of the present invention provides a method for replacing a customized skin, the method package include:
  • the first customized version number is a current customized version number of the wireless router
  • the second customized version number is a customized version number of the wireless router stored locally;
  • the customized skin is replaced according to the current customized skin data.
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the first customized version number in the response message of the first customized version number is the same as the second customized version number of the wireless router stored locally, it is determined whether the local customized skin data directory exists.
  • the method further includes:
  • the method After the current customized skin configuration item in the response message of the customized skin configuration item meets a preset condition, after the receiving the response message of the customized skin configuration item sent by the wireless router, the method also includes:
  • the method further includes:
  • the default skin is loaded when the local custom skin data directory does not exist.
  • the replacing the customized skin according to the current customized skin data includes:
  • an embodiment of the present invention provides a method for replacing a customized skin, the method comprising:
  • the first customized version number is a current customized version number of the local storage
  • the method before the receiving the request message of the first customized version number sent by the mobile terminal, the method further includes:
  • the method further includes:
  • the response message of the first customized version number is not sent to the mobile terminal
  • the sending by the mobile terminal, a response message of the first customized version number, including:
  • the response message of the first customized version number is sent to the mobile terminal.
  • the invention embodiment of the present invention provides a device for replacing a customized skin, the device comprising:
  • the transceiver module is configured to send a request message of the first customized version number to the wireless router, and receive a response message of the first customized version number sent by the wireless router;
  • the first customized version number is a current customized version of the wireless router And sending a request message for customizing a skin configuration item to the wireless router, and receiving a response message of the customized skin configuration item sent by the wireless router, when the first customized version number is different from the second customized version number;
  • the second customized version number is a customized version number of the wireless router stored locally; when the current customized skin configuration item in the response message of the customized skin configuration item meets a preset condition, sending a customized skin to the wireless router a download request message of data, receiving current customized skin data sent by the wireless router and storing it in a directory of local customized skin data;
  • the replacement module is configured to replace the customized skin based on the current customized skin data.
  • the device further includes:
  • a determining module configured to determine whether the first customized version sent by the wireless router is received The response message of the number; when the response message of the first customized version number sent by the wireless router is not received, it is determined whether the local customized skin data directory exists.
  • the determining module is further configured to determine whether the first customized version number in the response message of the first customized version number is the same as the second customized version number of the locally stored wireless router.
  • the determining module is further configured to determine that the first customized version number in the response message of the first customized version number is the same as the second customized version number of the locally stored wireless router. Whether the custom skin data directory exists.
  • the device further includes:
  • an update module configured to save or replace the first customized version number in the response message of the first customized version number into the local storage unit; and clear the customized skin data in the local customized skin data directory.
  • the determining module is further configured to determine whether the current customized skin configuration item in the response message of the customized skin configuration item meets a preset condition; current customization in the response message of the customized skin configuration item If the skin configuration item does not meet the preset conditions, it is determined whether the local custom skin data directory exists.
  • the replacing module is further configured to: when the determining module determines that the local customized skin data directory exists, loading historical customized skin data stored in the local customized skin data directory, and customizing according to the history The skin data is replaced with a custom skin; when the judging module judges that the local custom skin data directory does not exist, the default skin is loaded.
  • the replacement module is configured to load the customized skin in the current customized skin data according to the interface configuration file in the current customized skin data.
  • an embodiment of the present invention provides a device for replacing a customized skin, where the device includes:
  • the transceiver module is configured to receive a request message of the first customized version number sent by the mobile terminal, and send a response message of the first customized version number to the mobile terminal, where the response message of the first customized version number carries the first customization a version number; the first customized version number is a current customized version number stored locally; receiving a request message for the customized skin configuration item sent by the mobile terminal, to the mobile Sending, by the terminal, a response message of the customized skin configuration item, the response message of the customized skin configuration item carries the current customized skin configuration item; receiving a download request message of the customized skin data sent by the mobile terminal, and sending the current message to the mobile terminal Custom skin data.
  • the device further includes:
  • the update module is configured to update the history customized skin data, the historical first customized version number, and the historical custom skin configuration item, to obtain the current customized skin data, the first customized version number, and the current customized skin configuration item.
  • the device further includes:
  • a determining module configured to determine whether a first customized version number exists
  • the transceiver module is further configured to: when the determining module determines that the first customized version number is not provided, not sending a response message of the first customized version number to the mobile terminal; and determining, by the determining module, that the When the first customized version number is sent, the response message of the first customized version number is sent to the mobile terminal.
  • the method, device and device for replacing a customized skin receive a response message of a customized version number sent by the wireless router by sending a request message of a customized version number to the wireless router; and responding to the customized version number When the current customized version number in the message is different from the locally stored second customized version number, sending a request message for the customized skin configuration item to the wireless router, and receiving a response message of the customized skin configuration item sent by the wireless router;
  • the download request message of the customized skin data is sent to the wireless router, and the current customized skin data sent by the wireless router is received and stored Customizing the skin data in the local directory; replacing the customized skin with the application software according to the current customized skin data; since the wireless router and the mobile terminal are connected to the internal network, the customized skin data can be downloaded to the mobile terminal without using the external network.
  • Embodiment 1 is a flow chart of Embodiment 1 of a method for replacing a customized skin according to the present invention
  • FIG. 2 is a flow chart of a second embodiment of a method for replacing a customized skin according to the present invention
  • FIG. 3 is a flow chart of a third embodiment of a method for replacing a customized skin according to the present invention.
  • FIG. 4 is a flow chart of an embodiment of a process for replacing a customized skin with a single control in an application software for replacing a customized skin according to the present invention
  • FIG. 5 is a schematic structural view of an embodiment of a device for replacing a customized skin according to the present invention.
  • FIG. 6 is a schematic structural view of an embodiment of an apparatus for replacing a customized skin according to the present invention.
  • Embodiment 1 is a flowchart of Embodiment 1 of a method for replacing a customized skin according to the present invention.
  • the method for replacing a customized skin according to an embodiment of the present invention may be applied to a mobile terminal side, where the mobile terminal includes a terminal such as a smart phone or a smart tablet.
  • the connection between the terminal and the wireless router belongs to the intranet connection, and the connection between the wireless router and the server side of the network operator belongs to the external network connection.
  • the method for replacing the customized skin provided by the embodiment of the present invention may include the following steps. :
  • Step 101 Send a request message of the first customized version number to the wireless router, and receive a response message of the first customized version number sent by the wireless router.
  • the mobile terminal sends a request message of the first customized version number to the wireless router, where the first customized version number is the current customized version number of the wireless router, that is, the mobile terminal requests to obtain the current customized version number of the wireless router; the wireless router receives the request message. Then, the current customized version number is carried in the response message of the first customized version number and sent to the mobile terminal; the mobile terminal receives the response message sent by the wireless router and carries the current customized version number of the wireless router.
  • Step 102 When the first customized version number is different from the second customized version number, send a request message for the customized skin configuration item to the wireless router, and receive a response message of the customized skin configuration item sent by the wireless router.
  • the mobile terminal extracts the first customized version number of the wireless router carried in the response message of the first customized version number, and determines the first customized version number of the wireless router and the second stored locally.
  • the request message of the customized skin configuration item is sent to the wireless router, and the request message is used to obtain a custom skin configuration item (CustomSkin) of the wireless router, and the second customized version number is customized for the locally stored wireless router.
  • the wireless router After receiving the request message, the wireless router sends its current custom skin configuration item in the response message of the customized skin configuration item to the mobile terminal; the mobile terminal receives the customized skin configuration item that is sent by the wireless router and carries the wireless router. Response message.
  • Step 103 When the current customized skin configuration item in the response message of the customized skin configuration item meets a preset condition, send a download request message of customized skin data to the wireless router, and receive a current customized skin sent by the wireless router.
  • the data is stored in a directory of locally customized skin data.
  • the mobile terminal extracts the current customized skin configuration item of the wireless router carried in the response message of the customized skin configuration item, determines whether the current customized skin configuration item meets the preset condition, and sends the customized skin to the wireless router when the preset condition is met.
  • the download request message of the data after receiving the download request message of the customized skin data, the wireless router sends its current customized skin data to the mobile terminal, and the mobile terminal receives the current customized skin data sent by the wireless router and stores the data to the local customized skin data. In the directory.
  • the customized skin configuration item may be represented by a numerical value, for example, the current custom skin configuration item of the wireless router acquired by the mobile terminal has a value of 0 or 1 or other numbers; the preset condition may be a definition of the current customized skin configuration item.
  • the condition corresponding to the value, for example, 0 means that there is no customized skin data in the wireless router, that is, there is no need to download the customized skin data in the wireless router, and 1 indicates that the wireless router has customized skin data, that is, the customized skin data in the wireless router needs to be downloaded. To change the skin.
  • Step 104 Perform custom skin replacement according to the current customized skin data.
  • the mobile terminal replaces the customized skin with the current customized skin data stored in the local customized skin data directory to achieve the purpose of replacing the customized skin.
  • the mobile terminal receives the first customized version sent by the wireless router by sending a request message of the first customized version number to the wireless router.
  • the response message of the number, the first customized version number is a current customized version number of the wireless router; when the first customized version number is different from the second customized version number, sending a customized skin configuration to the wireless router.
  • the request message of the item receiving a response message of the customized skin configuration item sent by the wireless router, the second customized version number being a locally stored version number of the wireless router; a response message in the customized skin configuration item
  • the download request message of the customized skin data is sent to the wireless router, and the current customized skin data sent by the wireless router is received and stored in a directory of the local customized skin data;
  • the current custom skin data is used to replace the customized skin with the application software; since the wireless router and the mobile terminal are connected to the internal network, the customized skin data can be downloaded to the mobile terminal without using the external network, thereby real
  • FIG. 2 is a flowchart of a second embodiment of a method for replacing a customized skin according to the present invention.
  • the method for replacing a customized skin according to an embodiment of the present invention may be applied to a wireless router side, and the connection between the wireless router and the mobile terminal belongs to an intranet connection.
  • the connection to the server side of the network operator belongs to the external network link.
  • the method for replacing the customized skin provided by the embodiment of the present invention may include the following steps:
  • Step 201 Update historical custom skin data, historical first customized version number, and historical custom skin configuration item to obtain the current customized skin data, the first customized version number, and the current customized skin configuration item.
  • the wireless router receives the latest customized skin data, the customized version number, and the customized skin configuration item sent by the server side of the network operator, and updates the stored historical customized skin data, the historical first customized version number, and the historical customized skin configuration item.
  • the current customized skin data, the first customized version number, and the current customized skin configuration item are obtained, wherein the first customized version number is a current customized version number stored locally.
  • Step 202 Receive a request message of the first customized version number sent by the mobile terminal, and send a response message of the first customized version number to the mobile terminal, where the response message of the first customized version number carries the first customized version number.
  • the wireless router After receiving the request message of the first customized version number sent by the mobile terminal, the wireless router determines whether the first customized version number is stored in the user, and when it is determined that the first customized version number exists, The mobile terminal sends a response message carrying the first customized version number of the first customized version number.
  • Step 203 Receive a request message for the customized skin configuration item sent by the mobile terminal, and send a response message of the customized skin configuration item to the mobile terminal, where the response message of the customized skin configuration item carries the current customized skin configuration item.
  • the wireless router After receiving the request message of the customized skin configuration item sent by the mobile terminal, the wireless router sends a response message to the mobile terminal that carries the customized skin configuration item of the current customized skin configuration item.
  • the custom skin configuration item may be represented by a numerical value.
  • the current custom skin configuration item of the wireless device acquired by the mobile terminal has a value of 0 or 1 or other digits, and 0 indicates that there is no customized skin data in the wireless router, 1 Indicates that there is custom skin data in the wireless router.
  • Step 204 Receive a download request message of customized skin data sent by the mobile terminal, and send current customized skin data to the mobile terminal.
  • the wireless router receives the download request message of the customized skin data sent by the mobile terminal, and sends the current customized skin data to the mobile terminal, where the mobile terminal replaces the skin with the application software.
  • the wireless router updates the historical customized skin data, the historical first customized version number, and the historical customized skin configuration item, to obtain the current customized skin data, the first customized version number, and the current customized skin.
  • a configuration item receiving a request message of the first customized version number sent by the mobile terminal, and sending a response message of the first customized version number to the mobile terminal, where the response message of the first customized version number carries the first customized version number
  • the first customized version number is a current customized version number stored locally; receiving a request message of the customized skin configuration item sent by the mobile terminal, and sending a response message of the customized skin configuration item to the mobile terminal, the customized skin
  • the response message of the configuration item carries the current customized skin configuration item; receiving a download request message of the customized skin data sent by the mobile terminal, and sending the current customized skin data to the mobile terminal; Net connection, you can send customized skin data without going through the external network Mobile terminal, the realization of the network operator to replace a custom skin to achieve distinguish multiple types of users, improve the efficiency
  • FIG. 3 is a flowchart of a third embodiment of a method for replacing a customized skin according to the present invention.
  • the method for replacing a customized skin according to an embodiment of the present invention is applied to a mobile terminal and a wireless router, and is a process of interaction between the mobile terminal and the wireless router.
  • the connection is an intranet connection, and the connection between the wireless router and the server side of the network operator belongs to the external network connection; the wireless router described in the embodiment of the present invention provides a wireless router provided by the network operator, and the application software is provided for controlling the network operator.
  • the method for replacing a customized skin provided by the embodiment of the present invention may include the following steps:
  • Step 301 The mobile terminal is connected to the wireless router.
  • the mobile terminal can be connected to the wireless router by wireless communication.
  • Step 302 The mobile terminal sends a request message of the first customized version number to the wireless router.
  • the application software on the mobile terminal sends a request message of the first customized version number to the wireless router; the wireless router receives the request message of the first customized version number sent by the mobile terminal; wherein the first customized version number is the current customized version number of the wireless router .
  • the mobile terminal can be matched with the wireless router by adding a first customized version number to the wireless router, and only the matched wireless router can send subsequent data to the mobile terminal.
  • Step 303 The wireless router determines whether there is a first customized version number.
  • the wireless router determines whether there is a first customized version number in itself. When it is determined that the first customized version number is not present, step 304 is performed. When it is determined that the first customized version number exists, step 305 is performed.
  • Step 304 The wireless router does not send a response message of the first customized version number to the mobile terminal, and the process ends.
  • the wireless router does not send a response message of the first customized version number to the mobile terminal, and ends the processing task.
  • Step 305 The wireless router sends a response message of the first customized version number to the mobile terminal.
  • the wireless router sends a response message of the customized version number to the mobile terminal.
  • Step 306 The mobile terminal determines whether a response message of the first customized version number is received.
  • the mobile terminal determines whether the response message of the first customized version number sent by the wireless router is received, and when receiving the response message of the first customized version number sent by the wireless router, performing step 307; without receiving the first sent by the wireless router When the response message of the version number is customized, step 316 is performed.
  • Step 307 The mobile terminal determines whether the first customized version number is the same as the local second customized version number.
  • the mobile terminal determines whether the first customized version number in the response message of the first customized version number is the same as the second customized version number of the locally saved wireless router, and when the first customized version number is different from the second customized version number, the execution is performed. Step 308. When the first customized version number is the same as the second customized version number, step 316 is performed; wherein the second customized version number is a customized version number of the locally stored wireless router.
  • the network operator By determining whether the first customized version number is the same as the local second customized version number, whether the network operator updates the customized skin is obtained, and if the first customized version number is the same as the local second customized version number, The network operator does not update the customized skin; if the first customized version number is different from the local second customized version number, the network operator has updated the customized skin.
  • Step 308 The mobile terminal saves or replaces the first customized version number into the local storage unit.
  • the mobile terminal saves or replaces the first customized version number in the response message of the first version number into the local storage unit.
  • Step 309 The mobile terminal clears the local customized skin data.
  • the mobile terminal clears the customized skin data present in the local custom skin data directory.
  • Step 310 The mobile terminal sends a request message for customizing a skin configuration item to the wireless router.
  • the mobile terminal sends a request message for the customized skin configuration item to the wireless router, and the wireless router receives the request message of the customized skin configuration item sent by the mobile terminal.
  • Step 311 The wireless router sends a response message of the customized skin configuration item to the mobile terminal.
  • the wireless router sends a response message of the customized skin configuration item to the mobile terminal, and the mobile terminal receives a response message of the customized skin configuration item sent by the wireless router.
  • Step 312 The mobile terminal determines whether the value of the current customized skin configuration item is 1.
  • the mobile terminal determines whether the value of the current custom skin configuration item in the response message of the customized skin configuration item is 1. When the value of the current customized skin configuration item is 1, step 313 is performed; the value of the current customized skin configuration item is not 1. At step 316, go to step 316.
  • Step 313 The mobile terminal sends a download request message for custom skin data to the wireless router.
  • the mobile terminal sends a download request message for custom skin data to the wireless router; the wireless router receives a download request message for the customized skin data sent by the mobile terminal.
  • Step 314 The wireless router sends the current customized skin data to the mobile terminal.
  • the wireless router sends the current customized skin data to the mobile terminal; the mobile terminal receives the current customized skin data sent by the wireless router and stores it in a directory of the local customized skin data.
  • Step 315 The mobile terminal replaces the customized skin according to the current customized skin data.
  • the mobile terminal loads the customized skin in the current customized skin data according to the interface configuration file in the current customized skin data for the application software; the entire process of replacing the customized skin of the application software is a combination of each individual control in the application software to replace the customized skin process.
  • the interface configuration file is stored in an Extensible Markup Language (XML) format, and each control in the application software is assigned a unique identification number (Identity, ID), and the interface configuration file contains all the needs to be replaced.
  • ID unique identification number
  • Step 316 The mobile terminal determines whether the local customized skin data directory exists.
  • the mobile terminal determines whether the local customized skin data directory exists. When the local customized skin data directory exists, step 317 is performed; when the local customized skin data directory does not exist, step 318 is performed.
  • Step 317 The mobile terminal loads the local historical customized skin data, and replaces the customized skin according to the historical customized skin data, and the process ends.
  • the mobile terminal loads the historical customized skin data stored in the local customized skin data directory, and replaces the customized skin with the application software according to the historical customized skin data.
  • Step 318 The mobile terminal loads the default skin, and the process ends.
  • the mobile terminal loads the default skin of the application.
  • the method for replacing the customized skin is connected to the wireless router through the mobile terminal; the mobile terminal sends a request message of the first customized version number to the wireless router; the wireless router determines whether the first customized version number exists; the wireless router is When it is determined that the first customized version number exists, sending a response message of the first customized version number to the mobile terminal; the mobile terminal determines whether the response message of the first customized version number is received; the mobile terminal does not receive the wireless router sending When the response message of the first customized version number is used, it is determined whether the local customized skin data directory exists; when the mobile terminal receives the response message of the first customized version number sent by the wireless router, determining whether the first customized version number is the same as the local second The customized version number is the same; when the mobile terminal determines that the first customized version number is the same as the local second customized version number, it determines whether the local customized skin data directory exists; the mobile terminal determines the first customized version number and the local second customized version.
  • the mobile terminal clears the local customized skin data; the mobile terminal sends a request message for the customized skin configuration item to the wireless router; the wireless router sends a response message of the customized skin configuration item to the mobile terminal; the mobile terminal determines the current Whether the value of the customized skin configuration item is 1; when the value of the current customized skin configuration item is not 1, the mobile terminal determines whether the local customized skin data directory exists; and when the value of the current customized skin configuration item is 1, the mobile terminal sends the wireless The router sends a download request message for custom skin data; the wireless router sends the current customized skin data to the mobile terminal; the mobile terminal replaces the customized skin with the application software according to the current customized skin data; wherein, after the mobile terminal determines whether the local customized skin data directory exists, If the mobile terminal determines that the local customized skin data directory exists, the local history customized skin data is loaded, and the customized skin is replaced with the application software according to the historical customized skin data; if the mobile terminal
  • FIG. 4 is a flow chart of an embodiment of a process for replacing a customized skin with a single control in an application software for replacing a customized skin according to the present invention.
  • the process of replacing a customized skin by a single control in the application software may include the following steps:
  • Step 401 Load a single control into the interface.
  • the application software on the mobile terminal loads a single control into the interface.
  • Step 402 Determine whether an ID of the single control is in the interface configuration file.
  • the application software on the mobile terminal determines whether the ID of the single control is in the interface configuration file. If the ID of the single control is not in the interface configuration file, step 403 is performed; if the ID of the single control is in the interface configuration file, the execution is performed. Step 404;
  • Step 403 Load all default skin information of the single control, and the process ends.
  • the application software on the mobile terminal loads all of the default skin information for that single control.
  • Step 404 Determine, according to the interface configuration file, whether each element in the customized skin information of the single control needs to be loaded.
  • the application software on the mobile terminal determines, according to the interface configuration file, whether each element in the customized skin information of the single control needs to be loaded, if the element in the customized skin information of the single control does not exist in the interface configuration file (ie, does not need to be configured If the element in the customized skin information of the single control has a configuration in the interface configuration file (ie, needs to be loaded), step 406 is performed.
  • the customized skin information includes at least one of location information of the single control, color information of the control, size information of the control, font information of the control, and a customized skin image of the control.
  • Step 405 Load default skin information for the element that does not exist, and the process ends.
  • the application software on the mobile terminal loads the default skin information for elements that do not have a configuration; for example, the default skin information is loaded on the font elements of the control and the color elements of the control.
  • Step 406 Load custom skin information on the element with the configuration, and the process ends.
  • the application software on the mobile terminal loads the customized skin information according to the interface configuration file for the element with the configuration; for example, the customized skin information is loaded according to the size information of the control and the customized skin image of the control according to the interface configuration file.
  • FIG. 5 is a schematic structural diagram of an apparatus for replacing a customized skin according to the present invention.
  • the apparatus for replacing a customized skin provided by the embodiment of the present invention includes: a transceiver module 51 and a replacement module 52;
  • the transceiver module 51 is configured to send a request message of the first customized version number to the wireless router, and receive a response message of the first customized version number sent by the wireless router; the first customized version number is the wireless router Current custom version number;
  • the transceiver module 51 is further configured to: when the first customized version number is different from the second customized version number, send a request message for the customized skin configuration item to the wireless router, and receive the customized skin sent by the wireless router. a response message of the configuration item; the second customized version number is a customized version number of the wireless router stored locally;
  • the transceiver module 51 is further configured to: when the current customized skin configuration item in the response message of the customized skin configuration item meets a preset condition, send a download request message for custom skin data to the wireless router, and receive the wireless The current customized skin data sent by the router and stored in the directory of the local customized skin data;
  • the replacement module 52 is configured to replace the customized skin according to the current customized skin data.
  • the device further includes: a determining module 53; wherein
  • the determining module 53 is configured to determine whether a response message of the first customized version number sent by the wireless router is received;
  • the determining module 53 is further configured to determine whether the local customized skin data directory exists when the response message of the first customized version number sent by the wireless router is not received.
  • the determining module 53 is further configured to determine whether the current customized version number in the response message of the first customized version number is the same as the second customized version number of the locally stored wireless router.
  • the determining module 53 is further configured to determine that the first customized version number in the response message of the first customized version number is the same as the second customized version number of the locally stored wireless router. Whether the custom skin data directory exists.
  • the device further includes: an update module 54; wherein
  • the update module 54 is configured to save or replace the first customized version number in the response message of the first customized version number into the local storage unit;
  • the update module 54 is further configured to clear the customized skin in the local customized skin data directory Skin data.
  • the determining module 53 is further configured to determine whether the current customized skin configuration item in the response message of the customized skin configuration item meets a preset condition
  • the determining module 53 is further configured to determine whether the local customized skin data directory exists when the current customized skin configuration item in the response message of the customized skin configuration item does not meet the preset condition.
  • the replacing module 52 is further configured to: when the determining module 53 determines that the local customized skin data directory exists, load historical customized skin data stored in the local customized skin data directory, according to the history. Custom skin data to replace custom skin;
  • the replacement module 52 is further configured to load the default skin when the determining module 53 determines that the local customized skin data directory does not exist.
  • the replacing module 52 is configured to load the customized skin in the current customized skin data according to the interface configuration file in the current customized skin data.
  • the device in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • the transceiver module 51, the replacement module 52, the determination module 53, and the update module 54 may each be a central processing unit (CPU) or a microprocessor (Micro Processor) located in the device 05 for replacing the customized skin.
  • CPU central processing unit
  • Micro Processor Micro Processor
  • MPU central processing unit
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • FIG. 6 is a schematic structural diagram of an apparatus for replacing a customized skin according to the present invention.
  • the apparatus for replacing a customized skin provided by the embodiment of the present invention includes: a transceiver module 61;
  • the transceiver module 61 is configured to receive a request message of the first customized version number sent by the mobile terminal, and send a response message of the first customized version number to the mobile terminal, where the response message of the first customized version number is carried a first customized version number; the first customized version number is a current customized version number stored locally;
  • the transceiver module 61 is further configured to receive a request message for the customized skin configuration item sent by the mobile terminal, and send a response message of the customized skin configuration item to the mobile terminal, where the response message of the customized skin configuration item is carried Current custom skin configuration items;
  • the transceiver module 61 is further configured to receive a download request message of the customized skin data sent by the mobile terminal, and send the current customized skin data to the mobile terminal.
  • the device further includes: an update module 62;
  • the update module 62 is configured to update the historical customized skin data, the historical first customized version number, and the historical customized skin configuration item to obtain the current customized skin data, the first customized version number, and the current customized skin configuration item.
  • the device further includes: a determining module 63; wherein
  • the determining module 63 is configured to determine whether there is a first customized version number
  • the transceiver module 61 is further configured to: when the determining module 63 determines that the first customized version number is not present, does not send a response message of the first customized version number to the mobile terminal;
  • the transceiver module 61 is further configured to: when the determining module 63 determines that the first customized version number exists, send a response message of the first customized version number to the mobile terminal.
  • the device in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • the transceiver module 61, the update module 62, and the determination module 63 may each be a Central Processing Unit (CPU), a Micro Processor Unit (MPU), or a Micro Processor Unit (MPU) located in a device for replacing a customized skin.
  • CPU Central Processing Unit
  • MPU Micro Processor Unit
  • MPU Micro Processor Unit located in a device for replacing a customized skin.
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented by the processor to implement the method described in the foregoing embodiments.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention may be embodied in one or more of A computer program product embodied on a computer readable storage medium having computer usable program code.
  • the computer readable medium can include computer storage media (or non-transitory media) and communication media (or transitory media).
  • the term computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules, or other data. , removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer.
  • communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the above technical solution can realize that the customized skin data can be downloaded to the mobile terminal without using the external network, and the network operator can replace the customized skin with the application software of the provided wireless router to achieve the purpose of distinguishing multiple types of users, thereby improving The efficiency of running maintenance and management.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种更换定制皮肤的方法,包括:向无线路由器发送第一定制版本号的请求消息,接收无线路由器发送的第一定制版本号的响应消息(101);在第一定制版本号与第二定制版本号不相同时,向无线路由器发送定制皮肤配置项的请求消息,接收无线路由器发送的定制皮肤配置项的响应消息(102);在定制皮肤配置项的响应消息中的当前定制皮肤配置项符合预设条件时,向无线路由器发送定制皮肤数据的下载请求消息,接收无线路由器发送的当前定制皮肤数据并存储到本地定制皮肤数据的目录中(103);根据当前定制皮肤数据进行更换定制皮肤(104)。还同时公开了一种更换定制皮肤的装置及设备。

Description

一种更换定制皮肤的方法、装置及设备 技术领域
本文涉及但不限于移动终端的应用软件技术,尤其涉及一种更换定制皮肤的方法、装置及设备。
背景技术
随着移动通信技术的发展,网络运营商提供的无线路由器已存在相对应的移动终端应用软件(Application,APP)作为控制无线路由器的客户端;网络运营商可以对控制无线路由器的同一款应用软件进行定制,尤其是对同一款应用软件的皮肤定制来达到区分多个类型的用户,以方便运营维护和管理。
应用软件的更换皮肤的方法主要包括:网络运营商将定制皮肤数据放在网络服务器上,应用软件需要换肤时使用互联网从网络服务器上下载换肤的定制皮肤数据来进行换肤;这样,通过网络服务器获取定制皮肤数据受外部网络环境影响较大,且要耗费用户流量,在无外部网络时无法实现网络运营商针对提供的无线路由器的应用软件进行更换定制皮肤,降低运营维护和管理的工作效率。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例期望提供一种更换定制皮肤的方法、装置及设备,以实现网络运营商针对提供的无线路由器的应用软件进行更换定制皮肤来达到区分多个类型的用户,提高运行维护和管理的工作效率。
本发明实施例的技术方案是这样实现的:
第一方面,本发明实施例提供了一种更换定制皮肤的方法,所述方法包 括:
向无线路由器发送第一定制版本号的请求消息,接收所述无线路由器发送的第一定制版本号的响应消息;所述第一定制版本号为所述无线路由器的当前定制版本号;
在所述第一定制版本号与第二定制版本号不相同时,向所述无线路由器发送定制皮肤配置项的请求消息,接收所述无线路由器发送的定制皮肤配置项的响应消息;所述第二定制版本号为本地存储的所述无线路由器的定制版本号;
在所述定制皮肤配置项的响应消息中的当前定制皮肤配置项符合预设条件时,向所述无线路由器发送定制皮肤数据的下载请求消息,接收所述无线路由器发送的当前定制皮肤数据并存储到本地定制皮肤数据的目录中;
根据所述当前定制皮肤数据进行更换定制皮肤。
在上述方案中,在所述向无线路由器发送定制版本号的请求消息之后,所述方法还包括:
判断是否接收到所述无线路由器发送的第一定制版本号的响应消息;
在没有接收到所述无线路由器发送的第一定制版本号的响应消息时,判断本地定制皮肤数据目录是否存在。
在上述方案中,在所述接收所述无线路由器发送的第一定制版本号的响应消息之后,所述方法还包括:
判断所述第一定制版本号的响应消息中的第一定制版本号是否与本地存储的所述无线路由器的第二定制版本号相同。
在上述方案中,所述方法还包括:
在所述第一定制版本号的响应消息中的第一定制版本号与本地存储的所述无线路由器的第二定制版本号相同时,判断本地定制皮肤数据目录是否存在。
在上述方案中,在所述第一定制版本号的响应消息中的第一定制版本号与第二定制版本号不相同之后,在所述向所述无线路由器发送定制皮肤配置项的请求消息之前,所述方法还包括:
将所述第一定制版本号的响应消息中的第一定制版本号保存或替换到本地存储单元中;
清除所述本地定制皮肤数据目录中的定制皮肤数据。
在上述方案中,在所述定制皮肤配置项的响应消息中的当前定制皮肤配置项符合预设条件之前,在所述接收所述无线路由器发送的定制皮肤配置项的响应消息之后,所述方法还包括:
判断所述定制皮肤配置项的响应消息中的当前定制皮肤配置项是否符合预设条件;
在所述定制皮肤配置项的响应消息中的当前定制皮肤配置项不符合预设条件时,判断本地定制皮肤数据目录是否存在。
在上述方案中,在所述判断本地定制皮肤数据目录是否存在之后,所述方法还包括:
在所述本地定制皮肤数据目录存在时,加载所述本地定制皮肤数据目录中存储的历史定制皮肤数据,根据所述历史定制皮肤数据进行更换定制皮肤;
在所述本地定制皮肤数据目录不存在时,加载默认皮肤。
在上述方案中,所述根据所述当前定制皮肤数据进行更换定制皮肤,包括:
根据所述当前定制皮肤数据中的界面配置文件加载所述当前定制皮肤数据中的定制皮肤。
第二方面,本发明实施例提供了一种更换定制皮肤的方法,所述方法包括:
接收移动终端发送的第一定制版本号的请求消息,向所述移动终端发送第一定制版本号的响应消息,所述第一定制版本号的响应消息中携带有第一定制版本号;所述第一定制版本号为本地存储的当前定制版本号;
接收所述移动终端发送的定制皮肤配置项的请求消息,向所述移动终端发送定制皮肤配置项的响应消息,所述定制皮肤配置项的响应消息中携带有当前定制皮肤配置项;
接收所述移动终端发送的定制皮肤数据的下载请求消息,向所述移动终端发送当前定制皮肤数据。
在上述方案中,在所述接收移动终端发送的第一定制版本号的请求消息之前,所述方法还包括:
更新历史定制皮肤数据、历史第一定制版本号、历史定制皮肤配置项,得到所述当前定制皮肤数据、第一定制版本号、当前定制皮肤配置项。
在上述方案中,在所述接收移动终端发送的第一定制版本号的请求消息之后,所述方法还包括:
判断是否存在有第一定制版本号;
在判断没有所述第一定制版本号时,向所述移动终端不发送第一定制版本号的响应消息;
所述向所述移动终端发送第一定制版本号的响应消息,包括:
在判断存在有所述第一定制版本号时,向所述移动终端发送第一定制版本号的响应消息。
第三方面,本年发明实施例提供了一种更换定制皮肤的装置,所述装置包括:
收发模块,设置为向无线路由器发送第一定制版本号的请求消息,接收所述无线路由器发送的第一定制版本号的响应消息;所述第一定制版本号为所述无线路由器的当前定制版本号;在所述第一定制版本号与第二定制版本号不相同时,向所述无线路由器发送定制皮肤配置项的请求消息,接收所述无线路由器发送的定制皮肤配置项的响应消息;所述第二定制版本号为本地存储的所述无线路由器的定制版本号;在所述定制皮肤配置项的响应消息中的当前定制皮肤配置项符合预设条件时,向所述无线路由器发送定制皮肤数据的下载请求消息,接收所述无线路由器发送的当前定制皮肤数据并存储到本地定制皮肤数据的目录中;
更换模块,设置为根据所述当前定制皮肤数据进行更换定制皮肤。
在上述方案中,所述装置还包括:
判断模块,设置为判断是否接收到所述无线路由器发送的第一定制版本 号的响应消息;在没有接收到所述无线路由器发送的第一定制版本号的响应消息时,判断本地定制皮肤数据目录是否存在。
在上述方案中,所述判断模块,还设置为判断所述第一定制版本号的响应消息中的第一定制版本号是否与本地存储的所述无线路由器的第二定制版本号相同。
在上述方案中,所述判断模块,还设置为在所述第一定制版本号的响应消息中的第一定制版本号与本地存储的所述无线路由器的第二定制版本号相同时,判断本地定制皮肤数据目录是否存在。
在上述方案中,所述装置还包括:
更新模块,设置为将所述第一定制版本号的响应消息中的第一定制版本号保存或替换到本地存储单元中;清除所述本地定制皮肤数据目录中的定制皮肤数据。
在上述方案中,所述判断模块,还设置为判断所述定制皮肤配置项的响应消息中的当前定制皮肤配置项是否符合预设条件;在所述定制皮肤配置项的响应消息中的当前定制皮肤配置项不符合预设条件时,判断本地定制皮肤数据目录是否存在。
在上述方案中,所述更换模块,还设置为在所述判断模块判断所述本地定制皮肤数据目录存在时,加载所述本地定制皮肤数据目录中存储的历史定制皮肤数据,根据所述历史定制皮肤数据进行更换定制皮肤;在所述判断模块判断所述本地定制皮肤数据目录不存在时,加载默认皮肤。
在上述方案中,所述更换模块,是设置为根据所述当前定制皮肤数据中的界面配置文件加载所述当前定制皮肤数据中的定制皮肤。
第四方面,本发明实施例提供了一种更换定制皮肤的设备,所述设备包括:
收发模块,设置为接收移动终端发送的第一定制版本号的请求消息,向所述移动终端发送第一定制版本号的响应消息,所述第一定制版本号的响应消息中携带有第一定制版本号;所述第一定制版本号为本地存储的当前定制版本号;接收所述移动终端发送的定制皮肤配置项的请求消息,向所述移动 终端发送定制皮肤配置项的响应消息,所述定制皮肤配置项的响应消息中携带有当前定制皮肤配置项;接收所述移动终端发送的定制皮肤数据的下载请求消息,向所述移动终端发送当前定制皮肤数据。
在上述方案中,所述设备还包括:
更新模块,设置为更新历史定制皮肤数据、历史第一定制版本号、历史定制皮肤配置项,得到所述当前定制皮肤数据、第一定制版本号、当前定制皮肤配置项。
在上述方案中,所述设备还包括:
判断模块,设置为判断是否存在有第一定制版本号;
所述收发模块,还设置为在所述判断模块判断没有所述第一定制版本号时,向所述移动终端不发送第一定制版本号的响应消息;在所述判断模块判断存在有所述第一定制版本号时,向所述移动终端发送第一定制版本号的响应消息。
本发明实施例提供的更换定制皮肤的方法、装置及设备,通过向无线路由器发送定制版本号的请求消息,接收所述无线路由器发送的定制版本号的响应消息;在所述定制版本号的响应消息中的当前定制版本号与本地存储的第二定制版本号不相同时,向所述无线路由器发送定制皮肤配置项的请求消息,接收所述无线路由器发送的定制皮肤配置项的响应消息;在所述定制皮肤配置项的响应消息中的当前定制皮肤配置项符合预设条件时,向所述无线路由器发送定制皮肤数据的下载请求消息,接收所述无线路由器发送的当前定制皮肤数据并存储到本地定制皮肤数据的目录中;根据所述当前定制皮肤数据对应用软件更换定制皮肤;由于无线路由器与移动终端之间是内网连接,无需通过外网就能将定制皮肤数据下载到移动终端中,实现了网络运营商针对提供的无线路由器的应用软件进行更换定制皮肤来达到区分多个类型的用户,提高了运行维护和管理的工作效率。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为本发明更换定制皮肤的方法实施例一的流程图;
图2为本发明更换定制皮肤的方法实施例二的流程图,;
图3为本发明更换定制皮肤的方法实施例三的流程图;
图4为本发明更换定制皮肤的方法的应用软件中单个控件更换定制皮肤的过程实施例的流程图;
图5为本发明更换定制皮肤的装置实施例的结构示意图;
图6为本发明更换定制皮肤的设备实施例的结构示意图。
本发明的实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
图1为本发明更换定制皮肤的方法实施例一的流程图,本发明实施例提供的更换定制皮肤的方法可以应用在移动终端侧,该移动终端包括智能手机、智能平板电脑等终端,该移动终端与无线路由器之间的连接属于内网连接,无线路由器与网络运营商的服务器侧的连接属于外网连接;如图1所示,本发明实施例提供的更换定制皮肤的方法可以包括如下步骤:
步骤101、向无线路由器发送第一定制版本号的请求消息,接收所述无线路由器发送的第一定制版本号的响应消息。
移动终端向无线路由器发送第一定制版本号的请求消息,该第一定制版本号为无线路由器的当前定制版本号,即移动终端请求获取无线路由器的当前定制版本号;无线路由器在接收到请求消息后,将自身当前定制版本号携带在第一定制版本号的响应消息中发送给移动终端;移动终端接收无线路由器发送的携带有无线路由器当前定制版本号的响应消息。
步骤102、在所述第一定制版本号与第二定制版本号不相同时,向所述无线路由器发送定制皮肤配置项的请求消息,接收所述无线路由器发送的定制皮肤配置项的响应消息。
移动终端将第一定制版本号的响应消息中携带的无线路由器的第一定制版本号提取出来,在确定无线路由器的第一定制版本号与本地存储的第二 定制版本号不相同时,向无线路由器发送定制皮肤配置项的请求消息,该请求消息用于获取无线路由器的定制皮肤配置项(CustomSkin),该第二定制版本号为本地存储的无线路由器的定制版本号;无线路由器在接收到请求消息后,将自身当前定制皮肤配置项携带在定制皮肤配置项的响应消息中发送给移动终端;移动终端接收无线路由器发送的携带有无线路由器的定制皮肤配置项的响应消息。
步骤103、在所述定制皮肤配置项的响应消息中的当前定制皮肤配置项符合预设条件时,向所述无线路由器发送定制皮肤数据的下载请求消息,接收所述无线路由器发送的当前定制皮肤数据并存储到本地定制皮肤数据的目录中。
移动终端将定制皮肤配置项的响应消息中携带的无线路由器的当前定制皮肤配置项提取出来,判断该当前定制皮肤配置项是否符合预设条件,在符合预设条件时,向无线路由器发送定制皮肤数据的下载请求消息,无线路由器在接收到定制皮肤数据的下载请求消息后,将自身的当前定制皮肤数据发送给移动终端,移动终端接收无线路由器发送的当前定制皮肤数据并存储到本地定制皮肤数据的目录中。
其中,定制皮肤配置项可以用数值来表示,例如,移动终端获取到的无线路器的当前定制皮肤配置项的值为0或1或者其它数字;预设条件可以为定义当前定制皮肤配置项的值所对应的条件,例如,0表示无线路器中没有定制皮肤数据,即无需下载无线路由器中的定制皮肤数据,1表示无线路由器中有定制皮肤数据,即需要下载无线路由器中的定制皮肤数据来进行更换皮肤。
这里需要说明的是,本发明实施例中的定制皮肤配置项的值以及预设条件可以根据实际需求进行设置,在此不加以限定。
步骤104、根据所述当前定制皮肤数据进行更换定制皮肤。
移动终端根据存储在本地定制皮肤数据的目录中的当前定制皮肤数据对应用软件更换定制皮肤,达到更换定制皮肤目的。
本发明实施例提供的更换定制皮肤的方法,移动终端通过向无线路由器发送第一定制版本号的请求消息,接收所述无线路由器发送的第一定制版本 号的响应消息,所述第一定制版本号为所述无线路由器的当前定制版本号;在所述第一定制版本号与第二定制版本号不相同时,向所述无线路由器发送定制皮肤配置项的请求消息,接收所述无线路由器发送的定制皮肤配置项的响应消息,所述第二定制版本号为本地存储的所述无线路由器的定制版本号;在所述定制皮肤配置项的响应消息中的当前定制皮肤配置项符合预设条件时,向所述无线路由器发送定制皮肤数据的下载请求消息,接收所述无线路由器发送的当前定制皮肤数据并存储到本地定制皮肤数据的目录中;根据所述当前定制皮肤数据对应用软件进行更换定制皮肤;由于无线路由器与移动终端之间是内网连接,无需通过外网就能将定制皮肤数据下载到移动终端中,实现了网络运营商针对提供的无线路由器的应用软件进行更换定制皮肤来达到区分多个类型的用户,提高了运行维护和管理的工作效率。
图2为本发明更换定制皮肤的方法实施例二的流程图,本发明实施例提供的更换定制皮肤的方法可以应用在无线路由器侧,该无线路由器与移动终端之间的连接属于内网连接,与网络运营商的服务器侧之间的连接属于外网链接;如图2所示,本发明实施例提供的更换定制皮肤的方法可以包括如下步骤:
步骤201、更新历史定制皮肤数据、历史第一定制版本号及历史定制皮肤配置项,得到所述当前定制皮肤数据、第一定制版本号、当前定制皮肤配置项。
无线路由器接收到网络运营商的服务器侧发送来的最新定制皮肤数据、定制版本号及定制皮肤配置项,将存储的历史定制皮肤数据、历史第一定制版本号及历史定制皮肤配置项进行更新,得到当前定制皮肤数据、第一定制版本号、当前定制皮肤配置项,其中,第一定制版本号为本地存储的当前定制版本号。
步骤202、接收移动终端发送的第一定制版本号的请求消息,向所述移动终端发送第一定制版本号的响应消息,所述第一定制版本号的响应消息中携带有第一定制版本号。
无线路由器在接收到移动终端发送的第一定制版本号的请求消息后,判断自身中是否存储有第一定制版本号,在判断存在有第一定制版本号时,向 移动终端发送携带有第一定制版本号的第一定制版本号的响应消息。
步骤203、接收所述移动终端发送的定制皮肤配置项的请求消息,向所述移动终端发送定制皮肤配置项的响应消息,所述定制皮肤配置项的响应消息中携带有当前定制皮肤配置项。
无线路由器在接收到移动终端发送的定制皮肤配置项的请求消息后,向该移动终端发送携带有当前定制皮肤配置项的定制皮肤配置项的响应消息。
其中,定制皮肤配置项可以用数值来表示,例如,移动终端获取到的无线路器的当前定制皮肤配置项的值为0或1或者其它数字,0表示无线路器中没有定制皮肤数据,1表示无线路由器中有定制皮肤数据。
这里需要说明的是,本发明实施例中的定制皮肤配置项的值以及值对应的含义可以根据实际需求进行设置,在此不加以限定。
步骤204、接收所述移动终端发送的定制皮肤数据的下载请求消息,向所述移动终端发送当前定制皮肤数据。
无线路由器接收移动终端发送的定制皮肤数据的下载请求消息,向该移动终端发送当前定制皮肤数据,供该移动终端对应用软件进行更换皮肤。
本发明实施例提供的更换定制皮肤的方法,无线路由器更新历史定制皮肤数据、历史第一定制版本号及历史定制皮肤配置项,得到所述当前定制皮肤数据、第一定制版本号、当前定制皮肤配置项;接收移动终端发送的第一定制版本号的请求消息,向所述移动终端发送第一定制版本号的响应消息,所述第一定制版本号的响应消息中携带有第一定制版本号,所述第一定制版本号为本地存储的当前定制版本号;接收所述移动终端发送的定制皮肤配置项的请求消息,向所述移动终端发送定制皮肤配置项的响应消息,所述定制皮肤配置项的响应消息中携带有当前定制皮肤配置项;接收所述移动终端发送的定制皮肤数据的下载请求消息,向所述移动终端发送当前定制皮肤数据;由于无线路由器与移动终端之间是内网连接,无需通过外网就能将定制皮肤数据发送到移动终端中,实现了网络运营商针对提供的无线路由器的应用软件进行更换定制皮肤来达到区分多个类型的用户,提高了运行维护和管理的工作效率。
图3为本发明更换定制皮肤的方法实施例三的流程图,本发明实施例提供的更换定制皮肤的方法应用在移动终端与无线路由器上,为交互的过程,该移动终端与无线路由器之间的连接属于内网连接,无线路由器与网络运营商的服务器侧的连接属于外网连接;本发明实施例所描述的无线路由器为网络运营商提供的无线路由器,应用软件为控制网络运营商提供的无线路由器的应用软件;如图3所示,本发明实施例提供的更换定制皮肤的方法可以包括如下步骤:
步骤301、移动终端连接到无线路由器。
移动终端可通过无线通信方式连接到无线路由器上。
步骤302、移动终端向无线路由器发送第一定制版本号的请求消息。
移动终端上的应用软件向无线路由器发送第一定制版本号的请求消息;无线路由器接收移动终端发送的第一定制版本号的请求消息;其中,第一定制版本号为无线路由器的当前定制版本号。
通过在无线路由器中增加第一定制版本号可以将移动终端与无线路由器进行匹配,只有匹配后的无线路由器才能将后续的数据发送到移动终端上。
步骤303、无线路由器判断是否存在有第一定制版本号。
无线路由器判断自身中是否存在有第一定制版本号,在判断没有所述第一定制版本号时,执行步骤304;在判断存在有所述第一定制版本号时,执行步骤305。
步骤304、无线路由器向移动终端不发送第一定制版本号的响应消息,流程结束。
无线路由器向移动终端不发送第一定制版本号的响应消息,结束处理任务。
步骤305、无线路由器向移动终端发送第一定制版本号的响应消息。
无线路由器向移动终端发送定制版本号的响应消息。
步骤306、移动终端判断是否接收到第一定制版本号的响应消息。
移动终端判断是否接收到无线路由器发送的第一定制版本号的响应消息,在接收到无线路由器发送的第一定制版本号的响应消息时,执行步骤307;在没有接收到无线路由器发送的第一定制版本号的响应消息时,执行步骤316。
步骤307、移动终端判断第一定制版本号是否与本地的第二定制版本号相同。
移动终端判断第一定制版本号的响应消息中的第一定制版本号是否与本地保存的无线路由器的第二定制版本号相同,在第一定制版本号与第二定制版本号不相同时,执行步骤308。在在第一定制版本号与第二定制版本号相同时,执行步骤316;其中,第二定制版本号为本地存储的无线路由器的定制版本号。
通过判断第一定制版本号是否与本地的第二定制版本号相同,可以获取到网络运营商是否有对定制皮肤进行更新,如果第一定制版本号与本地的第二定制版本号相同,则说明网络运营商没有更新定制皮肤;如果第一定制版本号与本地的第二定制版本号不相同,则说明网络运营商已经更新了定制皮肤。
步骤308、移动终端将第一定制版本号保存或替换到本地存储单元中。
移动终端将第一版本号的响应消息中的第一定制版本号保存或替换到本地存储单元中。
步骤309、移动终端清除本地的定制皮肤数据。
移动终端清除本地定制皮肤数据目录中存在的定制皮肤数据。
步骤310、移动终端向无线路由器发送定制皮肤配置项的请求消息。
移动终端向无线路由器发送定制皮肤配置项的请求消息,无线路由器接收移动终端发送的定制皮肤配置项的请求消息。
步骤311、无线路由器向移动终端发送定制皮肤配置项的响应消息。
无线路由器向移动终端发送定制皮肤配置项的响应消息,移动终端接收无线路由器发送的定制皮肤配置项的响应消息。
步骤312、移动终端判断当前定制皮肤配置项的值是否为1。
移动终端判断定制皮肤配置项的响应消息中的当前定制皮肤配置项的值是否为1,在当前定制皮肤配置项的值为1时,执行步骤313;在当前定制皮肤配置项的值不为1时,执行步骤316。
步骤313、移动终端向无线路由器发送定制皮肤数据的下载请求消息。
移动终端向无线路由器发送定制皮肤数据的下载请求消息;无线路由器接收移动终端发送的定制皮肤数据的下载请求消息。
步骤314、无线路由器向移动终端发送当前定制皮肤数据。
无线路由器向移动终端发送当前定制皮肤数据;移动终端接收无线路由器发送的当前定制皮肤数据并存储到本地定制皮肤数据的目录中。
步骤315、移动终端根据当前定制皮肤数据进行更换定制皮肤。
移动终端针对应用软件根据当前定制皮肤数据中的界面配置文件加载当前定制皮肤数据中的定制皮肤;应用软件的整个更换定制皮肤的过程就是应用软件中的每个单个控件更换定制皮肤过程的组合。
其中,界面配置文件以可扩展标记语言(Extensible Markup Language,XML)格式存储,为应用软件中的每个控件分配一个唯一的身份标识号码(Identity,ID),界面配置文件中包含所有需要进行更换定制皮肤控件的ID,每个ID都配置有该控件的定制皮肤信息,包括:控件的位置信息、控件的颜色信息、控件的尺寸信息、控件的字体信息、控件的定制皮肤图片中的至少一项。
步骤316、移动终端判断本地定制皮肤数据目录是否存在。
移动终端判断本地定制皮肤数据目录是否存在,在本地定制皮肤数据目录存在时,执行步骤317;在本地定制皮肤数据目录不存在时,执行步骤318。
步骤317、移动终端加载本地的历史定制皮肤数据,根据历史定制皮肤数据进行更换定制皮肤,流程结束。
移动终端加载本地定制皮肤数据目录中存储的历史定制皮肤数据,根据所述历史定制皮肤数据对应用软件更换定制皮肤。
步骤318、移动终端加载默认皮肤,流程结束。
移动终端加载应用软件的默认皮肤。
本发明实施例提供的更换定制皮肤的方法,通过移动终端连接到无线路由器;移动终端向无线路由器发送第一定制版本号的请求消息;无线路由器判断是否存在有第一定制版本号;无线路由器在判断存在有所述第一定制版本号时,向移动终端发送第一定制版本号的响应消息;移动终端判断是否接收到第一定制版本号的响应消息;移动终端在没有接收到无线路由器发送的第一定制版本号的响应消息时,判断本地定制皮肤数据目录是否存在;移动终端在接收到无线路由器发送的第一定制版本号的响应消息时,判断第一定制版本号是否与本地的第二定制版本号相同;移动终端在判断第一定制版本号与本地的第二定制版本号相同时,判断本地定制皮肤数据目录是否存在;移动终端在判断第一定制版本号与本地的第二定制版本号不相同时,将第一定制版本号保存或替换到本地存储单元中;移动终端清除本地的定制皮肤数据;移动终端向无线路由器发送定制皮肤配置项的请求消息;无线路由器向移动终端发送定制皮肤配置项的响应消息;移动终端判断当前定制皮肤配置项的值是否为1;移动终端在当前定制皮肤配置项的值不为1时,判断本地定制皮肤数据目录是否存在;移动终端在当前定制皮肤配置项的值为1时,向无线路由器发送定制皮肤数据的下载请求消息;无线路由器向移动终端发送当前定制皮肤数据;移动终端根据当前定制皮肤数据对应用软件更换定制皮肤;其中,在移动终端判断本地定制皮肤数据目录是否存在之后,如果移动终端判断在本地定制皮肤数据目录存在时,加载本地的历史定制皮肤数据,根据历史定制皮肤数据对应用软件更换定制皮肤;如果移动终端判断在本地定制皮肤数据目录不存在时,加载默认皮肤;根据本发明实施例提供的方法,由于无线路由器与移动终端之间是内网连接,无需通过外网就能将定制皮肤数据下载到移动终端中,实现了网络运营商针对提供的无线路由器的应用软件进行更换定制皮肤来达到区分多个类型的用户,提高了运行维护和管理的工作效率。
图4为本发明更换定制皮肤的方法的应用软件中单个控件更换定制皮肤的过程实施例的流程图,如图4所示,应用软件中单个控件更换定制皮肤的过程可以包括如下步骤:
步骤401、将单个控件加载到界面。
移动终端上的应用软件将单个控件加载到界面。
步骤402、判断界面配置文件中是否有所述单个控件的ID。
移动终端上的应用软件判断界面配置文件中是否有该单个控件的ID,若界面配置文件中没有该单个控件的ID,则执行步骤403;若界面配置文件中有该单个控件的ID,则执行步骤404;
步骤403、加载所述单个控件的所有默认皮肤信息,流程结束。
移动终端上的应用软件加载该单个控件的所有默认皮肤信息。
步骤404、根据界面配置文件判断所述单个控件的定制皮肤信息中的每个元素是否需要加载。
移动终端上的应用软件根据界面配置文件判断该单个控件的定制皮肤信息中的每个元素是否需要加载,若该单个控件的定制皮肤信息中的元素在界面配置文件中不存在配置(即不需要加载),则执行步骤405;若该单个控件的定制皮肤信息中的元素在界面配置文件中存在配置(即需要加载),则执行步骤406。
其中,定制皮肤信息包括了该单个控件的位置信息、控件的颜色信息、控件的尺寸信息、控件的字体信息、控件的定制皮肤图片中的至少一项。
步骤405、对不存在配置的元素加载默认皮肤信息,流程结束。
移动终端上的应用软件对不存在配置的元素加载默认皮肤信息;例如,对控件的字体元素、控件的颜色元素加载默认皮肤信息。
步骤406、对存在配置的元素加载定制皮肤信息,流程结束。
移动终端上的应用软件对存在配置的元素按照界面配置文件加载定制皮肤信息;例如,按照界面配置文件对控件的尺寸信息、控件的定制皮肤图片加载定制皮肤信息。
图5为本发明更换定制皮肤的装置实施例的结构示意图,如图5所示,本发明实施例提供的更换定制皮肤的装置05包括:收发模块51、更换模块52;其中,
所述收发模块51,设置为向无线路由器发送第一定制版本号的请求消息,接收所述无线路由器发送的第一定制版本号的响应消息;所述第一定制版本号为所述无线路由器的当前定制版本号;
所述收发模块51,还设置为在所述第一定制版本号与第二定制版本号不相同时,向所述无线路由器发送定制皮肤配置项的请求消息,接收所述无线路由器发送的定制皮肤配置项的响应消息;所述第二定制版本号为本地存储的所述无线路由器的定制版本号;
所述收发模块51,还设置为在所述定制皮肤配置项的响应消息中的当前定制皮肤配置项符合预设条件时,向所述无线路由器发送定制皮肤数据的下载请求消息,接收所述无线路由器发送的当前定制皮肤数据并存储到本地定制皮肤数据的目录中;
所述更换模块52,设置为根据所述当前定制皮肤数据进行更换定制皮肤。
可选的,所述装置还包括:判断模块53;其中,
所述判断模块53,设置为判断是否接收到所述无线路由器发送的第一定制版本号的响应消息;
所述判断模块53,还设置为在没有接收到所述无线路由器发送的第一定制版本号的响应消息时,判断本地定制皮肤数据目录是否存在。
可选的,所述判断模块53,还设置为判断所述第一定制版本号的响应消息中的当前定制版本号是否与本地存储的所述无线路由器的第二定制版本号相同。
可选的,所述判断模块53,还设置为在所述第一定制版本号的响应消息中的第一定制版本号与本地存储的所述无线路由器的第二定制版本号相同时,判断本地定制皮肤数据目录是否存在。
可选的,所述装置还包括:更新模块54;其中,
所述更新模块54,设置为将所述第一定制版本号的响应消息中的第一定制版本号保存或替换到本地存储单元中;
所述更新模块54,还设置为清除所述本地定制皮肤数据目录中的定制皮 肤数据。
可选的,所述判断模块53,还设置为判断所述定制皮肤配置项的响应消息中的当前定制皮肤配置项是否符合预设条件;
所述判断模块53,还设置为在所述定制皮肤配置项的响应消息中的当前定制皮肤配置项不符合预设条件时,判断本地定制皮肤数据目录是否存在。
可选的,所述更换模块52,还设置为在所述判断模块53判断所述本地定制皮肤数据目录存在时,加载所述本地定制皮肤数据目录中存储的历史定制皮肤数据,根据所述历史定制皮肤数据进行更换定制皮肤;
所述更换模块52,还设置为在所述判断模块53判断所述本地定制皮肤数据目录不存在时,加载默认皮肤。
可选的,所述更换模块52,是设置为根据所述当前定制皮肤数据中的界面配置文件加载所述当前定制皮肤数据中的定制皮肤。
本实施例的装置,可以用于执行上述所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
在实际应用中,所述收发模块51、更换模块52、判断模块53、更新模块54均可由位于更换定制皮肤的装置05中的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。
图6为本发明更换定制皮肤的设备实施例的结构示意图,如图6所示,本发明实施例提供的更换定制皮肤的设备06包括:收发模块61;其中,
所述收发模块61,设置为接收移动终端发送的第一定制版本号的请求消息,向所述移动终端发送第一定制版本号的响应消息,所述第一定制版本号的响应消息中携带有第一定制版本号;所述第一定制版本号为本地存储的当前定制版本号;
所述收发模块61,还设置为接收所述移动终端发送的定制皮肤配置项的请求消息,向所述移动终端发送定制皮肤配置项的响应消息,所述定制皮肤配置项的响应消息中携带有当前定制皮肤配置项;
所述收发模块61,还设置为接收所述移动终端发送的定制皮肤数据的下载请求消息,向所述移动终端发送当前定制皮肤数据。
可选的,所述设备还包括:更新模块62;其中,
所述更新模块62,设置为更新历史定制皮肤数据、历史第一定制版本号、历史定制皮肤配置项,得到所述当前定制皮肤数据、第一定制版本号、当前定制皮肤配置项。
可选的,所述设备还包括:判断模块63;其中,
所述判断模块63,设置为判断是否存在有第一定制版本号;
所述收发模块61,还设置为在所述判断模块63判断没有所述第一定制版本号时,向所述移动终端不发送第一定制版本号的响应消息;
所述收发模块61,还设置为在所述判断模块63判断存在有所述第一定制版本号时,向所述移动终端发送第一定制版本号的响应消息。
本实施例的设备,可以用于执行上述所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
在实际应用中,所述收发模块61、更新模块62、判断模块63均可由位于更换定制皮肤的设备中的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。
本发明实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现上述实施例所述的方法。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含 有计算机可用程序代码的计算机可读存储介质上实施的计算机程序产品的形式。计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护 范围。
工业实用性
上述技术方案可实现无需通过外网就能将定制皮肤数据下载到移动终端中,实现了网络运营商针对提供的无线路由器的应用软件进行更换定制皮肤来达到区分多个类型的用户的目的,提高了运行维护和管理的工作效率。

Claims (22)

  1. 一种更换定制皮肤的方法,所述方法包括:
    向无线路由器发送第一定制版本号的请求消息,接收所述无线路由器发送的第一定制版本号的响应消息(101);所述第一定制版本号为所述无线路由器的当前定制版本号;
    在所述第一定制版本号与第二定制版本号不相同时,向所述无线路由器发送定制皮肤配置项的请求消息,接收所述无线路由器发送的定制皮肤配置项的响应消息(102);所述第二定制版本号为本地存储的所述无线路由器的定制版本号;
    在所述定制皮肤配置项的响应消息中的当前定制皮肤配置项符合预设条件时,向所述无线路由器发送定制皮肤数据的下载请求消息,接收所述无线路由器发送的当前定制皮肤数据并存储到本地定制皮肤数据的目录中(103);
    根据所述当前定制皮肤数据进行更换定制皮肤(104)。
  2. 根据权利要求1所述的方法,所述方法还包括:
    在所述向无线路由器发送定制版本号的请求消息之后,判断是否接收到所述无线路由器发送的第一定制版本号的响应消息;
    在没有接收到所述无线路由器发送的第一定制版本号的响应消息时,判断本地定制皮肤数据目录是否存在。
  3. 根据权利要求1所述的方法,所述方法还包括:
    在所述接收所述无线路由器发送的第一定制版本号的响应消息之后,判断所述第一定制版本号的响应消息中的第一定制版本号是否与本地存储的所述无线路由器的第二定制版本号相同。
  4. 根据权利要求3所述的方法,所述方法还包括:
    在所述第一定制版本号的响应消息中的第一定制版本号与本地存储的所述无线路由器的第二定制版本号相同时,判断本地定制皮肤数据目录是否存在。
  5. 根据权利要求1所述的方法,所述方法还包括:
    在所述第一定制版本号的响应消息中的第一定制版本号与第二定制版本号不相同之后,在所述向所述无线路由器发送定制皮肤配置项的请求消息之前,将所述第一定制版本号的响应消息中的第一定制版本号保存或替换到本地存储单元中;
    清除所述本地定制皮肤数据目录中的定制皮肤数据。
  6. 根据权利要求1所述的方法,所述方法还包括:
    在所述定制皮肤配置项的响应消息中的当前定制皮肤配置项符合预设条件之前,在所述接收所述无线路由器发送的定制皮肤配置项的响应消息之后,判断所述定制皮肤配置项的响应消息中的当前定制皮肤配置项是否符合预设条件;
    在所述定制皮肤配置项的响应消息中的当前定制皮肤配置项不符合预设条件时,判断本地定制皮肤数据目录是否存在。
  7. 根据权利要求2、4或6所述的方法,所述方法还包括:
    在所述判断本地定制皮肤数据目录是否存在之后,在所述本地定制皮肤数据目录存在时,加载所述本地定制皮肤数据目录中存储的历史定制皮肤数据,根据所述历史定制皮肤数据进行更换定制皮肤;
    在所述本地定制皮肤数据目录不存在时,加载默认皮肤。
  8. 根据权利要求1所述的方法,其中,所述根据所述当前定制皮肤数据进行更换定制皮肤,包括:
    根据所述当前定制皮肤数据中的界面配置文件加载所述当前定制皮肤数据中的定制皮肤。
  9. 一种更换定制皮肤的方法,所述方法包括:
    接收移动终端发送的第一定制版本号的请求消息,向所述移动终端发送第一定制版本号的响应消息,所述第一定制版本号的响应消息中携带有第一定制版本号(202);所述第一定制版本号为本地存储的当前定制版本号;
    接收所述移动终端发送的定制皮肤配置项的请求消息,向所述移动终端 发送定制皮肤配置项的响应消息,所述定制皮肤配置项的响应消息中携带有当前定制皮肤配置项(203);
    接收所述移动终端发送的定制皮肤数据的下载请求消息,向所述移动终端发送当前定制皮肤数据(204)。
  10. 根据权利要求9所述的方法,所述方法还包括:
    在所述接收移动终端发送的第一定制版本号的请求消息之前,更新历史定制皮肤数据、历史第一定制版本号、历史定制皮肤配置项,得到所述当前定制皮肤数据、第一定制版本号、当前定制皮肤配置项(201)。
  11. 根据权利要求9所述的方法,所述方法还包括:
    在所述接收移动终端发送的第一定制版本号的请求消息之后,判断是否存在有第一定制版本号;
    在判断没有所述第一定制版本号时,向所述移动终端不发送第一定制版本号的响应消息;
    所述向所述移动终端发送第一定制版本号的响应消息,包括:
    在判断存在有所述第一定制版本号时,向所述移动终端发送第一定制版本号的响应消息。
  12. 一种更换定制皮肤的装置(05),所述装置(05)包括:
    收发模块(51),设置为向无线路由器发送第一定制版本号的请求消息,接收所述无线路由器发送的第一定制版本号的响应消息;所述第一定制版本号为所述无线路由器的当前定制版本号;在所述第一定制版本号与第二定制版本号不相同时,向所述无线路由器发送定制皮肤配置项的请求消息,接收所述无线路由器发送的定制皮肤配置项的响应消息;所述第二定制版本号为本地存储的所述无线路由器的定制版本号;在所述定制皮肤配置项的响应消息中的当前定制皮肤配置项符合预设条件时,向所述无线路由器发送定制皮肤数据的下载请求消息,接收所述无线路由器发送的当前定制皮肤数据并存储到本地定制皮肤数据的目录中;
    更换模块(52),设置为根据所述当前定制皮肤数据进行更换定制皮肤。
  13. 根据权利要求12所述的装置(05),所述装置(05)还包括:
    判断模块(53),设置为判断是否接收到所述无线路由器发送的第一定制版本号的响应消息;在没有接收到所述无线路由器发送的第一定制版本号的响应消息时,判断本地定制皮肤数据目录是否存在。
  14. 根据权利要求13所述的装置(05),
    所述判断模块(53),还设置为判断所述第一定制版本号的响应消息中的第一定制版本号是否与本地存储的所述无线路由器的第二定制版本号相同。
  15. 根据权利要求14所述的装置(05),
    所述判断模块(53),还设置为在所述第一定制版本号的响应消息中的第一定制版本号与本地存储的所述无线路由器的第二定制版本号相同时,判断本地定制皮肤数据目录是否存在。
  16. 根据权利要求12所述的装置(05),所述装置(05)还包括:
    更新模块(54),设置为将所述第一定制版本号的响应消息中的第一定制版本号保存或替换到本地存储单元中;清除所述本地定制皮肤数据目录中的定制皮肤数据。
  17. 根据权利要求13所述的装置(05),
    所述判断模块(53),还设置为判断所述定制皮肤配置项的响应消息中的当前定制皮肤配置项是否符合预设条件;在所述定制皮肤配置项的响应消息中的当前定制皮肤配置项不符合预设条件时,判断本地定制皮肤数据目录是否存在。
  18. 根据权利要求13、15或17所述的装置(05),
    所述更换模块(52),还设置为在所述判断模块(53)判断所述本地定制皮肤数据目录存在时,加载所述本地定制皮肤数据目录中存储的历史定制皮肤数据,根据所述历史定制皮肤数据进行更换定制皮肤;在所述判断模块(53)判断所述本地定制皮肤数据目录不存在时,加载默认皮肤。
  19. 根据权利要求12所述的装置(05),其中,
    所述更换模块(52),是设置为根据所述当前定制皮肤数据中的界面配置文件加载所述当前定制皮肤数据中的定制皮肤。
  20. 一种更换定制皮肤的设备(06),所述设备(06)包括:
    收发模块(61),设置为接收移动终端发送的第一定制版本号的请求消息,向所述移动终端发送第一定制版本号的响应消息,所述第一定制版本号的响应消息中携带有第一定制版本号;所述第一定制版本号为本地存储的当前定制版本号;接收所述移动终端发送的定制皮肤配置项的请求消息,向所述移动终端发送定制皮肤配置项的响应消息,所述定制皮肤配置项的响应消息中携带有当前定制皮肤配置项;接收所述移动终端发送的定制皮肤数据的下载请求消息,向所述移动终端发送当前定制皮肤数据。
  21. 根据权利要求20所述的设备(06),所述设备(06)还包括:
    更新模块(62),设置为更新历史定制皮肤数据、历史第一定制版本号、历史定制皮肤配置项,得到所述当前定制皮肤数据、第一定制版本号、当前定制皮肤配置项。
  22. 根据权利要求20所述的设备(06),所述设备(06)还包括:
    判断模块(63),设置为判断是否存在有第一定制版本号;
    所述收发模块(61),还设置为在所述判断模块(63)判断没有所述第一定制版本号时,向所述移动终端不发送第一定制版本号的响应消息;在所述判断模块(63)判断存在有所述第一定制版本号时,向所述移动终端发送第一定制版本号的响应消息。
PCT/CN2017/085756 2016-08-19 2017-05-24 一种更换定制皮肤的方法、装置及设备 WO2018032848A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610698001.7 2016-08-19
CN201610698001.7A CN107769947B (zh) 2016-08-19 2016-08-19 一种更换定制皮肤的方法、装置及设备

Publications (1)

Publication Number Publication Date
WO2018032848A1 true WO2018032848A1 (zh) 2018-02-22

Family

ID=61196338

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/085756 WO2018032848A1 (zh) 2016-08-19 2017-05-24 一种更换定制皮肤的方法、装置及设备

Country Status (2)

Country Link
CN (1) CN107769947B (zh)
WO (1) WO2018032848A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113760831A (zh) * 2021-09-10 2021-12-07 未鲲(上海)科技服务有限公司 基于相似度匹配的app界面换肤方法、装置、设备及介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111899050A (zh) * 2020-07-24 2020-11-06 吉利汽车研究院(宁波)有限公司 内饰光源皮肤定制方法及系统
CN113672296B (zh) * 2021-07-12 2024-05-24 西安闻泰信息技术有限公司 定制应用的切换方法、切换装置、电子设备和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263805A (zh) * 2010-05-25 2011-11-30 腾讯科技(北京)有限公司 一种动态资源下载的方法和装置
CN104283776A (zh) * 2014-09-30 2015-01-14 成都康特电子高新科技有限责任公司 智能社区网关
CN104298533A (zh) * 2014-11-06 2015-01-21 北京奇虎科技有限公司 用于定制软件安装包的方法、装置和设备
KR20150072228A (ko) * 2013-12-19 2015-06-29 (주)케니소프트 응용프로그램의 스킨을 변경하는 방법.
CN105045588A (zh) * 2015-07-17 2015-11-11 百度在线网络技术(北京)有限公司 一种切换输入法皮肤的方法和装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102214107B (zh) * 2010-04-12 2015-02-18 腾讯科技(深圳)有限公司 在客户端程序中的Flash换肤换色方法和装置
CN101951400B (zh) * 2010-09-13 2013-01-02 烽火通信科技股份有限公司 一种家庭网络中应用终端的软件安装和升级方法及系统
CN103607447A (zh) * 2013-11-15 2014-02-26 中国联合网络通信集团有限公司 软件升级处理方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263805A (zh) * 2010-05-25 2011-11-30 腾讯科技(北京)有限公司 一种动态资源下载的方法和装置
KR20150072228A (ko) * 2013-12-19 2015-06-29 (주)케니소프트 응용프로그램의 스킨을 변경하는 방법.
CN104283776A (zh) * 2014-09-30 2015-01-14 成都康特电子高新科技有限责任公司 智能社区网关
CN104298533A (zh) * 2014-11-06 2015-01-21 北京奇虎科技有限公司 用于定制软件安装包的方法、装置和设备
CN105045588A (zh) * 2015-07-17 2015-11-11 百度在线网络技术(北京)有限公司 一种切换输入法皮肤的方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
NEW EXPERIENCE OF SKIN CHANGING OF HAOZIP, vol. 2.3, no. 9, 30 September 2011 (2011-09-30), pages 24 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113760831A (zh) * 2021-09-10 2021-12-07 未鲲(上海)科技服务有限公司 基于相似度匹配的app界面换肤方法、装置、设备及介质

Also Published As

Publication number Publication date
CN107769947A (zh) 2018-03-06
CN107769947B (zh) 2020-06-05

Similar Documents

Publication Publication Date Title
US10887423B2 (en) Personalization of virtual assistant skills based on user profile information
EP2840813B1 (en) Service method and system using instance interface of virtualization object in internet of things environment
CN104756076B (zh) 配置文件更新器
EP3007408B1 (en) Service method for managing transactions using application properties and system therefor
US9591451B1 (en) Dynamic generation of customized content for display on a network device
CN109510723B (zh) 网关设备、物联网事务管控系统及方法
US20140289366A1 (en) Service providing method and system for instance hosting
US20060193321A1 (en) System and method for continuously provisioning a mobile device
WO2018032848A1 (zh) 一种更换定制皮肤的方法、装置及设备
CN107786601B (zh) 一种信息处理方法、终端及服务器
CA2495024A1 (en) System and method for adaptable provisioning of generic application content
CN105677250A (zh) 对象存储系统中的对象数据的更新方法和更新装置
CN107193666B (zh) 应用程序之间调用的控制方法及装置
WO2016058133A1 (zh) 软件升级方法及设备
US11265693B2 (en) System of actions for IoT devices
WO2018094990A1 (zh) 一种信息处理方法和装置和计算机存储介质
US9122557B1 (en) User settings management using external sources
CN103825937B (zh) 一种控制嵌入式设备数据更新的方法、设备及系统
CN110392012B (zh) 轻量级机器到机器系统中重新引导的方法和装置
EP3007470B1 (en) Performance improvement method in instance hosting environment and service system therefor
CA2967270A1 (en) Techniques to transform network resource requests to zero rated network requests
CN109391658B (zh) 一种账号数据同步方法及其设备、存储介质、终端
US10521841B2 (en) Method and apparatus for integrating an e-commerce provider with third-party vendors
CN105227600A (zh) 移动设备系统升级的方法
CN106897456B (zh) 活动信息发布方法、活动信息驱动方法、相关设备及系统

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: 17840824

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: 17840824

Country of ref document: EP

Kind code of ref document: A1