MR13通讯协议使用说明.
- 格式:pdf
- 大小:100.58 KB
- 文档页数:22
金笛软件 | | 2019年6月6日金笛短信实用手册1.0版目录一、短信历史 (4)1、短信的前世今生 (4)2、通讯与通信 (5)3、短信的优势 (5)(1)简单可靠 (5)(2)及时性 (6)(3)广泛支持 (6)(4)干净 (6)(5)优雅 (6)二、短信基础 (6)1.短信的种类 (6)2.短信AT指令 (7)3.常用 AT 指令 (8)4.短信实用工具软件 (9)检测工具 (9)发送工具 (11)发送途径 (12)5.短信编码 (13)5.1.TEXT模式 (13)5.2.PDU模式 (13)5.3.接收短信的PDU格式 SMS-DELIVER-PDU (Mobile Terminated) (15)5.4.发送短信PDU格式SMS-SUBMIT-PDU (Mobile Originated) (16)5.5.SCA 短消息服务中心地址格式 (16)5.6.PDU Type(第一个八位位组) (18)5.7.MR 信息参考 (Message Reference) (21)5.8.DA/OA 接收方地址与发送方地址 (21)5.9.PID 协议标识 (Protocol-Identifier) (22)5.10.DCS 数据编码方案 (DataCoding-Scheme) (22)5.11.VP 信息有效期(Validity Period) (23)5.12.SCTS 服务中心时间戳(Service Center TimeStamp) (24)5.13.UDL 用户数据长度 (User-Data-Length (Amount of Characters)) (24)5.14.英文编码 (24)5.15.超长短信 (24)6.短信发送速度 (26)7.4G短信与2G短信的区别 (26)8.短信服务中间件与短信控件 (27)9.linux下发送短信 (27)10.高可用短信方案 (28)三、短信硬件 (28)B口短信设备 (28)2.串口短信设备 (30)3.网口短信设备 (30)四、短信软件 (31)1.数据库+短信 (32)(1)JDBC与短信 (32)(2)ODBC与短信 (33)2.HTTP+短信 (35)3.命令行+短信 (35)4.邮件+短信 (35)五、短信架构 (35)1.单服务器 (35)2.双服务器 (36)3.局域网AP Server +DB Server分离 (37)4.云平台+短信一体机 (37)5.多端口并发方案 (38)六、短信开发 (38)1.JAVA+短信开发 (39)2.VC+短信开发 (39)3.PHP+短信开发 (39)4.Python+短信开发 (39)七、短信选型 (40)1.硬件选型 (40)2.软件选型 (41)八、短信常见问题 (41)1.我还能继续使用2G短信猫吗? (41)2.什么是短信中间件? (41)3.利用短信中间件发送短信有什么好处? (41)4.短信中间件web版和VC版我怎么选择? (42)5.2G短信猫升级为4G短信猫该怎么做? (42)6.短信设备可以使用阿里云上的数据库吗? (42)7.VMWare虚拟主机怎么配置短信? (42)8.网管软件怎么使用短信告警? (42)9.短信的常见错误有哪些? (42)九、短信的未来 (43)1.Lora (43)2.nb-iot (43)十、商务问题 (43)1.试用版限制 (43)2.购买途径 (43)一、短信历史1、短信的前世今生“大漠孤烟直,长河落日圆。
PLC工控板WS3U-F精速系列产品使用说明书--V1.8适用于以下型号:WS3U-14MR/MT-FWS3U-24MR/MT-FWS3U-32MR/MT-FWS3U-48MR/MT-FWS3U-56MR-F产品目录第一章产品概述 (1)1.1产品概述 (1)1.2基本参数 (1)1.3使用环境及安装方式 (1)第二章产品展示 (2)2.1产品主要硬件说明 (2)2.2产品正面效果图 (2)第三章电气设计参考 (3)3.1电源及功耗 (3)3.2232通讯口说明 (3)3.3485通讯口说明 (4)3.4输入内部等效电路与接线说明 (5)3.5输出内部等效电路与接线说明.....................6-73.6模拟量输入说明 (7)3.7模拟量输出说明 (7)3.8产品接线图 (8)3.9高速脉冲输出与脉宽调制 (8)3.10中断说明 (9)3.1产品接线图....................................9-11第四章编程参考 (12)4.1应用环境 (12)4.2元件号的分配和功能概要 (12)4.3基本指令 (13)4.4应用指令....................................13-164.5此版本不支持指令列表, (16)第五章常见问题及解决方案 (17)第六章保修条款 (17)第一章产品概述1.1产品概述·WS3U精速系列,采用ARMCortex-M332位MISC内核芯片,运算速度快,存储空间大。
·下载速度为38.4Kbps(特殊情况也可申请改9.6k);直接使用三菱GX Developer或者GX Works2编程、下载、调试、监视(不支持监控写入).·采用DC24V供电;输出继电器均不打开条件下,静态电流30MA;每打开一路增加10MA电流,如3U-48mr输出继电器全打开后电流为270MA(6.48W)。
Coo l mayFX2NC系列PLC用户手册版权所有:深圳市顾美科技有限公司系列PLC用户手册..安全注意事项 (1)1.FX2NC系列PLC概述 (2)1-1.功能简介 (2)1-2.型号命名 (2)1-3.型号规格 (3)1-4.性能参数一览表 (3)1-5.产品外观 (5)1-6.I/O点分布以及开关量模拟量接线图 (6)2.资源集 (7)3.PLC指令集简介 (8)3-1.基本逻辑指令一览表 (8)3-2.步进顺控指令说明 (8)3-3.功能指令一览表(和三菱PLC对照表) (9)3-4.内置高速计数器输入分配表 (10)3-5.软元件编号、错误代码一览表 (10)4.模拟扩展模块的应用 (13)4-1.模拟扩展模块的应用1 (13)4-2.模拟扩展模块的应用2 (13)5.组网 (14)附录1:coolmay FX2NC系列PLC的Modbus通信使用手册......................................................24-28附录2:coolmay FX2NC系列PLC和三菱PLC的比较 (29)安全注意事项——关于产品操作的基本说明在使用本产品之前,请仔细阅读相关手册,同时在非常注意安全的前提下,正确进行操作。
下面的内容只针对FX2NC系列产品。
注意●请勿将电源线与通讯电缆捆缚在一起或靠得太近,应保持10cm 以上距离。
●请不要随意拆卸一体机或改装接线。
否则会引起故障、误动作、损失、火灾。
●当产品发出异味或异常声音时,请立即关闭电源开关●安装本产品时,请务必拧紧螺丝,避免脱落。
●请正确地运输、安装、存储、装配及维护本产品,否则可能造成产品的损坏。
危险!●请在确认了本产品的电源电压范围和正确接线之后再通电,以避免损坏。
●通电时请不要接触端子,以免引起触电。
●请不要打开外壳。
●在安装及拆卸产品时,请务必切断所有电源,否则将引起设备误动作和故障。
Implementing TCP/IP Bypass mode with RS9113 WiSeConnect TMA p p l i c a t i o n N o t eV e r s i o n1.1February 2017Table of Contents1Introduction (4)2What is TCP/IP bypass mode? (4)3Implementing the TCP/IP Bypass mode (5)3.1Create and configure a source project for toolchain (5)3.2Port SAPI HAL to your choice of MCU (5)3.3Port the OS abstraction layer (6)3.4Enable the TCP/IP Bypass mode (6)3.5Modify the host TCP/IP stack (6)3.5.1Integration with LwIP stack (7)3.5.2Network Interface Initialization (7)3.5.3Transmitting a packet (7)3.5.4Receiving a packet (8)3.6Execute the modified SAPI example (9)4References (10)5Revision History (10)Table of FiguresFigure 1 TCP/IP Bypass software architecture (5)List of TablesTable 1: Folder architecture in Silicon Labs document portal. (10)1IntroductionThis document briefly explains the TCP/IP Bypass mode using the RS9113 WiSeConnect module and outlines the steps required to implement it inan application. It uses the FreeRTOS and the lwIP stack as a reference to describe the process. The References section lists all documents that arereferred in this document.2What is TCP/IP bypass mode?The RS9113 WiSeConnect modules offer two modes of operation for Wi-Fi connectivity – 1) Embedded mode and 2) TCP/IP Bypass mode.In the Embedded mode, the module runs the TCP/IP stack and varioushigh-level application protocols, thus freeing the host MCU resources.In the TCP/IP Bypass mode, the host MCU runs the TCP/IP stack andother higher level protocol from its own memory. The TCP/IP Bypassmode allows the host MCU to implement additional protocols and increase the data throughput. The exact throughput increase and additionalfeatures depend on the host MCU’s speed and memory availability.In the TCP/IP Bypass mode, the RS9113 operates as a simple data pipeand requires that the host TCP/IP stack use the appropriate RS9113 APIs to exchange data with other nodes on the network.The TCP/IP Bypass mode may be used with or without RTOS and any off-the-shelf TCP/IP stack such as NetX, lwIP, Linux Network, Windows NDIS, etc.This document uses Silicon Labs SAPI (Simple API) host interface librarywith FreeRTOS and lwIP as a reference.Figure 1 TCP/IP Bypass software architecture3Implementing the TCP/IP Bypass modeA successful implementation of TCP/IP Bypass mode, requires following steps:1.Create and configure a source project for your toolchain2.Port the SAPI HAL to your choice of MCU3.Port the OS abstraction layer to your choice of RTOS4.Enable the TCP/IP Bypass mode5.Modify the host TCP/IP stack to use the RS9113 data interface6.Execute the modified SAPI example and verify its operation3.1Create and configure a source project for toolchainSelect a closely matching SAPI example project from“host\sapis\examples\wlan*” folder and r efer to the Section “Creation ofa project” in “RS9113-WiSeConnect-SAPI-Porting-Guide-vx.y.pdf”(7) formore info. You will also need to add RTOS and the TCP/IP Stack of yourchoice to this project.3.2Port SAPI HAL to your choice of MCUThe SAPI APIs are designed to be portable to any MCU that supports one of the supported host interfaces, GPIO and Timer resources. The standard SAPI distribution includes HAL (Hardware Abstraction Layer) for SiliconLabs WyzBee board based on Spansi on’s Cortex-M4 MCU.You must port the SAPI HAL to your choice of MCU. Refer to the “RS-9113-WiSeConnect-SAPI-Porting-Guide-vx.y.pdf” (7) for more information. 3.3Port the OS abstraction layerYou do not need to perform this step if you are developing a bare-metal ora FreeRTOS-based application. The Silicon Labs SAPI distribution includessupport FreeRTOS and bare-metal applications. For all other RTOSes, youmust port the OS abstraction layer as explained in the “OS InterfaceLayer” section in the “RS9113-WiSeConnect-SAPI-Porting-Guide-vx.y.pdf”(7).3.4Enable the TCP/IP Bypass modeAll SAPI projects use compile-time defines to enable TCP/IP Bypass modeamong other features. See Section 4.4.1 “Configure opermode parameters” in “RS9113-WiSeConnect-SAPI-Guide-vx.y.pdf” (6) for more info.Set RSI_TCP_IP_BYPASS define to ‘1’ to enable the TCP/IP bypass mode.3.5Modify the host TCP/IP stackAll commercial TCP/IP stacks support variety of network controllers usingproprietary network interfaces. The RS9113 SAPI APIs provide low-levelEthernet Layer II packet send and receive interface to support thoseinterfaces.Most TCP/IP stacks will require following three primary changes:work interface initialization2.Transmitting a packet3.Receive a packetThe Network interface initialization must include the full initialization ofthe RS9113 module. The RS9113 module needs several Wi-Fi specificinitialization steps. The SAPI example that you would have selectedearlier should be used to complete the change.As part of the network interface initialization, you will also need toretrieve the RS9113 MAC address using the ‘rsi_wlan_get’ API and set theappropriate network data structure within the host TCP/IP stack. SeeSection ‘4.1.15 rsi_wlan_get’ in ‘RS9113-WiSeConnect-SAPI-Guide-vx.y’(7) for more information.To support the Transmit and Receive interfaces, the RS9113 requires thatthe host TCP/IP stack transmit and receive valid Ethernet II packets usingrsi_wlan_send_data() and a receive data callback function respectively.See ‘rsi_wlan_send_data’ and ‘rsi_wlan_register_callbacks’ in ‘RS9113-WiSeConnect-SAPI-Guide-vx.y’(7) for more information.The RS9113 will apply necessary encryption/decryption to the Ethernet IIpackets as selected in the prior initialization of the module.The following sections describe SAPI integration with the lwIP TCP/IPstack.3.5.1Integration with LwIP stackThe lwIP provides low level interfaces to transmit and receive theEthernet packet over the underlying network interface. Following sectionsdescribe specific functions that must be modified to make use of theTCP/IP Bypass mode.3.5.2Network Interface InitializationUse the example code initialization code to complete the RS9113 moduleinitialization. Next, the lwIP network interface must be initialized with theMAC address of the Silicon Labs Wi-Fi module.The RS9113 mo dule’s MAC address can be queri ed usingRSI_MAC_ADDRESS command. Refer to SAPI API ‘rsi_wlan_get’ fromSection ‘4.1.15 rsi_wlan_get’ in ‘RS9113-WiSeConnect-SAPI-Guide-vx.y’.The MAC address should be provided to the network interface at the timeof initialization.In the initialization function, the MAC address must be copied into‘netif->hwaddr’ and length of the MAC address to ‘netif->hwaddr_len’Code snippet.err_t rsi9113_netif_init (struct netif *netif){. . .netif->hwaddr_len = 6;memcpy(netif->hwaddr, MAC_ADDR, 6);/* Maximum transmit unit */Netif->mtu = 1500;. . .}3.5.3Transmitting a packetThe lwIP“Struct pbuf”defines a data packet in lwIP, As a part ofinitialization, the application has to register a callback ‘netif->linkoutput’with a transmit callback.Function prototype.typedef err_t(* netif_linkoutput_fn) (struct netif *netif,struct pbuf *buffer)RS9113 WiSeConnect HAL API must transmit the ‘pbuf->payload’to‘rsi_send_raw_data’ API.Code Snippet:err_t rsi9113netif_init (struct netif *netif){. . .Netif->linkoutput = wlan_lwip_to_rs9113_handoff;. . .}err_t wlan_lwip_to_rs9113_post (struct netif *netif,struct pbuf *buffer){Int err;char *payload = get_avaible_tx_buffer();memcpy(payload, buffer->payload, buffer->len);err = rsi_wlan_send_data(payload, buffer->len);if (err)return -EFAULT;return ERR_OK;}3.5.4Receiving a packetThe host application needs to register a callback with the SAPI to receive Wi-Fi packets.Use following code to register the callback:‘rsi_wlan_c b->callback_list.wlan_data_receive_handler’The function implementing this callback needs to convert the raw data packet into a “struct pbuf” and pass to ‘netif->input’.The netif->input(pbuf, netif) will post the packet to the lwIP stack and the stack will take care rest of the processing.Example callback implementation:err_t wlan_rs9113_to_lwip_post (struct netif *netif, char *data,unsigned int length){int err;struct pbuf *pkt = NULL;/* allocate and copy data into pbuf */pkt = allocate_pbuf(netif, data, length);if (!pkt)return -ENOMEM;/* entry point to the lwIP stack */err = netif->input(pkt, netif);if (err != ERR_OK) {/* handle error */return err;}return err;}3.6Execute the modified SAPI exampleAs a final step, build, run, and verify the SAPI example that was modified and verify that it functions as documented.You may now add your application-logic to this project. Refer to “RS9113-WiSeConnect-SAPI-Guide-vx.y.pdf” (6) and other relevant SAPIexamples(8) to identify the APIs to implement the required wirelessfunctionality.Implementing TCP/IP Bypass mode with RS9113WiSeConnect TMApplication Note, Version 1.14ReferencesDocumentation, Software Packages, and more are available on Redpin e’s document portal. Contact Silicon Labs Sales office to obtain the NDAand instructions to login.N o Name Location on Silicon LabsDocument Portal1RS9113 EVK User Guide RS9113 Combo Modules/EVK Board2WiSeConnect Getting Started Guide RS9113 Combo Modules/EVK Board3 RS9113 Module FamilyDatasheetRS9113 Combo Modules/Datasheet4WiSeConnect Software Package including examples RS9113 ComboModules/WiSeConnect_Connect-io- n/Software/RS9113.NBZ.WC.GENO SI.x.y.z.zip5WiSeConnectProgrammer’s ReferenceManual <Uncompressed Software Package>/docs6WiSeConnect SAPI Guide <Uncompressed SoftwarePackage>/host/sapis/docs7WiSeConnect SAPI Porting Guide <Uncompressed Software Package>/host/sapi/docs8WiSeConnect SAPI Examples <Uncompressed SoftwarePackage>/host/sapis/examples9 Module IntegrationGuide, RegulatoryCertificates, 3D Models, PCBFootprints, IBIS Models etc.Various sub-folders under “RS9113Combo Module s”Table 1: Folder architecture in Silicon Labs document portal.5Revision HistoryVersion No. Date Change1.1 Feb 2017 Added Ethernet II packet typeinformation.1.0 Feb 2017 Initial.Smart. Connected. Energy-Friendly.Products /productsQuality/qualitySupport and CommunitySilicon Laboratories Inc.400 West Cesar ChavezAustin, TX 78701USADisclaimerSilicon Labs intends to provide customers with the latest, accurate, and in-depth documentation of all peripherals and modules available for system and software implementers using or intending to use the Silicon Labs products. Characterization data, available modules and peripherals, memory sizes and memory addresses refer to each specific device, and "Typical" parameters provided can and do vary in different applications. Application examples described herein are for illustrative purposes only. Silicon Labs reserves the right to make changes without further notice to the product information, specifications, and descriptions herein, and does not give warranties as to the accuracy or completeness of the included information. Without prior notification, Silicon Labs may update product firmware during the manufacturing process for security or reliability reasons. Such changes will not alter the specifications or the performance of the product. Silicon Labs shall have no liability for the consequences of use of the information supplied in this document. This document does not imply or expressly grant any license to design or fabricate any integrated circuits. The products are not designed or authorized to be used within any FDA Class III devices, applications for which FDA premarket approval is required, or Life Support Systems without the specific written consent of Silicon Labs. A "Life Support System" is any product or system intended to support or sustain life and/or health, which, if it fails, can be reasonably expected to result in significant personal injury or death. Silicon Labs products are not designed or authorized for military applications. Silicon Labs products shall under no circumstances be used in weapons of mass destruction including (but not limited to) nuclear, biological or chemical weapons, or missiles capable of delivering such weapons. Silicon Labs disclaims all express and implied warranties and shall not be responsible or liable for any injuries or damages related to use of a Silicon Labs product in such unauthorized applications.Trademark InformationSilicon Laboratories Inc.®, Silicon Laboratories®, Silicon Labs®, SiLabs® and the Silicon Labs logo®, Bluegiga®, Bluegiga Logo®, Clock B uilder®, CMEMS®, DSPLL®, EFM®, EFM32®, EFR, Ember®, Energy Micro, Energy Micro logo and combinations thereof, "the world’s most energy friendly microcontrollers", Ember®, EZLink®, EZRadio®, EZRadioPRO®, Gecko®, Gecko OS, Gecko OS Studio, ISOmodem®, Precision32®, ProSLIC®, Simplicity Studio®, SiPHY®, Telegesis, the Telegesis Logo®, USBXpress® , Zentri, the Zentri logo and Zentri DMS, Z-Wave®, and others are trademarks or registered trademarks of Silicon Labs. ARM, CORTEX, Cortex-M3 and THUMB are trademarks or registered trademarks of ARM Holdings. Keil is a registered trademark of ARM Limited. Wi-Fi is a registered trademark of the Wi-Fi Alliance. All other products or brand names mentioned herein are trademarks of their respective holders.。
Socket 端口寄存器Sn3_MR (Socket n 模式寄存器) [R/W] [0x0000] [0x00]Sn_MR 描述3n 是 Socket 编号(0,1,2,3,4,5,6,7).n 设置了 SNUM[2:0]控制位集 n is Socketnumber (0, 1, 2, 3, 4, 5, 6, 7). n is set ‘SNUM[2:0]’ in Control Bits sets.Sn_CR (Socket n 配置寄存器) [R/W] [0x0001] [0x00]该寄存器用于设置 Socket n 的配置命令如 OPEN、CLOSE、CONNECT、LISTEN、END 和RECEIVE。
经 W5500 识别这一命令后,Sn_CR 寄存器会自动清零为 0×00。
尽管 Sn_CR 被清零为 0×00,但命令仍在处理中。
为了验证该命令是否完成,请检查 Sn_IR 或 Sn_SR 寄IR (中断寄存器) [R/W] [0x0015] [0x00]中断寄存器( IR)指明了中断的状态。
IR 的每一位都是‘0’,直到被主机写为‘1’. 如果 IR 不等于‘0×00’, INTn 引脚将会被拉低。
直到其变为‘0×00’时, INTn 才会被拉高。
表格IR说明S n_SR (Socket n 状态寄存器) [R] [0x0003] [0x00]Sn_SR指示了 Socket n 的状态,并根据 Sn_CR 或者一些TCP模式下的特殊控制包,如 SYN,FIN 包而改变。
Sn_SR状态描述Sn_PORT (Socket n 源端口寄存器) [R/W] [0x0004-0x0005] [0x0000]该寄存器配置了 Socket n 的源端口号。
当 Socket n 工作在 TCP 或 UDP 模式下,该寄 存器生效。
注意:必须在 OPEN 命令生效前,完成对该寄存器的设置。
CDP使用指南2021年05月12日目录1.文档说明 (8)2.CDP平台介绍 (8)2.1.CDP平台简介 (9)2.2.C LOUDERA M ANAGER概览 (10)2.3.C LOUDERA R UNTIME (11)2.4.工具 (11)2.5.设置对基于阿里云部署的CDP的访问权限 (12)2.5.1.配置SOCKS代理 (12)2.5.2.启动SOCKS代理 (12)2.5.3.配置Google Chrome浏览器以使用代理 (13)2.5.4.网络安全组 (14)3.CLOUDERA MANAGER (15)3.1.术语 (15)3.1.1.部署 (16)3.1.2.动态资源池 (16)3.1.3.集群 (16)3.1.4.主机 (16)3.1.5.机架 (16)3.1.6.服务 (16)3.1.7.服务实例 (17)3.1.8.角色 (17)3.1.9.角色实例 (17)3.1.10.角色组 (17)3.1.11.主机模板 (17)3.1.12.网关(Gateway) (17)3.1.13.Parcel (18)3.1.14.静态服务池 (18)3.2.C LOUDERA M ANAGER架构 (18)3.2.1.心跳 (19)3.3.状态管理 (19)3.4.C LOUDERA M ANAGER 管理控制台 (20)3.4.1.Cloudera Manager管理控制台主页 (24)3.4.2.自动登出 (28)3.5.进程管理 (30)3.6.主机管理 (30)3.7.C LOUDERA M ANAGER A GENT (31)3.7.1.cm_processes (31)3.8.资源管理 (32)3.9.用户管理 (33)3.10.安全管理 (33)3.11.使用C LOUDERA M ANAGER监控集群 (33)3.12.C LOUDERA M ANAGEMENT S ERVICE (35)3.12.1.健康测试 (35)3.12.2.指标收集和显示 (36)3.12.3.事件、警报和触发器 (36)3.13.集群配置概述 (37)3.14.服务器和客户端配置 (38)3.15.C LOUDERA M ANAGER API (39)3.16.虚拟专用集群和C LOUDERA SDX (39)3.16.1.分离计算和数据资源的优势 (40)3.16.2.架构 (40)3.16.3.权衡性能 (42)3.16.4.虚拟专用集群的兼容性注意事项 (42)3.16.5.虚拟专用集群的网络注意事项 (47)4.CDP核心组件 (53)4.1.C LOUDERA R UNTIME组件版本 (53)4.2.分布式文件系统HDFS (57)4.3.实时数据库HB ASE (58)4.4.列式存储引擎K UDU (60)4.5.统一资源管理和调度框架 (61)4.6.分布式计算框架–T EZ (66)4.7.数据仓库组件–H IVE (68)4.8.SQL分析引擎I MPALA (69)4.9.HB ASE SQL查询引擎P HOENIX (71)4.10.C LOUDERA整合全文检索引擎 (73)4.11.分布式内存计算框架–S PARK (76)4.12.数据库接入工具S QOOP (78)4.13.C LOUDERA一站式安全管理 (83)4.14.分布式消息队列K AFKA (93)4.15.A PACHE A TLAS (95)5.CLOUDERA安全概述 (98)5.1.概述 (98)5.1.1.安全要求 (99)5.1.2.安全等级 (99)5.1.3.Hadoop安全架构 (100)5.2.认证概述 (101)5.2.1.Kerberos概述 (102)5.2.2.Kerberos部署模型 (103)5.2.3.使用TLS/SSL进行安全的Keytab分发 (109)5.2.4.使用向导或手动过程来配置Kerberos身份验证 (110)5.2.5.集群组件使用的身份验证机制 (110)5.3.加密概述 (111)5.3.1.保护静态数据 (111)5.3.2.保护传输中的数据 (114)5.3.3.Hadoop项目中的数据保护 (115)5.3.4.加密机制概述 (117)5.4.授权概述 (117)5.4.1.Hadoop中的授权机制 (118)5.4.2.与身份验证机制的身份验证机制集成 (119)5.4.3.Hadoop项目中的授权 (120)5.5.治理概述 (121)5.5.1.什么是Apache Atlas? (121)5.5.2.Apache Atlas使用元数据创建血统关系 (121)5.5.3.添加到实体元数据使搜索更加容易 (121)5.5.4.Apache Atlas体系结构 (122)6.CLOUDERA最佳实践 (123)6.1.I MPALA分区 (123)6.1.1.文件计数和文件大小 (123)6.1.2.分区注意事项 (124)6.1.3.指南总结 (126)6.2.I MPALA性能 (126)6.2.1.Kudu RPC (126)6.2.2.设立专门的协调员 (127)6.2.3.按需元数据和元数据管理 (130)6.3.加速S PARK ML应用 (153)6.3.1.Spark ML的原生数学库 (153)6.3.2.启用libgfortran库 (154)6.3.3.启用英特尔MKL库 (156)6.3.4.性能比较 (157)7.故障排查 (159)7.1.安全故障排查 (159)7.1.1.错误信息和各种故障 (159)7.1.2.身份验证和Kerberos问题 (167)7.1.3.HDFS加密问题 (179)7.1.4.Key Trustee KMS加密问题 (181)7.1.5.对Cloudera Manager中的TLS/SSL问题进行故障排除 (182)7.2.YARN、MR V1和L INUX OS安全性 (185)7.2.1.MRv1和YARN:jsvc程序 (185)7.2.2.仅限MRv1:Linux TaskController (186)7.2.3.仅限YARN:Linux容器执行器 (186)7.3.对I MPALA进行故障排除 (187)7.3.1.使用Breakpad Minidumps进行崩溃报告 (188)7.4.对A PACHE Y ARN进行故障排查 (190)7.4.1.在YARN上对Docker进行故障排除 (190)7.4.2.对Linux Container Executor进行故障排除 (200)7.5.对HB ASE进行故障排除 (202)7.5.1.使用HBCK2工具修复HBase集群 (203)7.5.2.Thrift Server在收到无效数据后崩溃 (203)7.5.3.HBase正在使用比预期更多的磁盘空间 (204)7.5.4.对RegionServer分组进行故障排除 (205)7.6.对APACHE KUDU进行故障排除 (206)7.6.1.启动或重启主服务器或者Tablet服务器时出现问题 (206)7.6.2.磁盘空间使用问题 (207)7.6.3.性能问题 (208)7.6.4.可用性问题 (214)7.6.5.象征堆栈跟踪 (216)7.6.6.在多主服务器部署中从死掉的Kudu主服务器中恢复 (218)7.7.对C LOUDERA S EARCH进行故障排除 (218)7.7.1.故障排除 (218)7.7.2.动态Solr分析 (219)7.7.3.其他故障排除信息 (220)7.7.4.找出Cloudera Search部署中的问题 (220)7.7.5.Cloudera Search配置和日志文件 (223)7.8.对H UE进行故障排查 (226)7.8.1.Hue负载平衡器无法在各个Hue服务器之间平均分配用户 (226)7.8.2.无法使用SAML对Hue中的用户进行身份验证 (227)7.8.3.清理旧数据以提高性能 (227)7.8.4.无法使用提供的凭据连接到数据库 (229)7.8.5.在Hue UI上激活Hive查询编辑器 (230)7.8.6.查询执行在Hue中完成,但显示为在Cloudera Manager Impala查询页面上执行 (231)7.8.7.查找Hue超级用户列表 (232)7.8.8.通过Knox访问Hue时,用户名或密码不正确 (233)7.8.9.从Knox访问Hue UI时出现HTTP 403错误 (234)7.8.10.无法从Knox Gateway UI访问Hue (236)7.8.11.引荐检查失败,因为域与任何受信任的来源都不匹配 (239)7.8.12.无法查看Snappy压缩文件 (239)7.8.13.启用SAML时出现“未知属性名称”异常 (241)7.8.14.Impala查询因无效的查询句柄错误而失败 (242)7.8.15.PostgreSQL支持的服务失败或挂起 (243)7.8.16.验证Hue中的LDAP用户时出错 (244)7.8.17.从负载均衡器访问Hue时出现502代理错误 (245)7.8.18.提交Hive查询后,无效的方法名称:“ GetLog”错误 (246)7.8.19.在Hue中提交查询时出现“授权异常”错误 (246)7.8.20.无法更改Hue中的压缩表 (248)7.8.21.从Hue访问“搜索”应用程序(Solr)时出现连接失败错误 (249)7.8.22.从顺化下载查询结果需要时间 (250)7.8.23.启用TLS后,Hue Load Balancer无法启动 (250)7.8.24.无法终止以Kerberized集群运行的Hue作业浏览器中的Hive查询 (251)7.8.25.无法在受Knox保护的集群上的Hue中查看或创建Oozie工作流 (252)7.8.26.1040,“连接太多”异常 (253)8.参考资料 (254)1.文档说明本文档主要是基于阿里云部署的CDP的操作使用和介绍,关于CDP平台的操作和使用信息来源Cloudera官网,大家可以访问https:///cdp-private-cloud-bas e/latest/index.html来获取对应的信息。
MR通讯协议使用说明概述:MR通信协议是一种用于MR设备的通信协议,用于实现MR设备之间的数据交换和通信。
本文将详细介绍MR通信协议的使用方法和各个部分的功能。
一、协议格式:MR通信协议采用二进制格式进行通信,每个数据包的格式如下:---------------------,----------------,---------------------------包头(2字节),数据长度(4字节),数据(N字节)---------------------,----------------,---------------------------包头部分包含了数据包的开始标志,用于判断数据包的起始位置;数据长度部分记录了数据包中数据的长度;数据部分为具体的数据内容。
二、协议使用方法:1.数据包格式解析:MR通信协议使用固定的数据包格式进行通信,开发人员在接收到数据包后,首先需要解析数据包格式,将数据包拆分为包头、数据长度和数据三个部分。
2.包头校验:解析出数据包的包头之后,需要对包头进行校验,判断数据包的完整性和正确性。
校验包头的方法为比较包头中的固定值和预设的包头值是否一致,如果一致则表示数据包正常,否则表示数据包出错。
3.数据长度校验:在数据包解析过程中,需要获取到数据包的数据长度,开发人员需要根据数据包中的数据长度值判断数据包中数据的实际长度,并进行数据的有效性校验。
数据长度不一致可能表示数据包出错或者网络异常。
4.数据解析:在解析出包头和数据长度之后,开发人员可以根据具体的业务需求对数据进行解析,获取到实际需要的数据内容。
可以根据不同的需求进行拆包、组包和数据处理等操作。
5.数据封装:在发送数据包之前,需要根据协议格式对要发送的数据进行封装。
将数据按照数据包格式进行组织,并计算出数据长度,并将其封装为一个完整的数据包。
6.数据发送:数据封装完成之后,可以将封装好的数据包通过网络进行发送。
在发送数据前,需要建立网络连接,并将数据包通过网络传输至接收端。
MR13 三回路九段可编程PID调节器中文操作指南请确认型号符合MR13选型,随表提供英文说明书和中文说明、操作流程图。
一.仪表的面板显示名称及分类:4.十一个发光二级管工作指示灯□ AT 绿灯:自整定动作时闪烁,待机时灯亮,结束时熄灭□ REM 绿灯:外给定状态时灯亮□ FLW 绿灯:二三回路跟踪一回路PV或SV值时状态灯亮□ COM 绿灯:通讯(可读/写)状态时灯亮,本机状态时熄灭□ RUN 绿灯:程序运行时灯亮,复位时熄灭□ OUT1,OUT2,OUT3 绿灯(3个):调节输出通断或线性亮度指示□ EV1,EV2,EV3 红灯(3个):报警指示二.仪表六个面板操作键及键操作说明:⒈ DISP键:返回键。
返回上一级菜单。
⒉ CH 键:a.回路选择键。
选择各回路的参数和状态。
b.在窗口[0-2], 与增“ENT”键同时按,控制程序的运行或复位。
⒊循环键:循环下移子窗口;在参数窗口群(1)同时按增∧键,可向上移窗口。
⒋增∧, 减∨键: 修改数字型参数,选择字符型参数。
⒌ENT确认键: 确认参数的修改或设定。
三.中文操作流程图和基本的工作方式说明:全部操作窗口按功能分为(0)基本窗口群,(1)参数窗口群和(2)程序参数窗口群。
窗口组成是:三排CH1,CH2,CH3各回路的测量值,一排为各回路设定值数码显示,一位回路号显示;窗口数字名称标在左上角;右边窗口的中文说明;例如:[0-0]代表测量/设定值显示和定值设定窗口,又称流程图空间的基本窗口。
虚线表示为选件窗口,有通道号显示一定是三回路多参数窗口。
此外,窗口间移动以及简要说明等也标在图上。
MR13基本的工作方式:1.分别独立的三回路,定值调节方式2.第一回路程序运行,二、三回路定值调节方式3.二、三回路跟踪一回路设定值的三温区方式4.第一回路定值/程序,二、三回路跟踪一回路设定值后测量值的三输出方式。
用于加热/制冷、主辅调节的复杂系统5.模拟遥控(外给定)用于群控或配比调节细读:参照流程图,仪表上电后, 经初始信息提示后进入[0-0]窗口。