<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Kirin on Kirin&#39;s Backspace</title>
    <link>/en/authors/kirin/</link>
    <description>Recent content in Kirin on Kirin&#39;s Backspace</description>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>&amp;copy; {year} Kirin</copyright>
    <lastBuildDate>Thu, 10 Oct 2024 23:50:00 +0800</lastBuildDate>
    <atom:link href="/en/authors/kirin/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>OS Review</title>
      <link>/en/_deprecated_posts/os-review/</link>
      <pubDate>Sat, 27 May 2023 21:29:00 +0800</pubDate>
      <guid>/en/_deprecated_posts/os-review/</guid>
      <description>Ch6, 7 Process Synchronization What is race condition? Ch6,7 Page 4 Race condition: several processes access and manipulate the same data concurrently outcome depends on which order each access takes place. 竞态条件（race condition）：多个进程并发访问和操作统一数据并且执行结果与特定</description>
    </item>
    <item>
      <title>OS Note Chapter 5: CPU Scheduling</title>
      <link>/en/_deprecated_posts/os-note-ch5-cpu-scheduling/</link>
      <pubDate>Wed, 29 Mar 2023 09:50:00 +0800</pubDate>
      <guid>/en/_deprecated_posts/os-note-ch5-cpu-scheduling/</guid>
      <description>Basic Concepts Purpose of multiprogramming: maximum CPU utilization CPU–I/O Burst Cycle Process execution consists of a cycle of CPU execution and I/O wait CPU burst followed by I/O burst CPU burst distribution is of main concern: a large number of short CPU bursts and a small number of long CPU bursts. Operation Type Load store, add store, read from file CPU burst Wait for I/O I/O burst Store increment</description>
    </item>
    <item>
      <title>OS Note Chapter 4: Threads</title>
      <link>/en/_deprecated_posts/os-note-ch4-threads/</link>
      <pubDate>Tue, 28 Mar 2023 21:38:00 +0800</pubDate>
      <guid>/en/_deprecated_posts/os-note-ch4-threads/</guid>
      <description>Overview Motivation Behind Threads Multiple tasks with the application can be implemented by separate threads (Scalability, Responsiveness ) Update display Fetch data Spell checking Answer a network request Process creation is heavy-weight while thread creation is light- weight (economy) Threads run within the application/process (Resource Sharing) Can simplify code, increase efficiency Most modern applications are multithreaded Kernels are generally multithreaded Single and Multithreaded Processes Multithreaded Server Architecture Benefits Responsiveness – may allow continued execution if</description>
    </item>
    <item>
      <title>OS Note Chapter 3: Processes</title>
      <link>/en/_deprecated_posts/os-note-ch3-processes/</link>
      <pubDate>Mon, 27 Mar 2023 09:00:00 +0800</pubDate>
      <guid>/en/_deprecated_posts/os-note-ch3-processes/</guid>
      <description>Process Concept Process a program in execution in memory execution must progress in sequential fashion There can be several processes for one program Consider multiple users executing the same program Memory [Process (active)] A | Mouse click or command input | Loader loads program | Disk [Program: Executable file &amp;lt;= Object file &amp;lt;= Source file (passive)] ELF Object File Format: ELF (Executable and Linkable Format , Generic name: ELF binaries) A process includes multiple parts</description>
    </item>
    <item>
      <title>OS Note Chapter 2: Operating System Structures</title>
      <link>/en/_deprecated_posts/os-note-ch2-operating-system-structures/</link>
      <pubDate>Sun, 26 Mar 2023 20:43:00 +0800</pubDate>
      <guid>/en/_deprecated_posts/os-note-ch2-operating-system-structures/</guid>
      <description>Operating System Services Operating systems provide an environment that offer services to programs and users Functions to the user User interface (UI) Command-Line Interface (CLI), Graphics User Interface (GUI), touch-screen, batch processing (批处理) Program execution Load a program into memory Run a program, and then end execution. I/O operations File-system manipulation Read-write Communications Process exchange information Error detection Handle possible errors (from hardware or software) Functions for the efficient operations Resource</description>
    </item>
    <item>
      <title>OS Note Chapter 1: Introduction</title>
      <link>/en/_deprecated_posts/os-note-ch1-introduction/</link>
      <pubDate>Sun, 26 Mar 2023 16:33:00 +0800</pubDate>
      <guid>/en/_deprecated_posts/os-note-ch1-introduction/</guid>
      <description>Computer-System Architecture and Organization I/O Devices: except CPU and memory I/O devices and the CPU can work concurrently(同时) CPU and Memory in Computer Single processor Multiple processors Dual core Non-Uniform Memory Access System (NUMA) Device driver (software) inside the kernel knows how to talk and manage the device provides uniform interface between controller and kernel Each device controller informs CPU</description>
    </item>
    <item>
      <title>From H.248 to Analog PSTN Lines - Bridging Operators&#39; Landline Networks for Independent Operation</title>
      <link>/en/posts/h248-calling/</link>
      <pubDate>Mon, 09 Jan 2023 21:24:00 +0800</pubDate>
      <guid>/en/posts/h248-calling/</guid>
      <description>Background This is my first blog post of 2023. I feel embarrassed that I haven&amp;rsquo;t produced many meaningful or valuable articles in the past two years. However, the posts I recorded in my blog were born from urgent problems or ideas that I resolved.&#xA;In fact, I solved this problem back in mid-last year, but I never found the time to document my exploration process—so here it is now.&#xA;At the beginning of last year, I had just completed my article &amp;ldquo;Replacing My HN8145V Optical Modem with Huawei MA5671A.</description>
    </item>
    <item>
      <title>Convert DKey Token to Standard TOTP (Time-based One-Time Password)</title>
      <link>/en/posts/dkey-token-to-standard-totp/</link>
      <pubDate>Fri, 27 May 2022 10:00:00 +0800</pubDate>
      <guid>/en/posts/dkey-token-to-standard-totp/</guid>
      <description>What is TOTP? TOTP, short for Time-based One-Time Password, is a form of 2FA (two-factor authentication) that calculates a one-time password based on a pre-shared key and the current time. It generates dynamic 6-digit or 8-digit codes from a fixed secret. Both the user and the server hold the same secret, ideally only shared between them. This secret is a string of binary data that is base32 encoded for easier transmission, with the last = removed.</description>
    </item>
    <item>
      <title>Solve the IPv6 issue of the broadband in my dormitory</title>
      <link>/en/posts/solve-ipv6-issue-in-my-dorm/</link>
      <pubDate>Thu, 19 May 2022 10:00:00 +0800</pubDate>
      <guid>/en/posts/solve-ipv6-issue-in-my-dorm/</guid>
      <description>Background My broadband ISP in my dormitory is China Unicom, FTTB. It is terrible that it has only 100Mbps connectivity (Fast Ethernet). But the most horrible thing is that the BRAS only assigned the IPv6 address by SLAAC, even can not assign PD prefix to my router. CU is the only ISP that provides PPPoE + IPv6 + public IPv4 in our university. Because of this, I didn&amp;rsquo;t change my mind to migrate my ISP</description>
    </item>
    <item>
      <title>Implementing IPTV and Internet Channel Reuse Using the VLAN Binding Function of the Optical Modem</title>
      <link>/en/posts/vlan-iptv/</link>
      <pubDate>Sat, 05 Feb 2022 17:09:00 +0800</pubDate>
      <guid>/en/posts/vlan-iptv/</guid>
      <description>Background In a new network environment, the wireless AP is located in a metal weak current box, resulting in poor signal strength. The network port in the living room is connected to the IPTV interface of the optical modem with only one line, which cannot carry internet services. This is clearly a problem caused by not adequately planning during the renovation, leaving only one line. How can we move the wireless access point from the weak current box to the living room without running additional cables while ensuring that the normal internet needs of the entire house are not affected?</description>
    </item>
  </channel>
</rss>
