Giter VIP home page Giter VIP logo

sns-crm's Introduction

社交网络数据抓取,以及CRM系统

基于Java实现。

项目内容


项目简介

项目起因

本项目主要服务于社交网络数据抓取底层架构。

项目框架

sns-dao: 数据接口层

sns-hdfs: HDFS服务层

sns-parser: 页面解析层

sns-core: 系统核心层

sns-web: API接口服务层

备注: 框架持续更新中。

API文档

项目wiki

备注: API文档统一放在公司的wiki上。


项目架构

  1. Parser: 用于页面解析。
  2. MySQL: 用于存储基本爬虫数据。
  3. Redis: 用于数据去重,基本**是存储每条数据的md5(key),根据该值进行数据插入更新判断。

常见约束词

Item Value
Dao Interface接口层
Domain 数据
Constant 常量
Util 工具

示例代码

    ** Redis层调用 **      
        // 对象申明      
	RedisCache redisCache = new RedisCache("hdp321", 6379, "zxsoft");
	String key = "record_key_md5";
	String[] members = { "v1", "v2", "v3", "v4", "v5", "v3" };
	redisCache.sadd(key, members);
	System.out.println(redisCache.scard(key));
	System.out.println(redisCache.sismember(key, "v3"));
	System.out.println(redisCache.sismember(key, "v6"));
	redisCache.sadd(key, "v5", "v7");
	System.out.println(redisCache.scard(key));
	System.out.println(redisCache.smembers(key));
	
    ** 启动脚本 ** 

开发人员

WeChat: wgybzb

QQ: 1010437118

E-mail: [email protected]

sns-crm's People

Contributors

linkerlin avatar wgybzbrobot avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.