WO2023226908A1 - 一种单向传输数据的方法 - Google Patents

一种单向传输数据的方法 Download PDF

Info

Publication number
WO2023226908A1
WO2023226908A1 PCT/CN2023/095410 CN2023095410W WO2023226908A1 WO 2023226908 A1 WO2023226908 A1 WO 2023226908A1 CN 2023095410 W CN2023095410 W CN 2023095410W WO 2023226908 A1 WO2023226908 A1 WO 2023226908A1
Authority
WO
WIPO (PCT)
Prior art keywords
computer
data
image
sends
acquisition device
Prior art date
Application number
PCT/CN2023/095410
Other languages
English (en)
French (fr)
Inventor
周兴昌
Original Assignee
周兴昌
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 周兴昌 filed Critical 周兴昌
Publication of WO2023226908A1 publication Critical patent/WO2023226908A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • the present invention relates to the field of Internet/computer technology, and in particular, to a method of one-way data transmission.
  • the purpose of the present invention is to provide a method for transmitting data.
  • the database server sends data to the web server through a one-way output device.
  • the speed is greatly improved; in the process of the database server sending data to the web server through a one-way output device, it reduces the need for the database server to convert data into images and web servers.
  • a large amount of data can be transmitted at one time. If a display card is used to transmit a large amount of data, it will take a lot of time.
  • the network cable transmission speed is many times that of the display card.
  • Figure 1 is a structural diagram of an embodiment of a method for transmitting data between a first computer and a second computer according to the present invention
  • the first computer 2. Image acquisition device, 3. One-way network card, 4. The second computer, 5. The first display card, 6. The second display card, 7. Monitor,
  • a website W is established in the first computer 1.
  • the user information of website W is stored in database B.
  • the user information includes: user name, password and user personal information; personal information includes: name, phone number, etc.
  • Database B is installed in the second computer 4; the steps for storing user information of website W into database B are described in detail in the following implementation column;
  • the first computer is a Web Server; the first computer is also called an Application Server.
  • the second computer is a database server (Database Server).
  • Database Server The main purpose of a database server is to receive and store data sent by the first computer (Web server or application server or other computer).
  • the display card driver After the display card driver receives an image or an image file or all pixel information in an image, the display card driver controls the display card to convert the received data.
  • the image signal is sent out through the VGA or DVI port of the display card.
  • the program M in the first computer or the program J in the second computer can identify and obtain the data in the specified image when running.
  • the program P in the first computer and the program J in the second computer can identify and obtain the data in the specified image when running.
  • the data recognized in the image in the example implementation no longer contains blank lines.
  • User F opens the user login page of website W, enters the user name and password, and clicks the "Login” button.
  • the first computer runs a program P to generate a serial number.
  • the range of the serial number is 5000 to 65535. If the generated serial number is greater than 65535, the serial number is equal to 5000, and the serial number increases sequentially. Assume that the serial number generated this time is 8002, and the program P will 8002. "login", username and password are placed in a frame of image X.
  • the display form of a frame of image X on the screen is shown in Figure 3 (the data format in a frame of image Y refers to the data format A in the image).
  • Program P runs a socket server program, that is, a socket receiving program, and the communication port number is 8002.
  • the image acquisition device receives the image X from the video/image output port of the first display card of the first computer, and then sends it to the second computer.
  • the image acquisition device recognizes and acquires the data on the image
  • the video/image output port of the first display card of the computer receives the image X, and then the image acquisition device sends the image X to the second computer.
  • the second computer runs the program J and identifies the data in the image X.
  • the second computer performs the following operations: Program J. If the second line of the judged data is "login", the third line of the data read by Program J is used as the user name, and the fourth line is used as the password. Program J reads the data in database B. Record and verify the user name and password, and program J processes the user name and password parameterized query.
  • Software J sends the login result to the first computer through the one-way network card to the socket's server-side program port 8002;
  • the first computer receives the data. 1) If the data contains the letter "Y", "User login successfully" and the user's personal information, the first computer sends the user's personal information to user F's computer, and user F's computer "User login successful” is displayed on the monitor;
  • the first computer sends "The user name already exists or the password entered twice is inconsistent" to user F's computer.
  • the monitor of user F's computer displays "The user name and password do not match.”
  • the relevant information is placed in the first, second, third and fourth rows of the picture Q and sent to the image acquisition device;
  • the second computer recognizes the data of picture Q. If the second line is "query”, then it reads the user name and its corresponding serial number (or session number) stored in the second computer;
  • the query result is the customer information and serial number (or session number) related to this user name;
  • Software J sends the query results to the socket’s server-side program port 8002 through the one-way network card, or,
  • An RJ45 port is added to the one-way network card of the second computer to directly connect to the Internet.
  • the second computer sends the query results to the user's computer through this RJ45 port.
  • the output port of the display card can be an image output port such as DVI, HDMI, VGA, etc.
  • the first computer converts the relevant image/image file into a format suitable for the first display card
  • the second computer converts the relevant image/image file into a signal suitable for transmission by the DVI, HDMI, VGA and other output ports of the third display card for transmission.
  • any device capable of obtaining data from the first computer and capable of sending image signals to the image acquisition device should be regarded as a substitute for the display card.
  • the method is used to transmit data between a first computer and a second computer, and the first computer sends the first data to the first image acquisition device through the image output port of the first computer;
  • the first image acquisition device receives the first data; the first image acquisition device sends the first data to the second computer; or, the first image acquisition device processes the first data to generate the second data, and the first image acquisition device generates the second data.
  • the second data is sent to the second computer;
  • the first image acquisition device has an image input port, and the image input port is used to connect with the image output port of the first computer; the second computer processes the first data or the second data to generate third data, and the first computer
  • the image output port includes the output port of the display card of the first computer, and the second computer sends the third data to the first computer through the one-way network card of the second computer or sends the third data to an external computer (the user's computer).
  • One computer is a web server or application server.
  • the second computer can also be a computer in the local area network, or it can be a server with one or more virtual terminals installed.
  • the second computer sends the file to the computer on the Internet through the one-way network card of the second computer for off-site backup.
  • This method can make the system not only safe, but also able to send data quickly and in large quantities to meet the application of large enterprises.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种单向传输数据的方法,包括:web服务器通过显示卡和图像采集卡向数据库服务器发送数据,数据库服务器通过单向网卡向web服务器发送数据。

Description

                                     一种单向传输数据的方法 技术领域
       本发明涉及互联网/计算机技术领域,尤指一种单向传输数据的方法。
背景技术
现在的社会,很多公司、单位都会有自己的网站,用来发布信息供客户、用户了解自身的信息,但是这种网站可能存在较大的安全隐患,
很容易被黑客攻击,让黑客有机会访问公司网站的数据库,造成公司数据的泄漏。
技术问题
       已有技术,web 服务器与数据库服务器之间两组通过显示卡和图像采集卡交换数据。在实现网站安全的前提下,不能快速、大量的传输数
据。
解决方案
本发明的目的是提供一种传输数据的方法,数据库服务器通过单向输出设备向 web 服务器发送数据。
有益效果
1、速度大幅度提升;数据库服务器通过单向输出设备向 web 服务器发送数据过程中,减少了数据库服务器将数据转换成图像和 web 服务器
识别图像的过程;
2、可以一次性传输大量数据,如果使用显示卡传输大量数据,会花很多时间,网线传输速度是显示卡传输数据速度的很多倍。
3、由于数据库服务器采用单向输出设备传输,黑客不可能通过这条途径从外部入侵。
附图说明
下面结合附图和具体实施方式对本发明作进一步详细说明:
图 1 是本发明第一计算机与第二计算机之间传输数据的方法一个实施例的结构图;
附图标号说明:
1.第一计算机,2.图像采集装置,3.单向网卡,4.第二计算机,5.第一显示卡,6.第二显示卡,7.显示器,
具体实施方式
为了更清楚地说明本发明,下面将对照附图说明本发明的具体实施方式。
显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根
据这些附图获得其他的附图,并获得其他的实施方式。
1.建立一种网站:
在第一计算机 1 里建立一个网站 W,网站 W 的用户资料存储在数据库 B 里,用户资料包括:用户名、密码和用户个人信息;个人信息包括:姓名、电话等。数据库 B 安装在第二计算机 4 里;网站 W 的用户资料存储到数据库 B 的步骤在后面的实施列中详细描述;
第一计算机是一台 Web 服务器(Web Server);第一计算机也被称为是一台应用程序服务器(Application Server)。
第二计算机是一台数据库服务器(Database Server)。数据库服务器的主要用途是接收并存储第一计算机(Web 服务器或应用程序服务器或其他计算机)发送的数据。
2.设定:1)第一显示卡 5 的特征包括:
A、初始状况下,计算机的桌面编码不发送给显示卡;
B、显示卡的驱动程序接收到一个图像或一个图像文件或一个图像中的所有像素信息后,显示卡的驱动程序控制显示卡将接收到的数据转换
为适合 VGA 或 DVI 端口传输的图像信号,图像信号经由显示卡的 VGA或 DVI 端口发送出去。
第一计算机里的程序 M 或第二计算机里的程序 J 运行时能够识别并获取指定图像中的数据,第一计算机里的程序 P 和第二计算机的程序 J
都能够生成图像;程序 M、程序 J 和程序 P 的功能在实施例中详细描述,开发人员编写程序 M、程序 J 和程序 P 常用的开发语言(工具)或平台可以根据需要选择不同的开发工具。
在实施举例中的图像中被识别出来的数据不再包含空白行。
图像中的数据格式请参见下列表格:
1、用户 F 打开网站 W 的用户登录网页,输入用户名、密码,并点击“登录”按钮。
2、第一计算机运行一段程序 P,产生一个序号,序号的范围是 5000到 65535,如果产生的序号大于 65535 时,序号等于 5000,序号依次增加,假设这次产生的序号是 8002,程序 P 将 8002、“login”、用户名和密码放在一帧图像 X 中,一帧图像 X 在屏幕上的显示形式见附图 3(一帧图像 Y 中的数据格式参照图像中的数据格式 A)。
3、程序 P 运行一段 socket 服务器端程序,即一段 socket 接收端程序,通讯端口号是 8002。
4、图像采集装置从第一计算机的第一显示卡的视频/图像输出端口接收图像 X、然后发送给第二计算机。
5、然后图像采集装置识别并获取图像 X 上的数据;然后将数据发送给第二计算机,第二计算机接收的数据;或者,图像采集装置从第一
计算机的第一显示卡的视频/图像输出端口接收图像 X,然后图像采集装置将图像 X 发送给第二计算机,第二计算机运行程序 J,识别出图像 X中的数据。
6、第二计算机进行下列操作:程序 J 如果判断的数据第二行是“login”,程序 J 读取的数据第三行作为用户名,第四行作为密码,程序 J 读取数据库 B 中的记录并校验的用户名和密码,程序 J 对用户名和密码参数化查询处理。
A)如果用户名和密码是匹配的,则返回用户的个人信息,个人信息为姓名、电话。程序 J 将序号、用户登录成功的标识;
B)如果用户名和密码是不匹配的,则返回“用户名和密码是不匹配的”。
软件 J 通过单向网卡向 socket 的服务器端程序 8002 端口将登录结果发送给第一计算机;
7、第一计算机接收数据,1)如果数据中包含字母是“Y”、“用户登录成功”和用户的个人信息,第一计算机将用户的个人信息发送给用户 F 的计算机,用户 F 的电脑的显示器上显示“用户登录成功”;
2)如果数据中包含字母是“N”和“用户名和密码是不匹配的”,
第一计算机将“用户名已经存在或两次输入的密码是不一致的”发送给用户 F 的计算机,用户 F 的电脑的显示器上显示“用户名和密码是不匹
配的”。
8、用户 F 在自己电脑的上点击“查看用户信息”的按钮,第一计算机将序号(或 session 号)、“查询”、用户名、其他用户访问服务器的相
关信息放在图片 Q 中的第一行、第二行、第三行,第四行,发送给图像采集装置;
9、第二计算机识别出图片 Q 的数据,如果第二行是“查询”,然后读取出存储在第二计算机中用户名及其对应的序号(或 session 号);
10、如果存储在图片 Q 中的用户名在第二计算机中找到并且用户名对应的序号(或 session 号)和图片 Q 中的序号(或 session 号)一致,
1)查询结果为这个用户名相关的客户资料和序号(或 session 号);
2)否则查询结果为“您的访问不符合规范” ;
11、软件 J 通过单向网卡向 socket 的服务器端程序 8002 端口发送查询结果,或者,
第二计算机的单向网卡增加一个 RJ45 端口,直接连接互联网,第二计算机将查询结果通过这个 RJ45 端口发送给用户计算机。
需要注意的是,显示卡的输出端口可以为 DVI、HDMI、VGA 等图像输出端口,第一计算机将相关的图像/图像文件转换成适合第一显示卡
的 DVI、HDMI、VGA 等输出端口传输的信号进行传输,第二计算机将相关的图像/图像文件转换成适合第三显示卡的 DVI 或 HDMI 或 VGA 等输出端口传输的信号进行传输。另外,任何能够从第一计算机获得数据并能够向图像采集装置发送图像信号的设备均应该视为显示卡的替代产
品,如 FPGA。用户可以使用上述实施举例中的技术,进行多种操作,如修改用户密码等。
进一步优选的方案 1:
所述方法用于在第一计算机与第二计算机之间传输数据,第一计算机通过第一计算机的图像输出端口向第一图像采集装置发送第一数据;
第一图像采集装置接收第一数据;第一图像采集装置将第一数据发送给第二计算机;或者,第一图像采集装置将第一数据处理后生成第二数据,第一图像采集装置将第二数据发送给第二计算机;
第一图像采集装置具有图像输入端口,所述图像输入端口用于与第一计算机的图像输出端口连接;第二计算机处理所述第一数据或所述第二数据生成第三数据,第一计算机的图像输出端口包括第一计算机的显示卡的输出端口,第二计算机通过第二计算机的单向网卡向第一计算机发送第三数据或向外部的计算机(用户的计算机)发送第三数据,第一计算机是 Web服务器或应用程序服务器。
进一步优选的方案 2:第二计算机还可以是局域网中的一台计算机,也可以是安装一或多个虚拟终端的服务器。
进一步优选的方案 3:第二计算机通过所述第二计算机的单向网卡向互联网中的计算机发送文件,进行异地备份。
工业实用性: 这样的方法能够使系统不但安全,而且可以快速、大量的发送数据,满足大型企业的应用。
应当说明的是,上述实施例均可根据需要自由组合。以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。

Claims (4)

  1. 一种单向传输数据的方法,所述方法用于在第一计算机与第二计算机之间传输数据,其特征在于:
    所述第一计算机通过所述第一计算机的图像输出端口向第一图像采集装置发送第一数据;
    所述第一图像采集装置接收所述第一数据;
    所述第一图像采集装置将所述第一数据发送给所述第二计算机;或者,所述第一图像采集装置将所述第一数据处理后生成第二数据,所述第一图像采集装置将所述第二数据发送给所述第二计算机;
    所述第二计算机处理所述第一数据或所述第二数据生成第三数据,所述第二计算机通过所述第二计算机的单向网卡向第一计算机发送所述第三数据或向外部的计算机发送所述第三数据。
  2. 根据权利要求1所述的单向传输数据的方法,其特征在于,所述第一计算机是Web服务器或应用程序服务器。
  3. 根据权利要求1所述的单向传输数据的方法,其特征在于,所述第二计算机是数据库服务器。 
  4. 一种局域网向外传输数据的方法,其特征在于,包括:局域网中一台计算机或服务器通过单向网卡向外发送数据。
PCT/CN2023/095410 2022-05-21 2023-05-20 一种单向传输数据的方法 WO2023226908A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210558967.6 2022-05-21
CN202210558967 2022-05-21

Publications (1)

Publication Number Publication Date
WO2023226908A1 true WO2023226908A1 (zh) 2023-11-30

Family

ID=88918490

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/095410 WO2023226908A1 (zh) 2022-05-21 2023-05-20 一种单向传输数据的方法

Country Status (1)

Country Link
WO (1) WO2023226908A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006163581A (ja) * 2004-12-03 2006-06-22 Canon Inc ログイン処理方法、ログイン処理プログラム及びログイン処理装置
CN106982307A (zh) * 2016-01-15 2017-07-25 周兴昌 一种传输数据的方法及传输数据的装置
CN110113296A (zh) * 2018-02-01 2019-08-09 上海钢盾信息科技有限公司 一种处理数据的方法
CN110557251A (zh) * 2019-09-27 2019-12-10 武汉控安融科技有限公司 工业数据安全隔离采集系统及内外网数据单向传输方法
CN111901688A (zh) * 2020-09-03 2020-11-06 北京金数信数码科技有限公司 一种内外网隔离的单向安全数据传输结构及方法
CN112307527A (zh) * 2019-08-01 2021-02-02 周兴昌 一种传输数据的方法及结构

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006163581A (ja) * 2004-12-03 2006-06-22 Canon Inc ログイン処理方法、ログイン処理プログラム及びログイン処理装置
CN106982307A (zh) * 2016-01-15 2017-07-25 周兴昌 一种传输数据的方法及传输数据的装置
CN110113296A (zh) * 2018-02-01 2019-08-09 上海钢盾信息科技有限公司 一种处理数据的方法
CN112307527A (zh) * 2019-08-01 2021-02-02 周兴昌 一种传输数据的方法及结构
CN110557251A (zh) * 2019-09-27 2019-12-10 武汉控安融科技有限公司 工业数据安全隔离采集系统及内外网数据单向传输方法
CN111901688A (zh) * 2020-09-03 2020-11-06 北京金数信数码科技有限公司 一种内外网隔离的单向安全数据传输结构及方法

Similar Documents

Publication Publication Date Title
US6023764A (en) Method and apparatus for providing security certificate management for Java Applets
EP3388970B1 (en) Data transmission method and data transmission apparatus
WO2020042376A1 (zh) 用于输出信息的方法和装置
US8856944B2 (en) Obscuring sensitive portions of universal resource locator
WO2022198823A1 (zh) 数据处理方法、装置、电子设备、计算机可读存储介质及程序
CN112100583A (zh) 一种Web可视水印的生成方法及装置
JPH10222446A (ja) 情報記憶型カードを用いたインターネットアクセス装置およびシステムおよびその方法
US20040006709A1 (en) Apparatus and method for securely inputting and transmitting private data associated with a user to a server
US11252135B2 (en) Method of processing data
WO2023226908A1 (zh) 一种单向传输数据的方法
WO2021018129A1 (zh) 一种校验数据的方法及结构
CN114265759A (zh) 一种数据信息泄露后的溯源方法、系统及电子设备
CN112307527A (zh) 一种传输数据的方法及结构
CN112767225A (zh) 前端图像处理方法、装置、电子设备和可读存储介质
WO2020011067A1 (zh) 终端的显示方法和装置、终端及存储介质
AU2017204137B2 (en) Data transmission method and data transmission apparatus
CN216122451U (zh) 一种大规模电子设备的远程展示系统
WO2023230797A1 (zh) 一种跨系统测试方法及装置
US20230179643A1 (en) Instant conferencing system
TW201810077A (zh) 加速網頁顯示亞洲語系字型的方法、字型伺服器、與於網頁顯示字型的瀏覽裝置
WO2021014651A1 (ja) 管理装置及び管理方法
JPH11149435A (ja) 情報表示装置、情報表示方法、ならびに情報媒体
POINT c12) United States Patent
KR20010092036A (ko) 개인휴대단말기를 이용한 모바일가상대학 이용 시스템 및방법
JP2004102976A (ja) マルチ掲示板仮想ディスカッションシステムWebサーバー装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23810979

Country of ref document: EP

Kind code of ref document: A1