Giter VIP home page Giter VIP logo

track's Introduction

track's People

Contributors

acebear avatar

Watchers

James Cloos avatar Aaric avatar 江黎 avatar Jeffery avatar 陈昭 avatar Wang Mingqing avatar Sept Wong avatar 张明 avatar taylor avatar 邱启峥 avatar 舒子豪 avatar  avatar  avatar  avatar  avatar  avatar 刘亚坤 avatar 韩秋婉 avatar jenkins-ci avatar xy avatar 陈光法 avatar 孔德亮 avatar 陈涛 avatar 汪杨 avatar  avatar 周永波 avatar 路红旭 avatar Tyrone Shall avatar 李托 avatar 王晗 avatar 汪鑫 avatar 骆林刚 avatar Hyhello avatar Fan Beibei avatar  avatar

track's Issues

为PICC所做的临时性改动

将service.incardata.com.cn页面下部的“关于英卡 | Copyright © 2014-2016 Incardata. All Rights Reserved.”临时性删除

SQL脚本必须是通用的

脚本的目的在于我们部署一套新的环境时,能得到一个能正确工作的数据库
因此,脚本必须得是通用的,不能只针对我们特定的product 或 dev的库

20141020t_4s_template.sql

不能使用固定的s4_id,因为新部署的库,不一定存在这个s4_id,这个表是和微信相关的,因此,可以找到4S店的微信openid或wx_app_id,来更新特定的字段

20141029t_car_detection.sql

不能有针对特定 incardev库的脚本,这样的脚本对incar没有效果

用车报告

  1. 1号码没有产生10月下半月用车报告及10月用车报告
  2. 1号没有收到10月用车报告推送

ic-not-share

编写一个AngularJS的Directive位于wxsite module中
功能:当元素附上此属性时,分享出去后,不可以操作

OBD震动信息

按照深圳所说,此次升级会附带OBD震动信息。OBD震动信息解析后我们安排震动报警功能

拆分mysql查询部分

  • package: @incar/mysql-pool
    替换掉db.js

config(globalName, options)

配置数据库参数
globalName: global名称
options: 连接参数

getter pool

返回数据库连接池对象

OBD位置信息保存

  • 尚未决定实现期限.

每个用户可以自行决定是否开启保存OBD位置信息数据
当启用后,OBD发送过来的位置信息将被记录下来
当关闭后,OBD即使发送过来位置信息,也被抛弃.

语音识别

一级功能(更多功能中的所有)及二级功能的语音识别(二级功能指保养预约、试乘试驾预约等)

发布流程制定

包括在发布内容识别,发布须提交的东西,时间点选择等

Error: This socket has been ended by the other party

11月19日中午以后,接收OBD数据的服务挂起,收不到OBD发来的数据,forever也没有重启服务

当时的日志 4L2l.log 最后几行如下图所示:
nun 8kyf6j 6c0tzk ho2h

我们程序里相关位置的代码如下:

socket.on('error',function(err){
        console.log('OBD('+mark+'):出现错误:'+err);
        server.close();
        throw err;
    });

初步原因:
一般情况下,发生error错误时,会导致forever守护进程监控到一个未捕获的导常,进而重启服务
err

但 'This socket has been ended by the other party' 这个错误比较特殊, 这个错误表明客户端主动关闭了socket, 这时NODE的服务器端会emit一个error事件,随后,只结束掉了这个客户端的连接,保持其它连接正常收发...因此,forever守护进程发现未捕获的异常,也不会重启服务.

而我们的代码里,在收到error后,统一执行了 server.close() 方法,这结束了服务器的监听,导致以后发过来的连接请求都被忽略.

我没有仔细分析node这部分,这只是初步分析
https://github.com/joyent/node/blob/master/lib/net.js

@lahmyyc 做一个客户端连上我们的服务端,然后明确在客户端close掉连接,确认一下服务端是否能再现这个问题.如果可以,特别处理一下这个ERROR,保持收发服务稳定

天气预报

微站新功能,根据当前地理位置获取天气情况。

事故处理

微站新功能,包含功能1、拍照 2、责任判定 3、联系4S店

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.