推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
forkme
V2EX  ›  Python

各位大佬!内网系统要开发一个百度地图的功能(查询地点,街景展示等),请问有没有什么好的方案?

  •  
  •   forkme · Aug 18, 2017 · 8669 views
    This topic created in 3381 days ago, the information mentioned may be changed or developed.

    内网部署业务系统,由于网络、数据安全考虑,不允许上外网,仅可开指定端口与外部通信。

    现在想在内网使用百度地图的功能,初步想法是在外网部署一个中间系统来访问百度地图,内网客户端和这个中间系统使用 socket 通信。

    现在问题来了,这套系统该怎么设计开发,怎么传输数据?

    21 replies  •  2017-08-19 14:05:23 +08:00
    binsys
    binsys
    Aug 18, 2017
    1
    如果是 C/S 程序,那么想办法比如在 C/S 程序里用代理等方法把所有网络访问流量(包括 HTTP HTTPS DNS 查询等)都拦截并定向到指定的服务器,在指定的服务器上接收这个流量并相应处理。
    forkme
    forkme
    OP
    Aug 18, 2017
    2
    @binsys 感谢,是 C/S 程序,但内网不能架代理,只能访问防火墙开端口后,访问外部系统。
    ssxn58
    ssxn58
    Aug 18, 2017
    3
    @forkme 你的中间系统其实就是起了代理的作用啊,你的防火墙如果会拦截 HTTP 消息,你就把数据压缩加密之后传输到中间系统,由中间系统解密之后再发给真正的服务端
    forkme
    forkme
    OP
    Aug 18, 2017
    4
    @ssxn58 嗯,这个方案不错,那这个中间系统该怎么设计了( http 请求加密转发),希望指点下
    TimePPT
    TimePPT
    Aug 18, 2017
    5
    记得百度地图有三方的离线地图解决方案,可以搜下,街景这种估计悬
    stop9125
    stop9125
    Aug 18, 2017
    6
    LBS 云?
    ioth
    ioth
    Aug 18, 2017❤️1
    7
    开玩笑,又是三线城市政府部门吧
    完全不懂电子地图,那请问你用地图来做什么?还不能连接外网
    自己用手机拍几张图片来玩吧
    forkme
    forkme
    OP
    Aug 18, 2017
    8
    @ioth 一线城市,金融行业,内网是客户数据,安全性要求高。
    mengyaoss77
    mengyaoss77
    Aug 18, 2017
    9
    我觉得可以参考 shadowsocks
    ajan
    ajan
    Aug 18, 2017
    10
    收购百度吧!
    yjd
    yjd
    Aug 18, 2017
    11
    街景没见过。百度离线版有人在做。js 版。然后地图另外下载。
    tadtung
    tadtung
    Aug 18, 2017
    12
    这个真不好搞,因为只能通过开放的端口访问百度街景。
    只能代理,用 squid 吧。
    diydry
    diydry
    Aug 18, 2017
    13
    <a href="https://leancloud.cn/tutorials/?utm_source=v2ex&utm_medium=side_ad&utm_campaign=tutorials&utm_content=v1" target="_blank"><img src="//i.v2ex.co/73bLx8pd.gif" border="0" width="100%" alt="LeanCloud Rocks!" /></a>
    reus
    reus
    Aug 18, 2017
    14
    又说金融系统要安全,又搞这些花里胡哨的东西
    bk201
    bk201
    Aug 18, 2017
    15
    你应该找地图提供商谈合作,我以前遇到过。
    rssf
    rssf
    Aug 18, 2017
    16
    直接买套谷歌离线地图,比如水经注就有得卖,然后再开发不得了
    lommo
    lommo
    Aug 18, 2017
    17
    离线 js 的瓦片图,当年给铁路局做过,街景是没戏了。
    vigack
    vigack
    Aug 18, 2017
    18
    公安,部分地市直接用七巧板的
    beginor
    beginor
    Aug 18, 2017 via Android
    19
    部署 ArcGIS 全家桶 😄
    billwen
    billwen
    Aug 19, 2017
    20
    能控制 DNS 么,如果可以直接 DNS 劫持百度 IP 到网关,然后用 NGINX 做反向代理,可以指定端口,指定 URL 访问,很安全。
    xarrow
    xarrow
    Aug 19, 2017
    21
    ArcGIS
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2107 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 56ms · UTC 14:13 · PVG 22:13 · LAX 06:13 · JFK 09:13
    ♥ Do have faith in what you're doing.