NetSee平台隐私协议

更新日期:2018年4月
生效时间:2018年5月

NetSee智能平台向用户提供的物联网解决方案及(或)附随的服务。请您仔细阅读我们的隐私政策,如有任何问题,请告知我们。本政策作为我们对您个人信息保护的许诺我们会严格执行,希望您能感受到我们的安全保障,放心使用我们的服务。

定义
智能终端:指由硬件厂商生产、制造的具备互联网接入功能、数据传输能力和人机交互界面的终端产品,包括智能家电、智能穿戴和智能环境净化设备等。这里特别指的是您购买并使用的智能终端,以下简称“本产品”。
智能APP: 指连接NetSee智能平台,并向用户提供智能终端操作服务和数据展现服务的应用程序。
用户个人信息:指账号、密码、邮箱、电话号码等能够单独或者与其他信息结合识别用户的信息以及用户使用服务的时间、地点等信息,以下简称“个人信息”。
使用:我们会从您用于访问服务的设备收集信息,同时收集与这些设备相关的信息。其中包括:IP地址、您使用的浏览器和设备类型、您在访问我们的网站之前浏览过的网页,以及与您的设备关联的标识符。您的设备能也会向服务传输位置信息,具体取决于设备设置。

信息的收集
我们收集的信息 在你使用NetSee服务的过程中,我们会收集如下你主动提供或因接受服务而产生的信息,这些信息都将被用以向你提供服务,优化我们的服务以及保障你的账号
1.用户账户信息: 为了能够使用我们的产品和服务,您需要创建一个账户。在创建帐号的过程中,我们会要求您提供邮箱或手机号码等PII信息,这些信息可以帮助你激活、管理或使用NetSee的服务。我们会将您的IP地址、所属国家、时区与您的账户关联,以方便您访问我们的产品和服务。
2.用户手机信息: 我们会收集你的手机型号、操作系统等信息、唯一设备标识符、登陆IP地址、NetSee软件版本号、接入网络的方式和类型等,用于提供PUSH推送。同时这些也是我们提供服务所必须的基础信息。
3.智能设备信息: 在你使用智能终端设备的过程中,我们会收集所有设备信息,以便你可通过App远程操作该设备。
4.摄像头截取的图片/视频信息: 当你使用摄像头的过程中,我们会收集你的摄像头所截取的图片/视频信息,这些信息将被用于移动监测与报警服务。
5.红外信息: 我们会收集你的红外遥控信息,用于使你可以通过App来操作你的其他红外设备。
6.用户场景(联动)信息: 当你使用了场景、自动化等功能时,我们会收集你的相关设置信息,用于为你提供智能场景服务。

信息的披露
向第三方披露
*视具体情况,我们会向与NetSee合作提供产品和服务或者帮助NetSee向客户进行营销的合作伙伴提供某些个人信息。我们只会为提供或改进我们的产品、服务和广告宣传之目的而与第三方共享个人信息;不会为第三方的销售目的与第三方共享个人信息,更不会销售个人信息。我们有义务要求上述合作伙伴严格遵守保密约定和本人信息保护政策的要求。
*我们可适时向NetSee的合作伙伴提供您使用智能终端的统计性信息,以上统计性信息不涉及您的账号、密码、电话号码、电子邮件等个人信息。
*若我们的合作伙伴依法向您明示所收集的信息以及信息的使用用途,并已取得您的同意的前提下,我们可以根据您的许可向该三方披露您的个人信息。为了您的个人信息安全,我们可能将您的个人信息进行脱敏或模糊处理后再向第三方披露。

其他
*根据政府部门的合法要求,我们可能有必要披露您的个人信息。
*如果我们确定为了执行我们的条款和条件、保护我们的经营或用户或设计重大公共利益,披露是合理必须,则我们可披露与您有关的信息。
*如果发生重组、合并或出售,则我们可将我们收集的一切个人信息转让给相关第三方。

信息的删除
在你使用NetSee服务的过程中,你可以通过“我-个人中心-停用账户”删除下列所有的用户信息。
1.用户账户信息
2.用户手机信息
3.智能设备信息
4.摄像头截取的图片/视频信息
5.红外信息

对于客户端版本在3.2之前的用户,可通过 service@netesee.com联系我们客服,来停用个人账户。

信息的迁移
如果你需要对你账户中的信息进行迁移,请联系我们如下邮箱: service@netesee.com

您的选择权
您确认,在您同意或以其他本公司允许的方式实际使用服务前,您已充分阅读、理解并接受本个人信息政策的全部内容,一旦您使用本服务,即表示您同意本个人信息政策之所有约定。若您不同意本个人信息政策的定的,您不得使用我们为您提供的本服务。

个人信息的保护
我们会采取各种预防措施来保护您的个人信息,以保障您的个人信息免遭丢失、盗用和误用,以及被擅自取阅、披露、更改或销毁。为确保您个人信息的安全,我们公司有严格的信息安全规定和流程,并有专门的信息安全团队在公司内部严格执行上述措施。

信息的保存期限
我们将在实现本个人信息保护政策中所述目的所必需的期限内保留您的信息,除非法律要求或允许在更长的期限内保留该等信息。

投诉及反馈
如果您对我们的个人信息政策或数据处理有任何问题或顾虑,请联系我们如下邮箱:service@netesee.com

政策更新
我们可随时对本政策加以修订更新,并提前30天在网站上发布公告。如果修订更新正式生效之日,您仍继续使用NetSee智能平台的相关服务的,视为您同意我们的修订更新。

EULA

The following is a legal software license agreement between you, the software end user and Cloud Camera, Inc. Please read this license agreement carefully before using the relevant Cloud Camera software (“Software”) and its related services (“Services”). Installing or using the Software or Services on a computer or other hardware device indicates that you have read this license agreement and agree to its terms, as well as the Terms of Service and Privacy Policy.

License authorization
This license allows you to use this software package or a copy of the software contained in the product on a single personal computer or hardware device. For each software licensor, the program can be used on only one personal computer or hardware device at any given time. This license does not permit you to use the Software on any hardware device or personal computer that you do not own or control, and you may not distribute it over the network or make the Software available to multiple networks for simultaneous use by multiple devices. A special license for Cloud Camera is required if the program will be installed on a network server and only for distribution to other computers. You may not modify, translate, reverse assemble, decompile, disassemble or otherwise attempt to (i) destroy, avoid, circumvent, delete, disable or otherwise circumvent any software protection mechanisms in the Software, including but It is not limited to the functions used to limit or control the software, or (ii) to derive source code or basic ideas, algorithms, structures or organizations from the software (unless applicable laws prohibit such activities). You may not use the Software for any purpose that is illegal under the applicable laws of the region in which you use the Software.

Use of content
This software is for licensed media use only. You may not use the Software for any purpose that infringes copyright, trademarks, patents, trade secrets, publicity rights or any other rights of third parties. You are responsible for ensuring that any content or materials (including but not limited to text, photos, sound and video recordings) created, copied, downloaded, compressed, recorded, played back, distributed and/or distributed by the Software infringe these rights and from these The owner of the right is licensed. You may not attempt to use the Software with any device, program, or service, and are designed to circumvent technical measures that govern access or rights to any content file or other work protected by copyright law.

Distribution of content
You may use the Software only for your personal, non-commercial use and may not use the Software in any way or as part of any commercial service or application. If you are interested in any other use, please contact Cloud Camera. Copies of content files, including but not limited to songs and other audio recordings, are downloaded or copied using the Software and are protected by copyright laws or the laws of any jurisdiction, for your own personal use only, and will not be distributed to third parties or Execute outside of your normal family and social acquaintance circles.

Copyright
The software contained in this package or device is protected by Chinese copyright laws, international treaty provisions and all other applicable national laws. Software must be treated like any other copyrighted material, such as books and music recordings. This license does not allow the software to be rented, and the written materials (if any) of the accompanying software may not be copied.

Owner
Ownership and all intellectual property rights in the Software and accompanying documentation and copies of any such documents remain the sole and exclusive property of Cloud Camera and/or its third party licensors. You agree to comply with copyright laws and all other applicable laws. You acknowledge that the Software contains valuable confidential information and trade secrets of Cloud Camera and/or its third party licensors.

Disclaimer
The Software and Services do not provide any form of warranty. No warranties, express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose, and warranties of non-infringement of intellectual property rights, and CLOUD CAMERA expressly disclaim all warranties not here. You assume all risks associated with the quality and performance of the software and services. If the software proves to be defective, you, rather than CLOUD CAMERA or an authorized dealer, assume the necessary services and assume the full cost of repair or correction. Some countries or jurisdictions do not allow the exclusion of implied warranties, so the above exclusion may not apply to you.

Limited Liability
Your sole remedy and the sole responsibility of CLOUD CAMERA and its licensors are as set forth above. In no event shall CLOUD CAMERA and its licensors, for any damages, including incidental or consequential damages, costs, loss of profits, loss of damage, or other damages resulting from the use or inability to use the Software, be against you or any other The person is responsible, or even if CLOUD CAMERA or its licensor has been informed of the possibility of such damage. Since some jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, the above limitation may not apply to you.

Export
You may not export or re-export products containing the Software without a corresponding foreign government license.

High risk activity
This software is not fault tolerant and does not apply to hazardous environments that require fail-safe performance, or any other software failure that could directly result in death, personal injury, or severe physical or property damage (collectively, “high-risk activities”). CLOUD CAMERA expressly disclaims any express or implied warranties of fitness for high-risk activities.

Registration and privacy
Software registration, purchase and/or activation procedures may require you to provide personally identifiable information such as your name, phone number, address and email address. Cloud Camera will not share or sell such information with any third party unless: (i) Cloud Camera has previously agreed to disclose such information; (ii) Cloud Camera is required to disclose such information to provide the product or service you requested. Or (iii) Cloud Camera needs to disclose such information as required by law, regulation or litigation.

Software usage tracking
You agree that Cloud Camera may monitor your use of the Software to improve the usability of the Product. In doing so, Cloud Camera can record usage information about selected product features, unique machine ID (generated automatically when Cloud Camera software is installed), and other Cloud Camera products installed on the same machine. Such usage information will not be collected with any corresponding personally identifiable information and will remain anonymous.

Software update and marketing
This software may cause your computer to automatically connect to the Internet and communicate with the Cloud Camera without additional/or prior notice to check for available bug fixes, additional features, plugins and new versions (collectively referred to as “Software Updates”). You hereby agree that Cloud Camera may provide you with special offers regarding software updates and Cloud Camera, Cloud Camera Alliance and third party partners.

Compensation
You agree to assign to Cloud Camera any damages, damages, fines and fees (including attorneys’ fees and fees) arising out of or in connection with any claim you have, and its officers, directors and employees are harmless, indemnified and defended (i) The other party’s rights or violates any law, use, view, copy, download, encode, compress, copy or transmit any material related to the Software (other than materials provided by Cloud Camera), or (ii) violates any license Terms of the agreement.

Termination clause
This Agreement will remain in full force and effect when you use the Services. You can terminate the service at any time. Cloud Camera can terminate or suspend your access to the Service or your membership at any time, for any reason, without warning, which may result in the confiscation and destruction of all information related to your membership. If you violate any of the terms or conditions of this Agreement, Cloud Camera may immediately terminate or suspend any and all services and access to the Site without prior notice or liability. Your right to access the website and any content will cease immediately upon termination of your account. All terms of this Agreement, due to their nature, shall survive termination, including but not limited to title to title, warranty disclaimer and limitation of liability.

用户许可协议

以下是您,软件最终用户和Cloud Camera,Inc.之间的法律软件许可协议。在使用相关Cloud Camera软件(“软件”)及其相关服务(“服务”)之前,请仔细阅读此许可协议。 在计算机或其他硬件设备上安装或使用软件或服务表明您已阅读此许可协议并同意其条款,以及服务条款和隐私政策。

许可证授权
此许可证允许您在单个个人计算机或硬件设备上使用此软件包或产品中包含的一个软件副本。对于每个软件许可人,该程序可以在任何给定时间仅在一个个人计算机或硬件设备上使用。此许可证不允许您在任何非您拥有或控制的硬件设备或个人计算机上使用本软件,并且您不得通过网络分发或使软件可用于多个设备同时使用的网络。如果程序将安装在网络服务器上,仅用于分发给其他计算机,则需要Cloud Camera的特殊许可证。您不得修改,翻译,反向组装,反编译,反汇编或以其他方式尝试(i)破坏,避免,绕过,删除,停用或以其他方式规避本软件中的任何软件保护机制,包括但不限于用于限制或控制软件的功能,或(ii)从软件中导出源代码或基本思想,算法,结构或组织(除非适用法律禁止此类活动)。您不得将本软件用于任何在您使用软件的地区的适用法律下属于非法性质的目的。

内容的使用
本软件仅供许可的媒体使用。 您不得将本软件用于侵犯版权,商标,专利,商业秘密,宣传权或第三方任何其他权利的任何目的。 您有责任确保通过本软件创建,复制,下载,压缩,录制,回放,发布和/或分发的任何内容或资料(包括但不限于文本,照片,声音和视频录制) 侵犯这些权利,并从这些权利的所有者获得许可。 您不得试图或与任何设备,程序或服务一起使用本软件,旨在规避用于控制对任何内容文件或受版权法保护的其他作品的访问或权利的技术措施管辖权。

内容的分发
您只能将本软件用于您个人的非商业用途,并且不得以任何方式提供或作为任何商业服务或应用程序的一部分使用软件。 如果您对任何其他用途感兴趣,请联系Cloud Camera。 内容文件的副本,包括但不限于歌曲和其他音频录音,使用本软件下载或复制,并受版权法或任何管辖区的相关法律保护,仅供您自己个人使用,并且不会分发给第三方或在您的正常家庭和社交熟人圈子之外执行。

版权
本包装或设备中包含的软件受中国版权法,国际条约规定和所有其他适用的国家法律保护。 软件必须像所有其他受版权保护的资料(例如书籍和音乐录音)一样对待。 此许可证不允许软件出租,并且随附软件的书面材料(如果有)不得复制。

拥有者
软件及其附带文档中的所有权和所有知识产权以及任何上述文档的副本,仍然是Cloud Camera和/或其第三方许可方的唯一和独家财产。 您同意遵守版权法和所有其他适用法律。 您承认本软件包含了Cloud Camera和/或其第三方许可方的宝贵的机密信息和商业秘密。

免责声明 
本软件和服务不提供任何形式的保证。 不作任何明示或暗示的担保,包括但不限于适销性和对特定用途的适用性的暗示保证以及对不侵犯知识产权的保证,并且CLOUD CAMERA明确否认所有担保不在这里。 您承担与软件和服务的质量和性能有关的全部风险。 如果软件证明有缺陷,您,而不是CLOUD CAMERA或授权的经销商,假定必要的服务,承担维修或更正的完整成本。 某些国家/地区或司法管辖区不允许排除默示保证,因此上述排除条款可能不适用于您。

有限责任
您的唯一补救措施和CLOUD CAMERA及其许可方的全部责任是上述规定的。 在任何情况下,CLOUD CAMERA及其许可人对任何损害,包括任何附带或后果性损害,费用,利润损失,损失节省或因使用或无法使用此软件而导致的其他损害,均不对您或任何其他人负责,或即使CLOUD CAMERA或其许可证颁发者已被告知此类损害的可能性。 由于某些管辖区不允许排除或限制后果性或偶然性损害,上述限制可能不适用于您。

出口
如果没有相应外国政府许可证,您不得出口或再出口包含本软件的产品。

高风险活动 
本软件不是容错的,不适用于需要故障安全性能的危险环境,或任何其他软件故障可能直接导致死亡,人身伤害或严重物理或财产损失的应用程序 (统称为“高风险活动”)。 CLOUD CAMERA明确否认对高风险活动的任何明示或暗示的适用性保证。

注册和隐私 
软件注册,购买和/或激活过程可能需要您提供个人识别信息,例如您的姓名,电话号码,地址和电子邮件地址。 Cloud Camera不会与任何第三方共享或出售此类信息,除非:(i)Cloud Camera已事先同意披露此类信息; (ii)Cloud Camera需要披露此类信息,以提供您所要求的产品或服务; 或(iii)Cloud Camera需要披露法律,法规或诉讼要求的此类信息。

软件使用跟踪 
您同意Cloud Camera可能会监控您对软件的使用,以提高产品的可用性。 在这样做时,Cloud Camera可以记录有关所选产品功能的使用信息,唯一机器ID(安装Cloud Camera软件时自动生成)以及其他Cloud Camera产品安装在同一台机器上。 这样的使用信息将不与任何相应的个人识别信息一起收集,并且将保留使用匿名性。

软件更新与营销 
本软件可能会导致您的计算机,没有额外的/或预先通知,自动连接到互联网和与Cloud Camera通信以检查可用的错误修复补丁,附加功能,插件和新版本(统称为“ 软件更新“)。 您特此同意,Cloud Camera可以向您传递有关软件更新和Cloud Camera,Cloud Camera联盟和第三方合作伙伴提供的特别优惠信息。

赔偿 
您同意对来自或与您拥有的任何索赔相关的任何损失,损害赔偿,罚款和费用(包括律师费和费用)给予Cloud Camera,其高级职员,董事和员工无害,赔偿和抗辩(i )违反另一方的权利或违反任何法律,使用,查看,复制,下载,编码,压缩,复制或传输与本软件有关的任何材料(除由Cloud Camera提供的材料外),或(ii)违反任何 本许可协议的条款。

终止条款
本协议在您使用服务时将保持完全有效。 您可以随时终止使用服务。 Cloud Camera可以在任何时间,任何原因,没有警告,可能会导致没收和破坏与您的会员资格相关的所有信息终止或暂停您访问服务或您的会员。 如果您违反本协议的任何条款或条件,Cloud Camera也可以立即终止或暂停任何和所有服务和访问网站,而无需事先通知或责任。 您的帐户终止后,您使用服务,访问网站和任何内容的权利将立即停止。 本协议的所有条款,由于其性质,应在终止后仍然有效,包括但不限于所有权条款,保证免责声明和责任限制。

Disclaimer agreement

This product is based in part on research results from open source software. Thanks to the R&D staff of related projects!

This product contains:
FFmpeg
Licensed according to LGPL version 2.1. You can get a copy of the license through this link:
Http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
Project homepage:
Http://www.ffmpeg.org/index.html

ZXing
Licensed under the Apache License version 2.0. You can get a copy of the license through this link:
http://www.apache.org/licenses/LICENSE-2.0
Project homepage:
Https://code.google.com/p/zxing/

C-ares
Authorized under MIT. You can get a copy of the license through this link:
Http://c-ares.haxx.se/license.html
Project homepage:
Http://c-ares.haxx.se/

Curl
Authorized under MIT/X derivate. You can get a copy of the license through this link:
Http://curl.haxx.se/docs/copyright.html
Project homepage:
Http://curl.haxx.se/

OpenSSL
Licensed under Apache-style. You can get a copy of the license through this link:
Http://www.openssl.org/source/license.html
Project homepage:
Http://www.openssl.org/

Expat
Authorized under MIT. You can get a copy of the license through this link:
http://www.opensource.org/licenses/MIT
Project homepage:
Http://sourceforge.net/projects/expat/

Zlib
According to zlib authorization. You can get a copy of the license through this link:
Http://www.zlib.net/zlib_license.html
Project homepage:
Http://www.zlib.net/

TinyXML
Authorized according to zlib/libpng. You can get a copy of the license through this link:
http://opensource.org/licenses/Zlib
Project homepage:
Http://sourceforge.net/projects/tinyxml/

Libjingle
According to the new 2-clause BSD license. You can get a copy of the license through this link:
Http://www.opensource.org/licenses/bsd-license.php
Project homepage:
Http://code.google.com/p/libjingle/

Boost
Licensed according to Boost Software. You can get a copy of the license through this link:
http://www.boost.org/LICENSE_1_0.txt
Project homepage:
Http://www.boost.org/

Speex
Authorized under Speex. You can get a copy of the license through this link:
Http://www.speex.org/docs/manual/speex-manual/node15.html
Project homepage:
Http://www.speex.org

 

G
M
T
文本转语音功能仅限200个字符
选项 : 历史 : 反馈 : Donate 关闭

免责协议

该产品部分基于开源软件的研究成果。感谢相关项目的研发人员!

该产品包含:
FFmpeg
根据LGPL 2.1版授权。您可通过该链接获得许可证的副本:
http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
项目主页:
http://www.ffmpeg.org/index.html

ZXing
根据Apache License 2.0版授权。您可通过该链接获得许可证的副本:
http://www.apache.org/licenses/LICENSE-2.0
项目主页:
https://code.google.com/p/zxing/

c-ares
根据MIT授权。您可通过该链接获得许可证的副本:
http://c-ares.haxx.se/license.html
项目主页:
http://c-ares.haxx.se/

curl
根据MIT/X derivate授权。您可通过该链接获得许可证的副本:
http://curl.haxx.se/docs/copyright.html
项目主页:
http://curl.haxx.se/

OpenSSL
根据Apache-style授权。您可通过该链接获得许可证的副本:
http://www.openssl.org/source/license.html
项目主页:
http://www.openssl.org/

Expat
根据MIT授权。您可通过该链接获得许可证的副本:
http://www.opensource.org/licenses/MIT
项目主页:
http://sourceforge.net/projects/expat/

zlib
根据zlib授权。您可通过该链接获得许可证的副本:
http://www.zlib.net/zlib_license.html
项目主页:
http://www.zlib.net/

TinyXML
根据zlib/libpng授权。您可通过该链接获得许可证的副本:
http://opensource.org/licenses/Zlib
项目主页:
http://sourceforge.net/projects/tinyxml/

Libjingle
根据new 2-clause BSD授权。您可通过该链接获得许可证的副本:
http://www.opensource.org/licenses/bsd-license.php
项目主页:
http://code.google.com/p/libjingle/

Boost
根据Boost Software授权。您可通过该链接获得许可证的副本:
http://www.boost.org/LICENSE_1_0.txt
项目主页:
http://www.boost.org/

Speex
根据Speex授权。您可通过该链接获得许可证的副本:
http://www.speex.org/docs/manual/speex-manual/node15.html
项目主页:
http://www.speex.org

Privacy Policy

What information do we collect?

Information you provide us:
When you create an account. When you create an account on our Services, we may collect your name, mailing address, phone number, email address, and password.

When you make a purchase or request a quote. If you make a purchase or request a quote for our Services either on our Site or App or in person, we collect information from you to facilitate the transaction. This information may include your name, mailing address, phone number, email address about your purchase or quote, including information about your home or property.

When you make a purchase, we ask you to provide payment information to our payment processor, which may include payment card information (such as credit card number, type, and expiration date), bank account information, billing address, and shipping address.

When you contact us. If you contact us in person, by phone, email, live chat, social media, through the App, or by some other means, we may keep a record of your contact information and the communication for later reference.

Information we collect from your use of our Services:
Device Information. We receive information from devices you connect to or use for our Services, including your mobile device, connected devices, and wired and wireless sensors. The information we receive from these devices may include IP address, unique device identifiers such as MAC address, sensor and activity information, battery status, and WiFi network information.

Location Information. We receive location information from devices you connect to or use for our Services, including your mobile device, connected devices, and wired and wireless sensors, such as through the use of geolocation features in the devices, or by inference from other information we collect (for example, your IP address may indicate the general geographic region from which you are connecting to the Internet).

Web logs and usage information. We record certain information and store it in log files when you interact with our Services. This information may include device and browser information, IP address, URLs of referring/exit pages, and search terms.

Cookies and other technologies. We and our service providers collect information through the use of “cookies” and similar technologies to understand how you use our Services, for authentication, operations, marketing, and advertising purposes, to save your preferences, and for analytics purposes. Cookies are small text files that web servers place on your device; they are designed to store basic information and to help websites and apps recognize your browser. We may use both session cookies and persistent cookies. A session cookie disappears after you close your browser. A persistent cookie remains after you close your browser and may be accessed every time you use our Services. You should consult your web browser to modify your cookie settings. Please note that if you delete or choose not to accept cookies from us, you may be missing out on certain features of our Services.

Information we collect from third parties:
Third Party Devices. In some cases, devices and products from third parties may connect to our Services, and the third parties may send us information about the use of those devices, including sensor and activity data. The information we receive from these third parties is governed by the third parties’ privacy policies, and; you should review these third parties’ privacy policies to learn about their privacy and data security practices.

How We Use Your Information

We may use the information we collect to:

  • provide, personalize, and improve our Services;
  • analyze how you use our Services;
  • communicate with you, either directly or through one of our service providers, including to respond to your comments or questions and for marketing and promotional purposes; and
  • connect you with third parties for services that may be of interest to you, including utilities.

How We Share Your Information

Service Providers
We may provide your information to our service providers in order to provide and improve our Services, including for analytics purposes, hosting, and product development.

One of the third party services that we use to track your activity on our Services is Google Analytics. You can find more information on how Google uses data at www.google.com/policies/privacy/partners. If you do not want Google Analytics to collect and use information about your use of our Services, then you can install an opt-out in your web browser (https://tools.google.com/dlpage/gaoptout/). You also may opt-out from Google Analytics for Display Advertising or the Google Display Network by using Google’s Ads Settings located at www.google.com/settings/ads.

We also use Mixpanel, an advanced analytics service that helps improve web and mobile applications by tracking how users interact and engage. If you do not want Mixpanel to collect and use information about your use of our Services, then you can opt-out by following the instructions located at https://mixpanel.com/optout. If you get a new computer, install a new browser, or erase or otherwise alter your browser’s cookie file (including upgrading certain browsers), you may clear the Mixpanel opt-out cookie, and you will need to re-visit the opt-out page.

Advertising Partners
We may share your information with our advertising partners. Some of our third party advertising partners use cookies and other technologies to collect information about your online activities on our Services and other online services over time in order to show you ads that may interest you. Some of our advertising partners are members of the Network Advertising Initiative (NAI) or the Digital Advertising Alliance (DAA). If you do not wish to receive our personalized ads, please visit the NAI or DAA opt-out pages to learn about your options for opting out of receiving personalized ads from member companies.

We may share information about you and your use of our Services with third party utilities and other providers, to allow you to participate in energy savings programs. With your consent, we allow these utilities access to our Services to change your system settings as required for participation in the energy savings programs.

Aggregate and De-Identified Information
Except as noted in this Privacy Policy, we will not share personally identifying information about you without your consent.

Other Sharing
We may share your information with third parties in the following situations:

  • While negotiating or in relation to a business transaction, such as a merger, sale of assets, or bankruptcy;
  • Where disclosure is required or appropriate in order to comply with laws, regulations, legal process, or a governmental request;
  • If we think doing so is necessary to protect the rights, property, security, or safety of us, our Services, our users, or the public;
  • To enforce this Privacy Policy, our Terms of Use, and any other agreements;
  • To investigate and defend ourselves or others against any third-party claims or allegations; and
  • Whenever you consent to the sharing, including when you agree to share your information with insurance providers and/or clearinghouses to determine your eligibility for insurance policy discounts.

Choices You Have With Your Information

Account and Purchase Information. You can update your account information through your account settings on the Site or App or by contacting us as set out under “Contact Us” below. You can also update your purchase information by contacting us as set out under “Contact Us” below.

Location Information. You can prevent your mobile device from sharing location information with us through your device’s operating system settings. However, you may not be able to fully use our Services if you disable this sharing. Please note that even if you disable location sharing on your device, we will continue to receive your IP address and use it as described above to, for example, determine your location.

Email Subscriptions. You can unsubscribe from our promotional emails via the unsubscribe link provided in the emails. Please note that you will continue to receive administrative messages from us even if you opt out of receiving promotional messages.

Links to Third Parties Services

This Privacy Policy does not apply to third party websites that we do not own or control, even if you access them through our Services. We are not responsible for the privacy practices of these sites. We encourage you to carefully review these sites’ privacy policies so that you know how they will collect, use, and share your information.

Security

We use a variety of administrative, technical, and physical controls to help protect your information. Unfortunately, even though we take measures to protect your information, no security measure can be 100% secure, and we cannot guarantee the security of your information.

International Users

If you are visiting our Services from a country outside of the United States, please note that you are agreeing to the transfer and processing of your information in the United States. By providing your information to us, you consent to any transfer and processing in accordance with this Privacy Policy.

Children’s Information

Our Services are not directed to children, and we do not knowingly collect personal information from children under the age of 13. If we find out that a child under 13 has given us personal information, we will take steps to delete that information. If you believe that a child under the age of 13 has given us personal information, please contact us as set out under “Contact Us” below.

Your California Privacy Rights

Under California Civil Code Section 1798.83, California residents may request certain information from us regarding our disclosure of personal information to third parties for their direct marketing purposes. To make such a request, please contact us using the information provided below.

Changes to this Privacy Policy

We may make changes to this Privacy Policy from time to time. If we do revise this Privacy Policy, we will update the “Effective Date” at the top of this Privacy Policy. In the event that the changes materially alter your rights or obligations under this Privacy Policy, we will make reasonable efforts to notify you of the change. For example, we may send a message to your email address, if we have one on file, or generate a pop-up or similar notification when you access our Services for the first time after such material changes are made. Your continued use of our Services constitutes your acceptance of the terms of the Privacy Policy as amended or revised by us from time to time.

Contact Us

If you have any questions about your information, this Privacy Policy, or our privacy practices, please contact us at 3386208778@qq.com.

 

G
M
T
文本转语音功能仅限200个字符
选项 : 历史 : 反馈 : Donate 关闭

jQuery对下拉框Select操作总结

jQuery获取Select元素,并选择的Text和Value:
1. $(“#select_id”).change(function(){//code…});   //为Select添加事件,当选择其中一项时触发
2. var checkText=$(“#select_id”).find(“option:selected”).text();  //获取Select选择的Text
3. var checkValue=$(“#select_id”).val();  //获取Select选择的Value
4. var checkIndex=$(“#select_id “).get(0).selectedIndex;  //获取Select选择的索引值
5. var maxIndex=$(“#select_id option:last”).attr(“index”);  //获取Select最大的索引值
jQuery获取Select元素,并设置的 Text和Value:
实例分析:
1. $(“#select_id “).get(0).selectedIndex=1;  //设置Select索引值为1的项选中
2. $(“#select_id “).val(4);   // 设置Select的Value值为4的项选中
3. $(“#select_id option[text=’jQuery’]”).attr(“selected”, true);   //设置Select的Text值为jQuery的项选中
jQuery添加/删除Select元素的Option项:
实例分析:
1. $(“#select_id”).append(“<option value=’Value’>Text</option>”);  //为Select追加一个Option(下拉项)
2. $(“#select_id”).prepend(“<option value=’0′>请选择</option>”);  //为Select插入一个Option(第一个位置)
3. $(“#select_id option:last”).remove();  //删除Select中索引值最大Option(最后一个)
4. $(“#select_id option[index=’0′]”).remove();  //删除Select中索引值为0的Option(第一个)
5. $(“#select_id option[value=’3′]”).remove();  //删除Select中Value=’3’的Option
6. $(“#select_id option[text=’4′]”).remove();  //删除Select中Text=’4’的Option
三级分类 <select name=”thirdLevel” id=”thirdLevel”
onchange=”getFourthLevel()”>
<option value=”0″ id=”thirdOption”>
请选择三级分类
</option>
</select>
</div>
四级分类:
<select name=”fourthLevelId” id=”fourthLevelId”>
<option value=”0″ id=”fourthOption”>
请选择四级分类
</option>
</select>
</div>
.if($(“#thirdLevel”).val()!=0){
$(“#thirdLevel option[value!=0]”).remove();
}
if($(“#fourthLevelId”).val()!=0){
$(“#fourthLevelId option[value!=0]”).remove();
}//这个表示:假如我们希望当选择选择第三类时:如果第四类中有数据则删除,如果没有数据第四类的商品中的为默认值。在后面学习了AJAX技术后经常会使用到!
获取Select :
 获取select 选中的 text :
   $(“#ddlRegType”).find(“option:selected”).text();
 获取select选中的 value:
   $(“#ddlRegType “).val();
 获取select选中的索引:
     $(“#ddlRegType “).get(0).selectedIndex;
设置select:
 设置select 选中的索引:
     $(“#ddlRegType “).get(0).selectedIndex=index;//index为索引值
 设置select 选中的value:
    $(“#ddlRegType “).attr(“value”,”Normal“);
    $(“#ddlRegType “).val(“Normal”);
    $(“#ddlRegType “).get(0).value = value;
 设置select 选中的text:
var count=$(“#ddlRegType option”).length;
  for(var i=0;i<count;i++)
     {           if($(“#ddlRegType “).get(0).options[i].text == text)
        {
            $(“#ddlRegType “).get(0).options[i].selected = true;
            break;
        }
    }
$(“#select_id option[text=’jQuery’]”).attr(“selected”, true);
设置select option项:
 $(“#select_id”).append(“<option value=’Value’>Text</option>”);  //添加一项option
 $(“#select_id”).prepend(“<option value=’0′>请选择</option>”); //在前面插入一项option
 $(“#select_id option:last”).remove(); //删除索引值最大的Option
 $(“#select_id option[index=’0′]”).remove();//删除索引值为0的Option
 $(“#select_id option[value=’3′]”).remove(); //删除值为3的Option
 $(“#select_id option[text=’4′]”).remove(); //删除TEXT值为4的Option
清空 Select:
$(“#ddlRegType “).empty();
jquery获得值:
.val()
.text()
设置值
.val(‘在这里设置值’)
$(“document”).ready(function(){
$(“#btn1”).click(function(){
$(“[name=’checkbox’]”).attr(“checked”,’true’);//全选
})
$(“#btn2”).click(function(){
$(“[name=’checkbox’]”).removeAttr(“checked”);//取消全选
})
$(“#btn3”).click(function(){
$(“[name=’checkbox’]:even”).attr(“checked”,’true’);//选中所有奇数
})
$(“#btn4”).click(function(){
$(“[name=’checkbox’]”).each(function(){//反选
if($(this).attr(“checked”)){
$(this).removeAttr(“checked”);
}
else{
$(this).attr(“checked”,’true’);
}
})
})
$(“#btn5”).click(function(){//输出选中的值
var str=””;
$(“[name=’checkbox’][checked]”).each(function(){
str+=$(this).val()+”\r\n”;
//alert($(this).val());
})
alert(str);
})
})

数据库连接池Druid使用总结

根据综合性能,可靠性,稳定性,扩展性,易用性等因素替换成最优的数据库连接池。
Druid:druid-1.0.29
数据库  Mysql.5.6.17
替换目标:替换掉C3P0,用druid来替换
替换原因:
1、性能方面 hikariCP>druid>tomcat-jdbc>dbcp>c3p0 。hikariCP的高性能得益于最大限度的避免锁竞争。
2、druid功能最为全面,sql拦截等功能,统计数据较为全面,具有良好的扩展性。
3、综合性能,扩展性等方面,可考虑使用druid或者hikariCP连接池,比较方便对jdbc接口进行监控跟踪等。
4、可开启prepareStatement缓存,对性能会有大概20%的提升。
psCache是connection私有的,所以不存在线程竞争的问题,开启pscache不会存在竞争的性能损耗。
psCache的key为prepare执行的sql和catalog等,value对应的为prepareStatement对象。开启缓存主要是减少了解析sql的开销。
5、3p0历史悠久,代码及其复杂,不利于维护。并且存在deadlock的潜在风险。
6、Druid可以打印SQL,慢查询方面的日志
Druid 参数
配置参数 缺省值 游戏服设置的值 参数说明
initialSize 0 4 初始化连接数量
minIdle 0 4 最小空闲连接数
maxActive 8 8 最大并发连接数
maxWait -1L 60000
获取连接时最大等待时间,单位毫秒。配置了maxWait之后,
缺省启用公平锁,并发效率会有所下降,
如果需要可以通过配置useUnfairLock属性为true使用非公平锁。
timeBetweenEvictionRunsMillis 60000 60000
配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
Destroy线程会检测连接的间隔时间
minEvictableIdleTimeMillis 1800000 1800000 配置一个连接在池中最小生存的时间,单位是毫秒
validationQuery null select 1 用来检测连接是否有效的sql,要求是一个查询语句
testOnBorrow FALSE FALSE 申请连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
testOnReturn FALSE FALSE 归还连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能
testWhileIdle TRUE TRUE
建议配置为true,不影响性能,并且保证安全性。 申请连接的时候检测,如果
空闲时间大于 timeBetweenEvictionRunsMillis, 执行validationQuery检测连接是否有效。
poolPreparedStatements FALSE TRUE
false 是否缓存preparedStatement,也就是PSCache。
PSCache对支持游标的数据库性能提升巨大,比如说oracle。
在mysql5.5以下的版本中没有PSCache功能,建议关闭掉。
5.5及以上版本有PSCache,建议开启。
maxPoolPreparedStatementPerConnectionSize 10 100
要启用PSCache,必须配置大于0,当大于0时,
poolPreparedStatements自动触发修改为true。
单个connnection独享一个statement cache,也就是说maxOpenPreparedStatements是针对单个connection链接的
运行原理:
数据库连接池在初始化的时候会创建initialSize个连接,当有数据库操作时,会从池中取出一个连接。如果当前池中正在使用的连接数等于maxActive,则会等待一段时间,等待其他操作释放掉某一个连接,如果这个等待时间超过了maxWait,则会报错;如果当前正在使用的连接数没有达到maxActive,则判断当前是否空闲连接,如果有则直接使用空闲连接,如果没有则新建立一个连接。在连接使用完毕后,不是将其物理连接关闭,而是将其放入池中等待其他操作复用。 同时连接池内部有机制判断,如果当前的总的连接数少于miniIdle,则会建立新的空闲连接,以保证连接数得到miniIdle。如果当前连接池中某个连接在空闲了timeBetweenEvictionRunsMillis时间后仍然没有使用,则被物理性的关闭掉。有些数据库连接的时候有超时限制(mysql连接在8小时后断开),或者由于网络中断等原因,连接池的连接会出现失效的情况,这时候设置一个testWhileIdle参数为true,可以保证连接池内部定时检测连接的可用性,不可用的连接会被抛弃或者重建,最大情况的保证从连接池中得到的Connection对象是可用的。当然,为了保证绝对的可用性,你也可以使用testOnBorrow为true(即在获取Connection对象时检测其可用性),不过这样会影响性能。
如果要进行SQL监控,可以加入以下代码:
  1. Log4j2Filter log4j2 = new Log4j2Filter();
  2. log4j2.setResultSetLogEnabled(false);
  3. log4j2.setStatementSqlPrettyFormat(false);
  4. log4j2.setStatementExecutableSqlLogEnable(true);
  5. log4j2.setDataSourceLogEnabled(false);
  6. log4j2.setConnectionLogEnabled(false);
  7. log4j2.setStatementLogEnabled(false);
  8. log4j2.setResultSetLogEnabled(false);
  9. ret.setProxyFilters(Arrays.asList(log4j2));
闲置检测,创建连接,废弃连接清理由这三线程管理
Daemon Thread [Abandoned connection cleanup thread]
Daemon Thread [Druid-ConnectionPool-Create-1184124073]
Daemon Thread [Druid-ConnectionPool-Destroy-1184124073]

领域模型中的实体类分为四种类型:VO、DTO、DO、PO

经常会接触到VO,DO,DTO的概念,本文从领域建模中的实体划分和项目中的实际应用情况两个角度,对这几个概念进行简析。
得出的主要结论是:在项目应用中,VO对应于页面上需要显示的数据(表单),DO对应于数据库中存储的数据(数据表),DTO对应于除二者之外需要进行传递的数据。
一、实体类
百度百科中对于实体类的定义如下:
实体类的主要职责是存储和管理系统内部的信息,它也可以有行为,甚至很复杂的行为,但这些行为必须与它所代表的实体对象密切相关。
根据以上定义,我们可以了解到,实体类有两方面内容,存储数据和执行数据本身相关的操作。这两方面内容对应到实现上,最简单的实体类是POJO类,含有属性及属性对应的set和get方法,实体类常见的方法还有用于输出自身数据的toString方法。
二、领域模型中的实体类
领域模型中的实体类分为四种类型:VO、DTO、DO、PO,各种实体类用于不同业务层次间的交互,并会在层次内实现实体类之间的转化。
业务分层为:视图层(VIEW+ACTION),服务层(SERVICE),持久层(DAO)
相应各层间实体的传递如下图:
项目中我们并没有严格遵循这种传递关系,但这种和业务层次的关联对我们理解各实体类的作用是有帮助的。(我们没有接触到PO的原因,我理解为ORM对PO进行了封装)
以下是资料的原文,上图是基于此绘制的:
概念:
VO(View Object):视图对象,用于展示层,它的作用是把某个指定页面(或组件)的所有数据封装起来。
DTO(Data Transfer Object):数据传输对象,这个概念来源于J2EE的设计模式,原来的目的是为了EJB的分布式应用提供粗粒度的数据实体,以减少分布式调用的次数,从而提高分布式调用的性能和降低网络负载,但在这里,我泛指用于展示层与服务层之间的数据传输对象。
DO(Domain Object):领域对象,就是从现实世界中抽象出来的有形或无形的业务实体。
PO(PersistentObject):持久化对象,它跟持久层(通常是关系型数据库)的数据结构形成一一对应的映射关系,如果持久层是关系型数据库,那么,数据表中的每个字段(或若干个)就对应PO的一个(或若干个)属性。
模型:
下面以一个时序图建立简单模型来描述上述对象在三层架构应用中的位置
l 用户发出请求(可能是填写表单),表单的数据在展示层被匹配为VO。
l 展示层把VO转换为服务层对应方法所要求的DTO,传送给服务层。
l 服务层首先根据DTO的数据构造(或重建)一个DO,调用DO的业务方法完成具体业务。
l服务层把DO转换为持久层对应的PO(可以使用ORM工具,也可以不用),调用持久层的持久化方法,把PO传递给它,完成持久化操作。
l 对于一个逆向操作,如读取数据,也是用类似的方式转换和传递,略。
三、项目中的实体类
项目中常见的实体类有VO,DO和DTO,命名规则也常是以相应字符串结尾,如*VO.Java。但是DTO不总是遵循这个规则,而通常与他的用途有关,如写成*Query.java,表示存储了一个查询条件。项目中实体类出现的业务层次也没有这么严格,例如我们可以在视图层就组装一个DO,也可以将一个VO从持久层传出来,所以与业务分层相关联的划分方法显得有些冗余。从项目代码中抽象出的理解是:VO对应于页面上需要显示的数据,DO对应于数据库中存储的数据,DTO对应于除二者之外需要进行传递的数据。

SOA和微服务架构的区别

微服务架构强调的第一个重点就是业务系统需要彻底的组件化和服务化,原有的单个业务系统会拆分为多个可以独立开发,设计,运行和运维的小应用。这些小应用之间通过服务完成交互和集成。每个小应用从前端web ui,到控制层,逻辑层,数据库访问,数据库都完全是独立的一套。在这里我们不用组件而用小应用这个词更加合适,每个小应用除了完成自身本身的业务功能外,重点就是还需要消费外部其它应用暴露的服务,同时自身也将自身的能力朝外部发布为服务。
如果一句话来谈SOA和微服务的区别,即微服务不再强调传统SOA架构里面比较重的ESB企业服务总线,同时SOA的思想进入到单个业务系统内部实现真正的组件化。
把这个核心搞清楚后,再来看下网上找到的对微服务架构的一些定义和阐述:
微服务可以在“自己的程序”中运行,并通过“轻量级设备与HTTP型API进行沟通”。关键在于该服务可以在自己的程序中运行。通过这一点我们就可以将服务公开与微服务架构(在现有系统中分布一个API)区分开来。在服务公开中,许多服务都可以被内部独立进程所限制。如果其中任何一个服务需要增加某种功能,那么就必须缩小进程范围。在微服务架构中,只需要在特定的某种服务中增加所需功能,而不影响整体进程。
微服务不需要像普通服务那样成为一种独立的功能或者独立的资源。定义中称,微服务是需要与业务能力相匹配,这种说法完全正确。不幸的是,仍然意味着,如果能力模型粒度的设计是错误的,那么,我们就必须付出很多代价。如果你阅读了Fowler的整篇文章,你会发现,其中的指导建议是非常实用的。在决定将所有组件组合到一起时,开发人员需要非常确信这些组件都会有所改变,并且规模也会发生变化。服务粒度越粗,就越难以符合规定原则。服务粒度越细,就越能够灵活地降低变化和负载所带来的影响。然而,利弊之间的权衡过程是非常复杂的,我们要在配置和资金模型的基础上考虑到基础设施的成本问题。
再强调下即:
首先对于应用本身暴露出来的服务,是和应用一起部署的,即服务本身并不单独部署,服务本身就是业务组件已有的接口能力发布和暴露出来的。了解到这点我们就看到一个关键,即我们在进行单个应用组件设计的时候,本身在组件内部就会有很大接口的设计和定义,那么这些接口我们可以根据和外部其它组件协同的需要将其发布为微服务,而如果不需要对外协同我们完全可以走内部API接口访问模式提高效率。
其次,微服务架构本身来源于互联网的思路,因此组件对外发布的服务强调了采用HTTP Rest API的方式来进行。这个也可以看到在互联网开放能力服务平台基本都采用了Http API的方式进行服务的发布和管理。从这个角度来说,组件超外部暴露的能力才需要发布为微服务,其本身也是一种封装后的粗粒度服务。而不是将组件内部的所有业务规则和逻辑,组件本身的底层数据库CRUD操作全部朝外部发布。否则将极大的增加服务的梳理而难以进行整体服务管控和治理。
微服务的基本思想在于考虑围绕着业务领域组件来创建应用,这些就应用可独立地进行开发、管理和加速。在分散的组件中使用微服务云架构和平台使部署、管理和服务功能交付变得更加简单。
对于互联网谈到微服务架构一定会谈到Devops即开发测试和部署运维的一体化。当我们的单体应用以及拆分为多个小应用后,虽然整体架构可以松耦合和可扩展,但是如果拆分的组件越多,这些组件之间本身的集成和部署运维就越复杂。即任何一个组件,当他依赖的外部其它应用组件越多的时候,整个集成,部署和联调测试的过程就越复杂。这些如果完全靠我们手工去完成一是增加工作量,一是增加出错概率。
原来谈组件化开发谈的最多的是单个组件的持续集成,包括配置环境集成,自动打包部署,自动化的冒烟测试等。对于微服务架构下首先仍然是要做好单个组件本身的持续集成,其次在这个基础上增加了多个组件的打包部署和组件间的集成。里面的核心思想就是Devops的思路,希望能够实现开发设计到部署运维的一体化。
由于微服务架构里面强调了单个组件本身是可以在独立的进程里面运行,各个组件之间在部署的时候就能够做到进程级别的隔离。那么一台服务器我们可能需要初始化几十个甚至更多的进程来进行应用组件的部署。为了保持进程的隔离性,我们可以用虚拟机,但是当几十个进程都完全用独立的虚拟机就不现实的,而这个问题的解决刚好就是利用PaaS平台里面的轻量Docker容器来做这个事情,每个Docker是独立的容器刚好又完全做到进程级别的隔离,资源占用率又最小,这些特点刚好满足微服务架构的开发测试和自动化部署。
前面这些问题思考清楚后就是考虑所有暴露的微服务是否需要一个统一的服务管控和治理平台,按照当前微服务架构的整体思路,虽然单个服务的实现和发布仍然是在组件内部完成的,但是这些组件暴露的服务本身的调用情况,服务本身的安全,日志和流量控制等仍然需要一个统一的SOA服务管理平台来完成。
由于微服务尽量都是通过HTTP API的方式暴露出去的,因此这种服务管理平台不需要像传统企业内部的ESB服务总线这么重。但是最基本的服务注册,服务代理,服务发布,服务简单的路由,安全访问和授权,服务调用消息和日志记录这些功能还是需要具备。类似淘宝的Dubbo架构,即可以做为微服务架构下的服务管控平台。
对于这种服务管控平台,核心需要讨论的就是服务每次调用本身的消息传递,输入和输出日志是否需要记录,当前就有两种做法,一种是不记录,管理平台只负责服务注册和目录发布,安全授权,实际的服务访问仍然是两个组件之间的点对点连接完成,这种方式下整个架构下获取更高的性能,同时服务管理平台也不容易成为大并发服务访问下的单点瓶颈;另外一种方式就是完全记录,在这种方式下就需要考虑服务管理平台本身的集群化不是,高并发下的性能问题。而个人建议最好的方式还是SOA服务管理平台应该提供两种管理能力,同时仅仅对核心的需要Log日志的服务进行日志记录,而其它服务只提供服务目录和访问控制即可。