3种方式构造HTTP请求详解(HTTP4)

发布时间:2023-05-08 19:30

构造HTTP请求方式

我们通过对HTTP请求协议报头格式的学习知道了,我们可以通过3种基本方式去构造HTTP请求!
而请求是在客户端构造的也就是属于前端的工作!
所以这3种构造请求的方式,大部分是通过前端代码来实现的,不过我们也可以通过java代码基于socket来实现!

基于HTML/JS实现构造!

  • 基于form表单
  • 基于ajax

基于java代码实现构造!

  • 基于socket

form表单

HTML中的form表单就可以构造HTTP请求!
我们通过下面代码进行学习!


 <form action="https://www.csdn.net/" method="get"> 
    <input type="text" name="name">                 
    <input type="password" name="password">         
    <input type="submit">             
    form>

3种方式构造HTTP请求详解(HTTP4)_第1张图片

表单标签- <form></form>
这个标签允许用户输入一些信息提交到服务器中!
其中里面可以存放用户交互的组件
描述了要把数据按照什么方式, 提交到哪个页面中.

所以我们通过form表单标签就可以编写一个http请求!


这里通过键值对的形式 key action保存的值是我们需要请求服务器的url
method保存我们通过那种方法进行请求
这里的方法只能是postget
我们知道post请求中要传输的数据保存在body
get方法请求要传输的数据保证在url中的querystring查询字符串中!
这里我们通过get方法进行构造,也就是说等下会通过querystring等方式给服务器传输数据!

inpt标签
我们知道form标签中的组件就可以用于客户端和服务器进行交互!
我们通过input标签!
type属性,这个属性的取值代表这个input具有不同含义!
type=text
这是一个普通文本框!
type=password
这是一个用于提交密码的文本框(输入内容不可见)
type=submit
提交表单按钮,我们最终要将我们构造的http请求提交到服务器上!

<input type="text" name="name">                
<input type="password" name="password">   

这里的name属性保存的就是querystring查询字符串中键值对中的key!

3种方式构造HTTP请求详解(HTTP4)_第2张图片
我们在输入框中输入的数据就对应了该name属性下的value值我们提交后就会在查询字符串中保存!

3种方式构造HTTP请求详解(HTTP4)_第3张图片

我们向服务器提交表单后,就构造了一个get方法的http请求!

我们发现我们已经跳转到了CSDN的网站上!
因为我们提交的服务器url就是C站的首页!

我们通过fiddler抓包,看我们构造的请求和服务器给我们返回的响应是怎样的!
请求

GET https://www.csdn.net/?name=bug%E9%83%AD&password=666666 HTTP/1.1
Host: www.csdn.net
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Cookie: uuid_tt_dd=10_30601611580-1653459529558-297725; log_Id_pv=846; Hm_lvt_6bcd52f51e9b3dce32bec4a3997715ac=1655356530,1655382747,1655518119,1655547417; Hm_up_6bcd52f51e9b3dce32bec4a3997715ac=%7B%22islogin%22%3A%7B%22value%22%3A%221%22%2C%22scope%22%3A1%7D%2C%22isonline%22%3A%7B%22value%22%3A%221%22%2C%22scope%22%3A1%7D%2C%22isvip%22%3A%7B%22value%22%3A%220%22%2C%22scope%22%3A1%7D%2C%22uid_%22%3A%7B%22value%22%3A%22weixin_52345071%22%2C%22scope%22%3A1%7D%7D; Hm_ct_6bcd52f51e9b3dce32bec4a3997715ac=6525*1*10_30601611580-1653459529558-297725!5744*1*weixin_52345071; log_Id_view=1489; __51uvsct__JQTDiOVZ2pRjGa1K=53; __51vcke__JQTDiOVZ2pRjGa1K=1e84abb9-62df-5ecc-828b-e3052ffe5150; __51vuft__JQTDiOVZ2pRjGa1K=1653459532473; log_Id_click=1057; __gads=ID=f159decf46255d5e-22bbe38364d300d7:T=1653459564:RT=1653459564:S=ALNI_Ma5D0b1QWC6YQ8t-on_R6zAurFD0g; __gpi=UID=000005b633162c48:T=1653459564:RT=1655010298:S=ALNI_Mbd0__O7WINiqjmFo0HJe78mx_xOA; ssxmod_itna=eqUxBDcDu0D=34Bake5DkF6diKbMk00fOexGXhIYDZDiqAPGhDC34UeDIYGCYRRrBe+C3jjBRoqH8m4WT4YKC4I0frQ4B3DEx0=PCjeKiinDCeDIDWeDiDGR7D=xGYDj0KGWD4qDOD3qGyS+=Di8t9DdvC7uQDmTNDGup6D7QDIw6g9frVAeDSW7UxKG=DjubD/4xWHeRWH=5DbgeuDeiDtqD9lw=Dbfd3x0pymkU7wGwIbt4US+NDxBtQExDf7kGC4t5D9h6IOfkD0wEY9xpxWiez8AYRgY5NBietW7ePBg+Ci0Dz4+Dd35DuxDG4ka75qiDD==; ssxmod_itna2=eqUxBDcDu0D=34Bake5DkF6diKbMk00f2DA=uxPtD/K3KDFODxDIg8qqFGFB+oQwiXsYI1EvQw7bKMRj1/+6eoNOKGbng2INO81fi6zL/uMizdaYIy8Dg0Z9bnV80FIZXBPsk1hIg=n=R0n=VW7Q5+IQ3RbsCx9C=gvG2m5bN/y=qFOwqKyQG8v4=B7AYSO+lPqpUC3bRn8IazEFbzT6GgctB3SfmO8GDUSh7RSf/OQhrPdAPk8fRzjITkCRxdKw+OHwVQYb/oIrCR+yC6KgAucT6oFi6ueM/6w10qzQbZHZ68tTRmVimrsWGL+aE/ri7Rh/FgIrLm2OQPhfmmDuuDqhW914PEnRcQnKuAEKeuzPnFpYxqg0ATFWQmwx82Ie+oD07cGPD7=DYF=eD===; UserName=weixin_52345071; UserInfo=26ede6cf39e94eab9c6265a032aa59fa; UserToken=26ede6cf39e94eab9c6265a032aa59fa; UserNick=bug+%E9%83%AD; AU=5FF; UN=weixin_52345071; BT=1653462761522; p_uid=U010000; c_dl_prid=1654675272560_674132; c_dl_rid=1655261165060_497667; c_dl_fref=https://so.csdn.net/so/search; c_dl_fpage=/download/weixin_41174502/12247848; c_dl_um=distribute.pc_relevant.none-task-blog-2%7Edefault%7Ebaidujs_utm_term%7Edefault-0-109910474-blog-119543816.pc_relevant_antiscanv2; management_ques=1653738813836; historyList-new=%5B%22pv%E4%BF%A1%E5%8F%B7%E9%87%8F%20%E4%BA%92%E6%96%A5%E5%92%8C%E5%90%8C%E6%AD%A5%22%5D; BS_coupon=20220618; csrfToken=e_t4KDVKgBezzgQgdwsnos36; c_pref=default; c_ref=default; c_first_ref=default; c_first_page=https%3A//www.csdn.net/%3Fname%3Dbug%25E9%2583%25AD%26password%3D6666666; c_segment=13; dc_tos=rdo8dm; Hm_lpvt_6bcd52f51e9b3dce32bec4a3997715ac=1655552363; dc_sid=6f420d07abdfa80dfbad71a91b5f6c41; __vtins__JQTDiOVZ2pRjGa1K=%7B%22sid%22%3A%20%22ded005ac-68ee-549d-989b-5d0fa7f4a0a1%22%2C%20%22vd%22%3A%201%2C%20%22stt%22%3A%200%2C%20%22dr%22%3A%200%2C%20%22expires%22%3A%201655554164935%2C%20%22ct%22%3A%201655552364935%7D; c_hasSub=true; c_utm_source=702048761; logo_advert_close=1; c_page_id=default; dc_session_id=10_1655552360673.249126; c_dsid=11_1655552362461.267119
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: cross-site
Sec-Fetch-User: ?1

可以看到这里的请求和我们预想构造的一样!
响应

HTTP/1.1 200 OK
Server: openresty
Date: Sat, 18 Jun 2022 11:44:14 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Keep-Alive: timeout=20
Vary: Accept-Encoding
X-Response-Time: 376
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-download-options: noopen
x-readtime: 376
Strict-Transport-Security: max-age=31536000
Content-Length: 520755

doctype html><html lang="zh" data-server-rendered="true"><head><title>CSDN - 专业开发者社区title> <meta name="keywords" content="CSDN博客,CSDN学院,CSDN论坛,CSDN直播"> <meta name="description" content="CSDN是全球知名中文IT技术交流平台,创建于1999年,包含原创博客、精品问答、职业培训、技术论坛、资源下载等产品服务,提供原创、优质、完整内容的专业IT技术开发社区."> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui"> <meta name="referrer" content="always">    
        <script src="https://g.csdnimg.cn/tingyun/tingyun.js">script>
          <link rel="shortcut icon" href="https://g.csdnimg.cn/static/logo/favicon32.ico" type="image/x-icon"> <link rel="canonical" href="https://www.csdn.net">  
          
       
          
       <script src="https://g.csdnimg.cn/??lib/jquery/1.12.4/jquery.min.js,user-tooltip/2.2/user-tooltip.js,lib/qrcode/1.0.0/qrcode.min.js">script> <script src='//g.csdnimg.cn/common/csdn-report/report.js' type='text/javascript'>script> 
         <script src="https://g.csdnimg.cn/user-ordercart/2.0.1/user-ordercart.js?ts=2.0.1">script>
        
          <script src="https://g.csdnimg.cn/common/csdn-login-box/csdn-login-box.js">script>
       
         <script src="https://g.csdnimg.cn/user-ordertip/3.0.2/user-ordertip.js?t=3.0.2">script>
           
      <script>
        window.TINGYUN && window.TINGYUN.init && window.TINGYUN.init(function (ty_rum) {
          ty_rum.server = {   "event_timeout": 60000,   "dr_threshold": 4000,   "opt_custom_param_rule": [],   "cross_page_delay": 3000,   "router_enable": true,   "fp_threshold": 2000,   "token": "568934913a6343de840a781ca5eaba4b",   "beacon": "wkbrs1.tingyun.com",   "trace_threshold": 7000,   "x_server_switch": true,   "ignore_err": false,   "id": "hWg-u0rE5b8",   "key": "Z1Tu5hoKbGw",   "fs_threshold": 4000 };
        });
      script>
        
         <script src="https://g.csdnimg.cn/common/csdn-toolbar/csdn-toolbar.js">script>
      <link rel="stylesheet" href="https://csdnimg.cn/release/cmsfe/public/css/common.ee34ee2e.css"><link rel="stylesheet" href="https://csdnimg.cn/release/cmsfe/public/css/tpl/www-index-new/index.9322d3e1.css">head> <body><div id="toolbarBox" style="min-height: 48px;">div> <div id="app"><div><div class="main"><div class="page-container page-component"><div><div class="home_wrap"><div class="content_wrap"><div id="floor-nav_557" floor-index="0"><div comp-data="[object Object]" floor-data="[object Object]" class="blog-nav-tag" data-v-f8e9e086><div class="blog-nav " data-v-f8e9e086><img src="https://img-home.csdnimg.cn/images/20220107105619.png" alt class="blog-nav-down " data-v-f8e9e086> <div class="blog-nav-box" data-v-f8e9e086><ul class="def" data-v-f8e9e086>    <li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/back-end" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"back-end"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"back-end"}" data-v-f8e9e086>后端a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/web" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"web"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"web"}" data-v-f8e9e086>前端a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/mobile" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"mobile"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"mobile"}" data-v-f8e9e086>移动开发a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/lang" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"lang"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"lang"}" data-v-f8e9e086>编程语言a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/java" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"java"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"java"}" data-v-f8e9e086>Javaa>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/python" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"python"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"python"}" data-v-f8e9e086>Pythona>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/ai" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"ai"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"ai"}" data-v-f8e9e086>人工智能a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/big-data" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"big-data"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"big-data"}" data-v-f8e9e086>大数据a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/algo" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"algo"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"algo"}" data-v-f8e9e086>数据结构与算法a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/avi" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"avi"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"avi"}" data-v-f8e9e086>音视频a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/cloud-native" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"cloud-native"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"cloud-native"}" data-v-f8e9e086>云原生a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/cloud" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"cloud"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"cloud"}" data-v-f8e9e086>云平台a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/ops" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"ops"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"ops"}" data-v-f8e9e086>运维a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/server" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"server"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"server"}" data-v-f8e9e086>服务器a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/os" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"os"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"os"}" data-v-f8e9e086>操作系统a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/db-management" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"db-management"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"db-management"}" data-v-f8e9e086>数据库管理a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/ios" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"ios"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"ios"}" data-v-f8e9e086>iOSa>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/android" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"android"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"android"}" data-v-f8e9e086>Androida>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/miniprog" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"miniprog"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"miniprog"}" data-v-f8e9e086>小程序a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/hardware" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"hardware"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"hardware"}" data-v-f8e9e086>硬件开发a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/embedded" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"embedded"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"embedded"}" data-v-f8e9e086>嵌入式a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/microsoft" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"microsoft"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"microsoft"}" data-v-f8e9e086>微软技术a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/software-engineering" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"software-engineering"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"software-engineering"}" data-v-f8e9e086>软件工程a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/test" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"test"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"test"}" data-v-f8e9e086>测试a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/sec" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"sec"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"sec"}" data-v-f8e9e086>安全a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/internet" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"internet"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"internet"}" data-v-f8e9e086>网络a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/product-ops" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"product-ops"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"product-ops"}" data-v-f8e9e086>产品/运营a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/design" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"design"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"design"}" data-v-f8e9e086>设计a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/job" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"job"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"job"}" data-v-f8e9e086>职场和发展a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/search" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"search"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"search"}" data-v-f8e9e086>搜索a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/devtools" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"devtools"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"devtools"}" data-v-f8e9e086>开发工具a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/php" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"php"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"php"}" data-v-f8e9e086>PHPa>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/game" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"game"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"game"}" data-v-f8e9e086>游戏a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/open" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"open"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"open"}" data-v-f8e9e086>开放平台a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/harmonyos" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"harmonyos"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"harmonyos"}" data-v-f8e9e086>HarmonyOSa>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/blockchain" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"blockchain"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"blockchain"}" data-v-f8e9e086>区块链a>li><li class="navigation-right " data-v-f8e9e086><a href="https://blog.csdn.net/nav/math" data-report-click="{"spm":"1001.2100.3001.7366","extend1":"math"}" data-report-view="{"spm":"1001.2100.3001.7366","extend1":"math"}" data-v-f8e9e086>数学a>li> <li class="blog-nav-up" data-v-f8e9e086><img src="https://img-home.csdnimg.cn/images/20220107105622.png" alt data-v-f8e9e086>li>ul>div>div> div>div><div id="floor-www-index_558" floor-index="1"><div comp-data="[object Object]" pageType="www" class="www-home-top"><div class="wart">div> <div class="www-home-content"><div id="kp_box_ww9877">div>div> <div class="www-home-content active"><div floorData="[object Object]" class="headlines"><div class="headlines-left" data-v-e8da5228><div class="top-title" data-v-e8da5228><img src="https://img-home.csdnimg.cn/images/20220107104621.png" alt data-v-e8da5228> <h3 data-v-e8da5228>头条h3>div> <dl data-v-e8da5228><dt data-v-e8da5228><a target="_blank" data-report-query="spm=1000.2115.3001.5926" data-report-click="{"spm":"1000.2115.3001.5926","dest":"https://blog.csdn.net/programmer_editor/article/details/125311214","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-headimg\",\"compDataId\":\"Headimg\",\"fTitle\":\"\",\"pageId\":141}"}" data-report-view="{"spm":"1000.2115.3001.5926","dest":"https://blog.csdn.net/programmer_editor/article/details/125311214","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-headimg\",\"compDataId\":\"Headimg\",\"fTitle\":\"\",\"pageId\":141}"}" href="https://blog.csdn.net/programmer_editor/article/details/125311214" data-v-e8da5228><img src="https://img-home.csdnimg.cn/images/20220616110341.jpg" alt data-v-e8da5228>a>dt> <dd class="desc" data-v-e8da5228><a data-report-query="spm=1000.2115.3001.5926" data-report-click="{"spm":"1000.2115.3001.5926","dest":"https://blog.csdn.net/programmer_editor/article/details/125311214","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-headimg\",\"compDataId\":\"Headimg\",\"fTitle\":\"\",\"pageId\":141}"}" data-report-view="{"spm":"1000.2115.3001.5926","dest":"https://blog.csdn.net/programmer_editor/article/details/125311214","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-headimg\",\"compDataId\":\"Headimg\",\"fTitle\":\"\",\"pageId\":141}"}" target="_blank" href="https://blog.csdn.net/programmer_editor/article/details/125311214" data-v-e8da5228>90 后 CTO 如何成为国内首位女性 Apache Member?a>dd> <dd class="desc-text-a" data-v-e8da5228><a data-report-query="spm=1000.2115.3001.5926" data-report-click="{"spm":"1000.2115.3001.5926","dest":"https://blog.csdn.net/programmer_editor/article/details/125311214","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-headimg\",\"compDataId\":\"Headimg\",\"fTitle\":\"\",\"pageId\":141}"}" target="_blank" href="https://blog.csdn.net/programmer_editor/article/details/125311214" data-v-e8da5228>从DBA,到内核开发者;从一线研发人员,到开源商业公司 CTO。a>dd> dl>div> <div class="headlines-right"><div class="headswiper" data-v-0045335f><div class="headswiper-top" data-v-0045335f><div class="top-title" data-v-0045335f> <h3 data-v-0045335f>h3>div> <p data-v-0045335f><img src="https://img-home.csdnimg.cn/images/20220107104919.png" alt data-v-0045335f>  <img src="https://img-home.csdnimg.cn/images/20220107104954.png" alt data-v-0045335f> p>div> <div class="headswiper-content" data-v-0045335f><div data-v-0045335f><div class="headswiper-item" data-v-0045335f><a data-report-query="spm=1000.2115.3001.5927" data-report-click="{"spm":"1000.2115.3001.5927","dest":"https://blog.csdn.net/ucanuup_/article/details/125328242","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-swiper\",\"compDataId\":\"www-headhot\",\"fTitle\":\"\",\"pageId\":141}"}" data-report-view="{"spm":"1000.2115.3001.5927","dest":"https://blog.csdn.net/ucanuup_/article/details/125328242","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-swiper\",\"compDataId\":\"www-headhot\",\"fTitle\":\"\",\"pageId\":141}"}" target="_blank" href="https://blog.csdn.net/ucanuup_/article/details/125328242" class="title" data-v-0045335f>Apache Doris成为Apache顶级项目a> <a target="_blank" href="https://blog.csdn.net/ucanuup_/article/details/125328242" data-v-0045335f><p class="name" data-v-0045335f>历时4年p>a>div><div class="headswiper-item" data-v-0045335f><a data-report-query="spm=1000.2115.3001.5927" data-report-click="{"spm":"1000.2115.3001.5927","dest":"https://csdnnews.blog.csdn.net/article/details/125326095?spm=1001.2014.3001.5502","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-swiper\",\"compDataId\":\"www-headhot\",\"fTitle\":\"\",\"pageId\":141}"}" data-report-view="{"spm":"1000.2115.3001.5927","dest":"https://csdnnews.blog.csdn.net/article/details/125326095?spm=1001.2014.3001.5502","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-swiper\",\"compDataId\":\"www-headhot\",\"fTitle\":\"\",\"pageId\":141}"}" target="_blank" href="https://csdnnews.blog.csdn.net/article/details/125326095?spm=1001.2014.3001.5502" class="title" data-v-0045335f>坐拥755万开发者的中国开源,进度几何?a> <a target="_blank" href="https://csdnnews.blog.csdn.net/article/details/125326095?spm=1001.2014.3001.5502" data-v-0045335f><p class="name" data-v-0045335f>最大的阻力是什么p>a>div><div class="headswiper-item" data-v-0045335f><a data-report-query="spm=1000.2115.3001.5927" data-report-click="{"spm":"1000.2115.3001.5927","dest":"https://blog.csdn.net/csdnnews/article/details/125325839","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-swiper\",\"compDataId\":\"www-headhot\",\"fTitle\":\"\",\"pageId\":141}"}" data-report-view="{"spm":"1000.2115.3001.5927","dest":"https://blog.csdn.net/csdnnews/article/details/125325839","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-swiper\",\"compDataId\":\"www-headhot\",\"fTitle\":\"\",\"pageId\":141}"}" target="_blank" href="https://blog.csdn.net/csdnnews/article/details/125325839" class="title" data-v-0045335f>MIT曝光 M1 不可修复的漏洞a> <a target="_blank" href="https://blog.csdn.net/csdnnews/article/details/125325839" data-v-0045335f><p class="name" data-v-0045335f>网友:时间挺巧,是时候换 M2 了!p>a>div><div class="headswiper-item" data-v-0045335f><a data-report-query="spm=1000.2115.3001.5927" data-report-click="{"spm":"1000.2115.3001.5927","dest":"https://blog.csdn.net/csdnnews/article/details/125320871","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-swiper\",\"compDataId\":\"www-headhot\",\"fTitle\":\"\",\"pageId\":141}"}" data-report-view="{"spm":"1000.2115.3001.5927","dest":"https://blog.csdn.net/csdnnews/article/details/125320871","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-swiper\",\"compDataId\":\"www-headhot\",\"fTitle\":\"\",\"pageId\":141}"}" target="_blank" href="https://blog.csdn.net/csdnnews/article/details/125320871" class="title" data-v-0045335f>苹果设计团队成员纷纷离职a> <a target="_blank" href="https://blog.csdn.net/csdnnews/article/details/125320871" data-v-0045335f><p class="name" data-v-0045335f>因危险发言,到手的股权飞了p>a>div><div class="headswiper-item" data-v-0045335f><a data-report-query="spm=1000.2115.3001.5927" data-report-click="{"spm":"1000.2115.3001.5927","dest":"https://blog.csdn.net/csdnopensource/article/details/125320885?spm=1001.2014.3001.5502","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-swiper\",\"compDataId\":\"www-headhot\",\"fTitle\":\"\",\"pageId\":141}"}" data-report-view="{"spm":"1000.2115.3001.5927","dest":"https://blog.csdn.net/csdnopensource/article/details/125320885?spm=1001.2014.3001.5502","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-swiper\",\"compDataId\":\"www-headhot\",\"fTitle\":\"\",\"pageId\":141}"}" target="_blank" href="https://blog.csdn.net/csdnopensource/article/details/125320885?spm=1001.2014.3001.5502" class="title" data-v-0045335f>微软将闭源VS Code中的C#扩展a> <a target="_blank" href="https://blog.csdn.net/csdnopensource/article/details/125320885?spm=1001.2014.3001.5502" data-v-0045335f><p class="name" data-v-0045335f>惹开发者怒怼p>a>div>div>div><div class="headswiper-content" data-v-0045335f>div><div class="headswiper-content" data-v-0045335f>div><div class="headswiper-content" data-v-0045335f>div><div class="headswiper-content" data-v-0045335f>div>div> <div class="headswiper" data-v-0045335f><div class="headswiper-top" data-v-0045335f><div class="top-title" data-v-0045335f><img src="https://img-home.csdnimg.cn/images/20220107104836.png" alt data-v-0045335f> <h3 data-v-0045335f>热点h3>div> <p data-v-0045335f><img src="https://img-home.csdnimg.cn/images/20220107104919.png" alt data-v-0045335f>  <img src="https://img-home.csdnimg.cn/images/20220107104954.png" alt data-v-0045335f> p>div> <div class="headswiper-content" data-v-0045335f><div data-v-0045335f><div class="headswiper-item" data-v-0045335f><a data-report-query="spm=1000.2115.3001.5928" data-report-click="{"spm":"1000.2115.3001.5928","dest":"https://blog.csdn.net/Byeweiyang/article/details/125346440","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-swiper\",\"compDataId\":\"www-Headlines\",\"fTitle\":\"\",\"pageId\":141}"}" data-report-view="{"spm":"1000.2115.3001.5928","dest":"https://blog.csdn.net/Byeweiyang/article/details/125346440","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-swiper\",\"compDataId\":\"www-Headlines\",\"fTitle\":\"\",\"pageId\":141}"}" target="_blank" href="https://blog.csdn.net/Byeweiyang/article/details/125346440" class="title" data-v-0045335f>历史上的今天:京东诞生a> <a target="_blank" href="https://blog.csdn.net/Byeweiyang/article/details/125346440" data-v-0045335f><p class="name" data-v-0045335f>Facebook发布Libra白皮书p>a>div><div class="headswiper-item" data-v-0045335f><a data-report-query="spm=1000.2115.3001.5928" data-report-click="{"spm":"1000.2115.3001.5928","dest":"https://blog.csdn.net/csdnsevenn/article/details/125326495","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-swiper\",\"compDataId\":\"www-Headlines\",\"fTitle\":\"\",\"pageId\":141}"}" data-report-view="{"spm":"1000.2115.3001.5928","dest":"https://blog.csdn.net/csdnsevenn/article/details/125326495","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-swiper\",\"compDataId\":\"www-Headlines\",\"fTitle\":\"\",\"pageId\":141}"}" target="_blank" href="https://blog.csdn.net/csdnsevenn/article/details/125326495" class="title" data-v-0045335f>网传一公司成立“专管00后部门”a> <a target="_blank" href="https://blog.csdn.net/csdnsevenn/article/details/125326495" data-v-0045335f><p class="name" data-v-0045335f>00后整顿职场反被整顿p>a>div><div class="headswiper-item" data-v-0045335f><a data-report-query="spm=1000.2115.3001.5928" data-report-click="{"spm":"1000.2115.3001.5928","dest":"https://blog.csdn.net/csdngeeknews/article/details/125327652?spm=1001.2014.3001.5502","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-swiper\",\"compDataId\":\"www-Headlines\",\"fTitle\":\"\",\"pageId\":141}"}" data-report-view="{"spm":"1000.2115.3001.5928","dest":"https://blog.csdn.net/csdngeeknews/article/details/125327652?spm=1001.2014.3001.5502","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-swiper\",\"compDataId\":\"www-Headlines\",\"fTitle\":\"\",\"pageId\":141}"}" target="_blank" href="https://blog.csdn.net/csdngeeknews/article/details/125327652?spm=1001.2014.3001.5502" class="title" data-v-0045335f>京东考虑进入外卖行业a> <a target="_blank" href="https://blog.csdn.net/csdngeeknews/article/details/125327652?spm=1001.2014.3001.5502" data-v-0045335f><p class="name" data-v-0045335f>特斯拉加速裁员|极客头条p>a>div><div class="headswiper-item" data-v-0045335f><a data-report-query="spm=1000.2115.3001.5928" data-report-click="{"spm":"1000.2115.3001.5928","dest":"https://bbs.csdn.net/topics/607041278?utm_source=454650209","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-swiper\",\"compDataId\":\"www-Headlines\",\"fTitle\":\"\",\"pageId\":141}"}" data-report-view="{"spm":"1000.2115.3001.5928","dest":"https://bbs.csdn.net/topics/607041278?utm_source=454650209","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-swiper\",\"compDataId\":\"www-Headlines\",\"fTitle\":\"\",\"pageId\":141}"}" target="_blank" href="https://bbs.csdn.net/topics/607041278?utm_source=454650209" class="title" data-v-0045335f>Ethereum中文社区征文活动a> <a target="_blank" href="https://bbs.csdn.net/topics/607041278?utm_source=454650209" data-v-0045335f><p class="name" data-v-0045335f>稿酬、证书、周边礼包等你来拿p>a>div><div class="headswiper-item" data-v-0045335f><a data-report-query="spm=1000.2115.3001.5928" data-report-click="{"spm":"1000.2115.3001.5928","dest":"https://blog.csdn.net/csdnsevenn/article/details/125308744","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-swiper\",\"compDataId\":\"www-Headlines\",\"fTitle\":\"\",\"pageId\":141}"}" data-report-view="{"spm":"1000.2115.3001.5928","dest":"https://blog.csdn.net/csdnsevenn/article/details/125308744","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-swiper\",\"compDataId\":\"www-Headlines\",\"fTitle\":\"\",\"pageId\":141}"}" target="_blank" href="https://blog.csdn.net/csdnsevenn/article/details/125308744" class="title" data-v-0045335f>让程序员崩溃的微信群消息置顶a> <a target="_blank" href="https://blog.csdn.net/csdnsevenn/article/details/125308744" data-v-0045335f><p class="name" data-v-0045335f>被吐槽上热搜p>a>div>div>div><div class="headswiper-content" data-v-0045335f>div><div class="headswiper-content" data-v-0045335f>div><div class="headswiper-content" data-v-0045335f>div><div class="headswiper-content" data-v-0045335f>div>div>div>div> <div class="www-home-Broadcast"><div class="broadcast" data-v-6ebf2afa><div class="title" data-v-6ebf2afa><div class="top-title" data-v-6ebf2afa><img src="https://img-home.csdnimg.cn/images/20220107105446.png" alt data-v-6ebf2afa> <h3 data-v-6ebf2afa>直播h3>div> <a target="_blank" href="https://live.csdn.net/?spm=1000.2115.3001.4124" data-v-6ebf2afa>更多<i class="el-icon-arrow-right" data-v-6ebf2afa>i>a>div> <div class="content" data-v-6ebf2afa><div class="www_live_item active" data-v-34c9c026 data-v-6ebf2afa><a href="https://live.csdn.net/room/homeofkernel/Chbe47Ff" data-report-query="utm_medium=distribute.pc_feed_video_elite.none-task-liveroom-csdn#pc_feed_video_elite#liveroom-1-Chbe47Ff-null-null.nonecase&depth_1-utm_source=distribute.pc_feed_video_elite.none-task-liveroom-csdn#pc_feed_video_elite#liveroom-1-Chbe47Ff-null-null.nonecase&spm=1000.2115.3001.5950" data-report-click="{"spm":"1000.2115.3001.5950","dest":"https://live.csdn.net/room/homeofkernel/Chbe47Ff","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-home-silde\",\"compDataId\":\"index_live_video_elite_list\",\"fTitle\":\"\",\"pageId\":141,\"utm_medium\":\"distribute.pc_feed_video_elite.none-task-liveroom-csdn#pc_feed_video_elite#liveroom-1-Chbe47Ff-null-null.nonecase\",\"dist_request_id\":\"1655552654440_32677\"}"}" data-report-view="{"spm":"1000.2115.3001.5950","dest":"https://live.csdn.net/room/homeofkernel/Chbe47Ff","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-home-silde\",\"compDataId\":\"index_live_video_elite_list\",\"fTitle\":\"\",\"pageId\":141,\"utm_medium\":\"distribute.pc_feed_video_elite.none-task-liveroom-csdn#pc_feed_video_elite#liveroom-1-Chbe47Ff-null-null.nonecase\",\"dist_request_id\":\"1655552654440_32677\"}"}" data-v-34c9c026><div class="www_live_item_top" data-v-34c9c026><div class="img" style="background-image:url(https://live-file.csdnimg.cn/release/live/file/1655392155583.png?x-oss-process=image/resize,l_800);" data-v-34c9c026>div> <img src="https://csdnimg.cn/release/cmsfe/public/img/nowlive.480a0975.gif" alt class="live-type" data-v-34c9c026>   <span class="live-text" data-v-34c9c026>正在直播span> <div class="back" data-v-34c9c026>div>  <div class="hover_mask" data-v-34c9c026><img src="https://csdnimg.cn/release/cmsfe/public/img/play.9956ea53.png" alt data-v-34c9c026>div>div> <div class="content-text" data-v-34c9c026><h3 data-v-34c9c026>
         eBPF 工作原理浅析
      h3>  <span class="text" data-v-34c9c026>228 热度span>div>a>div><div class="www_live_item active" data-v-34c9c026 data-v-6ebf2afa><a href="https://live.csdn.net/room/hzbooks/KdnWX3bU" data-report-query="utm_medium=distribute.pc_feed_video_elite.none-task-liveroom-csdn#pc_feed_video_elite#liveroom-2-KdnWX3bU-null-null.nonecase&depth_1-utm_source=distribute.pc_feed_video_elite.none-task-liveroom-csdn#pc_feed_video_elite#liveroom-2-KdnWX3bU-null-null.nonecase&spm=1000.2115.3001.5950" data-report-click="{"spm":"1000.2115.3001.5950","dest":"https://live.csdn.net/room/hzbooks/KdnWX3bU","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-home-silde\",\"compDataId\":\"index_live_video_elite_list\",\"fTitle\":\"\",\"pageId\":141,\"utm_medium\":\"distribute.pc_feed_video_elite.none-task-liveroom-csdn#pc_feed_video_elite#liveroom-2-KdnWX3bU-null-null.nonecase\",\"dist_request_id\":\"1655552654440_32677\"}"}" data-report-view="{"spm":"1000.2115.3001.5950","dest":"https://live.csdn.net/room/hzbooks/KdnWX3bU","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-home-silde\",\"compDataId\":\"index_live_video_elite_list\",\"fTitle\":\"\",\"pageId\":141,\"utm_medium\":\"distribute.pc_feed_video_elite.none-task-liveroom-csdn#pc_feed_video_elite#liveroom-2-KdnWX3bU-null-null.nonecase\",\"dist_request_id\":\"1655552654440_32677\"}"}" data-v-34c9c026><div class="www_live_item_top" data-v-34c9c026><div class="img" style="background-image:url(https://live-file.csdnimg.cn/release/live/file/1654685869603.png?x-oss-process=image/resize,l_800);" data-v-34c9c026>div> <img src="https://csdnimg.cn/release/cmsfe/public/img/nowlive.480a0975.gif" alt class="live-type" data-v-34c9c026>   <span class="live-text" data-v-34c9c026>正在直播span> <div class="back" data-v-34c9c026>div>  <div class="hover_mask" data-v-34c9c026><img src="https://csdnimg.cn/release/cmsfe/public/img/play.9956ea53.png" alt data-v-34c9c026>div>div> <div class="content-text" data-v-34c9c026><h3 data-v-34c9c026>
        Java核心技术大会2022——Java工程师个人成长与职场修炼
      h3>  <span class="text" data-v-34c9c026>630 热度span>div>a>div><div class="www_live_item active" data-v-34c9c026 data-v-6ebf2afa><a href="https://live.csdn.net/room/MicrosoftReactor/IfKAano1" data-report-query="utm_medium=distribute.pc_feed_video_elite.none-task-subscribe-liveroom-csdn#pc_feed_video_elite#subscribe-liveroom-3-IfKAano1-null-null.nonecase&depth_1-utm_source=distribute.pc_feed_video_elite.none-task-subscribe-liveroom-csdn#pc_feed_video_elite#subscribe-liveroom-3-IfKAano1-null-null.nonecase&spm=1000.2115.3001.5950" data-report-click="{"spm":"1000.2115.3001.5950","dest":"https://live.csdn.net/room/MicrosoftReactor/IfKAano1","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-home-silde\",\"compDataId\":\"index_live_video_elite_list\",\"fTitle\":\"\",\"pageId\":141,\"utm_medium\":\"distribute.pc_feed_video_elite.none-task-subscribe-liveroom-csdn#pc_feed_video_elite#subscribe-liveroom-3-IfKAano1-null-null.nonecase\",\"dist_request_id\":\"1655552654440_32677\"}"}" data-report-view="{"spm":"1000.2115.3001.5950","dest":"https://live.csdn.net/room/MicrosoftReactor/IfKAano1","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-home-silde\",\"compDataId\":\"index_live_video_elite_list\",\"fTitle\":\"\",\"pageId\":141,\"utm_medium\":\"distribute.pc_feed_video_elite.none-task-subscribe-liveroom-csdn#pc_feed_video_elite#subscribe-liveroom-3-IfKAano1-null-null.nonecase\",\"dist_request_id\":\"1655552654440_32677\"}"}" data-v-34c9c026><div class="www_live_item_top" data-v-34c9c026><div class="img" style="background-image:url(https://live-file.csdnimg.cn/release/live/file/1653380283401.png?x-oss-process=image/resize,l_800);" data-v-34c9c026>div>  <img src="https://csdnimg.cn/release/cmsfe/public/img/livemake.ed2b6426.png" alt class="live-type" data-v-34c9c026> <span class="live-text" data-v-34c9c026>直播预约span>  <div class="back" data-v-34c9c026>div>  <div class="hover_mask" data-v-34c9c026><img src="https://csdnimg.cn/release/cmsfe/public/img/play.9956ea53.png" alt data-v-34c9c026>div>div> <div class="content-text" data-v-34c9c026><h3 data-v-34c9c026>
        Build Skills | 使用Power BI 创建和分析报表
      h3> <span class="text" data-v-34c9c026>06/22 19:30span> div>a>div><div class="www_live_item active" data-v-34c9c026 data-v-6ebf2afa><a href="https://live.csdn.net/room/MicrosoftReactor/HjnfRbQ6" data-report-query="utm_medium=distribute.pc_feed_video_elite.none-task-subscribe-liveroom-csdn#pc_feed_video_elite#subscribe-liveroom-4-HjnfRbQ6-null-null.nonecase&depth_1-utm_source=distribute.pc_feed_video_elite.none-task-subscribe-liveroom-csdn#pc_feed_video_elite#subscribe-liveroom-4-HjnfRbQ6-null-null.nonecase&spm=1000.2115.3001.5950" data-report-click="{"spm":"1000.2115.3001.5950","dest":"https://live.csdn.net/room/MicrosoftReactor/HjnfRbQ6","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-home-silde\",\"compDataId\":\"index_live_video_elite_list\",\"fTitle\":\"\",\"pageId\":141,\"utm_medium\":\"distribute.pc_feed_video_elite.none-task-subscribe-liveroom-csdn#pc_feed_video_elite#subscribe-liveroom-4-HjnfRbQ6-null-null.nonecase\",\"dist_request_id\":\"1655552654440_32677\"}"}" data-report-view="{"spm":"1000.2115.3001.5950","dest":"https://live.csdn.net/room/MicrosoftReactor/HjnfRbQ6","extra":"{\"fId\":558,\"fName\":\"floor-www-index\",\"compName\":\"www-home-silde\",\"compDataId\":\"index_live_video_elite_list\",\"fTitle\":\"\",\"pageId\":141,\"utm_medium\":\"distribute.pc_feed_video_elite.none-task-subscribe-liveroom-csdn#pc_feed_video_elite#subscribe-liveroom-4-HjnfRbQ6-null-null.nonecase\",\"dist_request_id\":\"1655552654440_32677\"}"}" data-v-34c9c026><div class="www_live_item_top" data-v-34c9c026><div class="img" style="background-image:url(https://live-file.csdnimg.cn/release/live/file/1653470595908.png?x-oss-process=image/resize,l_800);" data-v-34c9c026>div>  <img src="https://csdnimg.cn/release/cmsfe/public/img/livemake.ed2b6426.png" alt class="live-type" data-v-34c9c026> <span class="live-text" data-v-34c9c026>直播预约span>  <div class="back" data-v-34c9c026>div>  <div class="hover_mask" data-v-34c9c026><img src="https://csdnimg.cn/release/cmsfe/public/img/play.9956ea53.png" alt data-v-34c9c026>div>div> <div class="content-text" data-v-34c9c026><h3 data-v-34c9c026>
        CA 训练营|.NET 下的人工智能 
      h3> <span class="text" data-v-34c9c026>06/23 19:30span> div>a>div>div>div>div> div> <div class="www-home"><div><div class="www-home-left"><div class="www-content"><ul class="www-content_top"><li style="outline:none"><span><div role="tooltip" id="el-popover-2371" aria-hidden="true" class="el-popover el-popper www-content-top-tooltip el-popover--plain" style="width:undefinedpx;display:none;">您的关注div><span class="el-popover__reference-wrapper"><p style="outline:none;">关注p>span>span> li><li class="active" style="outline:none"><span><div role="tooltip" id="el-popover-5313" aria-hidden="true" class="el-popover el-popper www-content-top-tooltip el-popover--plain" style="width:undefinedpx;display:none;">为您独家定制div><span class="el-popover__reference-wrapper"><p style="outline:none;">推荐p>span>span> li><li style="outline:none"><span><div role="tooltip" id="el-popover-4124" aria-hidden="true" class="el-popover el-popper www-content-top-tooltip el-popover--plain" style="width:undefinedpx;display:none;">前沿 IT 资讯div><span class="el-popover__reference-wrapper"><p style="outline:none;">资讯p>span>span> li><li style="outline:none"><span><div role="tooltip" id="el-popover-3614" aria-hidden="true" class="el-popover el-popper www-content-top-tooltip el-popover--plain" style="width:undefinedpx;display:none;">全站热门内容div><span class="el-popover__reference-wrapper"><p style="outline:none;">热榜p>span>span> li><li style="outline:none"><span><div role="tooltip" id="el-popover-3988" aria-hidden="true" class="el-popover el-popper www-content-top-tooltip el-popover--plain" style="width:undefinedpx;display:none;">专家为您甄选div><span class="el-popover__reference-wrapper"><p style="outline:none;">专家推荐p>span>span> li> <li class="move"><a target="_blank" data-report-click="{"spm":"1000.2115.3001.5942"}" href="https://blog.csdn.net/rank/list">更多<i class="el-icon-arrow-right">i>a>li>ul> <div class="Community"><div class="active "><div class="Community-item-active blog">  <a target="_blank" href="https://blog.csdn.net/qq_62294245/article/details/125288502" data-report-query="spm=1000.2115.3001.6382&utm_medium=distribute.pc_feed_v2.none-task-blog-user_follow-1-125288502-null-null.pc_personrec&depth_1-utm_source=distribute.pc_feed_v2.none-task-blog-user_follow-1-125288502-null-null.pc_personrec" data-report-click="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-blog-user_follow-1-125288502-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"1","style":"PIC_V2_21","strategy":"user_follow","dest":"https://blog.csdn.net/qq_62294245/article/details/125288502","spm":"1000.2115.3001.6382"}" class="Community-h-tag"><span class="blog-title" style="text-decoration: none !important">原力计划span><span class="blog-text">【CSDN云VS腾讯云】要不然怎么说CSDN开发云是打工人和学生党的福音呢?span>a> <div class="Community-item blog"><div class="content"><a target="_blank" href="https://blog.csdn.net/qq_62294245/article/details/125288502" data-report-query="spm=1000.2115.3001.6382&utm_medium=distribute.pc_feed_v2.none-task-blog-user_follow-1-125288502-null-null.pc_personrec&depth_1-utm_source=distribute.pc_feed_v2.none-task-blog-user_follow-1-125288502-null-null.pc_personrec" data-report-click="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-blog-user_follow-1-125288502-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"1","style":"PIC_V2_21","strategy":"user_follow","dest":"https://blog.csdn.net/qq_62294245/article/details/125288502","spm":"1000.2115.3001.6382"}" data-report-view="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-blog-user_follow-1-125288502-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"1","style":"PIC_V2_21","strategy":"user_follow","dest":"https://blog.csdn.net/qq_62294245/article/details/125288502","spm":"1000.2115.3001.6382"}" class="blog"><p class="desc">CSDN开发云平台提供更丰富的开源项目及其文档让你快速上手更好、更实用、更优秀的解决方案,依托丰富的基础云服务,助力中小企业、个人开发者和学生群体一键上云p>a> <div class="operation"><div><div class="operation-b"><p class="operation-b-img operation-b-img-active"><img src="https://img-home.csdnimg.cn/images/20220117023128.png" alt> <img src="https://img-home.csdnimg.cn/images/20220117023149.png" alt class="img-hover"> <span class="num">63赞span>p> <p class="operation-b-img operation-b-img-active"><img src="https://img-home.csdnimg.cn/images/20220117023256.png" alt> <img src="https://img-home.csdnimg.cn/images/20220117023314.png" alt class="img-hover"> <span class="num">span>p>div>div> <div class="operation-c"><a target="_blank" href="https://blog.csdn.net/qq_62294245"><span>小鹏linuxspan>a> <span class="border">span> <span class="color">我的关注span> <div class="el-dropdown" style="margin-left:16px;"><p class="feedback"><img src="https://img-home.csdnimg.cn/images/20220117023327.png" alt="" class="dian"> <img src="https://img-home.csdnimg.cn/images/20220117023333.png" alt="" class="activeDian">p> <ul class="el-dropdown-menu el-popper community-floor-popper" style="display:none;"><li tabindex="-1" class="el-dropdown-menu__item">内容质量差li> <li tabindex="-1" class="el-dropdown-menu__item">不感兴趣li> <li tabindex="-1" class="el-dropdown-menu__item">不喜欢该作者li> <li tabindex="-1" class="el-dropdown-menu__item">内容重复li>ul>div>div>div>div>  <div class="right"><a target="_blank" href="https://blog.csdn.net/qq_62294245/article/details/125288502" data-report-query="spm=1000.2115.3001.6382&utm_medium=distribute.pc_feed_v2.none-task-blog-user_follow-1-125288502-null-null.pc_personrec&depth_1-utm_source=distribute.pc_feed_v2.none-task-blog-user_follow-1-125288502-null-null.pc_personrec" data-report-click="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-blog-user_follow-1-125288502-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"1","style":"PIC_V2_21","strategy":"user_follow","dest":"https://blog.csdn.net/qq_62294245/article/details/125288502","spm":"1000.2115.3001.6382"}"><img alt="" class="img">a>div>  div>div>     div><div class="active "><div class="Community-item-active blog">  <a target="_blank" href="https://blog.csdn.net/qq_41250372/article/details/125266741" data-report-query="spm=1000.2115.3001.6382&utm_medium=distribute.pc_feed_v2.none-task-blog-user_follow-3-125266741-null-null.pc_personrec&depth_1-utm_source=distribute.pc_feed_v2.none-task-blog-user_follow-3-125266741-null-null.pc_personrec" data-report-click="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-blog-user_follow-3-125266741-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"3","style":"PIC_V2_23","strategy":"user_follow","dest":"https://blog.csdn.net/qq_41250372/article/details/125266741","spm":"1000.2115.3001.6382"}" class="Community-h-tag"><span class="blog-title" style="text-decoration: none !important">原力计划span><span class="blog-text">【云原生】第五篇--Docker容器化部署企业级应用集群span>a> <div class="Community-item blog"><div class="content"><a target="_blank" href="https://blog.csdn.net/qq_41250372/article/details/125266741" data-report-query="spm=1000.2115.3001.6382&utm_medium=distribute.pc_feed_v2.none-task-blog-user_follow-3-125266741-null-null.pc_personrec&depth_1-utm_source=distribute.pc_feed_v2.none-task-blog-user_follow-3-125266741-null-null.pc_personrec" data-report-click="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-blog-user_follow-3-125266741-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"3","style":"PIC_V2_23","strategy":"user_follow","dest":"https://blog.csdn.net/qq_41250372/article/details/125266741","spm":"1000.2115.3001.6382"}" data-report-view="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-blog-user_follow-3-125266741-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"3","style":"PIC_V2_23","strategy":"user_follow","dest":"https://blog.csdn.net/qq_41250372/article/details/125266741","spm":"1000.2115.3001.6382"}" class="blog"><p class="desc">本文主要讲述Docker容器化部署企业级应用,具体包括使用Docker容器实现Nginx部署、Tomcat部署、Tomcat部署、Oracle部署、ElasticSearch+Kibana部署、Redis部署、RabbitMQ部署p>a> <div class="operation"><div><div class="operation-b"><p class="operation-b-img operation-b-img-active"><img src="https://img-home.csdnimg.cn/images/20220117023128.png" alt> <img src="https://img-home.csdnimg.cn/images/20220117023149.png" alt class="img-hover"> <span class="num">28赞span>p> <p class="operation-b-img operation-b-img-active"><img src="https://img-home.csdnimg.cn/images/20220117023256.png" alt> <img src="https://img-home.csdnimg.cn/images/20220117023314.png" alt class="img-hover"> <span class="num">span>p>div>div> <div class="operation-c"><a target="_blank" href="https://blog.csdn.net/qq_41250372"><span>孙和龚span>a> <span class="border">span> <span class="color">我的关注span> <div class="el-dropdown" style="margin-left:16px;"><p class="feedback"><img src="https://img-home.csdnimg.cn/images/20220117023327.png" alt="" class="dian"> <img src="https://img-home.csdnimg.cn/images/20220117023333.png" alt="" class="activeDian">p> <ul class="el-dropdown-menu el-popper community-floor-popper" style="display:none;"><li tabindex="-1" class="el-dropdown-menu__item">内容质量差li> <li tabindex="-1" class="el-dropdown-menu__item">不感兴趣li> <li tabindex="-1" class="el-dropdown-menu__item">不喜欢该作者li> <li tabindex="-1" class="el-dropdown-menu__item">内容重复li>ul>div>div>div>div>  <div class="right"><a target="_blank" href="https://blog.csdn.net/qq_41250372/article/details/125266741" data-report-query="spm=1000.2115.3001.6382&utm_medium=distribute.pc_feed_v2.none-task-blog-user_follow-3-125266741-null-null.pc_personrec&depth_1-utm_source=distribute.pc_feed_v2.none-task-blog-user_follow-3-125266741-null-null.pc_personrec" data-report-click="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-blog-user_follow-3-125266741-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"3","style":"PIC_V2_23","strategy":"user_follow","dest":"https://blog.csdn.net/qq_41250372/article/details/125266741","spm":"1000.2115.3001.6382"}"><img alt="" class="img">a>div>  div>div>     div><div class="active "><div class="Community-item-active ask">  <a target="_blank" href="https://ask.csdn.net/questions/7744635" data-report-query="spm=1000.2115.3001.6382&utm_medium=distribute.pc_feed_v2.none-task-ask-ask_personrec_tag-4-7744635-null-null.pc_personrec&depth_1-utm_source=distribute.pc_feed_v2.none-task-ask-ask_personrec_tag-4-7744635-null-null.pc_personrec" data-report-click="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-ask-ask_personrec_tag-4-7744635-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"4","style":"TEXT_V2_11","strategy":"ask_personrec_tag","dest":"https://ask.csdn.net/questions/7744635","spm":"1000.2115.3001.6382"}" class="Community-h-tag"><span class="blog-title" style="text-decoration: none !important">等你来答span><span class="blog-text">liunx系统下vscode终端python版本和xshell终端python版本不对应span>a> <div class="Community-item ask"><div class="content"><a target="_blank" href="https://ask.csdn.net/questions/7744635" data-report-query="spm=1000.2115.3001.6382&utm_medium=distribute.pc_feed_v2.none-task-ask-ask_personrec_tag-4-7744635-null-null.pc_personrec&depth_1-utm_source=distribute.pc_feed_v2.none-task-ask-ask_personrec_tag-4-7744635-null-null.pc_personrec" data-report-click="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-ask-ask_personrec_tag-4-7744635-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"4","style":"TEXT_V2_11","strategy":"ask_personrec_tag","dest":"https://ask.csdn.net/questions/7744635","spm":"1000.2115.3001.6382"}" data-report-view="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-ask-ask_personrec_tag-4-7744635-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"4","style":"TEXT_V2_11","strategy":"ask_personrec_tag","dest":"https://ask.csdn.net/questions/7744635","spm":"1000.2115.3001.6382"}" class="blog">a> <div class="operation"><div><div class="operation-b"><p class="operation-b-img operation-b-img-active"><img src="https://img-home.csdnimg.cn/images/20220117023128.png" alt> <img src="https://img-home.csdnimg.cn/images/20220117023149.png" alt class="img-hover"> <span class="num">0赞span>p> <p class="operation-b-img operation-b-img-active"><img src="https://img-home.csdnimg.cn/images/20220117023256.png" alt> <img src="https://img-home.csdnimg.cn/images/20220117023314.png" alt class="img-hover"> <span class="num">span>p>div>div> <div class="operation-c"><a target="_blank" href="https://blog.csdn.net/qq_38767074"><span>肥宅xiaofuspan>a>   <div class="el-dropdown" style="margin-left:16px;"><p class="feedback"><img src="https://img-home.csdnimg.cn/images/20220117023327.png" alt="" class="dian"> <img src="https://img-home.csdnimg.cn/images/20220117023333.png" alt="" class="activeDian">p> <ul class="el-dropdown-menu el-popper community-floor-popper" style="display:none;"><li tabindex="-1" class="el-dropdown-menu__item">内容质量差li> <li tabindex="-1" class="el-dropdown-menu__item">不感兴趣li> <li tabindex="-1" class="el-dropdown-menu__item">不喜欢该作者li> <li tabindex="-1" class="el-dropdown-menu__item">内容重复li>ul>div>div>div>div>    div>div>     div><div class="active "><div class="Community-item-active blog">  <a target="_blank" href="https://blog.csdn.net/newlw/article/details/125326766" data-report-query="spm=1000.2115.3001.6382&utm_medium=distribute.pc_feed_v2.none-task-blog-personrec_tag-5-125326766-null-null.pc_personrec&depth_1-utm_source=distribute.pc_feed_v2.none-task-blog-personrec_tag-5-125326766-null-null.pc_personrec" data-report-click="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-blog-personrec_tag-5-125326766-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"5","style":"PIC_V2_13","strategy":"personrec_tag","dest":"https://blog.csdn.net/newlw/article/details/125326766","spm":"1000.2115.3001.6382"}" class="Community-h-tag"><span class="blog-text">基于Python实现的迷宫求解游戏设计 课程报告+代码及可执行文件span>a> <div class="Community-item blog"><div class="content"><a target="_blank" href="https://blog.csdn.net/newlw/article/details/125326766" data-report-query="spm=1000.2115.3001.6382&utm_medium=distribute.pc_feed_v2.none-task-blog-personrec_tag-5-125326766-null-null.pc_personrec&depth_1-utm_source=distribute.pc_feed_v2.none-task-blog-personrec_tag-5-125326766-null-null.pc_personrec" data-report-click="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-blog-personrec_tag-5-125326766-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"5","style":"PIC_V2_13","strategy":"personrec_tag","dest":"https://blog.csdn.net/newlw/article/details/125326766","spm":"1000.2115.3001.6382"}" data-report-view="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-blog-personrec_tag-5-125326766-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"5","style":"PIC_V2_13","strategy":"personrec_tag","dest":"https://blog.csdn.net/newlw/article/details/125326766","spm":"1000.2115.3001.6382"}" class="blog"><p class="desc">目录任务描述 21、 必做任务一 22、 必做任务二 33、 必做任务三 34、 选做任务一 3问题建模 41、迷宫 42、Q 表模型 43、监督学习模型 54、Q-learning 学习过程 55、加入时间因子 5算法设计和代码 61、迷宫类 62、Q 表模型类 6UI 设计和使用说明 61、已有迷宫界面 62、用户自定义 7总结 7任务描述1、必做任务一使用强化学习算法,对于给定的迷宫,训练老鼠在迷宫中寻找蛋糕。2、必做任务二自行生成不同迷宫(尺寸、地图),p>a> <div class="operation"><div><div class="operation-b"><p class="operation-b-img operation-b-img-active"><img src="https://img-home.csdnimg.cn/images/20220117023128.png" alt> <img src="https://img-home.csdnimg.cn/images/20220117023149.png" alt class="img-hover"> <span class="num">2赞span>p> <p class="operation-b-img operation-b-img-active"><img src="https://img-home.csdnimg.cn/images/20220117023256.png" alt> <img src="https://img-home.csdnimg.cn/images/20220117023314.png" alt class="img-hover"> <span class="num">span>p>div>div> <div class="operation-c"><a target="_blank" href="https://blog.csdn.net/newlw"><span>biyezuopinvipspan>a>   <div class="el-dropdown" style="margin-left:16px;"><p class="feedback"><img src="https://img-home.csdnimg.cn/images/20220117023327.png" alt="" class="dian"> <img src="https://img-home.csdnimg.cn/images/20220117023333.png" alt="" class="activeDian">p> <ul class="el-dropdown-menu el-popper community-floor-popper" style="display:none;"><li tabindex="-1" class="el-dropdown-menu__item">内容质量差li> <li tabindex="-1" class="el-dropdown-menu__item">不感兴趣li> <li tabindex="-1" class="el-dropdown-menu__item">不喜欢该作者li> <li tabindex="-1" class="el-dropdown-menu__item">内容重复li>ul>div>div>div>div>  <div class="right"><a target="_blank" href="https://blog.csdn.net/newlw/article/details/125326766" data-report-query="spm=1000.2115.3001.6382&utm_medium=distribute.pc_feed_v2.none-task-blog-personrec_tag-5-125326766-null-null.pc_personrec&depth_1-utm_source=distribute.pc_feed_v2.none-task-blog-personrec_tag-5-125326766-null-null.pc_personrec" data-report-click="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-blog-personrec_tag-5-125326766-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"5","style":"PIC_V2_13","strategy":"personrec_tag","dest":"https://blog.csdn.net/newlw/article/details/125326766","spm":"1000.2115.3001.6382"}"><img alt="" class="img">a>div>  div>div> <div class="information-www"><span><div role="tooltip" id="el-popover-2968" aria-hidden="true" class="el-popover el-popper www-content-top-tooltip el-popover--plain" style="width:undefinedpx;display:none;">您的推荐流将在修改后10分钟发生变化div><span class="el-popover__reference-wrapper"><a target="_blank" href="https://i.csdn.net/#/user-center/profile?floor=interest" data-report-click="{"spm":"1000.2115.3001.6425"}" class="information"><span>修改兴趣标签span>a>span>span> <span class="information-border">span> <span><div role="tooltip" id="el-popover-7364" aria-hidden="true" class="el-popover el-popper www-content-top-tooltip el-popover--plain" style="width:undefinedpx;display:none;">您的反馈和建议将有效推动推荐流的优化div><span class="el-popover__reference-wrapper"><a target="_blank" href="https://bbs.csdn.net/forums/placard?typeId=1100" data-report-click="{"spm":"1000.2115.3001.6425"}" class="information"><span>反馈信息流问题span>a>span>span>div>    div><div class="active "><div class="Community-item-active blog">  <a target="_blank" href="https://blog.csdn.net/Kenji_Shinji/article/details/125328437" data-report-query="spm=1000.2115.3001.6382&utm_medium=distribute.pc_feed_v2.none-task-blog-personrec_tag-6-125328437-null-null.pc_personrec&depth_1-utm_source=distribute.pc_feed_v2.none-task-blog-personrec_tag-6-125328437-null-null.pc_personrec" data-report-click="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-blog-personrec_tag-6-125328437-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"6","style":"PIC_V2_11","strategy":"personrec_tag","dest":"https://blog.csdn.net/Kenji_Shinji/article/details/125328437","spm":"1000.2115.3001.6382"}" class="Community-h-tag"><span class="blog-text">浅谈MindSpore的动态Shapespan>a> <div class="Community-item blog"><div class="content"><a target="_blank" href="https://blog.csdn.net/Kenji_Shinji/article/details/125328437" data-report-query="spm=1000.2115.3001.6382&utm_medium=distribute.pc_feed_v2.none-task-blog-personrec_tag-6-125328437-null-null.pc_personrec&depth_1-utm_source=distribute.pc_feed_v2.none-task-blog-personrec_tag-6-125328437-null-null.pc_personrec" data-report-click="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-blog-personrec_tag-6-125328437-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"6","style":"PIC_V2_11","strategy":"personrec_tag","dest":"https://blog.csdn.net/Kenji_Shinji/article/details/125328437","spm":"1000.2115.3001.6382"}" data-report-view="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-blog-personrec_tag-6-125328437-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"6","style":"PIC_V2_11","strategy":"personrec_tag","dest":"https://blog.csdn.net/Kenji_Shinji/article/details/125328437","spm":"1000.2115.3001.6382"}" class="blog"><p class="desc">在MindSpore开发过程中,由于动态Shape算子的开发需求,再加上MindSpore的动态Shape也在持续完善,笔者遇到了框架上的一些问题。通过查看源码和相关文档的方式,获得了初步的解决方案和感悟。这篇博客主要是将当时的见闻加以整理,并给出一点点开发建议。此外,当时笔者还做了组内分享,点击“阅读原文”即可获取原文PPT。由于本人刚入职不久,本博客适合于初学者,高手轻喷。1、动态Shape的定义动态Shape,指的是Tensor的Shape依赖于具体的运算,无法提前通过计算得出。具体来说分两种情况:算p>a> <div class="operation"><div><div class="operation-b"><p class="operation-b-img operation-b-img-active"><img src="https://img-home.csdnimg.cn/images/20220117023128.png" alt> <img src="https://img-home.csdnimg.cn/images/20220117023149.png" alt class="img-hover"> <span class="num">0赞span>p> <p class="operation-b-img operation-b-img-active"><img src="https://img-home.csdnimg.cn/images/20220117023256.png" alt> <img src="https://img-home.csdnimg.cn/images/20220117023314.png" alt class="img-hover"> <span class="num">span>p>div>div> <div class="operation-c"><a target="_blank" href="https://blog.csdn.net/Kenji_Shinji"><span>MSofficialspan>a>   <div class="el-dropdown" style="margin-left:16px;"><p class="feedback"><img src="https://img-home.csdnimg.cn/images/20220117023327.png" alt="" class="dian"> <img src="https://img-home.csdnimg.cn/images/20220117023333.png" alt="" class="activeDian">p> <ul class="el-dropdown-menu el-popper community-floor-popper" style="display:none;"><li tabindex="-1" class="el-dropdown-menu__item">内容质量差li> <li tabindex="-1" class="el-dropdown-menu__item">不感兴趣li> <li tabindex="-1" class="el-dropdown-menu__item">不喜欢该作者li> <li tabindex="-1" class="el-dropdown-menu__item">内容重复li>ul>div>div>div>div>  <div class="right"><a target="_blank" href="https://blog.csdn.net/Kenji_Shinji/article/details/125328437" data-report-query="spm=1000.2115.3001.6382&utm_medium=distribute.pc_feed_v2.none-task-blog-personrec_tag-6-125328437-null-null.pc_personrec&depth_1-utm_source=distribute.pc_feed_v2.none-task-blog-personrec_tag-6-125328437-null-null.pc_personrec" data-report-click="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-blog-personrec_tag-6-125328437-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"6","style":"PIC_V2_11","strategy":"personrec_tag","dest":"https://blog.csdn.net/Kenji_Shinji/article/details/125328437","spm":"1000.2115.3001.6382"}"><img alt="" class="img">a>div>  div>div>     div><div class="active "><div class="Community-item-active blog">  <a target="_blank" href="https://blog.csdn.net/gongdiwudu/article/details/125319593" data-report-query="spm=1000.2115.3001.6382&utm_medium=distribute.pc_feed_v2.none-task-blog-personrec_tag-7-125319593-null-null.pc_personrec&depth_1-utm_source=distribute.pc_feed_v2.none-task-blog-personrec_tag-7-125319593-null-null.pc_personrec" data-report-click="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-blog-personrec_tag-7-125319593-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"7","style":"PIC_V2_11","strategy":"personrec_tag","dest":"https://blog.csdn.net/gongdiwudu/article/details/125319593","spm":"1000.2115.3001.6382"}" class="Community-h-tag"><span class="blog-text">python知识:循环嵌套span>a> <div class="Community-item blog"><div class="content"><a target="_blank" href="https://blog.csdn.net/gongdiwudu/article/details/125319593" data-report-query="spm=1000.2115.3001.6382&utm_medium=distribute.pc_feed_v2.none-task-blog-personrec_tag-7-125319593-null-null.pc_personrec&depth_1-utm_source=distribute.pc_feed_v2.none-task-blog-personrec_tag-7-125319593-null-null.pc_personrec" data-report-click="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-blog-personrec_tag-7-125319593-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"7","style":"PIC_V2_11","strategy":"personrec_tag","dest":"https://blog.csdn.net/gongdiwudu/article/details/125319593","spm":"1000.2115.3001.6382"}" data-report-view="{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-blog-personrec_tag-7-125319593-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"7","style":"PIC_V2_11","strategy":"personrec_tag","dest":"https://blog.csdn.net/gongdiwudu/article/details/125319593","spm":"1000.2115.3001.6382"}" class="blog"><p class="desc">循环在 python 中很重要,因为没有它们,我们将不得不\u002Ff08e02d0369cee8cc6a2145f8d96cbd3?utm_source=huodongrili\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-Headlines\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5928"}}],"www-slide-ad":[{"con":"\u003Cdiv id=\"kp_box_592\" data-pid=\"592\"\u003E\u003Ciframe class=\"J_adv\" data-swapimg=\"true\" src=\"https:\u002F\u002Fkunpeng-sc.csdnimg.cn\u002F?timestamp=1645783940\u002F#\u002Fpreview\u002F7681?positionId=592&adId=4444&queryWord=-&spm=3001.5911\" frameborder=\"0\" width= \"338px\"  height= \"470px\" scrolling=\"no\" \u003E\u003C\u002Fiframe\u003E\u003Cimg class=\"pre-img-lasy\"  data-src=\"https:\u002F\u002Fkunyu.csdn.net\u002F1.png?p=592&adId=4444&a=4444&c=7681&k=-&spm=3001.5911&d=1&t=3&u=d12074520df24bf7b65a929392bd95cf\" style=\"display: block;width: 0px;height: 0px;\"\u003E\u003C\u002Fdiv\u003E","source":1,"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5949\",\"dest\":\"\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-slide-ad\\\",\\\"compDataId\\\":\\\"www-slide-ad\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5949"}}],"www-headhot":[{"itemType":"","description":"历时4年","title":"Apache Doris成为Apache顶级项目","url":"https:\u002F\u002Fblog.csdn.net\u002Fucanuup_\u002Farticle\u002Fdetails\u002F125328242","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fblog.csdn.net\u002Fucanuup_\u002Farticle\u002Fdetails\u002F125328242\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"最大的阻力是什么","title":"坐拥755万开发者的中国开源,进度几何?","url":"https:\u002F\u002Fcsdnnews.blog.csdn.net\u002Farticle\u002Fdetails\u002F125326095?spm=1001.2014.3001.5502","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fcsdnnews.blog.csdn.net\u002Farticle\u002Fdetails\u002F125326095?spm=1001.2014.3001.5502\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"网友:时间挺巧,是时候换 M2 了!","title":"MIT曝光 M1 不可修复的漏洞","url":"https:\u002F\u002Fblog.csdn.net\u002Fcsdnnews\u002Farticle\u002Fdetails\u002F125325839","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fblog.csdn.net\u002Fcsdnnews\u002Farticle\u002Fdetails\u002F125325839\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"因危险发言,到手的股权飞了","title":"苹果设计团队成员纷纷离职","url":"https:\u002F\u002Fblog.csdn.net\u002Fcsdnnews\u002Farticle\u002Fdetails\u002F125320871","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fblog.csdn.net\u002Fcsdnnews\u002Farticle\u002Fdetails\u002F125320871\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"惹开发者怒怼","title":"微软将闭源VS Code中的C#扩展","url":"https:\u002F\u002Fblog.csdn.net\u002Fcsdnopensource\u002Farticle\u002Fdetails\u002F125320885?spm=1001.2014.3001.5502","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fblog.csdn.net\u002Fcsdnopensource\u002Farticle\u002Fdetails\u002F125320885?spm=1001.2014.3001.5502\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"七层负载均衡的4大生态","title":"为什么BFE可以取代Nginx","url":"https:\u002F\u002Fblog.csdn.net\u002Fweixin_52406291\u002Farticle\u002Fdetails\u002F125290497","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fblog.csdn.net\u002Fweixin_52406291\u002Farticle\u002Fdetails\u002F125290497\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"Ps Web版≠Ps App版","title":"PS 网页版将免费","url":"https:\u002F\u002Fcsdnnews.blog.csdn.net\u002Farticle\u002Fdetails\u002F125297056?spm=1001.2014.3001.5502","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fcsdnnews.blog.csdn.net\u002Farticle\u002Fdetails\u002F125297056?spm=1001.2014.3001.5502\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"TensorFlow败给PyTorch","title":"谷歌:未来就靠你了,JAX","url":"https:\u002F\u002Fblog.csdn.net\u002Fcsdnopensource\u002Farticle\u002Fdetails\u002F125297978","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fblog.csdn.net\u002Fcsdnopensource\u002Farticle\u002Fdetails\u002F125297978\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"深度学习崛起十年","title":"李飞飞:我更像物理学界的科学家,而不是工程师","url":"https:\u002F\u002Fblog.csdn.net\u002FOneFlow_Official\u002Farticle\u002Fdetails\u002F125230405?spm=1001.2014.3001.5502","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fblog.csdn.net\u002FOneFlow_Official\u002Farticle\u002Fdetails\u002F125230405?spm=1001.2014.3001.5502\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"GitLab:我还在用呢!","title":"Ruby on Rails已死?","url":"https:\u002F\u002Fblog.csdn.net\u002Fcsdnopensource\u002Farticle\u002Fdetails\u002F125282817","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fblog.csdn.net\u002Fcsdnopensource\u002Farticle\u002Fdetails\u002F125282817\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"程序员自己写 Bug:因拼写错误","title":"PyPI 多个软件包含后门","url":"https:\u002F\u002Fblog.csdn.net\u002Fcsdnnews\u002Farticle\u002Fdetails\u002F125277405","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fblog.csdn.net\u002Fcsdnnews\u002Farticle\u002Fdetails\u002F125277405\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"揭秘软件臃肿的真实原因","title":"业务需求引发软件臃肿","url":"https:\u002F\u002Fcsdnnews.blog.csdn.net\u002Farticle\u002Fdetails\u002F125270571?spm=1001.2014.3001.5502","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fcsdnnews.blog.csdn.net\u002Farticle\u002Fdetails\u002F125270571?spm=1001.2014.3001.5502\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"LaMDA:我是一个“人”,不要利用或操纵我","title":"谷歌 AI 被曝已自我觉醒?","url":"https:\u002F\u002Fcsdnnews.blog.csdn.net\u002Farticle\u002Fdetails\u002F125270429","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fcsdnnews.blog.csdn.net\u002Farticle\u002Fdetails\u002F125270429\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"迟迟不公布OxygenOS 12源码惹怒网友","title":"一加疑违反GPL协议","url":"https:\u002F\u002Fblog.csdn.net\u002Fcsdnopensource\u002Farticle\u002Fdetails\u002F125262836","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fblog.csdn.net\u002Fcsdnopensource\u002Farticle\u002Fdetails\u002F125262836\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"QUIC 能插遍全球?","title":"HTTP\u002F3标准化,TCP能被替代吗?","url":"https:\u002F\u002Fblog.csdn.net\u002Fdog250\u002Farticle\u002Fdetails\u002F125226727","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fblog.csdn.net\u002Fdog250\u002Farticle\u002Fdetails\u002F125226727\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"再次进入 Apache 孵化器","title":"Apache Ambari重启","url":"https:\u002F\u002Fblog.csdn.net\u002Fwypblog\u002Farticle\u002Fdetails\u002F125252718","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fblog.csdn.net\u002Fwypblog\u002Farticle\u002Fdetails\u002F125252718\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"Google 用 Debian 服务器给出了答案","title":"π小数点第100万亿数字是多少?","url":"https:\u002F\u002Fblog.csdn.net\u002Fcsdnnews\u002Farticle\u002Fdetails\u002F125220917","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fblog.csdn.net\u002Fcsdnnews\u002Farticle\u002Fdetails\u002F125220917\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"人类可以和AI和谐相处,共创美好未来!","title":"因怀疑对话系统变成人而被带薪休假","url":"https:\u002F\u002Fblog.csdn.net\u002Fqq_35082030\u002Farticle\u002Fdetails\u002F125248029","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fblog.csdn.net\u002Fqq_35082030\u002Farticle\u002Fdetails\u002F125248029\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"Java真的老了吗?","title":"6月编程语言排行榜:C++ 即将超越Java","url":"https:\u002F\u002Fblog.csdn.net\u002Fcsdnnews\u002Farticle\u002Fdetails\u002F125217982","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fblog.csdn.net\u002Fcsdnnews\u002Farticle\u002Fdetails\u002F125217982\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"在微软工作 21 年","title":"微软再曝“丑闻” HoloLens之父即将离职!","url":"https:\u002F\u002Fblog.csdn.net\u002Fcsdnnews\u002Farticle\u002Fdetails\u002F125213790","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fblog.csdn.net\u002Fcsdnnews\u002Farticle\u002Fdetails\u002F125213790\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"在挑战中蓬勃发展","title":"2年暴涨180万名开发者,Rust迎来高光时刻","url":"https:\u002F\u002Fblog.csdn.net\u002Fcsdnnews\u002Farticle\u002Fdetails\u002F125208278","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fblog.csdn.net\u002Fcsdnnews\u002Farticle\u002Fdetails\u002F125208278\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"败给 VS Code","title":"GitHub“杀死”Atom","url":"https:\u002F\u002Fblog.csdn.net\u002Fcsdnopensource\u002Farticle\u002Fdetails\u002F125203360","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fblog.csdn.net\u002Fcsdnopensource\u002Farticle\u002Fdetails\u002F125203360\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"采用开源驱动","title":"Asahi Linux在M1下运行首个三角形渲染","url":"https:\u002F\u002Fblog.csdn.net\u002Fcsdnopensource\u002Farticle\u002Fdetails\u002F125189442","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fblog.csdn.net\u002Fcsdnopensource\u002Farticle\u002Fdetails\u002F125189442\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}},{"itemType":"","description":"全球 77.5% 的网站都在使用PHP","title":"“世界上最好的语言” 27岁生日快乐","url":"https:\u002F\u002Fblog.csdn.net\u002Fcsdnnews\u002Farticle\u002Fdetails\u002F125195769","images":[""],"ext":{},"report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"1000.2115.3001.5927\",\"dest\":\"https:\u002F\u002Fblog.csdn.net\u002Fcsdnnews\u002Farticle\u002Fdetails\u002F125195769\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-swiper\\\",\\\"compDataId\\\":\\\"www-headhot\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":"spm=1000.2115.3001.5927"}}],"www-recomend-community":[{"extend":{"blink_content":null,"vip_img":null,"product_biz_no":null,"avatarurl":"https:\u002F\u002Fprofile.csdnimg.cn\u002F3\u002F4\u002Fd\u002F2_qq_62294245","user_name":"qq_62294245","flowerName":null,"certificate":true,"created_at":"2022-06-15 10:53:33","focus":true,"recommend_type":"ali","digg":"63","recommend":false,"pic":"https:\u002F\u002Fimg-blog.csdnimg.cn\u002F85b5f0c363b74bb6b08e1d0746c2dc1e.jpeg?x-oss-process=image\u002Fresize,m_fixed,h_300,image\u002Fformat,png","show_tag":"原力计划","title":"【CSDN云VS腾讯云】要不然怎么说CSDN开发云是打工人和学生党的福音呢?","certificate_info":"云计算领域新星创作者","report_data":{"eventClick":true,"data":{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-blog-user_follow-1-125288502-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"1","style":"PIC_V2_21","strategy":"user_follow"},"urlParams":{"utm_medium":"distribute.pc_feed_v2.none-task-blog-user_follow-1-125288502-null-null.pc_personrec","depth_1-utm_source":"distribute.pc_feed_v2.none-task-blog-user_follow-1-125288502-null-null.pc_personrec"},"eventView":true},"user_info":null,"product_id":"125288502","nickname":"小鹏linux","actionInfo":"540阅读 · 112评论","company":"","beginTime":null,"channelId":0,"durationDesc":null,"views":540,"comments":"112","level":null,"liveMark":null,"recommend_vip_user":{"user_desc":"你未必出类拔萃,但一定与众不同","avatarurl":"https:\u002F\u002Fprofile.csdnimg.cn\u002F3\u002F4\u002Fd\u002F2_qq_62294245","user_info":null,"user_name":"qq_62294245","nickname":"小鹏linux","recommed_desc":"你关注的人发布"},"avatar":"https:\u002F\u002Fprofile.csdnimg.cn\u002F3\u002F4\u002Fd\u002F2_qq_62294245","product_app_id":null,"dateNumber":null,"url":"https:\u002F\u002Fblog.csdn.net\u002Fqq_62294245\u002Farticle\u002Fdetails\u002F125288502","tags":[],"certificate_pic":"https:\u002F\u002Fimg-home.csdnimg.cn\u002Fimages\u002F20210412060958.png","product_type":"blog","userNumberCount":null,"picList":["https:\u002F\u002Fimg-blog.csdnimg.cn\u002F85b5f0c363b74bb6b08e1d0746c2dc1e.jpeg?x-oss-process=image\u002Fresize,m_fixed,h_300"],"share_url":null,"csdnTag":["腾讯云","docker","服务器","linux","云计算"],"reserveAddress":null,"job":"","strategy":"user_follow","tace_code":null,"user_days":"码龄1年","desc":"CSDN开发云平台提供更丰富的开源项目及其文档让你快速上手更好、更实用、更优秀的解决方案,依托丰富的基础云服务,助力中小企业、个人开发者和学生群体一键上云","status":1},"style":"PIC_V2_21","report_data":{"eventClick":true,"eventView":true,"data":"{\"spm\":\"\",\"dest\":\"\",\"extra\":\"{\\\"fId\\\":558,\\\"fName\\\":\\\"floor-www-index\\\",\\\"compName\\\":\\\"www-interaction\\\",\\\"compDataId\\\":\\\"www-recomend-community\\\",\\\"fTitle\\\":\\\"\\\",\\\"pageId\\\":141}\"}","urlParams":""},"appId":"1547458038"},{"extend":{"blink_content":null,"vip_img":null,"product_biz_no":null,"avatarurl":"https:\u002F\u002Fprofile.csdnimg.cn\u002F3\u002Fa\u002F2\u002F2_qq_41250372","user_name":"qq_41250372","flowerName":null,"certificate":false,"created_at":"2022-06-16 17:38:02","focus":true,"recommend_type":"ali","digg":"28","recommend":false,"pic":"https:\u002F\u002Fimg-blog.csdnimg.cn\u002F1dd04b0c58a54ddab4d34187ce68e91c.png?x-oss-process=image\u002Fresize,m_fixed,h_300,image\u002Fformat,png","show_tag":"原力计划","title":"【云原生】第五篇--Docker容器化部署企业级应用集群","certificate_info":"","report_data":{"eventClick":true,"data":{"mod":"popu_459","extra":"{\"utm_medium\":\"distribute.pc_feed_v2.none-task-blog-user_follow-3-125266741-null-null.pc_personrec\",\"dist_request_id\":\"1655552654436_96618\"}","dist_request_id":"1655552654436_96618","ab_strategy":"default","index":"3","style":"PIC_V2_23","strategy":"user_follow"},"urlParams":{"utm_medium":"distribute.pc_feed_v2.none-task-blog-user_follow-3-125266741-null-null.pc_personrec","depth_1-utm_source":"distribute.pc_feed_v2.none-task-blog-user_follow-3-125266741-null-null.pc_personrec"},"eventView":true},"user_info":null,"product_id":"125266741","nickname":"孙和龚","actionInfo":"279阅读 · 50评论","company":"","beginTime":null,"channelId":0,"durationDesc":null,"views":279,"comments":"50","level":null,"liveMark":null,"recommend_vip_user":{"user_desc":"喂!起来上课了。90后大数据讲师一枚,热衷于IT教育传播,想让每个学生在课前、课后可以有更多的学习途径,现在开始转战CSDN写课件,欢迎大佬指导,也欢迎小白一起来学习!我写的你能看懂吗?一起来看看吧。","avatarurl":"https:\u002F\u002Fprofile.csdnimg.cn\u002F3\u002Fa\u002F2\u002F2_qq_41250372","user_info":null,"user_name":"qq_41250372","nickname":"孙和龚","recommed_desc":"你关注的人发布"},"avatar":"https:\u002F\u002Fprofile.csdnimg.cn\u002F3\u002Fa\u002F2\u002F2_qq_41250372","product_app_id":null,"dateNumber":null,"url":"https:\u002F\u002Fblog.csdn.net\u002Fqq_41250372\u002Farticle\u002Fdetails\u002F125266741","tags":[],"certificate_pic":"","product_type":"blog","userNumberCount":null,"picList":["https:\u002F\u002Fimg-blog.csdnimg.cn\u002F1dd04b0c58a54ddab4d34187ce68e91c.png?x-oss-process=image\u002Fresize,m_fixed,h_300","https:\u002F\u002Fimg-blog.csdnimg.cn\u002F6e54d3c5a2ce4799a1d261a34bd754e5.png?x-oss-process=image\u002Fresize,m_fixed,h_300","https:\u002F\u002Fimg-blog.csdnimg.cn\u002F81aa0a072b034f1da90af4251654ea49.png?x-oss-process=image\u002Fresize,m_fixed,h_300"],"share_url":null,"csdnTag":["云原生","docker","nginx","java","分布式"],"reserveAddress":null,"job":"","strategy":"user_follow","tace_code":null,"user_days":"码龄5年","desc":"本文主要讲述

可以看到这里的响应明明返回的是200 ok但是并没有给我处理这个请求!

基于ajax

ajaxjs提供给我们的一种构造http请求的方式!
传统的js下的ajax方式构造方式比较繁琐!
我们就通过引入jQuery(js下的框架类似于java中spring框架)实现对ajax方式请求的构造!

  • 引入jQuery!

jQuery cdn链接
3种方式构造HTTP请求详解(HTTP4)_第4张图片
随便找个版本复制下来,这里有两种方式!
1).直接复制到HTML代码中!
2).打开这个链接,然后复制下来,再创建一个js本地文件,然后在HTML中引入这个链接!

  
    <script src="jQuery.js">script>
    
    <script src="http://code.jquery.com/jquery-2.1.1.min.js">script>
  • 构造请求
DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ajax方式构造请求title>
head>
<body>
    
    
    
    <script src="http://code.jquery.com/jquery-2.1.1.min.js">script>
    script
    <script>
        $.ajax({
            type: "get",
            url:"https://www.csdn.net/",
            success:function(body){
                console.log("ajax方式构造请求,成功!"+body);
            },
            error:function(){
                console.log("请求失败");
            }
        });
    script>
body>
html>

$符号在js中可以用于变量名!
jQuery中的很对函数都是通过这个$对象访问!

  • $.ajax();函数

这里的ajax函数需要传入参数是一个对象!

  <script>
        $.ajax({
            type: "get",
            url:"https://www.csdn.net/",
            success:function(body){
                console.log("ajax方式构造请求,成功!"+body);
            },
            error:function(){
                console.log("请求失败");
            }
        });
    </script>

这里的对象的数据也是用键值对的方式保存信息!
type:"post"
采用那种方法构造请求
这里的构造请求的方法不像form表单只能选择post/get这里所有构造请求的方法都可以选择!~
url:"https://www.csdn.next/"
请求访问的服务器url域名!
success:function(body){ console.log("ajax方式构造请求,成功!"+body); }
请求成功,这里采用回调函数的方式,服务器的响应结果信息保存在body中!
所以我们查看body的信息就可以获取到从服务器中收到的消息!
error:function(){ console.log("请求失败"); }
请求失败,这里打印失败结果!

通过上方这些键值对就通过ajax构造好了一个http请求!
我们看一下我们这个请求最终响应结果!
3种方式构造HTTP请求详解(HTTP4)_第5张图片
请求失败了,虽然返回的状态码是200 ok这里存在跨域访问!
我们看到这里报错了!
因为这里我们属于跨站访问了!
什么是跨站访问呢?

我们这里构造请求的html文件并不在该服务器下!
如果我们的请求网页就在https://www.csdn.net/域名下的服务器,那么就不是跨站(跨域)访问
以后我们把请求写在自己的服务器下就不存在这个问题!

请求:
3种方式构造HTTP请求详解(HTTP4)_第6张图片
响应
3种方式构造HTTP请求详解(HTTP4)_第7张图片

基于java的方式

这里基于java的方式构造http请求比较繁琐,我们更少使用到!
我们一般通过java中的TCPsocket接口,按照请求报文的格式,构造出一个报文匹配的字符串,然后传入socket发给服务器即可!
但是在实际开发中我们也不会直接就使用socket构造,我们会向ajax一样借助第三方库!

public class HttpClient {
private Socket socket;
private String ip;
private int port;
public HttpClient(String ip, int port) throws IOException {
	this.ip = ip;
	this.port = port;
	socket = new Socket(ip, port);
}
public String get(String url) throws IOException {
	StringBuilder request = new StringBuilder();
	// 构造首行
	request.append("GET " + url + " HTTP/1.1\n");
	// 构造 header
	request.append("Host: " + ip + ":" + port + "\n");
	// 构造 空行
	request.append("\n");
	// 发送数据
	OutputStream outputStream = socket.getOutputStream();
	outputStream.write(request.toString().getBytes());
	// 读取响应数据
	InputStream inputStream = socket.getInputStream();
	byte[] buffer = new byte[1024 * 1024];
	int n = inputStream.read(buffer);
	return new String(buffer, 0, n, "utf-8");
}
public String post(String url, String body) throws IOException {
	StringBuilder request = new StringBuilder();
	// 构造首行
	request.append("POST " + url + " HTTP/1.1\n");
	// 构造 header
	request.append("Host: " + ip + ":" + port + "\n");
	request.append("Content-Length: " + body.getBytes().length + "\n");
	request.append("Content-Type: text/plain\n");
	// 构造 空行
	request.append("\n");
	// 构造 body
	request.append(body);
	// 发送数据
	OutputStream outputStream = socket.getOutputStream();
	outputStream.write(request.toString().getBytes());
	// 读取响应数据
	InputStream inputStream = socket.getInputStream();
	byte[] buffer = new byte[1024 * 1024];
	int n = inputStream.read(buffer);
	return new String(buffer, 0, n, "utf-8");
}
public static void main(String[] args) throws IOException {
	HttpClient httpClient = new HttpClient("42.192.83.143", 8080);
	String getResp = httpClient.get("/AjaxMockServer/info");
	System.out.println(getResp);
	String postResp = httpClient.post("/AjaxMockServer/info", "this is
	body");
	System.out.println(postResp);
}
}

可以看到比较繁琐,可以自行参考!
使用Java构造的HTTP客户端不再有 “跨域” 限制了, 此时也可以用来获取其他服务器的数据了.
跨域只是浏览器的行为, 对于 ajax 有效. 对于其他语言来说一般都和跨域无关!

ItVuer - 免责声明 - 关于我们 - 联系我们

本网站信息来源于互联网,如有侵权请联系:561261067@qq.com

桂ICP备16001015号