WO2017097270A1 - 一种传输数据的方法及传输数据的装置 - Google Patents

一种传输数据的方法及传输数据的装置 Download PDF

Info

Publication number
WO2017097270A1
WO2017097270A1 PCT/CN2017/071103 CN2017071103W WO2017097270A1 WO 2017097270 A1 WO2017097270 A1 WO 2017097270A1 CN 2017071103 W CN2017071103 W CN 2017071103W WO 2017097270 A1 WO2017097270 A1 WO 2017097270A1
Authority
WO
WIPO (PCT)
Prior art keywords
computer
image
data
output port
display card
Prior art date
Application number
PCT/CN2017/071103
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 周兴昌
Priority to AU2017204137A priority Critical patent/AU2017204137B2/en
Priority to SG11201805736RA priority patent/SG11201805736RA/en
Priority to JP2018530770A priority patent/JP6803385B2/ja
Priority to PCT/CN2017/071103 priority patent/WO2017097270A1/zh
Priority to EP17728756.2A priority patent/EP3388970B1/en
Publication of WO2017097270A1 publication Critical patent/WO2017097270A1/zh
Priority to US16/003,103 priority patent/US10992646B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • 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
    • H04N1/00095Systems or arrangements for the transmission of the picture signal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/606Protecting data by securing the transmission between two devices or processes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Definitions

  • the present invention relates to the field of Internet/computer technology, and more particularly to a method for transmitting data and a device for transmitting data.
  • a first aspect of the present invention provides a method of transmitting data, the method for transmitting data between a first computer and a second computer, comprising: an image of the first computer passing through a display card of the first computer Transmitting the first data to the first image capture device, the first image capture device transmitting the first data to the second computer, or the first image capture device The data is processed and sent to the second computer.
  • a second aspect of the present invention provides an apparatus for transmitting data, the apparatus for transmitting data between a computer and a computer, the apparatus comprising: a first computer, a first image acquisition device, a second computer, and a second image a collecting device, wherein: an image/video output port of the display card of the first computer is connected to an input port of the first image capturing device, and an image/video output port of the display card of the second computer is connected to the second An input port of the image capture device, the first computer connecting the second image collection with a network cable or a USB data line And the second computer is connected to the first image acquisition device by a network cable or a USB data line.
  • the first computer is one of a web server and an application server
  • the second computer is a database server.
  • Video capture devices are often referred to as video/image capture devices. When a video capture device captures a single frame of image, the video capture device may be referred to as an image capture device.
  • all video output ports are also image output ports
  • all video input ports are also image input ports
  • the image capture device has an image input port for connecting to an output port of the display card.
  • the output port of the display card can be referred to as an image output port, and can also be referred to as a video output port.
  • FIG. 1 is a flow chart of an embodiment of a method for transmitting data between a first computer and a second computer of the present invention
  • FIG. 2 is a schematic structural diagram of an embodiment of an apparatus for transmitting data according to the present invention.
  • Figure 3 is a first sample of an image of the present invention
  • Figure 4 is a second sample of an image of the present invention.
  • Figure 5 is a third sample of an image of the present invention.
  • Figure 6 is a fourth sample of the image of the present invention.
  • Figure 7 is a fifth sample of an image of the present invention.
  • Figure 8 is a sixth sample of an image in the present invention.
  • First computer 2. First image acquisition device, 3. Second image acquisition device, 4. Second computer, 5. First display card, 6. Second display card, 7. Third display card, 8 4. Fourth display card, 9. First display, 10. Second display.
  • the first computer 1 installs an operating system (such as windows server 2012 or windows server 2012 R2) of windows server 2008 or windows server 2008, and establishes a website W in the first computer 1, and the user data of the website W is stored in the database B.
  • 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 step of storing the user data of the website W to the database B is described in detail in the following implementation column; the technician uses the development language or platform such as .NET or JAVA to generate the webpage of the website W,
  • the program developer can select different development tools as needed.
  • the first computer is a web server (Web Server); the first computer can also be an application server (Application Server).
  • the definition of the application server can be any of the following:
  • the application server is a computer running at least one server-side application, and a server-side application can form a corresponding server side with a client application on another computer or a client application on a mobile device.
  • Client relationship
  • the application server is capable of receiving web server data or instructions, and further processing the data and sending it to a database server or other computer.
  • the second computer is a database server (Database Server).
  • Database server The primary purpose of receiving and storing data sent by a first computer (a web server or an 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 first display card 5 and the third display card 7 use the same driver.
  • neither the first display card 5 nor the third display card 7 outputs a signal
  • the first display card does not output the desktop content of the first computer; the third display card does not output the desktop content of the second computer.
  • the first computer has software M, a program P (referred to as program P), software F, software K and other programs, and the second computer has software J, and the functions of these programs are detailed in the embodiment.
  • the development language (tool) or platform commonly used by developers to write these programs is .NET, JAVA, etc. (program developers can choose different development tools as needed).
  • the first computer transmits an image through the video/image output port of the first display card (or the second computer transmits the image through the video/image output port of the third display card), and the recognized content in the image includes letters, numbers, Text, symbols, the height of the 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 content is between 1 mm and 15 mm in the image.
  • the first or third display card transmits 24 frames (or 60 frames) of images per second.
  • the resolution of the output image of the first display card is consistent with the resolution of the image acquired by the first image acquisition device; the resolution of the output image of the third display card is consistent with the resolution of the image acquired by the second image acquisition device.
  • User F opens the user registration page of website W, first enter the user name (zhang), then enter the password (Hello) for the first time, enter the password for the second time (Hello), and then enter the name (ZhangSan) and phone number (13888888888). After that, click the "Register" button.
  • the first computer runs a program P, and the program P generates a serial number. It is assumed that the serial number generated this time is 6002, and the serial number is sequentially increased.
  • the program P will be 6002, "Create", the user name, the first input password, and the second.
  • the password, name and phone input once are placed in one frame image Z, and the display form of one frame image Z on the screen is shown in Fig. 3 (the data format in one frame image Z refers to the above table 1), and the program P will be one frame.
  • Image Z is saved as image file 6002.jpg (RGB mode Type), the image file is named after the serial number, and 6002.JPG is saved in the D: ⁇ Temp ⁇ directory of the first computer.
  • the first computer converts the image file 6002.jpg into a signal transmitted by a VGA port suitable for the first display card (the first display card is considered to be an integral part of the first computer), and then transmits the signal to the first image.
  • Acquisition device 2 converts the image file 6002.jpg into a signal transmitted by a VGA port suitable for the first display card (the first display card is considered to be an integral part of the first computer), and then transmits the signal to the first image.
  • Acquisition device 2 converts the image file 6002.jpg into a signal transmitted by a VGA port suitable for the first display card (the first display card is considered to be an integral part of the first computer), and then transmits the signal to the first image.
  • Program P calls the function Recpic() in the dynamic link library Rec.dll, program P passes 6002.jpg to the function Recpic(), and the function Recpic() runs a program to obtain the data information of 6002.jpg (data information includes The RGB value of the pixel, the width of the picture, the height of the picture, and the bit width occupied by a single pixel.
  • the function Recpic() calls the driver of the first display card, and sends the data information of the image file 6002.jpg to the driver of the first display card, and then the driver of the first display card outputs the data of the image file 6002.jpg. The information is sent to the frame memory of the first display card.
  • the first display card converts the received data into an image signal suitable for transmission by the VGA port, and then transmits the image signal to the first image capturing device 2.
  • the program P scans the D: ⁇ recfile directory every two seconds to check whether there is a text file named by the serial number in the directory.
  • the text file named by the serial number refers to 6002.txt.
  • the first image capture device receives an image from a video/image output port of the first display card of the first computer; after the first computer sends the image file 6002.jpg, the first computer deletes the image file 6002.jpg.
  • the first image capture device transmits the received image to the second computer, and the second computer saves the image as 0001.jpg, or the first image capture device saves the received image as 0001.JPG, 0001.JPG It is stored in the memory of the first image capture device, and then 0001.JPG is sent to the second computer.
  • the naming rules for image files start from 0001 and increase in order.
  • the second computer stores 0001.JPG in the D ⁇ recpic ⁇ directory of the second computer; after the second computer starts, it runs a software J, and the software J automatically monitors whether there is a new file in the D ⁇ recpic ⁇ directory.
  • the software J monitors the new file 0001.JPG in the D ⁇ recpic ⁇ directory
  • the software J recognizes and acquires the data on 0001.JPG.
  • the third line of data read by the software J is used as the user name, the user name is looked up in the user list in the database B, and then the fourth and fifth lines of the data read by the software J are compared:
  • the data of the third row in the data of the software J is taken as the user name and the fourth
  • the data of the line is used as the password
  • the data of the sixth line as the name
  • the data of the seventh line is stored as a telephone in a record in the database B.
  • the software J sets the data of the first line in the data, the identifier of the user registration success, and " The user registration is successfully placed in a frame image R, and the display form of one frame image R on the screen is shown in FIG.
  • the second computer converts the image file S6002.jpg into an image signal suitable for transmission on a VGA port of the third display card (the third display card is considered to be a component of the second computer), and then transmits the image signal to the first Two image acquisition device, the image signal is only sent once.
  • the software J calls the function Recc() in the dynamic link library Rec.dll, the function Recpic() reads the image file S6002.jpg; the function Recpic() runs a program to obtain the data information of the S6002.jpg (the data information includes pixels) RGB value, picture width, picture height, bit width occupied by a single pixel).
  • the function Recpic() calls the driver of the third display card, the function Recpic() sends the received data information of S6002.jpg to the driver of the third display card, and then the driver of the third display card images file The data information of S6002.jpg is sent to the frame memory of the third display card.
  • the third display card converts the received data into an image signal suitable for transmission by the VGA port, and then transmits the image signal to the second image capturing device 2.
  • step of the computer converting the image or image file into an image signal suitable for transmission by the VGA port of the display card will not be described in detail in other embodiments.
  • the second image capture device 3 receives an image from an image/video output port of a third display card in the second computer, and then saves the image as R0001.JPG, stored in a memory of the second image capture device, and the second image
  • the collecting device sends the R0001.JPG image to the first computer, or the second image collecting device transmits the received image to the first computer, and the first computer saves the received image as R0001.jpg; the naming rule of the image file It is the "R" + file number, and the file number starts from 0001 and is incremented.
  • the first computer stores R0001.JPG in the D: ⁇ recpic ⁇ directory on the first computer. After the first computer starts, it runs a software M, and the software M automatically monitors the D ⁇ recpic ⁇ directory for new ones. File, when the software M monitors the new file R0001.JPG in the D ⁇ recpic ⁇ directory, the software J software M recognizes and obtains the data on R0001.JPG. If the number in the first line of the data is 6002, the software M saves the data. For 6002.txt, 6002.txt is saved in the D: ⁇ recfile directory; software M deletes R0001.JPG in the first computer.
  • Program P finds 6002.txt in the D: ⁇ recfile directory.
  • the first computer also performs the following operations:
  • the first computer runs a set of Server (server) application
  • the business data used by the server application is stored in the database B
  • the server application can receive the request of the application U login in the user's mobile phone, the server side
  • the application and the program U in the user's mobile phone can exchange data with each other.
  • User F opens the user login page of website W, enters the user name (zhang), password (Hello), and clicks the "login” button, or user F opens the application U in the mobile phone, and enters the user name (zhang), Password (Hello) and click on the "Login” button.
  • the first computer runs a program P, and a program P is part of the application of the website W, and may also be part of the application of the server; the program P generates a serial number, assuming that the serial number generated this time is 8002, the serial number Adding sequentially, program P places 8002, "login", user name and password in one frame image T, and the display form of one frame image T on the screen is shown in Fig. 6 (the data format in one frame image T refers to the above table four) ), the image T is saved as 8002.jpg, and 8002.jpg is saved in the D: ⁇ pic directory of the first computer.
  • the first computer converts the image file 8002.jpg into a signal transmitted by the VGA port suitable for the first display card (the first display card is considered to be an integral part of the first computer), and then transmits the signal to the first image.
  • the acquisition device the signal is only sent once; the program P deletes the image file 8002.jpg.
  • the program P scans the D: ⁇ recfile directory every second to check whether there is a text file named by the serial number in the directory.
  • the text file named by the serial number refers to 8002.txt.
  • the first image capture device receives the image T from the video/image output port of the first display card of the first computer; the first image capture device saves the image T as 0001.JPG, and stores it in the memory of the first image capture device. And then send 0001.JPG to the second computer, or the first image capture device sends the image T to the second computer, and the second computer saves the image T as 0001.jpg; in this step, the naming rule of the image file is Starting from 0001, increase in order.
  • the second computer saves 0001.jpg in the D: ⁇ pic directory of the second computer
  • the second computer After the second computer starts, it runs a software J.
  • the software J automatically monitors the D ⁇ recpic ⁇ directory for new files. When the software J monitors the D ⁇ recpic ⁇ directory, there is a new file 0001.JPG, software J, software. J recognizes and retrieves the data on 0001.JPG.
  • the second computer performs the following operations: the third line in the data read by the software J is used as the user name, the fourth line is used as the password, and the software J reads the database B. Username and password in the record and verified:
  • the software J puts the data of the first line in the data, the identifier of the user login success and the personal information of the user in one frame image Y, and the display form of one frame image Y on the screen is shown in FIG. 7 (one frame image Y)
  • the data format refers to Table 5 above);
  • the second computer converts the image Y into an image signal suitable for transmission by a VGA port of a third display card (the third display card is considered to be an integral part of the second computer), and then transmits the image signal to the second image collection.
  • the image signal is only sent once.
  • the second image capture device saves the image Y as R0001.JPG, then the second image capture device transmits R0001.JPG to the first computer, or the second image capture device sends the image Y to the first image capture device.
  • the file name naming rule of the image file is "R" + file number, and the file number starts from 0001 and is sequentially increased.
  • the first computer stores R0001.JPG in the D: ⁇ recpic ⁇ directory on the first computer. After the first computer starts, it runs a software M, and the software M automatically monitors the D ⁇ recpic ⁇ directory for new ones.
  • File when the software M monitors the new file R0001.JPG in the D ⁇ recpic ⁇ directory, the software M identifies and obtains the data on R0001.JPG, the data includes the user's personal information or "the username and password are not matched", if The number in the first line of the data is 8002, the software M saves the data as 8002.txt, the 8002.txt is saved in the D: ⁇ recfile directory, and the software M deletes the R0001.JPG in the first computer.
  • Program P finds 8002.txt in the D: ⁇ recfile directory.
  • the first computer also performs the following operations:
  • the first computer also does the following:
  • the first computer sends the user's personal information to the user's F computer or mobile phone, and the user's F computer's display or the mobile phone's application displays "User login succeeded. ".
  • the hardware further requires:
  • the first image acquisition device is an image acquisition card installed in the second computer
  • the second image acquisition device is an image acquisition card installed in the first computer
  • User F opens the user login page of website W, enters the username 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 5000 to 65535. If the generated serial number is greater than 65535, the serial number is equal to 5000, and the serial number is sequentially increased. It is assumed that the serial number generated this time is 8002, and the program P will 8002, "login", user name and password are placed in one frame image X, and the display form of one frame image X on the screen is shown in FIG. 6 (the data format in one frame image X is referred to Table 4).
  • the first computer converts the image X into a signal transmitted by the VGA port suitable for the first display card (the first display card is considered to be an integral part of the first computer), and then transmits the signal to the first image acquisition device, the signal Only sent once.
  • Program P runs a socket server program, a socket receiver (server) program for receiving data, and the socket communication port number used by a socket receiving program is 8002.
  • the first image capture device acquires (receives) the image X from the video/image output port of the first display card of the first computer;
  • the driver of the first image capture device calls the function Recpic() in the dynamic link library Rec.dll in the second computer, and the driver of the first image capture device transmits the image X to the function Recpic();
  • the function Recpic() in Rec.dll in the second computer runs an image recognition program to recognize the data in the image X, and the second computer performs the following operations:
  • the function Recpic() in Rec.dll in the second computer judges that the second line of the data is "login", and the third line of the data read by the function Recpic() in Rec.dll in the second computer is used as the user name.
  • the fourth line acts as the password, and the function Recpic() in Rec.dll in the second computer reads the record in database B and verifies the username and password:
  • the second computer converts the image S into a signal suitable for transmission by the VGA port of the third display card, and then transmits the signal to the second image capture device The signal is only sent once.
  • the second image capture device acquires (receives) the image S from the video/image output port of the third display card of the second computer, and the driver of the second image capture device calls the function Recc in the Rec.dll in the first computer.
  • the function Recpic() in Rec.dll in the first computer runs an image recognition program to identify and acquire the data in the image S;
  • the function Recpic() in Rec.dll in the first computer runs a socket sender program (client program), and a socket sender program will recognize the image.
  • the data is sent out, and the socket communication port number used by a socket sender program is 8002.
  • the software P in the first computer receives the data
  • the first computer also does the following:
  • the first computer sends the user's personal information to the user F's computer, and the user's computer's display shows "the user has successfully logged in. ";
  • the first computer runs a software K
  • the software K opens the file 1.txt in the first computer, assuming that the content in the file 1.txt is less than 10 lines, or the content in the file 1.txt is less than 400 Chinese characters.
  • the software K puts the contents of the file name "1.txt” and the file 1.txt in an image X, the file name "1.txt” is placed in the first line of the image X, and the image X can be one frame two.
  • a code image the software K places the image X in an image queue or a task list;
  • the first computer converts the image X into a signal suitable for transmission by the VGA port of the first display card, and the signal suitable for transmission by the VGA port is referred to as signal Y, and the signal Y is transmitted through the VGA port of the first display card.
  • the first image capture device receives the signal Y from the video/image output port of the first display card of the first computer, and the first image capture device converts the signal to 0001.jpg and sends the signal to the second computer.
  • the second computer receives 0001.JPG, 0001.JPG is stored in the D ⁇ recpic ⁇ directory of the second computer, and then the second computer runs a software J, which identifies (identifies and decodes) and acquires 0001.JPG. data.
  • the first line in the data is "1.txt", storing data other than the first line in the data as 1.txt, or storing data other than the first line in the data as 1.doc.
  • the second computer installs a camera, the camera is aligned with the screen of the first computer, and the second computer and the first computer are not in the same local area network.
  • the first computer opens a file 1.txt, assuming that the content in 1.txt is less than 10 lines, and the content in 1.txt is displayed on the entire screen of the first computer.
  • the first computer sends a signal to the second computer via the RS232 serial line.
  • the second computer After the second computer receives the signal sent by the first computer, the second computer takes a picture and saves the image as 2.jpg.
  • the second computer runs a piece of image recognition software.
  • the image recognition software first recognizes the content X in 2.jpg, and then obtains the file name 1.txt in the first line of the content X, and finally deletes the first and the first in the content X. Two lines of text, then save the rest of the content as 1.txt or 1.doc.
  • the output port of the display card can be an image output port such as DVI or HDMI.
  • the input port of the corresponding image capture device also adopts a corresponding image input port, and the first computer converts the related image/image file into a suitable one for the first display card.
  • Output port such as DVI or HDMI
  • the transmitted signal is transmitted, and the second computer converts the associated image/image file into a signal suitable for transmission by an output port such as DVI or HDMI suitable for the third display card.
  • Any device capable of obtaining data from a first computer and capable of transmitting an image signal to an image capture device should be considered an alternative to the display card.
  • the user can perform various operations, such as modifying a user password, etc., using the techniques in the above embodiments.
  • the work (or part of the work) of the first computer can be completed by two computers (the first computer and the third computer), the website is built in the third computer, the third computer is a web server, and the third computer Sending the information needed to access the database to the first computer, the first computer places the information needed to access the database in an image A, and the first computer sends the image A to the database server through the first image acquisition device (second Computer) (other steps are omitted, not described in detail), at which point the first computer can be said to be an application server.
  • the first computer and the third computer the website is built in the third computer
  • the third computer is a web server
  • the third computer Sending the information needed to access the database to the first computer
  • the first computer places the information needed to access the database in an image A
  • the first computer sends the image A to the database server through the first image acquisition device (second Computer) (other steps are omitted, not described in detail), at which point the first computer can be said to be an application server.
  • a method for transmitting data for transmitting data between a first computer and a second computer includes:
  • Step S10 The first computer sends the first data to the first image collection device through the video/image output port of the display card of the first computer;
  • the first image capture device has an image input port for connecting to an image output port of the first computer; the image output port of the first computer includes an output port of the display card of the first computer;
  • the video/image output port of the display card of the first computer is an image output port of the first computer
  • Step S20 The first image collecting device receives the first data, and the first image collecting device sends the first data to the second computer, or the first image collecting device processes the first data to generate the second data, and the first image is collected.
  • the device transmits the second data to the second computer;
  • Step S30 The second computer sends the third data to the second image collection device through the video/image output port of the display card of the second computer, where the third data is generated by the second computer processing the first data or the second data;
  • the video output port of the display card of the second computer is the image input of the second computer Out port
  • the second image capture device has an image input port for connecting to an image output port of the second computer
  • the image output port of the second computer includes an output port of the display card of the second computer
  • Step S40 the second image collecting device sends the third data to the first computer, or the second image collecting device processes the third data to generate the fourth data, and the second image collecting device sends the fourth data to the first computer. .
  • the first image capture device has an image input port for connection with an image output port of the first computer; the image output port of the first computer includes an output port of the display card of the first computer.
  • the third data is generated by the second computer processing the first data or the second data.
  • the method further includes: after the first computer receives the request for accessing or modifying the database sent by the browser or the application, the information required to implement the request is placed in the first data by the first computer.
  • the first computer puts the content in one file in the first computer in the first data; or the first computer processes the content in one file in the first computer and puts it in the first data; or
  • the first computer places the content of one web page in the first data; or the first computer places the content obtained by the computer from the outside in the first data; or the first computer places the information in the first computer In the first data.
  • the first computer places one file in the first computer in the first data
  • the second computer will receive the first data
  • the second computer restores the first data to a file or the second computer will first data Stored in a new file.
  • an apparatus for transmitting data includes: a first computer 1, a first image capturing device 2, a second computer 3; and a first computer 1 passes through a first computer
  • the image output port is connected to the first image capturing device 2, and the first image capturing device is connected to the second computer 3.
  • the first image capturing device has an image input port for connecting with the image output port of the first computer.
  • Computer image loss The outgoing port includes an output port of the display card of the first computer.
  • the first computer 1 further comprises a second display card 6, which is connected to the first display 9, and the content on the first computer 1 can be displayed on the first display 9 via the second display card 6.
  • the second computer 2 further includes a fourth display card 8, which is connected to the second display 10, and the content on the second computer 2 can be displayed on the second display 10 via the fourth display card 8.
  • the method further includes: a second image capturing device 3; an image output port of the second computer is connected to an input port of the second image capturing device 3, the image capturing device has an image input port, and the image input port is used for an image with the second computer
  • the output port is connected, the second image capture device is connected to the first computer, and the image output port of the second computer includes an output port of the display card of the second computer.
  • the first computer transmits the first data to the first image collection device through the image output port of the first computer, and the second computer receives the first data from the first image collection device;
  • the first image acquisition device generates the second data after processing the first data
  • the first image collection device transmits the second data to the second computer.
  • the second computer transmits the third data to the second image collection device through the display card of the second computer.
  • the third data is generated by the second computer processing the first data or the second data.

Abstract

本发明公开了一种传输数据的方法及传输数据的装置,包括:第一计算机通过第一计算机的图像输出端口向第一图像采集装置发送第一数据;第一图像采集装置接收第一数据;第一图像采集装置将第一数据发送给第二计算机;或者,第一图像采集装置将第一数据处理后生成第二数据,第一图像采集装置将第二数据发送给第二计算机;第一图像采集装置具有图像输入端口,图像输入端口用于与第一计算机的图像输出端口连接;第一计算机的图像输出端口包括第一计算机的显示卡的输出端口。本发明能够有效减少公司数据的泄漏。

Description

一种传输数据的方法及传输数据的装置 技术领域
本发明涉及互联网/计算机技术领域,尤指一种传输数据的方法及传输数据的装置。
背景技术
现在的社会,很多公司、单位都会有自己的网站,用来发布信息供客户、用户了解自身的信息,但是这种网站可能存在较大的安全隐患,很容易被黑客攻击,让黑客有机会访问公司网站的数据库,造成公司数据的泄漏。
发明内容
本发明的目的是提供一种传输数据的方法及传输数据的装置,由于数据库服务器和Web服务器之间采用新的传输技术,现有的病毒和黑客攻击手段将很难起作用。
本发明的第一方面提供一种传输数据的方法,所述方法用于在第一计算机与第二计算机之间传输数据,包括:所述第一计算机通过所述第一计算机的显示卡的图像/视频输出端口向第一图像采集装置发送第一数据,所述第一图像采集装置将所述第一数据发送给所述第二计算机,或者,所述第一图像采集装置将所述第一数据处理后发送给所述第二计算机。
本发明的第二方面提供一种传输数据的装置,所述装置用于在计算机与计算机之间传输数据,所述装置包括:第一计算机、第一图像采集装置、第二计算机、第二图像采集装置,其中:所述第一计算机的显示卡的图像/视频输出端口连接所述第一图像采集装置的输入端口,所述第二计算机的显示卡的图像/视频输出端口连接所述第二图像采集装置的输入端口,所述第一计算机用网线或USB数据线连接所述第二图像采集 装置,所述第二计算机用网线或USB数据线连接所述第一图像采集装置。
所述第一计算机是Web服务器和应用程序服务器中之一,所述第二计算机是数据库服务器。
视频采集装置常常被称为视频/图像采集装置,视频采集装置采集单帧图像时,视频采集装置可以被称为是图像采集装置。
本发明中,所有的视频输出端口也都是图像输出端口,所有的视频输入端口也都是图像输入端口。
图像采集装置具有图像输入端口,图像输入端口用于与显示卡的输出端口连接。
显示卡的输出端口即可以被称为是图像输出端口,又可以被称为是视频输出端口。
附图说明
下面结合附图和具体实施方式对本发明作进一步详细说明:
图1是本发明第一计算机与第二计算机之间传输数据的方法一个实施例的流程图;
图2是本发明传输数据的装置一个实施例的结构示意图;
图3是本发明中图像的第一样本;
图4是本发明中图像的第二样本;
图5是本发明中图像的第三样本;
图6是本发明中图像的第四样本;
图7是本发明中图像的第五样本;
图8是本发明中图像的第六样本。
附图标号说明:
1.第一计算机,2.第一图像采集装置,3.第二图像采集装置,4.第二计算机,5.第一显示卡,6.第二显示卡,7.第三显示卡,8.第四显示卡,9.第一显示器,10.第二显示器。
具体实施方式
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对照附图说明本发明的具体实施方式。显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图,并获得其他的实施方式。
为使图面简洁,各图中只示意性地表示出了与本发明相关的部分,它们并不代表其作为产品的实际结构。另外,以使图面简洁便于理解,在有些图中具有相同结构或功能的部件,仅示意性地绘示了其中的一个,或仅标出了其中的一个。在本文中,“一个”不仅表示“仅此一个”,也可以表示“多于一个”的情形。
1.建立一种网站:
第一计算机1安装windows Server 2008或windows Server 2008以后版本的操作系统(如windows Server 2012或windows Server 2012 R2),在第一计算机1里建立一个网站W,网站W的用户资料存储在数据库B里,用户资料包括:用户名、密码和用户个人信息;个人信息包括:姓名、电话等。数据库B安装在第二计算机4里;网站W的用户资料存储到数据库B的步骤在后面的实施列中详细描述;技术人员常用.NET、JAVA等开发语言或平台生成网站W的网页,在后续实施例中,程序开发人员可以根据需要选择不同的开发工具。
第一计算机是一台Web服务器(Web Server);第一计算机也可以是一台应用程序服务器(Application Server)。
应用程序服务器的定义可以是下面任意一种:
1)应用程序服务器是一台运行至少一套Server端应用程序的计算机,一套Server端应用程序能够与其他计算机上的客户端应用程序或移动设备上的客户端应用程序形成对应的服务器端/客户端关系;
2)应用程序服务器是能够接收Web服务器数据或指令,并对数据进一步处理后发送给数据库服务器或其他计算机。
第二计算机是一台数据库服务器(Database Server)。数据库服务器 的主要用途是接收并存储第一计算机(Web服务器或应用程序服务器或其他计算机)发送的数据。
2.设定:
1)第一显示卡5和第三显示卡7是同一种类型的显示卡,第一显示卡5和第三显示卡7使用同样的驱动程序。
初始工作状况下,第一显示卡5和第三显示卡7都不输出信号;
如果没有特别的说明,第一显示卡不输出第一计算机的桌面内容;第三显示卡不输出第二计算机的桌面内容。
2)在第一计算机和第二计算机的系统目录(一般情况下,系统目录指的是C:\Windows\System32\)下或者在用户指定的目录下,各增加一个动态链接库Rec.dll,动态链接库包含Recpic()函数,函数Recpic()可能具有的功能在实施举例中详细描述。
3)在实施例中,第一计算机里有软件M、一段程序P(简称程序P)、软件F、软件K和其他程序,第二计算机里有软件J,这些程序的功能在实施例中详细描述,开发人员编写这些程序常用的开发语言(工具)或平台是.NET、JAVA等(程序开发人员可以根据需要选择不同的开发工具)。
4)第一计算机通过第一显示卡的视频/图像输出端口发送图像(或第二计算机通过第三显示卡的视频/图像输出端口发送图像),图像中被识别出来的内容包含字母、数字、文字、符号,内容在图像中的高度在1.5毫米至40毫米之间,图像中的背景颜色是白色,内容在图像中的颜色是黑色,内容在图像中行距在1毫米至15毫米之间。
需要注意的是,计算机通过显示卡的视频/图像输出端口发送的图像中的数据被识别出来后,首先需要剔除空白行,在实施举例中的图像中被识别出来的数据不再包含空白行。
5)第一或第三显示卡每秒传输24帧(或60帧)图像。第一显示卡输出图像的分辨率与第一图像采集装置采集图像的分辨率一致;第三显示卡输出图像的分辨率与第二图像采集装置采集图像的分辨率一致。
6)图像中的数据格式请参见下列表格:
表一
  长度(字节) 类型 举例
序号 20 整数 6002
命令类型 30 字符 “Create”
用户名 20 字符 Zhang
第一次输入的密码 20 字符 Hello
第二次输入的密码 20 字符 Hello
姓名 20 字符 ZhangSan
电话 11 字符 13888888888
如上述表一所示,为图像中的数据格式A,其在屏幕上的显示形式请参见图3。
表二
  长度(字节) 类型 举例
序号 20 整数 6002
用户注册成功的标识 1 字符 Y
结果 120 字符 用户注册成功
如上述表二所示,为图像中的数据格式B,其在屏幕上的显示形式请参见图4。
表三
Figure PCTCN2017071103-appb-000001
如上述表三所示,为图像中的数据格式C,其在屏幕上的显示形式请参见图5。
表四
  长度(字节) 类型 举例
序号 20 整数 8002
命令类型 30 字符 “Login”
用户名 20 字符 Zhang
密码 20 字符 Hello
如上述表四所示,为图像中的数据格式D,其在屏幕上的显示形式请参见图6。
表五
  长度(字节) 类型 举例
序号 20 整数 8002
用户登录成功的标识 1 字符 Y
姓名 20 字符 ZhangSan
电话 11 字符 13888888888
如上述表五所示,为图像中的数据格式E,其在屏幕上的显示形式请参见图7。
表六
Figure PCTCN2017071103-appb-000002
如上述表六所示,为图像中的数据格式F,其在屏幕上的显示形式请参见图8。
在本发明的一个实施例中:
1、用户F打开网站W的用户注册页面,先输入用户名(zhang),然后第一次输入密码(Hello)、第二次输入密码(Hello),再输入姓名(ZhangSan)和电话(13888888888)后,点击“注册”按钮。
2、第一计算机运行一段程序P,程序P生成一个序号,假设这次产生的序号是6002,序号依次增加,程序P将6002、“Create”、用户名、第一次输入的密码、第二次输入的密码、姓名和电话放在一帧图像Z中,一帧图像Z在屏幕上的显示形式见附图3(一帧图像Z中的数据格式参照上述表一),程序P将一帧图像Z保存为图像文件6002.jpg(RGB模 式),图像文件以序号命名,6002.JPG保存在第一计算机D:\Temp\目录下。
3、第一计算机将该图像文件6002.jpg转换成适合第一显示卡(第一显示卡被认为是第一计算机的一个组成部分)的VGA端口传输的信号,然后将信号发送给第一图像采集装置2。
其使用的方法如下(需要注意的是,还可以采用其他方法,并不限于使用下面的方法):
1)程序P调用动态链接库Rec.dll中的函数Recpic(),程序P将6002.jpg传递给函数Recpic(),函数Recpic()运行一段程序,获取6002.jpg的数据信息(数据信息包括像素的RGB值、图片宽度、图片高度、单个像素占用的位宽)。
2)函数Recpic()调用第一显示卡的驱动程序,将图像文件6002.jpg的数据信息发送给第一显示卡的驱动程序,然后第一显示卡的驱动程序将图像文件6002.jpg的数据信息发送给第一显示卡的帧存储器。
3)当图像文件6002.jpg的数据信息全部传递到帧存储器后,第一显示卡将接收到的数据转换成适合VGA端口传输的图像信号,然后将图像信号发送给第一图像采集装置2。
4、程序P每隔两秒钟扫描一下D:\recfile目录,检查目录下是否有以序号命名的文本文件,在本实施举例中,以序号命名的文本文件指的是6002.txt。
5、第一图像采集装置从第一计算机的第一显示卡的视频/图像输出端口接收图像;第一计算机发送了图像文件6002.jpg后,第一计算机删除图像文件6002.jpg。
6、第一图像采集装置将接收到的图像发送给第二计算机,第二计算机将图像保存为0001.jpg,或者,第一图像采集装置将接收到的图像保存为0001.JPG,0001.JPG存放在第一图像采集装置的存储器中,然后将0001.JPG发送给第二计算机。图像文件的命名规则是从0001开始,依次增加。
7、第二计算机将0001.JPG存放在第二计算机的D\recpic\目录下;第二计算机从启动后,就运行一个软件J,软件J自动监测D\recpic\目录下有无新文件,当软件J监测D\recpic\目录下有新文件0001.JPG后,软件J识别并获取0001.JPG上的数据。
8、如果软件J判断数据的第二行是“Create”,第二计算机进行下列操作:
软件J先读取的数据第三行作为用户名,在数据库B中的用户列表中查找用户名,然后软件J读取的数据的第四行和第五行,进行比较:
1)如果用户名在用户列表中不存在,并且软件J读取的数据中的第四行和第五行的数据一致,则软件J将的数据中的第三行的数据作为用户名、第四行的数据作为密码、第六行的数据作为姓名、第七行的数据作为电话存储在数据库B中的一条记录里,软件J将数据中的第一行的数据、用户注册成功的标识和“用户注册成功”放在一帧图像R中,一帧图像R在屏幕上的显示形式见附图4(一帧图像R中的数据格式参照上述表二),软件J将一帧图像R保存为S6002.jpg,图像文件命名规则是“S”+数据中的第一行的数据,S6002.JPG存放在第二计算机的D\sendpic\目录下;
2)如果用户名在用户列表中存在,或者,软件J读取的数据中的第四行和第五行的数据不一致,则返回“用户名已经存在或两次输入的密码是不一致的”,软件J将数据中的第一行的数据、用户注册不成功的标识和“用户名已经存在或两次输入的密码是不一致的”放在一帧图像R中,一帧图像R在屏幕上的显示形式见图5(一帧图像R中的数据格式参照上述表三),软件J将一帧图像R保存为S6002.jpg,图像文件的命名规则是“S”+数据中的第一行的数据,S6002.JPG存放在第二计算机的D\sendpic\目录下。
9、第二计算机将该图像文件S6002.jpg转换成适合第三显示卡(第三显示卡被认为是第二计算机的一个组成部分)的VGA端口传输的图像信号,然后将图像信号发送给第二图像采集装置,该图像信号只被发送 一次。
其使用的方法如下(需要注意的是,还可以采用其他方法,不限于使用下面的方法):
1)软件J调用动态链接库Rec.dll中的函数Recpic(),函数Recpic()读取图像文件S6002.jpg;函数Recpic()运行一段程序,获取S6002.jpg的数据信息(数据信息包括像素的RGB值、图片宽度、图片高度、单个像素占用的位宽)。
2)函数Recpic()调用第三显示卡的驱动程序,函数Recpic()把接收到的S6002.jpg的数据信息发送给第三显示卡的驱动程序,然后第三显示卡的驱动程序将图像文件S6002.jpg的数据信息发送给第三显示卡的帧存储器。
3)当图像文件S6002.jpg的数据信息全部传递到帧存储器后,第三显示卡将接收到的数据转换成适合VGA端口传输的图像信号,然后将图像信号发送给第二图像采集装置2。
需要注意的是,计算机将图像或图像文件转换成适合显示卡的VGA端口传输的图像信号的步骤在其他的实施例中将不详细描述。
10、第二图像采集装置3从第二计算机中的第三显示卡的图像/视频输出端口接收图像,然后将图像保存为R0001.JPG,存放在第二图像采集装置的存储器中,第二图像采集装置将R0001.JPG图像发送给第一计算机,或者,第二图像采集装置将接收到的图像发送给第一计算机,第一计算机将接收到的图像保存为R0001.jpg;图像文件的命名规则是“R”+文件编号,文件编号从0001开始,依次增加。
11、第一计算机将R0001.JPG存储在第一计算机中的D:\recpic\目录下,第一计算机从启动后,就运行一个软件M,软件M自动监测D\recpic\目录下有无新文件,当软件M监测D\recpic\目录下有新文件R0001.JPG后,软件J软件M识别并获取R0001.JPG上的数据,如果数据中第一行的数字是6002,软件M将数据保存为6002.txt,6002.txt保存在D:\recfile目录下;软件M删除第一计算机中的R0001.JPG。
12、程序P在D:\recfile目录下发现有6002.txt,第一计算机还进行下列操作:
1)如果6002.txt文件中第二行的字母是“Y”,第一计算机将“用户注册成功”发送给用户F的计算机,用户F的电脑的显示器上显示“用户注册成功”;
2)如果6002.txt文件中第二行的字母是“N”,第一计算机将“用户名已经存在或两次输入的密码是不一致的”发送给用户F的计算机,用户F的电脑的显示器上显示“用户名已经存在或两次输入的密码是不一致的”。
3)程序P删除第一计算机中的6002.txt。
在本发明的另一个实施例中:
设定:第一计算机运行一套Server(服务器)端应用程序,Server端应用程序使用的业务数据存储在数据库B里,Server端应用程序能接收用户手机里的应用程序U登录的请求,Server端应用程序和用户手机里的程序U之间能够互相交换数据。
1、用户F打开网站W的用户登录网页,输入用户名(zhang)、密码(Hello),并点击“登录”按钮,或者,用户F打开手机里的应用程序U,输入用户名(zhang)、密码(Hello),并点击“登录”按钮。
2、第一计算机运行一段程序P,一段程序P是网站W的应用程序中的一部分,也可以是Server端的应用程序中的一部分;程序P产生一个序号,假设这次产生的序号是8002,序号依次增加,程序P将8002、“login”、用户名和密码放在一帧图像T中,一帧图像T在屏幕上的显示形式见附图6(一帧图像T中的数据格式参照上述表四),图像T保存为8002.jpg,8002.jpg保存在第一计算机的D:\pic目录下。
3、第一计算机将该图像文件8002.jpg转换成适合第一显示卡(第一显示卡被认为是第一计算机的一个组成部分)的VGA端口传输的信号,然后将信号发送给第一图像采集装置,信号只被发送一次;程序P删除图像文件8002.jpg。
5、程序P每隔一秒钟扫描一下D:\recfile目录,检查目录下是否有以序号命名的文本文件,在本实施举例中,以序号命名的文本文件指的是8002.txt。
6、第一图像采集装置从第一计算机的第一显示卡的视频/图像输出端口接收图像T;第一图像采集装置将图像T保存为0001.JPG,存放在第一图像采集装置的存储器中,然后将0001.JPG发送给第二计算机,或者,第一图像采集装置将图像T发送给第二计算机,第二计算机将图像T保存为0001.jpg;这个步骤中,图像文件的命名规则是从0001开始,依次增加。
7、第二计算机将0001.jpg保存在第二计算机的D:\pic目录下;
第二计算机从启动后,就运行一个软件J,软件J自动监测D\recpic\目录下有无新文件,当软件J监测D\recpic\目录下有新文件0001.JPG后,软件J,软件J识别并获取0001.JPG上的数据。
8、如果软件J判断的数据第二行是“login”,第二计算机进行下列操作:软件J读取的数据中的第三行作为用户名,第四行作为密码,软件J读取数据库B中的记录并校验的用户名和密码:
A)如果用户名和密码是匹配的,则返回用户的个人信息,个人信息为姓名、电话。软件J将数据中的第一行的数据、用户登录成功的标识和用户的个人信息放在一帧图像Y中,一帧图像Y在屏幕上的显示形式见附图7(一帧图像Y中的数据格式参照上述表五);
B)如果用户名和密码是不匹配的,则返回“用户名和密码是不匹配的”,软件J将数据中的第一行的数据、用户登录不成功的标识和“用户名和密码是不匹配的”放在一帧图像Y中,一帧图像Y在屏幕上的显示形式见附图8(一帧图像Y中的数据格式参照上述表六)。
9、第二计算机将该图像Y转换成适合第三显示卡(第三显示卡被认为是第二计算机的一个组成部分)的VGA端口传输的图像信号,然后将图像信号发送给第二图像采集装置,该图像信号只被发送一次。
10、第二图像采集装置从第二计算机中的第三显示卡的图像/视频输 出端口接收图像Y后,第二图像采集装置将图像Y保存为R0001.JPG,然后第二图像采集装置将R0001.JPG发送给第一计算机,或者,第二图像采集装置将图像Y发送给第一计算机,第一计算机将图像Y保存为R0001.JPG。在这个步骤中,图像文件的文件名命名规则是“R”+文件编号,文件编号从0001开始,依次增加。
11、第一计算机将R0001.JPG存储在第一计算机中的D:\recpic\目录下,第一计算机从启动后,就运行一个软件M,软件M自动监测D\recpic\目录下有无新文件,当软件M监测D\recpic\目录下有新文件R0001.JPG后,软件M识别并获取R0001.JPG上的数据,数据包括用户的个人信息或“用户名和密码是不匹配的”,如果数据中第一行的数字是8002,软件M将数据保存为8002.txt,8002.txt保存在D:\recfile目录下;软件M删除第一计算机中的R0001.JPG。
程序P在D:\recfile目录下发现有8002.txt,第一计算机还进行下列操作:
如果数据中第一行的数字是8002,第一计算机还进行下列操作:
1)如果8002.txt中第二行的字母是“Y”,第一计算机将用户的个人信息发送给用户F的计算机或手机,用户F电脑的显示器上或手机的应用程序显示“用户登录成功”。
2)如果8002.txt中第二行的字母是“N”,第一计算机将“用户名已经存在或两次输入的密码是不一致的”发送给用户F的计算机或手机,用户F的电脑的显示器上或手机的应用程序显示“用户名和密码是不匹配的”。
3)程序P删除第一计算机中的8002.txt。
在本发明的另一个实施例中,对硬件进一步要求:
第一图像采集装置是一块图像采集卡,安装在第二计算机中;
第二图像采集装置是一块图像采集卡,安装在第一计算机中;
1、用户F打开网站W的用户登录网页,输入用户名、密码,并点击“登录”按钮。
2、第一计算机运行一段程序P,产生一个序号,序号的范围是5000到65535,如果产生的序号大于65535时,序号等于5000,序号依次增加,假设这次产生的序号是8002,程序P将8002、“login”、用户名和密码放在一帧图像X中,一帧图像X在屏幕上的显示形式见附图6(一帧图像X中的数据格式参照表四)。
4、第一计算机将图像X转换成适合第一显示卡(第一显示卡被认为是第一计算机的一个组成部分)的VGA端口传输的信号,然后将信号发送给第一图像采集装置,信号只被发送一次。
5、程序P运行一段socket服务器端程序,一段socket接收端(服务器端)程序,用于接收数据,一段socket接收端程序使用的socket通讯端口号是8002。
6、第一图像采集装置从第一计算机的第一显示卡的视频/图像输出端口采集(接收)图像X;
第一图像采集装置的驱动程序调用第二计算机中的动态链接库Rec.dll中的函数Recpic(),第一图像采集装置的驱动程序将图像X传输给函数Recpic();
7、第二计算机中的Rec.dll中的函数Recpic()运行一段图像识别程序,识别出图像X中的数据,第二计算机进行下列操作:
第二计算机中的Rec.dll中的函数Recpic()如果判断数据第二行是“login”,第二计算机中的Rec.dll中的函数Recpic()读取的数据第三行作为用户名,第四行作为密码,第二计算机中的Rec.dll中的函数Recpic()读取数据库B中的记录并校验的用户名和密码:
A)如果用户名和密码是匹配的,则返回用户的个人信息,个人信息为姓名、电话。第二计算机中的Rec.dll中的函数Recpic()将序号、用户登录成功的标识和用户的个人信息放在一帧图像S中,一帧图像S在屏幕上的显示形式见附图7(一帧图像S中的数据格式参照上述表五);
B)如果用户名和密码是不匹配的,则返回“用户名和密码是不匹配的”,第二计算机中的Rec.dll中的函数Recpic()将序号、用户登录不成功 的标识和“用户名和密码是不匹配的”放在一帧图像S中在屏幕上的显示形式见附图8(一帧图像S中的数据格式参照上述表六)。
10、第二计算机(第三显示卡被认为是第二计算机的一个组成部分)将该图像S转换成适合第三显示卡的VGA端口传输的信号,然后通过将信号发送给第二图像采集装置,信号只被发送一次。
11、第二图像采集装置从第二计算机的第三显示卡的视频/图像输出端口采集(接收)图像S,第二图像采集装置的驱动程序调用第一计算机中的Rec.dll中的函数Recpic(),第一计算机中的Rec.dll中的函数Recpic()运行一段图像识别程序,识别并获取图像S中的数据;
如果数据中第一行的数字是8002,然后第一计算机中的Rec.dll中的函数Recpic()运行一段socket发送端程序(客户端程序),一段socket发送端程序将图像中被识别出来的数据发送出去,一段socket发送端程序使用的socket通讯端口号是8002。
12、第一计算机中的软件P接收数据,
第一计算机还进行下列操作:
1)如果数据中包含字母是“Y”、“用户登录成功”和用户的个人信息,第一计算机将用户的个人信息发送给用户F的计算机,用户F的电脑的显示器上显示“用户登录成功”;
2)如果数据中包含字母是“N”和“用户名和密码是不匹配的”,第一计算机将“用户名已经存在或两次输入的密码是不一致的”发送给用户F的计算机,用户F的电脑的显示器上显示“用户名和密码是不匹配的”。
在本发明的另一个实施例中:
1、第一计算机运行一个软件K,软件K打开第一计算机中的文件1.txt,假设文件1.txt中的内容少于10行,或者说文件1.txt中的内容少于400个汉字,软件K将文件名“1.txt”和文件1.txt中的内容放在一个图像X中,文件名“1.txt”放在图像X中的第一行,图像X可以是一帧二 维码图像,软件K将图像X放在一个图像队列中或一个任务列表中;
2、第一计算机将图像X转换为适合第一显示卡的VGA端口传输的信号,适合VGA端口传输的信号称为信号Y,信号Y经由第一显示卡的VGA端口发送出去。
3、第一图像采集装置从第一计算机的第一显示卡的视频/图像输出端口接收信号Y,第一图像采集装置将信号转化为0001.jpg并发送给第二计算机。
4、第二计算机接收0001.JPG,0001.JPG存放在第二计算机的D\recpic\目录下,然后第二计算机运行一个软件J,软件J识别(识别并解码)并获取0001.JPG上的数据。
5、数据中的第一行是“1.txt”,将数据中第一行以外的数据存储为1.txt,或将数据中第一行以外的数据存储为1.doc。
在本发明的另一个实施例中:
1、第二计算机安装一个摄像头,摄像头对准第一计算机的屏幕,第二计算机和第一计算机不在同一个局域网中。
2、用一根RS232串行线连接第二计算机和第一计算机。
3、第一计算机打开一个文件1.txt,假设1.txt中的内容少于10行,将1.txt中的内容显示在第一计算机的整个屏幕中。
4、第一计算机通过RS232串行线向第二计算机发送一个信号。
5、第二计算机收到第一计算机发送的信号后,第二计算机拍照,将图像保存为2.jpg。
6、第二计算机运行一段图像识别软件,图像识别软件先识别出2.jpg中的内容X,然后在内容X的第一行中得到文件名1.txt,最后删除内容X中第一和第二行的文字,然后将剩余的内容保存为1.txt或1.doc。
需要注意的是,上述任一实施例中:
显示卡的输出端口可以为DVI、HDMI等图像输出端口,其对应的图像采集装置的输入端口也采用对应的图像输入端口,第一计算机将相关的图像/图像文件转换成适合第一显示卡的DVI或HDMI等输出端口传 输的信号进行传输,第二计算机将相关的图像/图像文件转换成适合第三显示卡的DVI或HDMI等输出端口传输的信号进行传输。
任何能够从第一计算机获得数据并能够向图像采集装置发送图像信号的设备均应该视为显示卡的替代产品。用户可以使用上述实施举例中的技术,进行多种操作,如修改用户密码等。
另外,原来第一计算机的工作(或部分工作)可以由两台计算机(第一计算机和第三计算机)完成,将网站建立在第三计算机里,第三计算机是一台web服务器,第三计算机将访问数据库所需要的信息发送给第一计算机,第一计算机将访问数据库所需要的信息放在一张图像A中,第一计算机通过第一图像采集装置将图像A发送给数据库服务器(第二计算机)(其他的步骤省略,不详细描述了),这时第一计算机又可以被称为是一台应用服务器。
在本发明的另一个实施例中,如图1所示,一种传输数据的方法,用于在第一计算机与第二计算机之间传输数据,包括:
步骤S10:第一计算机通过第一计算机的显示卡的视频/图像输出端口向第一图像采集装置发送第一数据;
其中,第一图像采集装置具有图像输入端口,图像输入端口用于与第一计算机的图像输出端口连接;第一计算机的图像输出端口包括第一计算机的显示卡的输出端口;
第一计算机的显示卡的视频/图像输出端口为第一计算机的图像输出端口;
步骤S20:第一图像采集装置接收第一数据,第一图像采集装置将第一数据发送给第二计算机,或者,第一图像采集装置将第一数据处理后生成第二数据,第一图像采集装置将第二数据发送给第二计算机;
步骤S30:第二计算机通过第二计算机的显示卡的视频/图像输出端口向第二图像采集装置发送第三数据,第三数据是由第二计算机处理第一数据或第二数据所生成的;
其中,第二计算机的显示卡的视频输出端口为第二计算机的图像输 出端口;
第二图像采集装置具有图像输入端口,图像输入端口用于与第二计算机的图像输出端口连接;
第二计算机的图像输出端口包括第二计算机的显示卡的输出端口;
步骤S40:第二图像采集装置将第三数据发送给第一计算机,或者,第二图像采集装置将第三数据处理后生成第四数据,第二图像采集装置将第四数据发送给第一计算机。
优选地,第一图像采集装置具有图像输入端口,图像输入端口用于与第一计算机的图像输出端口连接;第一计算机的图像输出端口包括第一计算机的显示卡的输出端口。
优选地,第三数据是由第二计算机处理第一数据或第二数据所生成的。
优选地,在第一数据被发送之前,还包括:第一计算机收到浏览器或应用程序发送的访问或修改数据库的请求后,实现请求所需要的信息被第一计算机放在第一数据中;或者,第一计算机将第一计算机中的一个文件中的内容放在第一数据中;或者,第一计算机将第一计算机中的一个文件中的内容处理后放在第一数据中;或者,第一计算机将一个网页中的内容放在第一数据中;或者,第一计算机将计算机从外部获得的内容放在第一数据中;或者,第一计算机将第一计算机中的信息放在第一数据中。
优选地,第一计算机将第一计算机中的一个文件放在第一数据中,第二计算机将接收到第一数据后,第二计算机将第一数据还原成文件或第二计算机将第一数据存储在新的文件中。
在本发明的另一个实施例中,如图2所示,一种传输数据的装置,包括:第一计算机1、第一图像采集装置2、第二计算机3;第一计算机1通过第一计算机的图像输出端口连接第一图像采集装置2,第一图像采集装置连接第二计算机3,第一图像采集装置具有图像输入端口,图像输入端口用于与第一计算机的图像输出端口连接,第一计算机的图像输 出端口包括第一计算机的显示卡的输出端口。
第一计算机1还包括第二显示卡6,第二显示卡6和第一显示器9连接,第一计算机1上的内容可以通过第二显示卡6显示在第一显示器9上。同理,第二计算机2还包括第四显示卡8,第四显示卡8和第二显示器10连接,第二计算机2上的内容可以通过第四显示卡8显示在第二显示器10上。
优选地,还包括:第二图像采集装置3;第二计算机的图像输出端口连接第二图像采集装置3的输入端口,图像采集装置具有图像输入端口,图像输入端口用于与第二计算机的图像输出端口连接,第二图像采集装置与第一计算机连接,第二计算机的图像输出端口包括第二计算机的显示卡的输出端口。
优选地,第一计算机通过第一计算机的图像输出端口向第一图像采集装置发送第一数据,第二计算机从第一图像采集装置接收第一数据;
或者,第一图像采集装置将第一数据处理后生成第二数据,第一图像采集装置将第二数据发送给第二计算机。
优选地,第二计算机通过第二计算机的显示卡向第二图像采集装置发送第三数据。
优选地,第三数据是由第二计算机处理第一数据或第二数据所生成的。
应当说明的是,上述实施例均可根据需要自由组合。以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。

Claims (12)

  1. 一种传输数据的方法,所述方法用于在第一计算机与第二计算机之间传输数据,其特征在于,包括:
    所述第一计算机通过所述第一计算机的图像输出端口向第一图像采集装置发送第一数据;
    所述第一图像采集装置接收所述第一数据;
    所述第一图像采集装置将所述第一数据发送给所述第二计算机;或者,所述第一图像采集装置将所述第一数据处理后生成第二数据,所述第一图像采集装置将所述第二数据发送给所述第二计算机;
    所述第一图像采集装置具有图像输入端口,所述图像输入端口用于与所述第一计算机的图像输出端口连接;
    所述第一计算机的图像输出端口包括所述第一计算机的显示卡的输出端口。
  2. 根据权利要求1所述的传输数据的方法,其特征在于,在所述第一数据被发送之前,还包括:
    所述第一计算机收到浏览器或应用程序发送的访问或修改数据库的请求后,实现所述请求所需要的信息被所述第一计算机放在所述第一数据中;
    或者,
    所述第一计算机将所述第一计算机中的一个文件中的内容放在所述第一数据中;
    或者,
    所述第一计算机将所述第一计算机中的一个文件中的内容处理后放在所述第一数据中;
    或者,
    所述第一计算机将一个网页中的内容放在所述第一数据中;
    或者,
    所述第一计算机将所述计算机从外部获得的内容放在所述第一数据中;
    或者,
    所述第一计算机将所述第一计算机中的信息放在所述第一数据中。
  3. 根据权利要求1所述的传输数据的方法,其特征在于,还包括:
    所述第二计算机通过所述第二计算机的图像输出端口向第二图像采集装置发送第三数据;
    所述第二图像采集装置将所述第三数据发送给所述第一计算机;或者,所述第二图像采集装置将所述第三数据处理后生成第四数据,所述第二图像采集装置将所述第四数据发送给所述第一计算机;
    所述第二图像采集装置具有图像输入端口,所述图像输入端口用于与所述第二计算机的图像输出端口连接;
    所述第二计算机的图像输出端口包括所述第二计算机的显示卡的输出端口。
  4. 根据权利要求3所述的传输数据的方法,其特征在于:
    所述第三数据是由所述第二计算机处理所述第一数据或第二数据所生成的。
  5. 根据权利要求1所述的传输数据的方法,其特征在于:
    所述第一计算机将第一计算机中的一个文件放在所述第一数据中,所述第二计算机将接收到所述第一数据后,所述第二计算机将所述第一数据还原成所述文件或所述第二计算机将所述第一数据存储在新的文件中。
  6. 根据权利要求1-5任一所述的传输数据的方法,其特征在于,所述第一计算机是Web服务器或应用程序服务器。
  7. 根据权利要求1-5任一所述的传输数据的方法,其特征在于,所述第二计算机是数据库服务器。
  8. 一种采用上述权利要求1-7任一所述的传输数据的方法的传输数据的装置,包括:第一计算机、第一图像采集装置、第二计算机,其特征在于:
    所述第一计算机通过所述第一计算机的图像输出端口连接第一图像采集装置,所述第一图像采集装置连接第二计算机,所述第一图像采集装置具有图像输入端口,所述图像输入端口用于与所述第一计算机的图像输出端口连接,所述第一计算机的图像输出端口包括所述第一计算机的显示卡的输出端口。
  9. 根据权利要求8所述的传输数据的装置,其特征在于,还包括:
    第二图像采集装置;所述第二计算机的图像输出端口连接所述第二图像采集装置的输入端口,所述第二图像采集装置具有图像输入端口,所述图像输入端口用于与所述第二计算机的图像输出端口连接,所述第二图像采集装置与所述第一计算机连接,所述第二计算机的图像输出端口包括所述第二计算机的显示卡的输出端口。
  10. 根据权利要求8或9所述的传输数据的装置,其特征在于:
    所述第一计算机通过所述第一计算机的图像输出端口向所述第一图像采集装置发送第一数据,所述第二计算机从所述第一图像采集装置接收所述第一数据;
    或者,
    所述第一图像采集装置将所述第一数据处理后生成第二数据,所述第一图像采集装置将所述第二数据发送给所述第二计算机。
  11. 根据权利要求10所述的传输数据的装置,其特征在于:
    所述第二计算机通过所述第二计算机的显示卡向所述第二图像采集装置发送第三数据。
  12. 根据权利要求11所述的传输数据的装置,其特征在于:
    所述第三数据是由所述第二计算机处理所述第一数据或第二数据所生成的。
PCT/CN2017/071103 2015-12-09 2017-01-13 一种传输数据的方法及传输数据的装置 WO2017097270A1 (zh)

Priority Applications (6)

Application Number Priority Date Filing Date Title
AU2017204137A AU2017204137B2 (en) 2015-12-09 2017-01-13 Data transmission method and data transmission apparatus
SG11201805736RA SG11201805736RA (en) 2015-12-09 2017-01-13 Data transmission method and data transmission apparatus
JP2018530770A JP6803385B2 (ja) 2015-12-09 2017-01-13 データ伝送方法及びデータ伝送装置
PCT/CN2017/071103 WO2017097270A1 (zh) 2015-12-09 2017-01-13 一种传输数据的方法及传输数据的装置
EP17728756.2A EP3388970B1 (en) 2016-01-15 2017-01-13 Data transmission method and data transmission apparatus
US16/003,103 US10992646B2 (en) 2016-01-15 2018-06-07 Data transmission method and data transmission apparatus

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CN201510900077.9 2015-12-09
CN201610027191 2016-01-15
CN201610027191.X 2016-01-15
CN201610444143.0 2016-06-20
CN201610444143 2016-06-20
PCT/CN2017/071103 WO2017097270A1 (zh) 2015-12-09 2017-01-13 一种传输数据的方法及传输数据的装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/003,103 Continuation US10992646B2 (en) 2016-01-15 2018-06-07 Data transmission method and data transmission apparatus

Publications (1)

Publication Number Publication Date
WO2017097270A1 true WO2017097270A1 (zh) 2017-06-15

Family

ID=59340697

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/071103 WO2017097270A1 (zh) 2015-12-09 2017-01-13 一种传输数据的方法及传输数据的装置

Country Status (4)

Country Link
US (1) US10992646B2 (zh)
EP (1) EP3388970B1 (zh)
CN (1) CN106982307B (zh)
WO (1) WO2017097270A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3388970B1 (en) * 2016-01-15 2023-06-07 Xingchang Zhou Data transmission method and data transmission apparatus
CN110113504A (zh) * 2018-02-01 2019-08-09 上海钢盾信息科技有限公司 一种图像传输的方法及图像传输的装置
EP3748929A4 (en) * 2018-02-01 2021-10-27 Xingchang Zhou METHOD OF DATA PROCESSING
CA3145991A1 (en) * 2019-07-28 2021-02-04 Xingchang Zhou A data processing method
CN112307527A (zh) * 2019-08-01 2021-02-02 周兴昌 一种传输数据的方法及结构
US11461988B2 (en) * 2020-07-23 2022-10-04 Suresh Babu Revoled Konti Method of transferring data between unconnected computing devices
WO2023226908A1 (zh) * 2022-05-21 2023-11-30 周兴昌 一种单向传输数据的方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020120875A1 (en) * 2001-02-23 2002-08-29 Masakatsu Kiwada Image processing method, image process system, and related equipment used therein including portable terminal, image forming data transmitting device and image forming device, as well as image processing program and computer readable recording medium that stores said program
CN101335899A (zh) * 2008-06-03 2008-12-31 中国人民解放军军事交通学院 基于数据图像编解码技术的单向光通路数据导入装置
CN103259781A (zh) * 2013-04-07 2013-08-21 内蒙古华腾科技发展有限公司 基于图像识别的数据传输系统
CN103716652A (zh) * 2014-01-10 2014-04-09 厦门市美亚柏科信息股份有限公司 数据传输方法、装置以及数据传输系统
CN103731431A (zh) * 2014-01-10 2014-04-16 厦门市美亚柏科信息股份有限公司 内网设备与外部存储设备之间的资源交互系统及方法
CN103927498A (zh) * 2013-04-18 2014-07-16 戴存兵 一种物理隔离状态下的内外网数据通信方法及系统

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5907619A (en) * 1996-12-20 1999-05-25 Intel Corporation Secure compressed imaging
GB0312774D0 (en) * 2003-06-04 2003-07-09 Hewlett Packard Development Co Image data transfer
JP5013694B2 (ja) * 2005-09-09 2012-08-29 キヤノン株式会社 画像処理方法、画像処理装置、プログラムコード及び記憶媒体
US8875273B2 (en) * 2010-12-17 2014-10-28 Isolated Technologies, Inc. Code domain isolation
EP2740120A4 (en) * 2011-08-05 2015-03-11 Fox Sports Productions Inc SELECTIVE CAPTURE AND PRESENTATION OF PARTS OF NATIVE IMAGES
US9235724B2 (en) * 2014-03-17 2016-01-12 Saudi Arabian Oil Company Systems, methods, and computer medium to securely transfer backup data between physically isolated networks having different levels of network protection
EP3388970B1 (en) * 2016-01-15 2023-06-07 Xingchang Zhou Data transmission method and data transmission apparatus
CN115361463A (zh) 2017-12-11 2022-11-18 微颖公司 用于在移动计算设备上管理与消息上下文相关联的媒体内容的方法和系统
US11356257B2 (en) 2018-03-07 2022-06-07 Visa International Service Association Secure remote token release with online authentication
US10769428B2 (en) 2018-08-13 2020-09-08 Google Llc On-device image recognition

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020120875A1 (en) * 2001-02-23 2002-08-29 Masakatsu Kiwada Image processing method, image process system, and related equipment used therein including portable terminal, image forming data transmitting device and image forming device, as well as image processing program and computer readable recording medium that stores said program
CN101335899A (zh) * 2008-06-03 2008-12-31 中国人民解放军军事交通学院 基于数据图像编解码技术的单向光通路数据导入装置
CN103259781A (zh) * 2013-04-07 2013-08-21 内蒙古华腾科技发展有限公司 基于图像识别的数据传输系统
CN103927498A (zh) * 2013-04-18 2014-07-16 戴存兵 一种物理隔离状态下的内外网数据通信方法及系统
CN103716652A (zh) * 2014-01-10 2014-04-09 厦门市美亚柏科信息股份有限公司 数据传输方法、装置以及数据传输系统
CN103731431A (zh) * 2014-01-10 2014-04-16 厦门市美亚柏科信息股份有限公司 内网设备与外部存储设备之间的资源交互系统及方法

Also Published As

Publication number Publication date
EP3388970A1 (en) 2018-10-17
CN106982307B (zh) 2020-06-19
EP3388970A4 (en) 2019-07-10
EP3388970B1 (en) 2023-06-07
US10992646B2 (en) 2021-04-27
CN106982307A (zh) 2017-07-25
EP3388970C0 (en) 2023-06-07
US20180302379A1 (en) 2018-10-18

Similar Documents

Publication Publication Date Title
WO2017097270A1 (zh) 一种传输数据的方法及传输数据的装置
US8385589B2 (en) Web-based content detection in images, extraction and recognition
CN104618622A (zh) 一种通过移动终端将用户账号与图像形成设备绑定的方法及系统
JP2014032659A (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
WO2021023085A1 (zh) 水印添加方法、水印识别方法、装置和电子设备
US11252135B2 (en) Method of processing data
JP2016540333A (ja) 端末標記方法、端末標記装置、プログラム及び記録媒体
CN111090580B (zh) 用户界面一致性检测方法、装置及可读存储介质
CN112307527A (zh) 一种传输数据的方法及结构
WO2021018129A1 (zh) 一种校验数据的方法及结构
AU2017204137B2 (en) Data transmission method and data transmission apparatus
JP6402805B2 (ja) 情報処理システム、情報処理装置、機器、情報処理方法、及びプログラム
US10701028B2 (en) Terminal identification method and apparatus therefor
WO2023226908A1 (zh) 一种单向传输数据的方法
CN110334301B (zh) 一种页面还原方法及装置
JP5322972B2 (ja) ウェブ画面復元装置及びウェブ画面復元方法及びウェブ画面復元プログラム
EA038687B1 (ru) Способ и система выявления устройств, связанных с мошеннической фишинговой активностью

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2018530770

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 11201805736R

Country of ref document: SG

WWE Wipo information: entry into national phase

Ref document number: 2017728756

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2017728756

Country of ref document: EP

Effective date: 20180709

ENP Entry into the national phase

Ref document number: 2017204137

Country of ref document: AU

Date of ref document: 20170113

Kind code of ref document: A