CN105868312A - Equipment management method and device based on browser - Google Patents
Equipment management method and device based on browser Download PDFInfo
- Publication number
- CN105868312A CN105868312A CN201610179358.4A CN201610179358A CN105868312A CN 105868312 A CN105868312 A CN 105868312A CN 201610179358 A CN201610179358 A CN 201610179358A CN 105868312 A CN105868312 A CN 105868312A
- Authority
- CN
- China
- Prior art keywords
- index tree
- equipment
- file index
- service platform
- resource
- 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
- 238000007726 management method Methods 0.000 title claims abstract description 34
- 230000005540 biological transmission Effects 0.000 claims abstract description 11
- 238000003780 insertion Methods 0.000 claims description 7
- 230000037431 insertion Effects 0.000 claims description 7
- 238000012544 monitoring process Methods 0.000 claims description 4
- 238000000034 method Methods 0.000 abstract description 5
- 238000011161 development Methods 0.000 description 5
- 230000018109 developmental process Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000003044 adaptive effect Effects 0.000 description 2
- 230000032683 aging Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/13—File access structures, e.g. distributed indices
- G06F16/134—Distributed indices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses an equipment management method and device based on a browser. The method comprises the steps that when the equipment management device detects that local extension equipment is inserted, on one hand, TCP connection with a cloud service platform is instantly created to create a transmission channel for a file index tree in advance, and on the other hand, the equipment management device scans the extension equipment to build the file index tree for resources of the local extension equipment; after creation of the file index tree is completed, the file index tree is instantly transmitted to the cloud service platform through created TCP connection; when a Web App needs to access one resource of the local extension equipment, the Web App firstly accesses the cloud service platform, whether the resource exists or not is determined by inquiring the file index tree, and if yes, the position of the resource in the local extension equipment is acquired. According to the equipment management method and device, the speed and fluency that the Web App acquires the resources in the local extension equipment are increased, and the user experience is improved.
Description
Technical field
The present invention relates to a kind of built-in browser and Internet technology, be specifically related to a kind of based on browser
Device management method and device.
Background technology
The development of network technology and intelligent terminal's's (mobile phone, flat board, TV etc.) is universal, has promoted to move
The prosperity of dynamic the Internet.Instantly, abundant Native App applies the every aspect to user's life to bring
Greatly facilitate.User can utilize intelligent terminal to check mail whenever and wherever possible, obtain the geographical position of oneself
Put, share picture video etc., be greatly enriched the mode that user obtains information and exchanges with the external world.
But Native App also exists problems.First, developer must be for android, ios, windows
The App that the operating system platform exploitations such as phone and firefox are corresponding, greatly increases development difficulty, increases
Add development cost, extended the construction cycle, thus reduce the ageing of App.Secondly as equipment
Varying of screen size and resolution, Native App must take into consideration how adaptive all of terminal.Finally,
Developer issues App program and bothers and the longest.The cost of user installation and upgrading App is the biggest.
The disadvantages mentioned above of Native App, has promoted the development of Web App.Web App can easily realize
Cross-platform, developer is no longer necessary to consider the adaptive problem with Cross-border congestion management language of complicated bottom, thus
Greatly reduce development cost, shorten exploitation and issuing time, enhance the ageing of App.And due to Web
App is without installing, and customer upgrade is convenient and cost is the lowest.But, Web App is for the visit of local resource
Asking that ability is weak, speed is slow, when it needs to obtain local resource, can have a strong impact on Consumer's Experience.
Summary of the invention
[solving the technical problem that]
Present invention aim to address the problem that above-mentioned prior art exists, it is provided that a kind of based on browser set
Standby management method and device.The method is with browser for relying on, and cloud service platform, for supporting, improves Web App
The speed of local resource access, thus improve Consumer's Experience.
[technical scheme]
In order to reach above-mentioned technique effect, the present invention takes techniques below scheme:
The present invention proposes a kind of equipment management device based on browser, by this device, Web App energy
Enough resource informations quickly judged and position local expansion equipment, thus accelerate Web App and obtain this locality extension
The speed of device resource, improves the fluency accessing local device resource of Web App, improves user
Experience.
A kind of device management method based on browser, it comprises the following steps:
(1) open browser input network address, load Web App, open equipment management device simultaneously;
(2) equipment management device detects when local expansion equipment is inserted, and sets up local expansion equipment simultaneously
File index tree and establishment are connected with the TCP of cloud service platform;
(3), after file index tree completes, connected by TCP and this document index tree is transmitted to cloud service platform;
(4) when Web App need to access the resource of local expansion equipment, cloud service platform is first accessed, logical
Cross file index tree, obtain the positional information of purpose resource, then directly extend from this locality
The relevant position of equipment obtains purpose resource.
The present invention further technical scheme, sets up the time >=wound of the file index tree of local expansion equipment
Build the time that the TCP with cloud service platform is connected.
The present invention further technical scheme, in described file index tree, local expansion equipment entitled
The root node of tree, the folder resource in local expansion equipment is trunk node, the file resource in file
For leaf node.
The present invention further technical scheme, when exiting browser, equipment management device and cloud service are put down
Platform can preserve the file index tree of this this locality expansion equipment.
A kind of equipment management device based on browser, it includes monitoring module, file index tree sets up module
With TCP link block;Wherein, module is monitored for detecting whether there is the insertion of local expansion equipment;Work as prison
When listening the insertion that module detects local expansion equipment, monitor module and set up module to file index tree simultaneously
Enabled instruction is sent with TCP link block;File index tree is set up after module receives enabled instruction and runs resource
Local expansion equipment is scanned by scan module, and carries out the foundation of file index tree according to scanning result;
When TCP link block receives enabled instruction, set up TCP with cloud service platform immediately and be connected;Work as file index
After tree foundation completes, file index tree is set up module and by the TCP set up, this document index tree is connected transmission
To cloud service platform.
Will be described in detail the present invention below.
The equipment management device of the present invention, be based on a kind of built-in browser on.This browser possesses primary clear
The general utility functions that device of looking at is had, on this basis, also have the local expansion equipment managing device of oneself,
Web App passes through this device and the cloud service platform of browser, can be with quick obtaining this locality expansion equipment
Resource information.The resource information of local expansion equipment is formed file index tree by first equipment management device, and
It is uploaded to cloud service platform.When Web App needs the resource accessing local expansion equipment, first access cloud
Service platform, to determine whether resource exists, if it is present obtain resource particular location in a device.
When Web App needs to obtain this resource really, by this positional information, directly from local expansion equipment
Obtain, thus complete whole flow processs of a resource acquisition.Compare and directly access local expansion equipment, Web App
Access the speed of cloud service platform faster, because the calculating speed of cloud service platform and efficiency of transmission are all than intelligence
Terminal is strong, thus improves access speed, improves Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is present invention equipment management device based on browser.
Detailed description of the invention
Below in conjunction with embodiments of the invention, the invention will be further elaborated.
Embodiment:
A kind of device management method based on browser, it comprises the following steps:
(1) open browser input network address, load Web App, open equipment management device simultaneously;Browse
Whether the equipment management device of device starts with browser, and monitor in real time and have local extension to set
Standby insertion.
(2) equipment management device detects when local expansion equipment is inserted, and sets up local expansion equipment simultaneously
File index tree and establishment are connected with the TCP of cloud service platform;Specifically, equipment management device
The TCP that after local expansion equipment is inserted, can create cloud service platform connects, thus is next
Transmission channel is set up in the transmission of the file index tree of step.TCP establishment of connection and file index tree
Foundation synchronize start because file index tree set up required time than set up TCP connection
Time is long, and so, after file index tree is set up, TCP connection has created, such that it is able to vertical
I.e. to the file index tree of the local expansion equipment of cloud service platform transmission.
(3), after file index tree completes, connected by TCP and this document index tree is transmitted to cloud service platform;
Specifically, all resources of whole local expansion equipment can be entered by the equipment management device of browser
Row scanning, thus form a file index tree.The entitled file index of local expansion equipment
The root node of tree, by root node, Web App can travel through the institute accessing local expansion equipment
There is resource file.The folder resource of local expansion equipment is trunk node, the literary composition in file
Part resource is leaf node.After file index tree creates, TCP is utilized to connect, by it immediately
Transmission is to cloud service platform.The formation of file index tree quickly can provide equipment to Web App
Resource information.
(4) when Web App need to access the resource of local expansion equipment, cloud service platform is first accessed, logical
Cross file index tree, obtain the positional information of purpose resource, then directly extend from this locality
The relevant position of equipment obtains purpose resource.After accessing cloud service platform, by file index tree
Lookup, it may be determined that whether purpose resource exists, if it does, can further determine that purpose provides
Position in local expansion equipment, the source.Owing to cloud service platform is generally of the strongest calculating energy
Power and transmittability at a high speed, Web App accesses cloud service platform query resource file ratio directly
Access local expansion equipment speed fast, thus decrease and obtain local expansion equipment resource information
Time, this is most important to improving Consumer's Experience.
Additionally, the another advantage by file index tree transmission to cloud service platform is can be to multiple Web App
The resource information of local expansion equipment is provided simultaneously.Owing to cloud service platform has higher concurrent processing ability,
When multiple Web App need to access local expansion equipment simultaneously, cloud service platform can provide more preferably, more
Quickly service.
When exiting browser, equipment management device and cloud service platform can preserve the literary composition of this this locality expansion equipment
Part index tree.When purpose is for again detecting that identical local expansion equipment is inserted, if device resource without
Change, then without again transmitting file index tree to cloud service platform.
Equipment management device based on browser described above, as it is shown in figure 1, it include monitor module,
File index tree sets up module and TCP link block;Wherein, module is monitored for detecting whether there is local expansion
The insertion of exhibition equipment;When monitoring the insertion that module detects local expansion equipment, monitor module simultaneously to
File index tree sets up module and TCP link block sends enabled instruction;File index tree is set up module and receives
Run resource scan module after enabled instruction local expansion equipment is scanned, and carry out according to scanning result
The foundation of file index tree;When TCP link block receives enabled instruction, set up TCP with cloud service platform immediately
Connect;After file index tree foundation completes, file index tree sets up module by this document index tree by building
Vertical TCP connects transmission to cloud service platform.
Although reference be made herein to invention has been described for the explanatory embodiment of the present invention, and above-described embodiment is only
For the present invention preferably embodiment, embodiments of the present invention are also not restricted to the described embodiments, it should
Understanding, those skilled in the art can be designed that a lot of other amendments and embodiment, and these are revised and real
The mode of executing will fall within spirit disclosed in the present application and spirit.
Claims (5)
1. a device management method based on browser, it is characterised in that it comprises the following steps:
(1) open browser input network address, load Web App, open equipment management device simultaneously;
(2) equipment management device detects when local expansion equipment is inserted, and sets up local expansion equipment simultaneously
File index tree and establishment are connected with the TCP of cloud service platform;
(3), after file index tree completes, connected by TCP and the transmission of this document index tree is put down to cloud service
Platform;
(4) when Web App need to access the resource of local expansion equipment, cloud service platform is first accessed, logical
Cross file index tree, obtain the positional information of purpose resource, then directly extend from this locality
The relevant position of equipment obtains purpose resource.
Device management method based on browser the most according to claim 1, it is characterised in that set up this locality
The time that the time >=establishment of the file index tree of expansion equipment is connected with the TCP of cloud service platform.
Device management method based on browser the most according to claim 1, it is characterised in that described file
In index tree, the root node of the entitled tree of local expansion equipment, the file in local expansion equipment
Resource is trunk node, and the file resource in file is leaf node.
Device management method based on browser the most according to claim 1, it is characterised in that clear when exiting
Look at device time, equipment management device and cloud service platform can preserve the file index tree of this this locality expansion equipment.
5. the equipment management device based on browser as described in any one of Claims 1 to 4, its feature exists
Include monitoring module in it, file index tree sets up module and TCP link block;Wherein, mould is monitored
Block is for detecting whether there is the insertion of local expansion equipment;Detect that local extension sets when monitoring module
During standby insertion, monitor module and set up module to file index tree and TCP link block sends and opens simultaneously
Dynamic instruction;File index tree is set up and runs resource scan module to this locality expansion after module receives enabled instruction
Exhibition equipment is scanned, and carries out the foundation of file index tree according to scanning result;TCP link block
When receiving enabled instruction, set up TCP with cloud service platform immediately and be connected;When file index tree has been set up
Cheng Hou, file index tree is set up module and this document index tree is connected transmission to cloud by the TCP set up
Service platform.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610179358.4A CN105868312B (en) | 2016-03-25 | 2016-03-25 | A kind of device management method and device based on browser |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610179358.4A CN105868312B (en) | 2016-03-25 | 2016-03-25 | A kind of device management method and device based on browser |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105868312A true CN105868312A (en) | 2016-08-17 |
CN105868312B CN105868312B (en) | 2019-09-10 |
Family
ID=56624915
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610179358.4A Expired - Fee Related CN105868312B (en) | 2016-03-25 | 2016-03-25 | A kind of device management method and device based on browser |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105868312B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101488143A (en) * | 2008-01-16 | 2009-07-22 | 重庆安软信息科技有限公司 | Novel web application and local application interaction mode |
CN102055771A (en) * | 2011-01-24 | 2011-05-11 | 上海红神信息技术有限公司 | Device and method for controlling cloud service-oriented multiple concurrent service flow |
US20120317233A1 (en) * | 2011-06-13 | 2012-12-13 | International Business Machines Corporation | Mobile web app infrastructure |
CN102938767A (en) * | 2012-11-13 | 2013-02-20 | 西安电子科技大学 | Efficient verified fuzzy key word searching method based on cloud data subcontract system |
CN102945169A (en) * | 2012-12-05 | 2013-02-27 | 江苏鸿信系统集成有限公司 | Native APP fused Web APP development system based on Android |
CN104994141A (en) * | 2015-06-16 | 2015-10-21 | 四川长虹电器股份有限公司 | Cooperative storage system relieving storing and computing pressures of cloud server |
-
2016
- 2016-03-25 CN CN201610179358.4A patent/CN105868312B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101488143A (en) * | 2008-01-16 | 2009-07-22 | 重庆安软信息科技有限公司 | Novel web application and local application interaction mode |
CN102055771A (en) * | 2011-01-24 | 2011-05-11 | 上海红神信息技术有限公司 | Device and method for controlling cloud service-oriented multiple concurrent service flow |
US20120317233A1 (en) * | 2011-06-13 | 2012-12-13 | International Business Machines Corporation | Mobile web app infrastructure |
CN102938767A (en) * | 2012-11-13 | 2013-02-20 | 西安电子科技大学 | Efficient verified fuzzy key word searching method based on cloud data subcontract system |
CN102945169A (en) * | 2012-12-05 | 2013-02-27 | 江苏鸿信系统集成有限公司 | Native APP fused Web APP development system based on Android |
CN104994141A (en) * | 2015-06-16 | 2015-10-21 | 四川长虹电器股份有限公司 | Cooperative storage system relieving storing and computing pressures of cloud server |
Also Published As
Publication number | Publication date |
---|---|
CN105868312B (en) | 2019-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102355500B (en) | Service push method and device | |
US11146641B2 (en) | Internet of things information system | |
CN105451154A (en) | Vehicle-mounted information system and control method thereof | |
CN105634881A (en) | Application scene recommending method and device | |
CN102722551A (en) | Intelligent switching method and system for browser kernels | |
CN106658481B (en) | Method and system for opening base stations in batches | |
CN105357740A (en) | Wireless network access method and wireless access node | |
CN103051525A (en) | Gateway service middleware system and method as well as device and system comprising gateway service middleware system | |
US10404774B2 (en) | Mobile device and method for controlling transmission to web server in mobile device | |
CN102291437A (en) | System and method for realizing application of cross-platform internet | |
CN104717289A (en) | Data synchronism method and device | |
CN104182430A (en) | Method and device for displaying image in text message | |
CN112954717B (en) | Household appliance network distribution method and device based on H5 page | |
CN102957681A (en) | Embedded browser, intelligent household appliance and intelligent system of internet of things | |
CN116760567A (en) | Account association method, device, electronic equipment and storage medium | |
CN202799005U (en) | Cloud computing based internet monitoring system of set top box and set top box | |
CN104202221A (en) | Method and device for awakening household interconnected device | |
CN103607454A (en) | Method for setting private proxy server for Android system browser | |
CN105321470A (en) | Control method and control device for accessing display screen control system into Internet | |
CN104219287A (en) | Distributed multimedia entertainment device, system and method | |
CN104754700A (en) | Device and method for public land mobile network searching | |
CN105263169A (en) | WLAN equipment management frame transmission speed adjusting method and system, WLAN equipment | |
CN104426724A (en) | Intelligent home constructing system and intelligent home realizing method | |
CN104104564A (en) | Method and device for automatically establishing WIFI-based local area network between devices in private cloud | |
CN104954462A (en) | High-concurrency extensible smart home communication method and high-concurrency extensible smart home communication system |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190910 |
|
CF01 | Termination of patent right due to non-payment of annual fee |