CN105306675A - Cross-platform UI dynamic matching method - Google Patents
Cross-platform UI dynamic matching method Download PDFInfo
- Publication number
- CN105306675A CN105306675A CN201510581042.3A CN201510581042A CN105306675A CN 105306675 A CN105306675 A CN 105306675A CN 201510581042 A CN201510581042 A CN 201510581042A CN 105306675 A CN105306675 A CN 105306675A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- clouds
- service functional
- functional identity
- device service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a cross-platform UI dynamic matching method, comprising: a step 1, a mobile phone APP obtains equipment ID information, and then the mobile phone APP retrieves whether UI matched with the equipment ID information exists in a database; a step 2, the mobile phone APP obtains equipment SUID information, the SUID information comprises category ID, protocol ID and service function ID, and then, the mobile phone APP retrieves whether UI matched with the equipment SUID information exists in the database; a step 3, the mobile phone APP retrieves whether UI matched with equipment service function ID exists in the database according to the service function ID, and the UI matched with the equipment service function ID exists, the mobile phone APP downloads corresponding UI from the cloud, and if the UI matched with the equipment service function ID does not exist, it is prompted that no available UI is available. The cross-platform UI dynamic matching method disclosed by the invention is used for matching the UI and hardware products on different platforms and avoiding repeated development of the UI as much as possible. Meanwhile, the matching method is higher in matching efficiency, and the size of the APP will be increased with the increase of the hardware products.
Description
Technical field
The present invention relates to Internet of Things applied technical field, refer in particular to a kind of cross-platform dynamic UI matching process.
Background technology
The hardware product in current Internet of Things field, all controlled by mobile phone A PP, but control UI needs in different platform for the special realization of different product, each interpolation new product, all needs to upgrade mobile phone A PP, very loaded down with trivial details, the access efficiency of new product is very low, the product simultaneously supported along with APP gets more and more, and the size of mobile phone A PP itself also can increase, and corresponding experience and maintenance cost also increase thereupon.
Summary of the invention
The object of the invention is to overcome in prior art along with the continuous increase of new hardware product makes the size of mobile phone A PP increase thereupon, UI overlapping development causes the shortcoming of the wasting of resources, a kind of cross-platform dynamic UI matching process is provided, this matching algorithm can realize the coupling of UI and hardware product in different platform, and avoids the overlapping development of UI as much as possible.
The object of the invention is to be achieved by following technical proposals:
A kind of cross-platform dynamic UI matching process, comprises the steps:
Step 1, mobile phone A PP obtains device id information, then mobile phone A PP retrieves the UI whether existed with device id information matches in a database, if there is the UI with device id information matches, then mobile phone A PP downloads corresponding UI from high in the clouds, if there is not the UI with device id information matches, then jump to step 2;
Step 2, mobile phone A PP obtains equipment SUID information, SUID information comprises classification ID, agreement ID and service functional identity, then mobile phone A PP retrieves the UI whether existed with equipment SUID information matches in a database, if there is the UI with equipment SUID information matches, then mobile phone A PP downloads corresponding UI from high in the clouds, if there is not the UI with equipment SUID information matches, then jumps to step 3;
Step 3, mobile phone A PP retrieves the UI whether existing and mate with at least one device service functional identity in a database according to service function ID, if there is the UI mated with at least one device service functional identity, then mobile phone A PP downloads corresponding UI from high in the clouds, if there is not the UI mated with at least one device service functional identity, then prompting does not have available UI.
A hardware device includes id information and SUID information, and SUID information includes classification ID, agreement ID and service functional identity.When the Internet of things hardware equipment that access one is new, first mobile phone A PP obtains the UI mated with id information from high in the clouds, if do not had, traditional method is then to design a new UI, the present invention then continues the SUID information obtaining hardware device, be not inconsistent but the UI conformed to SUID information with id information if high in the clouds is present in one, then this UI still can mate hardware device.More, a hardware device can support multiple UI, even without the SUID of a UI energy complete match hardware device, but the SUID of multiple UI integration energy complete match hardware device or multiple UI integrates and can mate classification ID, agreement ID and most of service function ID, then multiple UI still can mate hardware device.This design greatly reduces to be needed to redesign the number of times that new UI carrys out the hardware device of matching, and mobile phone A PP size is reduced as much as possible, and UI also reduces the number of times of overlapping development as much as possible.
As a kind of preferred version, in step 3, high in the clouds preferentially provides the UI more with device service functional identity number of matches to download for mobile phone A PP, and number of matches more multipriority is higher.This design improves the efficiency selecting UI to carry out matching unit.
As a kind of preferred version, step 3 also comprises after mobile phone A PP downloads a corresponding UI, high in the clouds reoffers new UI, new UI mates from least one device service functional identity and the device service functional identity mated is different with the device service functional identity that previous UI mates, and mobile phone A PP downloads new UI again.This design improves chooses efficiency, avoids after have chosen a UI, the device service functional identity of UI coupling before the device service functional identity that new UI mates contains.Repeated downloads can cause waste, and efficiency reduces.
As a kind of preferred version, step 3 also comprises after mobile phone A PP has downloaded UI, high in the clouds is always to provide the UI of renewal, the UI upgraded mates from least one device service functional identity and the device service functional identity that mates with all UI before of the device service functional identity mated is different, until high in the clouds cannot provide the UI of renewal.This design is while raising the efficiency, and the multiple UI of As soon as possible Promising Policy can mate maximum device service functional identities.
As a kind of preferred version, if step 3 also comprises after mobile phone A PP is 5 from the UI quantity that high in the clouds is downloaded, high in the clouds stops providing new UI, and mobile phone A PP stops downloading new UI from high in the clouds.This design avoids the increase that a large amount of download UI causes mobile phone A PP size.
As a kind of preferred version, if when the device service functional identity quantity that step 3 also comprises the UI coupling that mobile phone A PP downloads from high in the clouds accounts for more than 80% of the device service functional identity quantity of equipment, high in the clouds stops providing new UI, and mobile phone A PP stops downloading new UI from high in the clouds.This design avoids the increase that a large amount of download UI causes mobile phone A PP size.
The invention has the beneficial effects as follows, a kind of cross-platform dynamic UI matching process can realize the coupling of UI and hardware product in different platform, and avoids the overlapping development of UI as much as possible.This matching method matches efficiency is higher simultaneously, and APP size can not increase along with the increase of hardware product.
Accompanying drawing explanation
Fig. 1 is a kind of flow chart of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is further described.
Embodiment 1: a kind of cross-platform dynamic UI matching process, its flow chart as shown in Figure 1, comprise the steps, step 1, mobile phone A PP obtains device id information, and then mobile phone A PP retrieves the UI whether existed with device id information matches in a database, if there is the UI with device id information matches, then mobile phone A PP downloads corresponding UI from high in the clouds, if there is not the UI with device id information matches, then jumps to step 2;
Step 2, mobile phone A PP obtains equipment SUID information, SUID information comprises classification ID, agreement ID and service functional identity, then mobile phone A PP retrieves the UI whether existed with equipment SUID information matches in a database, if there is the UI with equipment SUID information matches, then mobile phone A PP downloads corresponding UI from high in the clouds, if there is not the UI with equipment SUID information matches, then jumps to step 3;
Step 3, mobile phone A PP retrieves the UI whether existing and mate with at least one device service functional identity in a database according to service function ID, if there is the UI mated with at least one device service functional identity, then mobile phone A PP downloads corresponding UI from high in the clouds, if there is not the UI mated with at least one device service functional identity, then prompting does not have available UI.
In step 3, high in the clouds preferentially provides the UI more with device service functional identity number of matches to download for mobile phone A PP, and number of matches more multipriority is higher.After mobile phone A PP downloads a corresponding UI, high in the clouds reoffers new UI, and new UI mates from least one device service functional identity and the device service functional identity mated is different with the device service functional identity that previous UI mates, and mobile phone A PP downloads new UI again.After mobile phone A PP has downloaded UI, high in the clouds is always to provide the UI of renewal, the UI upgraded mates from least one device service functional identity and the device service functional identity that mates with all UI before of the device service functional identity mated is different, until high in the clouds cannot provide the UI of renewal, but after if mobile phone A PP is 5 from the UI quantity that high in the clouds is downloaded, high in the clouds stops providing new UI, and mobile phone A PP stops downloading new UI from high in the clouds.
A hardware device includes id information and SUID information, and SUID information includes classification ID, agreement ID and service functional identity.When the Internet of things hardware equipment that access one is new, first mobile phone A PP obtains the UI mated with id information from high in the clouds, if do not had, traditional method is then to design a new UI, the present invention then continues the SUID information obtaining hardware device, be not inconsistent but the UI conformed to SUID information with id information if high in the clouds is present in one, then this UI still can mate hardware device.More, a hardware device can support multiple UI, even without the SUID of a UI energy complete match hardware device, but the SUID of multiple UI integration energy complete match hardware device or multiple UI integrates and can mate classification ID, agreement ID and most of service function ID, then multiple UI still can mate hardware device.This design greatly reduces to be needed to redesign the number of times that new UI carrys out the hardware device of matching, and mobile phone A PP size is reduced as much as possible, and UI also reduces the number of times of overlapping development as much as possible.
Embodiment 2, a kind of cross-platform dynamic UI matching process, its principle and implementation method substantially the same manner as Example 1, difference is in embodiment 1 " if but after mobile phone A PP is 5 from the UI quantity that high in the clouds is downloaded; high in the clouds stops providing new UI; mobile phone A PP stops downloading new UI from high in the clouds " if change to but the device service functional identity quantity that the UI that mobile phone A PP downloads from high in the clouds mates accounts for more than 80% of the device service functional identity quantity of equipment time, high in the clouds stops providing new UI, and mobile phone A PP stops downloading new UI from high in the clouds.
Claims (6)
1. a cross-platform dynamic UI matching process, is characterized in that, comprise the steps:
Step 1, mobile phone A PP obtains device id information, then mobile phone A PP retrieves the UI whether existed with device id information matches in a database, if there is the UI with device id information matches, then mobile phone A PP downloads corresponding UI from high in the clouds, if there is not the UI with device id information matches, then jump to step 2;
Step 2, mobile phone A PP obtains equipment SUID information, SUID information comprises classification ID, agreement ID and service functional identity, then mobile phone A PP retrieves the UI whether existed with equipment SUID information matches in a database, if there is the UI with equipment SUID information matches, then mobile phone A PP downloads corresponding UI from high in the clouds, if there is not the UI with equipment SUID information matches, then jumps to step 3;
Step 3, mobile phone A PP retrieves the UI whether existing and mate with at least one device service functional identity in a database according to service function ID, if there is the UI mated with at least one device service functional identity, then mobile phone A PP downloads corresponding UI from high in the clouds, if there is not the UI mated with at least one device service functional identity, then prompting does not have available UI.
2. the cross-platform dynamic UI matching process of one according to claim 1, is characterized in that, in described step 3, high in the clouds preferentially provides the UI more with device service functional identity number of matches to download for mobile phone A PP, and number of matches more multipriority is higher.
3. the cross-platform dynamic UI matching process of one according to claim 1 and 2, it is characterized in that, described step 3 also comprises after mobile phone A PP downloads a corresponding UI, high in the clouds reoffers new UI, new UI mates from least one device service functional identity and the device service functional identity mated is different with the device service functional identity that previous UI mates, and mobile phone A PP downloads new UI again.
4. the cross-platform dynamic UI matching process of one according to claim 3, it is characterized in that, described step 3 also comprises after mobile phone A PP has downloaded UI, high in the clouds is always to provide the UI of renewal, the UI upgraded mates from least one device service functional identity and the device service functional identity that mates with all UI before of the device service functional identity mated is different, until high in the clouds cannot provide the UI of renewal.
5. the cross-platform dynamic UI matching process of one according to claim 4, is characterized in that, if described step 3 also comprises after mobile phone A PP is 5 from the UI quantity that high in the clouds is downloaded, high in the clouds stops providing new UI, and mobile phone A PP stops downloading new UI from high in the clouds.
6. the cross-platform dynamic UI matching process of one according to claim 4, it is characterized in that, if when the device service functional identity quantity that described step 3 also comprises the UI coupling that mobile phone A PP downloads from high in the clouds accounts for more than 80% of the device service functional identity quantity of equipment, high in the clouds stops providing new UI, and mobile phone A PP stops downloading new UI from high in the clouds.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510581042.3A CN105306675B (en) | 2015-09-14 | 2015-09-14 | A kind of cross-platform dynamic UI matching process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510581042.3A CN105306675B (en) | 2015-09-14 | 2015-09-14 | A kind of cross-platform dynamic UI matching process |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105306675A true CN105306675A (en) | 2016-02-03 |
CN105306675B CN105306675B (en) | 2018-07-27 |
Family
ID=55203406
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510581042.3A Active CN105306675B (en) | 2015-09-14 | 2015-09-14 | A kind of cross-platform dynamic UI matching process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105306675B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020098565A1 (en) * | 2018-11-12 | 2020-05-22 | 广州视源电子科技股份有限公司 | Intelligent interactive tablet operation method and system, intelligent interactive tablet and storage medium |
CN111367523A (en) * | 2020-03-16 | 2020-07-03 | 杭州涂鸦信息技术有限公司 | Dynamic UI (user interface) matching method and system for small program |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102316382A (en) * | 2010-06-29 | 2012-01-11 | 深圳Tcl新技术有限公司 | Method and system for customizing network television UI (User Interface) by user |
US20130152001A1 (en) * | 2011-12-09 | 2013-06-13 | Microsoft Corporation | Adjusting user interface elements |
US20140181683A1 (en) * | 2012-12-21 | 2014-06-26 | Samsung Electronics Co., Ltd. | Method and system for controlling external device |
CN104580375A (en) * | 2014-12-11 | 2015-04-29 | 百度在线网络技术(北京)有限公司 | Method and equipment for determining UI style information of target application |
CN104683399A (en) * | 2013-11-29 | 2015-06-03 | 株式会社日立制作所 | Equipment control system and equipment control method |
-
2015
- 2015-09-14 CN CN201510581042.3A patent/CN105306675B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102316382A (en) * | 2010-06-29 | 2012-01-11 | 深圳Tcl新技术有限公司 | Method and system for customizing network television UI (User Interface) by user |
US20130152001A1 (en) * | 2011-12-09 | 2013-06-13 | Microsoft Corporation | Adjusting user interface elements |
US20140181683A1 (en) * | 2012-12-21 | 2014-06-26 | Samsung Electronics Co., Ltd. | Method and system for controlling external device |
CN104683399A (en) * | 2013-11-29 | 2015-06-03 | 株式会社日立制作所 | Equipment control system and equipment control method |
CN104580375A (en) * | 2014-12-11 | 2015-04-29 | 百度在线网络技术(北京)有限公司 | Method and equipment for determining UI style information of target application |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020098565A1 (en) * | 2018-11-12 | 2020-05-22 | 广州视源电子科技股份有限公司 | Intelligent interactive tablet operation method and system, intelligent interactive tablet and storage medium |
CN111367523A (en) * | 2020-03-16 | 2020-07-03 | 杭州涂鸦信息技术有限公司 | Dynamic UI (user interface) matching method and system for small program |
Also Published As
Publication number | Publication date |
---|---|
CN105306675B (en) | 2018-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103701856B (en) | A kind of method that definition and terminal device obtain AKU | |
CN105893070A (en) | Application SDK upgrading method and system | |
CN105094875A (en) | Software upgrading method and device | |
CN108023778A (en) | Firmware upgrade method and its system | |
CN104102501B (en) | A kind of mobile terminal and its upgrade method | |
CN105099772B (en) | A kind of upgrade method and system of efficiency service cloud terminal | |
CN104077715A (en) | Advertisement implementation method based on mobile Internet | |
CN104063243A (en) | Application store solution applied to intelligent dressing equipment | |
CN102833101B (en) | Software upgrading method and equipment of distributed network system | |
CN105763626A (en) | SDK initialization method suitable for application client end payment | |
CN105183496A (en) | Method for automatically upgrading and pushing software based on domestic CPU and operating system | |
CN102223380A (en) | Client terminal automatic updating frame based on Webservice and application thereof | |
CN104536775A (en) | Method and system for upgrading preset application under Android platform | |
CN103916374A (en) | Service gated launch method and device | |
CN102215480A (en) | Differential on-air software upgrading method based on cloud computing | |
CN108008971A (en) | A kind of offline compressed package based on HTML5 downloads the method for realizing mobile APP module upgrades | |
CN104461648B (en) | A kind of method and system of intelligent terminal OTA upgradings backup | |
CN104077161A (en) | Client application updating method and device | |
CN112506584B (en) | Resource file loading method, device, equipment, storage medium and product | |
CN105282225A (en) | Method for mobile terminal to dynamically construct interface according to internet of things equipment capability set | |
CN104462591A (en) | Method for avoiding repeated download and mobile terminal | |
CN106201577A (en) | A kind of method and device updating Lua file | |
CN109992291A (en) | A kind of method for updating terminal software, device, system and storage medium | |
CN105530630B (en) | A kind of OTA upgrade method and equipment | |
CN102314351A (en) | Installation program generating device and installation program generating method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 310000 Room 101, 1st Floor, Block C, No. 57, Changhe Street, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: Hangzhou Bolian Intelligent Technology Co., Ltd. Address before: Room 106, Building No. 1, 611 Jianghong Road, Changhe Street, Binjiang District, Hangzhou City, Zhejiang Province Patentee before: Hangzhou Gubei Electronic Technology Co., Ltd. |