OSPF BIT 类型说明

news2025/5/15 9:32:24

注:本文为 “OSPF BIT 类型 | LSA 类型 ” 相关文章合辑

机翻,未校。


15 OSPF BIT Types Explained

15 种 OSPF BIT 类型说明

Rashmi Bhardwaj

Distribution of routing information within a single autonomous system in larger networks is performed using WAN based protocols such as OSPF, RIP etc. Some of these routing protocols are based on link state algorithms; OSPF is one of them which uses link state algorithm to calculate shortest path tree based on routing table database.
在更大的网络中,单个自治系统内的路由信息分发是通过诸如 OSPF、RIP 等基于广域网(WAN)的协议来实现的。其中一些路由协议基于链路状态算法,OSPF 就是其中一种,它使用链路状态算法根据路由表数据库计算最短路径树。

In today’s topic we will learn about OSPF in general, bit types in OSPF and function of each OSPF bit type.
在今天的主题中,我们将大致了解 OSPF、OSPF 中的位类型以及每种 OSPF 位类型的作用。

About OSPF

关于 OSPF

OSPF is a link state discovery routing protocol. It is designed to run in an internal single autonomous system. Each OSPF router in a network maintains an identical database to describe the topology of the autonomous system. From the OSPF routing database, a shortest path tree is constructed. In the event of topological changes, OSPF quickly utilizes the minimum routing protocol traffic. OSPF supports equal cost multi - pathing. Area routing capability is there to enable an additional level of routing protection and reduction in network traffic. OSPF routing is based on the destination IP address found in the IP packet header.
OSPF 是一种链路状态发现路由协议。它旨在运行内部单个自治系统。网络中的每个 OSPF 路由器都维护相同的数据库来描述自治系统的拓扑。从 OSPF 路由数据库构建最短路径树。在拓扑发生变化时,OSPF 会快速利用最少的路由协议流量。OSPF 支持等价多路径。区域路由功能用于启用更高级别的路由保护和减少网络流量。OSPF 路由基于在 IP 数据包报头中找到的目标 IP 地址。

15 OSPF BIT Types Explained 1

We will look more in detail about OSPF bit types with their locations in the upcoming section.
在接下来的部分中,我们将更详细地了解 OSPF 位类型及其位置。

OSPF BIT Types

OSPF BIT 类型

OSPF uses various types of bits within its packet headers and Link State Advertisements (LSAs) to communicate specific information between routers. The OSPF bit types are significant because they play a critical role in the operation, efficiency, and flexibility of the OSPF routing protocol. OSPF bit types are fundamental to how OSPF operates, ensuring that the protocol can function effectively in diverse and complex network environments. They help in managing routing information, reducing unnecessary traffic, and ensuring the stability and efficiency of the network.
OSPF 在其数据包报头和链路状态通告(LSA)中使用各种类型的位在路由器之间传递特定信息。OSPF 位类型非常重要,因为它们在 OSPF 路由协议的运作、效率和灵活性中起着关键作用。OSPF 位类型是 OSPF 运行方式的基础,可确保协议能够在各种复杂的网络环境中有效运行。它们有助于管理路由信息、减少不必要的流量以及确保网络的稳定性和效率。


Here are the key OSPF bit types:
以下是关键的 OSPF 位类型:

E-bit

E 位

OSPF areas. can be configured as ‘Stubs’ and AS - external - LSAs will not flood into stub areas. This is represented with E - bit in the OSPF options field. To ensure configuration consistency of stub areas, all routers interfacing such area must have the E - bit cleared in their Hello packets.
OSPF 区域可以配置为 “存根区域”,并且 AS 外部 LSA 不会泛洪到存根区域,这在 OSPF 选项字段中用 E 位表示。为确保存根区域的配置一致性,与该区域接口的所有路由器必须在其 Hello 数据包中将 E 位清零。

M-bit

M 位

Each router’s database description contains an indication that there are more packets to flow using an M - bit. The M - bit is set to the off state when the database exchange process is over.
每个路由器数据库说明都包含一个指示,表明使用 M 位表示是否还有更多数据包要传输。当数据库交换过程结束时,M 位设置为关闭状态。

I-bit and MS-bit

I 位和 MS 位

The initialize (I), more (M) and Master (MS) bits in the options field and the DD sequence number container in the last database description packet arrived from the neighbour are used to determine if the next database description packet received from the neighbour is unique or duplicate.
选项字段中的初始化(I)、更多(M)和主(MS)位以及从邻居到达的最后一个数据库描述数据包中的 DD 序列号容器用于确定从邻居接收的下一个数据库描述数据包是唯一的还是重复的。

B-bit

B 位

B - bit is set whenever the router is actively attached to two or more areas, even if it is not attached to the OSPF backbone area.
每当路由器主动连接到两个或多个区域时,即使它未连接到 OSPF 骨干区域,也会设置 B 位。

V-bit

V 位

In router - LSA, the V - bit is set only if the router is the endpoint of one or more fully adjacent virtual links having Area A as their transit area. The V - bit setting enables other routers in Area A to discover if the area supports transit traffic.
在 router - LSA 中,仅当路由器是一个或多个全相邻的虚拟链路的端点,且区域 A 作为其中转区域时,才设置 V 位。V 位设置使 A 区域中的其他路由器能够发现该区域是否支持中转流量。

R-bit

R 位

Allows for multi - homed hosts to participate in the routing protocol.
允许多归属主机参与路由协议。

V6-bit

V6 位

Specializes the R - bit.
是 R 位的特殊化。

MC-bit

MC 位

Describes whether IP multicast datagrams are forwarded as per specifications.
描述 IP 组播数据报是否按照规范进行转发。

N/P-bit

N/P 位

Describes the handling of type - 7 LSAs.
描述类型 7 LSA 的处理方式。

EA-bit

EA 位

Describes the router’s willingness to forward/receive external - attributes - LSAs.
描述路由器转发 / 接收外部属性 LSA 的意愿。

DC-bit

DC 位

Describes the router’s handling of demand circuits.
描述路由器对按需电路的处理。

DN-bit

DN 位

Is used to prevent loops and it is located in the LSA header in MPLS VPN environments when OSPF is used as the PE - CE protocol.
用于防止环路,当 OSPF 用作 PE - CE 协议时,它位于 MPLS VPN 环境中的 LSA 报头中。

N-bit

N 位

Is used in hello packets. by OSPF NSSA routers.
由 OSPF NSSA 路由器在 hello 数据包中使用。

P-bit

P 位

Is used in the NSSA external header. It allows an ASBR to signal that the ABR router between (0, NSSA area) should translate LSA type 7 to LSA type 5 to be sent to the OSPF backbone area.
用于 NSSA 外部标头。它允许 ASBR 发出信号指示(0,NSSA 区域)之间的 ABR 路由器应将 LSA 类型 7 转换为 LSA 类型 5,以发送到 OSPF 骨干区域。

Check the summarized table below:
查看下面的汇总表:

15 OSPF BIT Types Explained table

S.No.OSPF BIT TypeDescription
1E-bitThe OSPF area can be configured as a “Stub” area. AS external LSAs (Link State Advertisements) will not flood into the stub area, which is indicated by the E - bit in the OSPF option field. To ensure consistent stub area configuration, all routers connected to the area must clear the E - bit in their Hello packets.
OSPF 区域可配置为 “Stub”(存根区域),AS 外部 LSA(链路状态通告)不会泛洪到存根区域,这在 OSPF 选项字段中由 E-bit 表示。为确保存根区域配置一致,连接该区域的所有路由器在其 Hello 包中必须将 E-bit 清零。
2M-bitThe database description of each router contains an indication, using the M - bit to represent whether there are more packets to be transmitted. When the database exchange process is complete, the M - bit is set to the off state.
每个路由器的数据库描述包含一个指示,即使用 M-bit 表示是否还有更多数据包要传输。数据库交换过程结束时,M-bit 被设置为关闭状态。
3 & 4I-bit and MS-bitThe Initialization (I), More (M), and Master (MS) bits in the option field, along with the DD sequence number container in the last database description packet received from the neighbor, are used to determine whether the next database description packet received from the neighbor is unique or a duplicate.
选项字段中的初始化(I)、更多(M)和主(MS)位,以及从邻居收到的最后一个数据库描述包中的 DD 序列号容器,用于确定从邻居接收到的下一个数据库描述包是唯一的还是重复的。
5B-bitThe B-bit is set as long as the router is actively connected to two or more areas, even if it is not connected to the OSPF backbone area.
只要路由器主动连接到两个或更多区域,即使它未连接到 OSPF 骨干区域,B-bit 也会被设置。
6V-bitThe V-bit is set in the router LSA only when the router is the endpoint of one or more fully adjacent virtual links with area A as the transit area. The setting of the V - bit enables other routers in area A to discover whether the area supports transit traffic.
仅当路由器是一个或多个以区域 A 为中转区域的全相邻虚拟链路的端点时,在路由器 LSA 中才会设置 V-bit。V-bit 的设置使区域 A 中的其他路由器能够发现该区域是否支持中转流量。
7R-bitAllows a multi - homed host to participate in the routing protocol.
允许多归属主机参与路由协议。
8V6-bitSpecializes R-bit. It is a specialization of the R-bit.
R-bit 的特殊化。
9MC-bitDescribes whether IP multicast datagrams are forwarded according to the specification.
描述 IP 组播数据报是否按照规范进行转发。
10N/P-bitDescribes the processing method of type 7 LSA.
描述类型 7 LSA 的处理方式。
11EA-bitDescribes the router’s willingness to forward/receive external - attributes - LSAs.
描述路由器转发 / 接收外部属性 LSA 的意愿。
12DC-bitDescribes the router’s handling of demand circuits.
描述路由器对按需电路的处理。
13DN-bitIs used to prevent loops. In an MPLS VPN environment where OSPF is used as the PE - CE protocol, it is located in the LSA header.
用于防止环路,在使用 OSPF 作为 PE-CE 协议的 MPLS VPN 环境中,它位于 LSA 头部。
14N-bitUsed by OSPF NSSA (Not-So-Stubby Area) routers in Hello packets.
OSPF NSSA(非纯末梢区域)路由器在 Hello 包中使用。
15P-bitUsed for the NSSA external header. It allows an ASBR (Autonomous System Boundary Router) to signal an ABR (Area Border Router) between (0, NSSA area) that the ABR should convert a type 7 LSA to a type 5 LSA and send it to the OSPF backbone area.
用于 NSSA 外部头部。它允许 ASBR(自治系统边界路由器)向(0,NSSA 区域)之间的 ABR(区域边界路由器)发出信号指示,指示 ABR 应将类型 7 LSA 转换为类型 5 LSA 并发送到 OSPF 骨干区域。

OSPF LSA Types: The Ultimate Guide

OSPF LSA 类型:终极指南

Rashmi Bhardwaj

OSPF LSA Types –

OSPF LSA 类型 –

OSPF uses LSAs or Link state Advertisements to share information of each network and populate the LSDB (Link State Database). The LSAs are used by routers to exchange topology information. An LSA contains routing and topology information that describe a part of an OSPF network. Routers exchange LSAs and learn the complete topology of the network until all routers have the exact same topology database. Infact, OSPF sends updates (LSAs) when there is a change to one of its links. LSAs are additionally refreshed every 30 minutes.
OSPF 使用 LSA 或链路状态通告来共享每个网络的信息并填充 LSDB(链路状态数据库)。路由器使用 LSA 来交换拓扑信息。LSA 包含描述 OSPF 网络一部分的路由和拓扑信息。路由器交换 LSA 并了解网络的完整拓扑,直到所有路由器都具有完全相同的拓扑数据库。事实上,OSPF 会在其其中一个链路发生更改时发送更新 (LSA)。LSA 每 30 分钟刷新一次。

All OSPF LSA Types are mentioned in below table –

下表中提到了所有 OSPF LSA 类型 –

TypesDescription
LSA Type 1Router LSA
LSA Type 2Network LSA
LSA Type 3 or 4Summary LSA & ASBR LSA
LSA Type 5Autonomous System External LSA
LSA Type 6Multicast OSPF LSA Type
LSA Type 7Defined for Not-So-Stubby-Areas
LSA Type 8External Attribute LSA for BGP
LSA Type 9,10,11Opaque LSA

LSA Type 1: Router LSA

LSA 类型 1:路由器 LSA

  • This LSA type is flooded by every router within an area
    此 LSA 类型由区域内的每台路由器泛洪
  • The LSA consists of information about directly connected links
    LSA 包含有关直接连接链路的信息
  • It is identified by the Router ID. or the originating router
    它由路由器 ID 或始发路由器标识
  • It floods within an area and the LSA Type 1 does not cross the ABR.
    它会在一个区域内泛洪,并且 LSA 类型 1 不会穿过 ABR。
  • We see this as “O” routes in the routing table
    我们在路由表中将其视为 “O” 路由
  • LSA 1 – O, Router LSA contains all Link IDs – network, generated by every router and is local to the area.
    LSA 1 – O,路由器 LSA 包含所有链路 ID – 网络,由每个路由器生成,并且是该区域的本地。
  • This LSA does not cross ABR.
    此 LSA 不跨越 ABR。

LSA Type 2: Network LSA

LSA 类型 2:网络 LSA

  • Generated by the DR Router on the broadcast network
    由广播网络上的 DR 路由器生成
  • It includes the network ID, subnet mask and also the list of attached routers in the transit
    它包括网络 ID、子网掩码以及传输中连接的路由器列表
  • In OSPF we can have one Network LSA or Type 2 LSA for each transit broadcast of NBMA Network.
    在 OSPF 中,我们可以为 NBMA 网络的每个中转广播提供一个网络 LSA 或第 2 类 LSA
  • This LSA also can be flooded only within the area and cannot cross the ABR
    此 LSA 也只能在区域内泛洪,不能穿过 ABR
  • We see this as “O” routes in the routing table
    我们在路由表中将其视为 “O” 路由
  • LSA 2 – O, Network LSA contains all routers attached to the segment, generated by DR and is local to the area
    LSA 2 — O,网络 LSA 包含连接到网段的所有路由器,由 DR 生成,并且是该区域的本地路由器

LSA Type 3: Summary LSA

LSA 类型 3:摘要 LSA

  • The Type 3 LSA is used to share the network information with other areas. Inter-area ( IA)
    Type 3 LSA 用于与其他区域共享网络信息。区域间 (IA)
  • These LSAs are advertised by the ABR Router
    这些 LSA 由 ABR 路由器通告
  • These LSA are represented in the routing table as “OIA” routes
    这些 LSA 在路由表中表示为“OIA”路由
  • To flood the information through the Autonomous System, they are regenerated by the ABRs following subsequently
    为了通过自治系统泛洪信息,它们随后由 ABR 重新生成
  • LSA 3 – O IA, Network Summary LSA describes network from another area, generated by ABR and is propagated between areas
    LSA 3 – O IA,网络摘要 LSA 描述来自另一个区域的网络,由 ABR 生成并在区域之间传播
  • It contains network ID and subnet mask
    它包含网络 ID 和子网掩码

OSPF LSA TYPE3

LSA Type 4: Summary ASBR LSA

LSA 类型 4:摘要 ASBR LSA

  • This LSA type is also known as summary LSA is used to advertise about the ASBR to other areas in the same autonomous system.
    此 LSA 类型也称为摘要 LSA,用于向同一自治系统中的其他区域通告 ASBR。
  • It is generated by the ABR of the originating area.
    它由原始区域的 ABR 生成。
  • These type of LSAs are flooded throughout the Autonomous System
    这些类型的 LSA 在整个自治系统中泛洪
  • These LSA will contain the Router ID of the ASBR only
    这些 LSA 将仅包含 ASBR 的路由器 ID
  • LSA 4 – O IA, Summary ASB Link States, generated by the ABR and is propagated between areas
    LSA 4 - O IA,摘要 ASB 链路状态,由 ABR 生成并在区域之间传播

OSPF LSA TYPE4

LSA Type 5: External LSA

LSA 类型 5:外部 LSA

  • These are advertised by the ASBR only and also owned by the ASBR
    这些仅由 ASBR 公布,也归 ASBR 所有
  • These LSAs are used to advertise networks from other Autonomous systems
    这些 LSA 用于通告来自其他自治系统的网络
  • These LSAs are flooded throughout the entire Autonomous System
    这些 LSA 在整个自治系统中泛洪
  • The advertising router ID is not changed throughout the AS when it is propagating.
    广告路由器 ID 在传播时不会在整个 AS 中更改。
  • An LSA Type 4 is used to find an ASBR
    LSA 类型 4 用于查找 ASBR
  • Routes are not summarized by default
    默认情况下,不汇总路由
  • LSA 5 – O E1, O E2, External Link States, generated by ASBR and is propagated
    LSA 5 – O E1、O E2、外部链路状态,由 ASBR 生成并传播

OSPF LSA TYPE5

LSA Type 6: Multicast OSPF LSA

LSA 类型 6:组播 OSPF LSA

  • These are used when routing using multicast (the MODPF Routing protocol)
    这些在使用多播(MODPF 路由协议)进行路由时使用
  • These LSAs are not supported by Cisco Routers
    Cisco 路由器不支持这些 LSA

LSA Type 7: External LSA

LSA 类型 7:外部 LSA

  • As LSA Type 5 is not allowed in NSSA Areas, a solution to that was thought as LSA 7.
    由于 NSSA 区域不允许使用 LSA 类型 5,因此该解决方案被认为是 LSA 7。
  • It carries similar information as a Type 5 LSA but this is not blocked in the NSSA Area.
    它携带与 5 类 LSA 类似的信息,但这在 NSSA 区域中未被阻止。
  • When it reached the ABR it is translated back to Type 5 LSA and flooded into other areas.
    当它到达 ABR 时,它被转换回 5 型 LSA 并泛洪到其他区域。
  • LSA 7 – O N1, O N2, NSSA External Link States, generated by ASBR into NSSA area and is propagated into area 0 as E1 or E2
    LSA 7 – O N1、O N2、NSSA 外部链路状态,由 ASBR 生成到 NSSA 区域,并作为 E1 或 E2 传播到区域 0

OSPF LSA TYPE7

LSA Type 8: External attributes LSA for Border Gateway Protocol (BGP)

LSA 类型 8:边界网关协议 (BGP) 的外部属性 LSA

This LSA Types is used to work with BGP.
此 LSA 类型用于与 BGP 配合使用。

Note – Below list of LSA9, 10 and 11 are called Opaque LSAs. Further detail on these LSA types is shared below –
注意 – 以下 LSA9、10 和 11 列表称为不透明 LSA。有关这些 LSA 类型的更多详细信息,请参见下文 –

LSA Type 9: Opaque LSA

LSA 类型 9:不透明 LSA

This LSA types is Link-state in scope and is not flooded beyond the local network.
此 LSA 类型在范围内是链路状态,不会泛洪到本地网络之外。

LSA Type 10: Opaque LSA

LSA 类型 10:不透明 LSA

The scope of this type of LSA is area-local. This LSA is not flooded beyond the borders of their associated area.
此类 LSA 的范围是区域本地的。此 LSA 不会在其关联区域的边界之外泛洪。

LSA Type 11: Opaque LSA

LSA 类型 11:不透明 LSA

This LSA is flooded throughout the Autonomous System (AS). Somewhat is can be related to Type-5 LSA is terms of flooding scope.
此 LSA 在整个自治系统 (AS) 中泛洪。在某种程度上可能与 5 型 LSA 有关,是泛洪范围的术语。

There are 3 key features of Type11 LSAs –
Type11 LSA 有 3 个关键功能 –

  • These are flooded throughout the transit areas
    这些在整个过境区域都被泛洪了
  • Not flooded into stub areas from the backbone
    未从主干泛洪到存根区域
  • Not originated by routers having connected stub areas
    不是由具有连接的存根区域的路由器发起的

via:

  • 15 OSPF BIT Types Explained - IP With Ease
    https://ipwithease.com/15-ospf-bit-types-explained/

  • Uptimate Guide on OSPF LSA Types
    https://ipwithease.com/ospf-lsa-types/

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2308137.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

【深度学习】强化学习(RL)-A3C(Asynchronous Advantage Actor-Critic)

A3C(Asynchronous Advantage Actor-Critic)详解 A3C(Asynchronous Advantage Actor-Critic) 是 深度强化学习(Deep Reinforcement Learning, DRL) 领域的重要算法,由 DeepMind 在 2016 年提出。…

在 Mac mini M2 上本地部署 DeepSeek-R1:14B:使用 Ollama 和 Chatbox 的完整指南

随着人工智能技术的飞速发展,本地部署大型语言模型(LLM)已成为许多技术爱好者的热门选择。本地部署不仅能够保护隐私,还能提供更灵活的使用体验。本文将详细介绍如何在 Mac mini M2(24GB 内存)上部署 DeepS…

docker-compose部署onlyoffice8.3.0并支持ssl,且支持通过nginx代理,关闭JWT配置

编写docker-compose文件 mkdir -p /data/onlyoffice && echo "version: 3services:onlyoffice:container_name: OnlyOfficeimage: onlyoffice/documentserver:8.3.0restart: alwaysports:- 8088:80- 64431:443environment:TZ: Asia/ShanghaiJWT_ENABLED: falsevol…

【tplink】校园网接路由器如何单独登录自己的账号,wan-lan和lan-lan区别

老式路由器TPLINK,接入校园网后一人登录,所有人都能通过连接此路由器上网,无法解决遂上网搜索,无果,幸而偶然看到一个帖子说要把信号源网线接入路由器lan口,开启新世界。 一、wan-lan,lan-lan区…

DeepSeek开源周Day5压轴登场:3FS与Smallpond,能否终结AI数据瓶颈之争?

2025年2月28日,DeepSeek开源周迎来了第五天,也是本次活动的收官之日。自2月24日启动以来,DeepSeek团队以每天一个开源项目的节奏,陆续向全球开发者展示了他们在人工智能基础设施领域的最新成果。今天,他们发布了Fire-F…

[密码学实战]Java实现SM2数字信封(结合SM4对称加密)生成与解析

一、代码运行结果 二、什么是数字信封 2.1 基本概念 数字信封(Digital Envelope) 是一种结合对称加密与非对称加密的混合加密技术,通过以下步骤实现高效安全的数据传输: 对称加密:使用SM4算法加密原始数据,处理速度快,适合大数据量。非对称加密:使用SM2公钥加密SM4密…

Oracle 查询表空间使用情况及收缩数据文件

本文介绍Oracle收缩数据文件的相关操作,运维工作中有时会需要通过收缩数据文件来释放磁盘空间。 数据文件初始化方式: 1.我们创建表空间一般有两种方式初始化其数据文件,即指定初始大小为32G(很大的值)或指定初始大小为…

Grafana接入Zabbix数据源

1. 对接 Zabbix 1.1 安装 Zabbix 插件 在线安装&#xff1a; 1.2 配置 Zabbix 数据源 点击 Configuration > Data Sources > Add data source。选择 Zabbix&#xff0c;填写&#xff1a; URL&#xff1a;http://<zabbix-server>/api_jsonrpc.phpUsername&#x…

华为在不同发展时期的战略选择(节选)

华为在不同发展时期的战略选择&#xff08;节选&#xff09; 添加图片注释&#xff0c;不超过 140 字&#xff08;可选&#xff09; 来源&#xff1a;谢宁专著《华为战略管理法&#xff1a;DSTE实战体系》。本文有节选修改。 导言 从目前所取得的成就往回看&#xff0c;华为…

lua基础语法学习

lua基础语法学习 文章目录 lua基础语法学习1. 基础2. 输入输出3. 分支结构与循环结构4. 函数5. 元表与元方法6. 面向对象 1. 基础 注释 --单行注释--[[ 多行注释 --]]标识符 标识符以一个字母 A 到 Z 或 a 到 z 或下划线 _ 开头后加上 0 个或多个字母&#xff0c;下划线&…

【个人开发】deepspeed+Llama-factory 本地数据多卡Lora微调【完整教程】

文章目录 1.背景2.微调方式2.1 关键环境版本信息2.2 步骤2.2.1 下载llama-factory2.2.2 准备数据集2.2.3 微调模式2.2.3.1 zero-1微调2.2.3.2 zero-2微调2.2.3.3 zero-3微调2.2.3.4 单卡Lora微调 2.2.4 实验2.2.4.1 实验1&#xff1a;多GPU微调-zero12.2.4.2 实验2&#xff1a;…

【SpringBoot】数据访问技术spring Data、 JDBC、MyBatis、JSR-303校验

Spring Boot 数据访问技术及特性 目录标题 Spring Boot 数据访问技术及特性摘要1. 引言2. Spring Data架构与原理2.1 Spring Data概述2.2 Spring Data核心组件2.3 Spring Boot与Spring Data的集成机制 3. Spring Boot与JDBC的整合3.1 JDBC整合流程3.2 数据源自动配置3.3 JdbcTe…

手机放兜里,支付宝“碰一下”被盗刷?

大家好&#xff0c;我是小悟。 近期&#xff0c;网络上关于“支付宝‘碰一下’支付易被盗刷”的传言甚嚣尘上&#xff0c;不少用户对此心生疑虑。 首先&#xff0c;要明确一点&#xff1a;“碰一下”支付并不会像某些传言中所描述的那样容易被隔空盗刷。这一观点已经得到了支付…

vue框架后遗症∶被遗忘的dom操作

用多了vue、react等前端框架&#xff0c;不得不说用数据驱动视图来开发真的很香&#xff0c;但是也免不了会有不用这些框架的项目&#xff0c;dom操作还是很有必要的&#xff0c;一开始学习网页设计的时候就教过&#xff0c;后面一直开发项目基本上用框架。虽然有些想不起来了&…

基于深度学习+NLP豆瓣电影数据爬虫可视化推荐系统

博主介绍&#xff1a;资深开发工程师&#xff0c;从事互联网行业多年&#xff0c;熟悉各种主流语言&#xff0c;精通java、python、php、爬虫、web开发&#xff0c;已经做了多年的设计程序开发&#xff0c;开发过上千套设计程序&#xff0c;没有什么华丽的语言&#xff0c;只有…

快速列出MS Word中所有可用字体

Word中有很多字体&#xff0c;虽然在字体下拉列表中提供了字体的样例&#xff0c;但是并不全面&#xff0c;例如使用Batang字体的话&#xff0c;数字会显示成什么效果&#xff0c;就无法直观的看到。 打开Word应用程序&#xff0c;新建一个空白文档&#xff0c;按AltF11打开VBE…

【密码学实战】Java 实现 SM2 国密算法(签名带id、验签及 C1C3C2 加密解密)

前言 SM2是中国国家密码管理局发布的椭圆曲线公钥密码算法标准&#xff08;GB/T 32918&#xff09;&#xff0c;属于国密算法体系。与RSA和ECDSA相比&#xff0c;SM2在相同安全强度下密钥更短、计算效率更高。本文将介绍如何在Java中实现SM2的密钥生成、数字签名、验签、加密及…

flex布局自定义一行几栏,靠左对齐===grid布局

模板 <div class"content"><div class"item">1222</div><div class"item">1222</div><div class"item">1222</div><div class"item">1222</div><div class"…

使用 Ansys Discovery 高效创建角焊缝

概括 Ansys Discovery 2024R1 中的焊缝功能是一项重大改进&#xff0c;旨在简化和精简工程模拟中焊缝的分配过程。此功能集成了间歇焊缝等高级工具和功能&#xff0c;以更直观、更高效的方式促进焊缝的准备和分配。 该功能为工程师提供了无缝的工作流程&#xff0c;以准备和分…

Rk3568驱动开发_新字符设备驱动原理_7

1.申请设备号&#xff1a; 之前用的是register_chrdev(LED_MAJOR, LED_NAME, &led_fops);手动申请很不方便 使用alloc_chrdev_region函数申请设备号&#xff0c;手动申请的话要先查询是否有空余的设备号&#xff0c;很不方便&#xff0c;用此函数内核会自动将将空余设备号…