CN105516088B - The access method and device of facility information - Google Patents
The access method and device of facility information Download PDFInfo
- Publication number
- CN105516088B CN105516088B CN201510845491.4A CN201510845491A CN105516088B CN 105516088 B CN105516088 B CN 105516088B CN 201510845491 A CN201510845491 A CN 201510845491A CN 105516088 B CN105516088 B CN 105516088B
- Authority
- CN
- China
- Prior art keywords
- website
- characteristic information
- local area
- information
- area network
- 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.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4552—Lookup mechanisms between a plurality of directories; Synchronisation of directories, e.g. metadirectories
Abstract
The invention proposes a kind of access method of facility information and devices, this method comprises: the website in internet to be redirected to the default website in local area network by reading the preset script on the website in internet;Obtain the characteristic information of all devices in local area network;It needs the target device accessed to search the characteristic information to match with target device in the characteristic information of all devices obtained in advance based on user and is uploaded to default website;Website in internet obtains the characteristic information to match with target device by presetting website.By means of the present invention, the ability that can make the website in internet that there is information in access local area network, and obtain the information of the target device in local area network.
Description
Technical field
The present invention relates to internet areas, it particularly relates to the access method and device of a kind of facility information.
Background technique
Current internet site usually passes through equipment containing GPS (such as intelligent hand when obtaining local information
Machine) obtain required facility information.
Existing technical solution (as shown in Figure 1) is the limited information collected in access equipment by browser, due to clear
Look at the limitation of device permission, internet site can only obtain the partial information of access equipment, can not get in local area network
Other equipment information, therefore, local information acquired in internet site is extremely limited.
For the problems in the relevant technologies, currently no effective solution has been proposed.
Summary of the invention
For the problems in the relevant technologies, the present invention proposes the access method and device of a kind of facility information, can make mutually
Website in networking has the ability of information in access local area network, and obtains the information in local area network.
The technical scheme of the present invention is realized as follows:
According to an aspect of the invention, there is provided a kind of access method of facility information.
This method comprises:
By reading the preset script on internet site, the website in internet is redirected in local area network
Default website;
Obtain the characteristic information of all devices in local area network;
The target device that accesses is needed to search in the characteristic information of all devices obtained in advance and target based on user
Characteristic information that equipment matches simultaneously is uploaded to default website;
Website in internet obtains the characteristic information to match with target device by presetting website.
In a preferred embodiment of the invention, characteristic information includes at least one of:
The facility information of all devices, environmental information, user information in local area network;
In a preferred embodiment of the invention, facility information includes:
The model, service condition, functions of the equipments, communication mode of all devices in local area network.
In a preferred embodiment of the invention, need the target device accessed in the institute obtained in advance based on user
Have and search the characteristic information to match with target device in the characteristic information of equipment and be uploaded to default website, further comprises:
By application programming interface default website will be uploaded to the characteristic information that target device matches.
In a preferred embodiment of the invention, the website in internet is redirected to pre- in local area network
If website, specifically: the network address of website is redirected to the network address of default website.
According to another aspect of the present invention, a kind of access mechanism of facility information is provided.
The device includes:
Redirection module, for by reading the preset script on internet site, the website in internet to be redirected
Default website in local area network;Wherein, redirection module is further used for the network address of website being redirected to default net
The network address stood;
Module is obtained, for obtaining the characteristic information of all devices in local area network;
Uploading module, for needing the target device that accesses in the characteristic information of all devices obtained in advance based on user
It is middle to search the characteristic information to match with target device and be uploaded to default website;
Communication module, for making the website in internet obtain the feature to match with target device letter by presetting website
Breath.
In a preferred embodiment of the invention, characteristic information includes at least one of:
The facility information of all devices, environmental information, user information in local area network;
In a preferred embodiment of the invention, facility information includes:
The model, service condition, functions of the equipments, communication mode of all devices in local area network.
In a preferred embodiment of the invention, uploading module further comprises:
Application programming interface module, for default website will to be uploaded to the characteristic information that target device matches.
Detailed description of the invention
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will be to institute in embodiment
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the flow chart according to the method for prior embodiment;
Fig. 2 is the flow chart of the access method of facility information according to an embodiment of the present invention;
Fig. 3 is the specific flow chart of the access method of facility information according to an embodiment of the present invention;
Fig. 4 is the block diagram of the access mechanism of facility information according to an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art's every other embodiment obtained belong to what the present invention protected
Range.
According to an embodiment of the invention, providing a kind of access method of facility information.
As shown in Fig. 2, the access method of facility information according to an embodiment of the present invention, comprising:
Website in internet is redirected to by step S201 by reading the preset script on the internet site
Default website in local area network.In a preferred embodiment of the invention, the website in internet is redirected to
Default website in local area network can be by the way that the network address of internet site is carried out DNS local parsing, by the website
Network address analysis is the network address of the default website in local area network, that is, realizes the network address of internet site being redirected to local
Default website in local area network.
Step S203 obtains the characteristic information in the local area network.In a preferred embodiment of the invention,
The characteristic information includes but is not limited to: the facility information of all devices, environmental information, user information in local area network.Its
In, facility information includes but is not limited to: the type information of equipment, the service condition of equipment, the function of equipment and communication mode
Deng.For example, the function of the service condition and printer of the model of the ink-cases of printers in access to LAN and its print cartridge is retouched
It states and the communication mode of printer etc..
Step S205 needs the target device accessed to look into the characteristic information of all devices obtained in advance based on user
It looks for the characteristic information to match with target device and is uploaded to default website.In another preferred embodiment of the invention,
The characteristic information to match with the target device can be uploaded to default website by application programming interface.
Step S207, the website in internet obtain the characteristic information to match with target device by presetting website.
Above scheme through the invention can make the website in internet have the energy of information in access local area network
Power, and the characteristic information of the particular device in local area network can be obtained.
Fig. 3 is the specific flow chart of a preferred embodiment of the access method of facility information according to the present invention.?
In Fig. 3:
User accesses certain website (123.com), and preset script is downloaded from website.The script can be used for judging user
It whether there is particular gateway equipment in locating local area network.If particular gateway equipment is not present in local area network, adopt
With traditional technical solution, that is, the partial information of access equipment can only be obtained.If there are particular gateways to set in local area network
It is standby, then it is connected into specific website.Wherein, the specific website can be set in the particular gateway equipment, also can be set in
In server.
Then, by reading the order in preset script, particular gateway equipment carries out the network address (123.com) to website
DNS home domain name parsing, by the network address analysis of website be local area network in default website IP address (such as:
192.168.1.10), that is, complete website internet site being redirected in local area network.It should be noted that
There is no in the case where particular gateway equipment in local area network, that is, internet site can not be redirected to local area network
In net, then internet can not directly access the network address (192.168.1.10) in local area network.
Then, particular gateway equipment can get the characteristic information of all devices in local area network immediately, alternatively, particular gateway
Equipment is also possible to obtain in advance, and it is local that the characteristic information of all devices is then stored to the particular gateway equipment equipment in advance
In storage.User can by preset website in local interface (information acquired in the local interface is isolated with internet site,
That is, internet site can not get the information in local interface) browsing all devices characteristic information, local showing interface institute
When having the information of equipment, can in a manner of list or other any modes to user show all devices information.Such as: it beats
The model of print machine print cartridge, printer lack black information, environmental information and user information.Then, user can be from the spy of all devices
Voluntarily selected target equipment, the corresponding characteristic information of target device that then program can select user upload in reference breath
In the interface that can be communicatively coupled with the website in internet in default website, so that the website in internet be allow to obtain
Get the characteristic information for the target device that user selectes.
According to an embodiment of the invention, additionally providing a kind of access mechanism of facility information.
As shown in figure 4, the access mechanism of facility information according to an embodiment of the present invention, comprising:
Redirection module 41, for by reading the preset script on internet site, the website in internet to be reset
To the default website in local area network;Wherein, redirection module is further used for for the network address of the website being redirected to
The network address of the default website;
Module 42 is obtained, for obtaining the characteristic information of all devices in local area network;
Uploading module 43, the target device for needing to access based on user are believed in the feature of all devices obtained in advance
The characteristic information to match with target device is searched in breath and is uploaded to default website;
Communication module 44, for making the website in internet obtain the feature to match with target device by presetting website
Information.
In a preferred embodiment of the invention, characteristic information includes at least one of:
The facility information of all devices, environmental information, user information in local area network;
In a preferred embodiment of the invention, facility information includes:
The model, service condition, functions of the equipments, communication mode of all devices in local area network.
In a preferred embodiment of the invention, sending module further comprises:
Application programming interface module (not shown), it is pre- for will be uploaded to the characteristic information that target device matches
If website.
In conclusion by means of above-mentioned technical proposal of the invention, by the way that the website in internet is redirected to local
Website in net, so that internet be made to be able to access that the local information in local area network.It is specified and it is possible to get in local area network
The information of equipment.In addition, the armamentarium information in local area network can be got in local area network by specific gateway, with
And environmental information and user information, and information above is shown for selection by the user, break in conventional solution mutually
Networking website can only obtain the limitation of the partial information of access equipment by browser.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of access method of facility information characterized by comprising
By reading the preset script on the website in internet, the website in the internet is redirected to local area network
Interior default website;
Obtain the characteristic information of all devices in the local area network;
Based on user need the target device that accesses searched in the characteristic information of all devices obtained in advance with it is described
Characteristic information that target device matches simultaneously is uploaded to default website;
Website in the internet obtains the characteristic information to match with the target device by the default website.
2. the method according to claim 1, wherein the characteristic information includes at least one of:
The facility information of all devices, environmental information, user information in the local area network.
3. according to the method described in claim 2, it is characterized in that, the facility information includes:
The model, service condition, functions of the equipments, communication mode of all devices in the local area network.
4. the method according to claim 1, wherein needing the target device accessed to obtain in advance based on user
The all devices characteristic information in search the characteristic information to match with the target device and be uploaded to default website,
Include:
The characteristic information to match with the target device is uploaded to the default website by application programming interface.
5. the method according to claim 1, wherein the preset foot by reading on the website in internet
Website in the internet, is redirected to the default website in local area network by this, comprising:
The network address of the website is redirected to the network address of the default website.
6. a kind of access mechanism of facility information characterized by comprising
Redirection module, for passing through the preset script read on the website in internet, by the website weight in the internet
It is directed to the default website in local area network;
Module is obtained, for obtaining the characteristic information of all devices in the local area network;
Uploading module, for needing the target device that accesses in the characteristic information of all devices obtained in advance based on user
It is middle to search the characteristic information to match with the target device and be uploaded to default website;
Communication module matches for obtaining the website in the internet by the default website with the target device
Characteristic information.
7. device according to claim 6, which is characterized in that the characteristic information includes at least one of:
The facility information of all devices, environmental information, user information in the local area network.
8. device according to claim 7, which is characterized in that the facility information includes:
The model, service condition, functions of the equipments, communication mode of all devices in the local area network.
9. device according to claim 6, which is characterized in that the uploading module further comprises:
Application programming interface module, for the characteristic information to match with the target device to be uploaded to the default net
It stands.
10. device according to claim 6 characterized by comprising
The redirection module is further used for for the network address of the website being redirected to the network address of the default website.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510845491.4A CN105516088B (en) | 2015-11-26 | 2015-11-26 | The access method and device of facility information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510845491.4A CN105516088B (en) | 2015-11-26 | 2015-11-26 | The access method and device of facility information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105516088A CN105516088A (en) | 2016-04-20 |
CN105516088B true CN105516088B (en) | 2019-05-03 |
Family
ID=55723726
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510845491.4A Expired - Fee Related CN105516088B (en) | 2015-11-26 | 2015-11-26 | The access method and device of facility information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105516088B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102023960A (en) * | 2009-09-14 | 2011-04-20 | 联想(北京)有限公司 | Computer network system, computer and hardware equipment remote management method thereof |
CN104361291A (en) * | 2014-10-15 | 2015-02-18 | 网神信息技术(北京)股份有限公司 | Data processing method and device |
CN104798355A (en) * | 2012-09-18 | 2015-07-22 | 思杰系统有限公司 | Mobile device management and security |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110222105A1 (en) * | 2010-03-09 | 2011-09-15 | Yao-Tian Wang | Printing internet inaccessible web content via remote printing service |
US10142292B2 (en) * | 2010-06-30 | 2018-11-27 | Pulse Secure Llc | Dual-mode multi-service VPN network client for mobile device |
-
2015
- 2015-11-26 CN CN201510845491.4A patent/CN105516088B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102023960A (en) * | 2009-09-14 | 2011-04-20 | 联想(北京)有限公司 | Computer network system, computer and hardware equipment remote management method thereof |
CN104798355A (en) * | 2012-09-18 | 2015-07-22 | 思杰系统有限公司 | Mobile device management and security |
CN104361291A (en) * | 2014-10-15 | 2015-02-18 | 网神信息技术(北京)股份有限公司 | Data processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105516088A (en) | 2016-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103607385B (en) | Method and apparatus for security detection based on browser | |
CN109286691B (en) | Information flow guiding, request sending, communication accelerating method, flow guiding and node server | |
CN104484259A (en) | Application program traffic monitoring method and device, and mobile terminal | |
CN103973704B (en) | Based on the domain name analytic method of WIFI equipment, apparatus and system | |
CN102333122A (en) | Downloaded resource provision method, device and system | |
CN103686600B (en) | Terminal and information protecting method | |
CN103532751A (en) | Management method and device for network access equipment | |
CN103810268B (en) | Search result recommendation information loading method, device and system and URL detection method, device and system | |
CN103532833B (en) | Business system access method, terminal and agency service system | |
CN104506525A (en) | Method for preventing malicious grabbing and protection device | |
CN104902547A (en) | WiFi (wireless fidelity) network connection method and WiFi network connection device | |
CN103634935B (en) | WPS (Wi-Fi protected setup) or QSS (quick secure setup)-based network accessing method and device | |
CN104539459A (en) | Router and router Network access control method | |
CN108156270A (en) | Domain name request treating method and apparatus | |
CN103793508B (en) | A kind of loading recommendation information, the methods, devices and systems of network address detection | |
CN102752411A (en) | Redirection method and device | |
CN111106983B (en) | Method and device for detecting network connectivity | |
JP6149519B2 (en) | Communication device and communication program | |
CN104008331A (en) | Access method, device and system of malicious web | |
CN105516088B (en) | The access method and device of facility information | |
CN106162575A (en) | The individual icon Display Technique of a kind of Wi-Fi hotspot identification marking and system | |
CN105763461A (en) | Router upgrading method and system | |
CN101547211B (en) | A method for discovering specific website by specifically scanning IP address field | |
KR101700197B1 (en) | Method for addressing node address for device management and apparatus therefor | |
CN108156220A (en) | Communication means and device |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190503 Termination date: 20191126 |