WO2021018129A1 - Procédé et structure de vérification de données - Google Patents

Procédé et structure de vérification de données Download PDF

Info

Publication number
WO2021018129A1
WO2021018129A1 PCT/CN2020/105122 CN2020105122W WO2021018129A1 WO 2021018129 A1 WO2021018129 A1 WO 2021018129A1 CN 2020105122 W CN2020105122 W CN 2020105122W WO 2021018129 A1 WO2021018129 A1 WO 2021018129A1
Authority
WO
WIPO (PCT)
Prior art keywords
computer
data
image
acquisition device
image acquisition
Prior art date
Application number
PCT/CN2020/105122
Other languages
English (en)
Chinese (zh)
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 周兴昌
Priority to CA3145991A priority Critical patent/CA3145991A1/fr
Publication of WO2021018129A1 publication Critical patent/WO2021018129A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof

Definitions

  • the invention relates to the field of Internet/computer technology.
  • a signal line is arranged between the display card and the image acquisition device, the signal line is used for the image acquisition device to send a signal to the display card, and the signal line is a single signal line.
  • the image acquisition device sends the first signal or the second signal to the display card of the first computer
  • the image acquisition device sends the first signal or the second signal to the first computer through the gpio of the first computer;
  • the image acquisition device sends the first data to the second computer, and the second computer sends the first signal or the second signal to the first computer through the gpio of the first computer;
  • the image acquisition device sends the first data to the second computer
  • the image output port of the second computer of the second computer sends the second data to the second acquisition device
  • the second acquisition device sends the second data or the third data to the first computer
  • GPIO English: General-purpose input/output
  • the structure of data transmission is: the image output port of the first computer is connected to the image acquisition device;
  • the image acquisition device is connected to the gpio of the first computer
  • the image acquisition device is connected to a second computer, and the second computer is connected to the gpio of the first computer.
  • Fig. 1 is a flowchart of an embodiment of a method for transmitting data between a first computer and a second computer of the present invention
  • Figure 2 is a schematic structural diagram of an embodiment of a data transmission device of the present invention.
  • Figure 3 is the first sample of the image in the present invention.
  • Figure 4 is a second sample of the image in the present invention.
  • Figure 5 is a third sample of the image in the present invention.
  • the first computer 2. The first image acquisition device, 3. The second image acquisition device, 4. The second computer, 5. The first display card, 6. The second display card, 7. The third display card, 8. Section Four display cards, 9. The first display, 10. The second display.
  • the second display card is a part of the first computer, the second display card 6 is connected to the first display 9, and the first display 9 is used to display the desktop of the first computer;
  • the fourth display card is a part of the second computer, the fourth display card 8 is connected to the second display 10, and the first display 10 is used to display the desktop of the second computer.
  • the display card of the first computer sends data to the first image acquisition device.
  • Each first image corresponds to a serial number, which is used for verification when the second computer processes the data to ensure that the second computer only processes the first image in the current business scenario. Image once.
  • the display card sends an image to the image acquisition device. If the image acquisition device successfully acquires the image, the image acquisition device sends a signal to the display card that the image acquisition is successful. If the image capture card is unsuccessful or incompletely successful (the captured image is incomplete), the image capture device discards the incomplete image and sends a signal to the display card that the image is unsuccessful, or the display card sends the image After the image acquisition device sends the image, if the signal of successful acquisition by the image acquisition device is not received within a certain period of time (such as 1 second), the display card sends the image to the image acquisition device again.
  • a certain period of time such as 1 second
  • the image acquisition device sends the image to the second computer.
  • the same image can only be processed by the second computer once.
  • Parameterized processing including parameterized insertion, deletion, query, etc.
  • Parameterized Query refers to the use of parameters to give values where values or data need to be filled in when designing to link to the database and access data. This method is currently regarded as the most effective A defense method that can prevent SQL injection attacks (SQL Injection).
  • a website W is established in the first computer 1.
  • the user information of the website W is stored in the database B.
  • the user information includes: user name, password and user personal information; personal information includes: name, phone number, etc.
  • the database B is installed in the second computer 4; the steps of storing the user information of the website W in the database B are described in detail in the following implementation column; in the subsequent embodiments, the program developer can choose different development tools as needed.
  • the first computer is a web server (Web Server); the first computer is also called an application server (Application Server).
  • Web Server web server
  • Application Server Application Server
  • the second computer is a database server (Database Server).
  • the main purpose of the database server is to receive and store data sent by the first computer (Web server or application server or other computer).
  • the first display card 5 and the third display card 7 are the same type of display card, and the characteristics of the display card include:
  • the driver of the display card After the driver of the display card receives an image or an image file or all the pixel information in an image, the driver of the display card controls the display card to convert the received data into image signals suitable for VGA or DVI port transmission. The image signal is sent out via the VGA or DVI port of the display card.
  • the dynamic link library contains the Recpic() function.
  • the Recpic() function can be called by other programs.
  • the Recpic() function is a user mode Function.
  • the function Recpic() can receive data from other programs. The data includes image files, images and pixel information in the image, etc.
  • the possible functions of the function Recpic() are described in detail in the implementation examples;
  • the function Recpic() sends the received data to a designated function in the driver of the display card.
  • the designated function receives data, it is equivalent to the driver of the first display card.
  • the display card can transmit up to 24 frames of images per second.
  • the program M in the first computer or the program J in the second computer can recognize and obtain the data in the specified image when running, and the program P in the first computer and the program J in the second computer can both be Generate an image; the functions of program M, program J, and program P are described in detail in the embodiments. Developers who write programs M, program J, and program P can choose different development tools according to their needs in common development languages (tools) or platforms.
  • the first computer sends images through the video/image output port of the first display card (or the second computer sends images through the video/image output port of the third display card), and the recognized content in the image contains letters, numbers,
  • the height of text, symbols, and content in the image is between 1.5 mm and 40 mm, the background color in the image is white, the color of the content in the image is black, and the line spacing of the content in the image is between 1 mm and 15 mm.
  • the second image acquisition device can run a software F, the software F can identify and acquire data in a specified image, and the second image acquisition device has network communication capabilities.
  • the first computer 1 and the second image acquisition device 2 are connected by a network cable.
  • 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 and generates a serial number.
  • the range of the serial number is from 5000 to 65535. If the serial number generated is greater than 65535, the serial number is equal to 5000, and the serial number increases sequentially.
  • program P will 8002, "login", user name 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), the program P calls the function Recpic() in the dynamic link library Rec.dll, and the program P transfers the image X to the function Recpic(), and the function Recpic() can receive images from other programs.
  • the function Recpic() sends the received image to a designated function in the driver of the first display card.
  • the first computer converts the image X into a signal suitable for transmission by the DVI port of the first display card (the first display card is considered to be an integral part of the first computer), and then sends the signal to the first image acquisition device.
  • a computer sends an image number to the first image acquisition device. The image number ranges from 1 to 10, and is used cyclically. Assuming that the image number sent this time is 8, we think that the number corresponding to image X is 8, and put image X into the image In the queue or task list.
  • Program P runs a section of socket server program and a section of socket receiver (the server port number is 8002.
  • the first image acquisition device receives the image X and the image processing verification signal from the video/image output port of the first display card of the first computer, and the first image acquisition device converts the image processing verification signal into inspection data. 1", or the first image acquisition device outputs inspection data "1" from the first display card of the first computer, or the first image acquisition device generates inspection data "1" and then sends it to the second computer.
  • the first display card sends the image X to the first image acquisition device. If the first image acquisition device successfully acquires the image X, the first image acquisition device sends a signal to the first display card that the image is successfully acquired, and the image acquisition device sends the image to the first computer.
  • the display card sends a signal of successful image acquisition;
  • the image acquisition device sends a signal of successful image acquisition to the first computer through the gpio of the first computer;
  • the image acquisition device sends the image X to the second computer, and the second computer sends a signal that the image acquisition is successful to the first computer through the gpio of the first computer;
  • the image acquisition device sends the image X to the second computer, and the second computer sends "1" to the second acquisition device,
  • the image acquisition device sends the image X to the second computer, and the second computer sends the image N to the second acquisition device.
  • the first row of the image N is "1".
  • the first image capture device discards the incompletely captured image, and the image capture device sends the captured image to the display card of the first computer. Signal of success
  • the image acquisition device sends a signal that the image acquisition is unsuccessful to the first computer through the gpio of the first computer;
  • the image acquisition device sends a message to the second computer, and the second computer sends a signal that the image acquisition is unsuccessful to the first computer through the gpio of the first computer;
  • the image acquisition device sends a message to the second computer, and the second computer sends "1" to the second acquisition device,
  • the image acquisition device sends a message to the second computer, and the second computer sends the image N to the second acquisition device.
  • the first line of the image N is "0", or the first display card sends the image X to the first image acquisition device. If after a certain period of time (for example, 1 or 10 seconds), the first image acquisition device does not receive a successful signal, the first computer sends the image X to the first image acquisition device through the first display card of the first computer.
  • the first image acquisition device recognizes and acquires the data on the image X; then sends the data to the second computer, the data received by the second computer; or, the first image acquisition device receives the video/video from the first display card of the first computer
  • the image output port receives the image X, and then the first image acquisition device sends the image X to the second computer, and the second computer runs the program J to recognize the data in the image X.
  • the second computer performs the following operations:
  • the sequence number corresponding to the inspection image of program J is "8", and the inspection data is "1", and the program J will further process. If the inspection data is "0", the operation ends.
  • the inspection data is "1” indicating the serial number "8"
  • the corresponding processing status is "unprocessed”
  • the check data is "1” is the initial state corresponding to all serial numbers
  • the check data is "0” indicating that the processing state corresponding to the serial number "8" is "processed”.
  • the third line of the data read by program J is the user name
  • the fourth line is the password.
  • Program J reads the record in database B and verifies the user name and password.
  • Program J processes the parameterized query of the user name and password.
  • the personal information is name and phone number.
  • Program J puts the serial number, the logo of the user's successful login, and the user's personal information in a frame of image S.
  • the display form of a frame of image S on the screen is shown in Figure 4 (the data format of a frame of image S is shown in Table 2 above. ), in image S, the first line is the serial number (or session number), and the second line is "Y"; the second computer stores the serial number (or session number) in the second computer, and the serial number (or session number) is The user name forms a set of correspondences. In other words, at this time, the user name has a corresponding serial number (or session number); the inspection data corresponding to the program J inspection image is changed to "0";
  • program J puts the serial number, the logo of the user's unsuccessful login and "user name and password do not match” in a frame of image S See Figure 5 for the display form on the screen (see Table 3 for the data format in a frame of image S); the inspection data corresponding to the inspection image in program J is changed to "0";.
  • Program J calls the function Recpic() in the dynamic link library Rec.dll, and the function Recpic() reads the image S.
  • the function Recpic() sends the received image to a designated function in the driver of the third display card.
  • the second computer converts the image S into a signal suitable for transmission by the DVI port of the third display card, and then sends the signal to the second image acquisition device .
  • the second image acquisition device receives images from the image/video output port of the third display card in the second computer. There is a data line between the third display card and the second image acquisition device. The second image acquisition device sends a signal to the third display card.
  • the third display card sends the image S to the second image acquisition device. If the second image acquisition device successfully acquires the image S, the second image acquisition device sends a signal to the third display card that the image is successfully acquired. If the image capture card captures the image S unsuccessfully or incompletely (the captured image is incomplete), the second image capture device discards the captured incomplete image and sends a signal to the third display card that the captured image is unsuccessful. Or, after the third display card sends the image S to the second image acquisition device, if the signal of successful acquisition by the second image acquisition device is not received after a certain time (such as 1 second), the third display card sends the second image acquisition device again. Send image S once.
  • a certain time such as 1 second
  • the driver of the second image acquisition device sends the received image to software F in the first computer.
  • Software F recognizes and obtains the data in the image. If the number in the first line of the data is 8002, then software F runs a socket
  • the sender client program
  • a socket sender program sends out the data identified in the image
  • the socket communication port number used by a socket sender program is 8002.
  • the first computer receives the data, and the software F also performs the following operations: close the client of the socket communication program.
  • the first computer also performs the following operations:
  • the first image acquisition device fails to collect the above-mentioned data, the first image acquisition device or the second computer informs the first computer, and the first computer controls the first display card to send the image Q, image processing check signal, and serial number again ;
  • the second computer recognizes the data of the picture Q, if the second line is "query”, then read the user name and its corresponding serial number (or session number) stored in the second computer,
  • the inspection data corresponding to the inspection image of the program J is changed to "0", indicating that the image Q has been processed, and the first computer sends the information in the picture w to the user's computer.
  • the WEB server places the three requests for accessing the database in image 1, image 2 and image 3.
  • the first computer runs a software K, and software K places image 1, image 2 and image 3 in an image queue In or in a task list;
  • the first image acquisition device receives the image 1 successfully from the video/image output port of the first display card of the WEB server, the first image acquisition device sends a signal of successful image acquisition to the first display card, or the first image
  • the acquisition device sends a signal of successful image acquisition to the gpio of the first computer, or the image acquisition device sends a message to the second computer, and the second computer sends a signal of successful image acquisition to the first computer through the gpio of the first computer.
  • An image acquisition device converts the signal into 0001.jpg and sends it to the second computer,
  • the first image acquisition device converts image 2 into 0002.jpg and sends it to the database server;
  • the first image acquisition device converts image 3 into 0003.jpg and sends it to the database server.
  • the database server receives 0001.JPG, 0002.jpg, 0003.jpg and stores them in the D ⁇ recpic ⁇ directory of the database server.
  • the database server places the result requests of processing images 1, 2, and 3 in image A, image B, and image C, respectively.
  • the database server runs a software K, and software K places image A, image B, and image C in In an image queue or in a task list;
  • the second image acquisition device After the second image acquisition device successfully receives image A from the video/image output port of the third display card of the WEB server, the second image acquisition device sends a signal of successful image acquisition to the third display card, and the second image acquisition device Convert the signal to 0001.jpg and send it to the WEB server,
  • the second image acquisition device converts image B into 0002.jpg and sends it to the WEB server;
  • the second image acquisition device converts the image C into 0003.jpg and sends it to the WEB server.
  • image 1, image 2 and image 3 in the first computer.
  • the first computer runs a software K, and the software K puts image 1, image 2 and image 3 in an image queue or a task list;
  • the first computer converts image 1, image 2, and image 3 into signals suitable for transmission by the VGA port of the first display card.
  • the signals suitable for transmission by the VGA port are called signal 1, signal 2, and signal 2, respectively, signal 1 Send out via the VGA port of the first display card.
  • the first image acquisition device receives the signal 1 successfully from the video/image output port of the first display card of the first computer, the first image acquisition device sends a signal that the image is successfully acquired to the first display card, and the first image acquisition The device converts the signal into 0001.jpg and sends it to the second computer.
  • the first image acquisition device converts signal 2 into 0002.jpg and sends it to the second computer;
  • the first image acquisition device converts signal 3 into 0003.jpg and sends it to the second computer.
  • the second computer receives 0001.JPG, 0002.jpg, 0003.jpg, and stores them in the D ⁇ recpic ⁇ directory of the second computer.
  • the output port of the display card can be an image output port such as DVI, HDMI, VGA, etc.
  • the input port of the corresponding image acquisition device also adopts the corresponding image input port, and the first computer converts the relevant image/image file into a suitable first display
  • the signal transmitted by the DVI, HDMI, VGA and other output ports of the card is transmitted, and the second computer converts the relevant image/image file into a signal suitable for transmission by the DVI or HDMI or VGA output port of the third display card for transmission.
  • any device that can obtain data from the first computer and send image signals to the image acquisition device should be regarded as a substitute product for the display card, such as FPGA. Users can use the techniques in the above implementation examples to perform various operations, such as modifying user passwords.
  • a method for transmitting data used to transmit data between a first computer and a second computer, includes:
  • Step S10 the display card of the first computer sends data to the first image acquisition device, and the first image acquisition device sends data to the second computer;
  • Step S20 The first step: a verification mechanism is adopted when the image capture card captures images to ensure that the image capture card successfully captures the image; the second step: in the current business scenario, the second computer processes the image only once.
  • a further preferred solution is:
  • 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 sends the first signal or the second signal to the display card of the first computer
  • the first image acquisition device sends the first signal or the second signal to the first computer through the gpio of the first computer;
  • the first image acquisition device sends the first data to the second computer, and the second computer sends the first signal or the second signal to the first computer through the gpio of the first computer;
  • the image acquisition device sends the first data to the second computer, the second computer sends the second data to the second acquisition device through the image output port of the second computer, and the second acquisition device sends the second data or the third data to the first computer.
  • the first signal or the second data or part of the information of the second data indicates that the first data collected by the image acquisition device is incomplete or unsuccessful, and the first computer sends the first data to the image acquisition device again; or,
  • the first computer After the first computer sends the first data to the image acquisition device for a period of time, the first computer does not receive the first signal sent by the image acquisition device or the second computer, and the first computer sends the first data to the image acquisition device again.
  • the second signal or third data or partial information of the third data indicates that the image acquisition device successfully acquires the first data, and the first computer sends the fourth data to the image acquisition device.
  • the first computer Before the first data is sent by the first computer, the first computer places a plurality of first data accessing the database in a queue or task list.
  • the second computer When the second computer processes the first data, the second computer performs parameterization processing on the first data or the fourth data, and the parameterization processing includes a parameterized query.
  • the first data includes first information and second information
  • the fourth data contains third information and fourth information. If the third information is consistent with the first information and the fourth information is consistent with the second information, the second computer uses the first method to process the first data; if the third information is consistent with The first information is inconsistent or the fourth information is inconsistent with the second information, and the second computer uses the second method to process the fourth data.
  • the first computer sends the first data or the fourth data to the image acquisition device through the image output port of the first computer, and the first computer sends the serial number corresponding to the first data or the fourth data to the image acquisition device through the image output port of the first computer ,
  • the image acquisition device sends the serial number to the second computer;
  • the second computer checks the processing normal state corresponding to the serial number
  • the second computer sets the initial processing state corresponding to the serial number to the unprocessed state
  • the second computer marks the processing normal state corresponding to the serial number as the processed state.
  • the first computer is a web server or an application server.
  • the second computer is a database server.
  • the image acquisition device is connected to the gpio of the first computer
  • the image acquisition device is connected to the second computer, and the second computer is connected to the gpio of the first computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

L'invention concerne un procédé et une structure de vérification de données. Le procédé comprend : dans le processus selon lequel une carte d'affichage d'un premier ordinateur envoie des données à un premier dispositif d'acquisition d'image et le premier dispositif d'acquisition d'image envoie des données à un second ordinateur, une étape 1 : un mécanisme de vérification est utilisé lorsqu'une carte d'acquisition d'image acquiert une image, de façon à garantir que la carte d'acquisition d'image acquiert l'image avec succès; une étape 2 : le second ordinateur ne traite l'image que lorsqu'elle se trouve dans un scénario de service. La désorganisation d'un système peut être évitée tout en assurant la sécurité des données.
PCT/CN2020/105122 2019-07-28 2020-07-28 Procédé et structure de vérification de données WO2021018129A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CA3145991A CA3145991A1 (fr) 2019-07-28 2020-07-28 Methode de traitement de donnees

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201910686082 2019-07-28
CN201910686082.2 2019-07-28
CN2019098941 2019-08-01
CNPCT/CN2019/098941 2019-08-01

Publications (1)

Publication Number Publication Date
WO2021018129A1 true WO2021018129A1 (fr) 2021-02-04

Family

ID=74230236

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/105122 WO2021018129A1 (fr) 2019-07-28 2020-07-28 Procédé et structure de vérification de données

Country Status (3)

Country Link
CA (1) CA3145991A1 (fr)
TW (1) TW202111599A (fr)
WO (1) WO2021018129A1 (fr)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120159606A1 (en) * 2010-12-17 2012-06-21 Phillip John Sobolewski Code domain isolation
CN103716652A (zh) * 2014-01-10 2014-04-09 厦门市美亚柏科信息股份有限公司 数据传输方法、装置以及数据传输系统
CN106982307A (zh) * 2016-01-15 2017-07-25 周兴昌 一种传输数据的方法及传输数据的装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120159606A1 (en) * 2010-12-17 2012-06-21 Phillip John Sobolewski Code domain isolation
CN103716652A (zh) * 2014-01-10 2014-04-09 厦门市美亚柏科信息股份有限公司 数据传输方法、装置以及数据传输系统
CN106982307A (zh) * 2016-01-15 2017-07-25 周兴昌 一种传输数据的方法及传输数据的装置

Also Published As

Publication number Publication date
CA3145991A1 (fr) 2021-02-04
TW202111599A (zh) 2021-03-16

Similar Documents

Publication Publication Date Title
US10992646B2 (en) Data transmission method and data transmission apparatus
US10223062B1 (en) Method and apparatus of capturing a screen image of a remotely managed machine
JP2009295153A (ja) ウェブベースのテキスト検出方法及びシステム
US20160299988A1 (en) Methods, systems, and computer readable media for capturing and storing a web page screenshot
US8856944B2 (en) Obscuring sensitive portions of universal resource locator
US20170339180A1 (en) Network assessment systems and methods thereof
WO2021023085A1 (fr) Procédé et appareil d'ajout de filigrane, procédé et appareil de reconnaissance de filigrane, et dispositif électronique
US11252135B2 (en) Method of processing data
WO2021018129A1 (fr) Procédé et structure de vérification de données
JP2022003517A (ja) 機密情報を保護するための画像由来識別ドキュメントの検出
CN112307527A (zh) 一种传输数据的方法及结构
CN110334301B (zh) 一种页面还原方法及装置
CN114257443B (zh) 一种法院专用跨内网签名系统、方法及设备
CN113032070B (zh) 一种主机图像截取方法、装置及相关组件
WO2023226908A1 (fr) Procédé de transmission de données unidirectionnelle
AU2017204137B2 (en) Data transmission method and data transmission apparatus
CN109190338B (zh) 一种虚拟化桌面屏幕水印生成方法及系统
US11502850B2 (en) Server apparatus, client terminal, information processing system and information processing method
KR102599525B1 (ko) 관심 이미지의 시인성을 개선한 화면 표출 방법, 장치 및 시스템
CN113515767B (zh) 一种基于混合模式移动应用的接口请求管理方法及装置
US10114876B2 (en) Data augmentation between devices using visual code
CN117389769A (zh) 基于云服务的浏览器端富文本拷贝方法、系统及云平台
JP2011175413A (ja) ウェブ画面復元装置及びウェブ画面復元方法及びウェブ画面復元プログラム
TW201805838A (zh) 加速網頁顯示亞洲語系字型的方法、字型伺服器、與瀏覽器端

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: 20847759

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 3145991

Country of ref document: CA

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20847759

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 522431527

Country of ref document: SA