CN112307527A - Data transmission method and structure - Google Patents

Data transmission method and structure Download PDF

Info

Publication number
CN112307527A
CN112307527A CN202010043706.1A CN202010043706A CN112307527A CN 112307527 A CN112307527 A CN 112307527A CN 202010043706 A CN202010043706 A CN 202010043706A CN 112307527 A CN112307527 A CN 112307527A
Authority
CN
China
Prior art keywords
computer
data
acquisition device
image
image acquisition
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202010043706.1A
Other languages
Chinese (zh)
Inventor
周兴昌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Publication of CN112307527A publication Critical patent/CN112307527A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/84Protecting input, output or interconnection devices output devices, e.g. displays or monitors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a structure for transmitting data, comprising the following steps: in the process that a display card of a first computer sends data to a first image acquisition device and the first image acquisition device sends data to a second computer, the first step is as follows: when the image acquisition card acquires images, a verification mechanism is adopted, so that the image acquisition card can acquire images successfully; the second step is that: the second computer processes the image only once in a scene. The invention has the advantages that: the data security can be guaranteed, and meanwhile the chaos of the system can be avoided.

Description

Data transmission method and structure
Technical Field
The invention relates to the technical field of Internet/computers.
Background
In the present society, many companies and units have their own websites for publishing information for customers and users to know their own information, but the websites have great potential safety hazards and are easily attacked by hackers, so that the hackers can grope the melon and access the databases of the company websites, thereby causing leakage of company data.
Data are exchanged between computers through an image acquisition device, and although the image acquisition device is safe, the phenomenon of frame loss often occurs, so that data of a website are easy to be incomplete.
Disclosure of Invention
A signal wire is arranged between the display card and the image acquisition device, the signal wire is used for the image acquisition device to send signals to the display card, and the signal wire is a single signal wire.
The image acquisition device sends a first signal or a second signal to a display card of a first computer;
alternatively, the first and second electrodes may be,
the image acquisition device sends a first signal or a second signal to a first computer through a gpio of the first computer;
alternatively, the first and second electrodes may be,
the image acquisition device sends first data to a second computer, and the second computer sends a first signal or a second signal to the first computer through the gpio of the first computer;
alternatively, the first and second electrodes may be,
the image acquisition device sends first data to the second computer, the image output port of the second computer sends second data to the second acquisition device, and the second acquisition device sends the second data or the third data to the first computer.
GPIO (General-purpose input/output), which is an abbreviation of General-purpose input/output.
The structure of the transmission data is as follows: the image output port of the first computer is connected with the image acquisition device;
the image acquisition device is connected with the gpio of the first computer;
alternatively, the first and second electrodes may be,
the image acquisition device is connected with a second computer, and the second computer is connected with the gpio of the first computer.
The invention has the advantages that: the data security is guaranteed, and meanwhile, the chaos of the system can be avoided.
Drawings
The invention is described in further detail below with reference to the following figures and detailed description:
FIG. 1 is a flow chart of one embodiment of a method for transferring data between a first computer and a second computer in accordance with the present invention;
FIG. 2 is a schematic diagram of an embodiment of an apparatus for transmitting data according to the present invention;
FIG. 3 is a first sample of an image in the present invention;
FIG. 4 is a second sample of an image in the present invention;
FIG. 5 is a third sample of an image in the present invention;
the reference numbers illustrate:
1. the system comprises a first computer, 2, a first image acquisition device, 3, a second image acquisition device, 4, a second computer, 5, a first display card, 6, a second display card, 7, a third display card, 8, a fourth display card, 9, a first display and 10, a second display.
The display card of the first computer sends data to the first image acquisition device, each first image corresponds to a sequence number and is used for checking when the second computer processes the data, and the second computer is ensured to process the first image only once in the current service scene.
The display card sends an image to the image acquisition device, and if the image acquisition device successfully acquires the image, the image acquisition device sends a signal that the image acquisition is successful to the display card. If the image acquisition card does not acquire the image successfully or incompletely successfully (the acquired image is incomplete), the image acquisition device abandons the incomplete image and sends a signal that the image acquisition is unsuccessful to the display card, or if the signal that the image acquisition device does not acquire the image successfully is not received within a certain time (such as 1 second) after the display card sends the image to the image acquisition device, the display card sends the image to the image acquisition device again.
The image acquisition device sends the image to the second computer, and the same image can be processed by the second computer only once in a specified service scene.
And the database server processes the parameters in the first data in the process of processing the first data. And (4) parameterization processing, including parameterization insertion, deletion, query and the like. Parameterized Query or Parameterized state refers to a method of defending against attack techniques that are currently considered to be the most effective method for preventing SQL Injection attack (SQL Injection) by using parameters (parameters) to give values where values or data need to be filled in when designing a link with a database and accessing data.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
For the sake of simplicity, the drawings only schematically show the parts relevant to the present invention, and they do not represent the actual structure as a product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically illustrated or only labeled. In this document, "one" means not only "only one" but also a case of "more than one".
1. Establishing a website:
establishing a website W in the first computer 1, wherein the user profile of the website W is stored in the database B, and the user profile comprises: user name, password and user personal information; the personal information includes: name, phone, etc. The database B is installed in the second computer 4; the step of storing the user profile of the web site W in the database B is described in detail in the following embodiment; in subsequent embodiments, the program developer can select different development tools as desired.
The first computer is a Web Server (Web Server); the first computer is also referred to as an 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).
2. Setting:
1) the first display card 5 and the third display card 7 are of the same type, and the characteristics of the display cards include:
A. under the initial condition, the desktop code of the computer is not sent to the display card;
B. after the driver of the display card receives an image or an image file or all pixel information in the image, the driver of the display card controls the display card to convert the received data into an image signal suitable for transmission through a VGA or DVI port, and the image signal is sent out through the VGA or DVI port of the display card.
The steps of the driver of the display card receiving an image or an image file or pixel information in an image are as follows:
installing a display card in a computer, adding a dynamic link library Recpic.dll in the computer, wherein the dynamic link library comprises a Recpic () function which can be called by other programs, the Recpic () function is a user state function, the Recpic () function can receive data from other programs, the data comprises image files, images, pixel information in the images and the like, and functions possibly possessed by the Recpic () function are described in detail in an implementation example;
secondly, the function Recpic () sends the received data to a specified function in the driver of the display card, and the specified function receives the data, which is equal to the driver of the first display card receiving the data.
C. The display card transmits a maximum of 24 frames of images per second.
2) And adding a dynamic link library Rec.dll under the system catalogues of the first computer and the second computer.
3) In an embodiment, the program M in the first computer or the program J in the second computer can identify and acquire data in a given image when running, and both the program P in the first computer and the program J in the second computer can generate images; the functions of the program M, the program J, and the program P are described in detail in the embodiment, and a development language (tool) or a platform in which a developer writes the program M, the program J, and the program P may select different development tools as needed.
4) The first computer sends the image through the video/image output port of the first display card (or the second computer sends the image through the video/image output port of the third display card), the identified content in the image comprises letters, numbers, characters and symbols, the height of the content in the image is between 1.5 millimeters and 40 millimeters, 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 millimeter and 15 millimeters.
It should be noted that after the data in the image sent by the computer through the video/image output port of the display card is identified, the blank lines need to be removed first, and the identified data in the image in the embodiment example no longer contains blank lines.
5) The data format in the image is shown in the following table:
watch 1
Length (byte) Type (B) Examples of such applications are
Serial number 20 Integer number of 8002
Type of command 30 Character(s) “Login”
User name 20 Character(s) Zhang
Cipher code 20 Character(s) Hello
As shown in the above table one, the data format a in the image is shown in the form of display on the screen in fig. 3.
Watch two
Length (byte) Type (B) Examples of such applications are
Serial number 20 Integer number of 8002
Identification of successful user login 1 Character(s) Y
Name (I) 20 Character(s) ZhangSan
Telephone set 11 Character(s) 13888888888
As shown in table two above, the data format B in the image is shown in fig. 4.
Watch III
Figure RE-GDA0002520820600000051
Figure RE-GDA0002520820600000061
As shown in table three above, the data format C in the image is shown in the form of display on the screen in fig. 5.
In another embodiment of the present invention, the second image capturing device can run a software F that can identify and capture data in a given image, and the second image capturing device has network communication capability. In this embodiment, the first computer 1 and the second image capturing device 2 are connected by a network cable.
1. And the user F opens a user login webpage of the website W, inputs a user name and a password and clicks a login button.
2. The first computer runs a program P to generate a sequence number, the sequence number ranges from 5000 to 65535, if the generated sequence number is greater than 65535, the sequence number is equal to 5000, the sequence number is sequentially increased, assuming that the generated sequence number is 8002, the program P places 8002, "login", a user name and a password in a frame of image X, the display form of the frame of image X on the screen is shown in fig. 3 (the data format in the frame of image Y refers to the data format a in the image), the program P calls a function Recpic () in the dynamic link library Recpic.
3. The function Recpic () sends the received image to a specified function in the driver of the first display card.
4. The first computer converts the image X into a signal suitable for the DVI port transmission of the first display card (the first display card is considered as a component of the first computer), and then sends the signal to the first image acquisition device, the first computer sends an image number to the first image acquisition device, the image numbers are from 1 to 10, and are used in a cycle, and if the image number sent this time is 8, the image X is considered to correspond to the number of 8, and the image X is put into an image queue or a task list.
5. The program P runs a section of socket server side program and a section of socket receiving side (the service port number is 8002.
6. The first image acquisition device receives an image X and an image processing verification signal from a video/image output port of a first display card of the first computer, converts the image processing verification signal into verification data '1', or outputs the verification data '1' from the first display card of the first computer, or generates the verification data '1' and then sends the verification data '1' to the second computer.
The first display card sends an image X to the first image acquisition device, and if the first image acquisition device successfully acquires the image X, the first image acquisition device sends a signal that the image acquisition is successful to the first display card, and the image acquisition device sends a signal that the image acquisition is successful to the display card of the first computer;
alternatively, the first and second electrodes may be,
the image acquisition device sends a signal of successful image acquisition to the first computer through the gpio of the first computer;
alternatively, the first and second electrodes may be,
the image acquisition device sends an image X to a 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;
alternatively, the first and second electrodes may be,
the image acquisition device sends an image X to the second computer, the second computer sends a '1' to the second acquisition device,
alternatively, the first and second electrodes may be,
the image acquisition device sends an image X to the second computer, which sends an image N to the second acquisition device, the first line of image N being "1".
If the image acquisition card does not acquire the image X successfully or incompletely successfully (the acquired image is incomplete), the first image acquisition device abandons the incompletely acquired image and sends a signal that the image acquisition is unsuccessful to a display card of a first computer;
alternatively, the first and second electrodes may be,
the image acquisition device sends a signal that image acquisition is unsuccessful to the first computer through the gpio of the first computer;
alternatively, the first and second electrodes may be,
the image acquisition device sends information to the second computer, and the second computer sends a signal that image acquisition is unsuccessful to the first computer through the gpio of the first computer;
alternatively, the first and second electrodes may be,
the image acquisition device sends a message to the second computer, the second computer sends a "1" to the second acquisition device,
alternatively, the first and second electrodes may be,
the image acquisition device sends a message to the second computer, which sends an image N to the second acquisition device, the first line of the image N being "0"
Or, after the first display card sends the image X to the first image capturing device, if a signal that the first image capturing device successfully captures the image X is not received after a certain time (e.g., 1 or 10 seconds), the first computer sends the image X to the first image capturing device again through the first display card of the first computer.
Then the first image acquisition device identifies and acquires data on the image X; then sending the data to a second computer, wherein the data is received by the second computer; or, the first image acquisition device receives the image X from the video/image output port of the first display card of the first computer, 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.
7. The second computer performs the following operations:
the program J checks that the serial number corresponding to the image is "8", and the check data is "1", the program J further processes, and if the check data is "0", this operation is ended, the check data is "1", which indicates that the processing state corresponding to the serial number "8" is "unprocessed", the check data is "1", which indicates that the processing state corresponding to all the serial numbers is "processed", and the check data is "0", which indicates that the processing state corresponding to the serial number "8" is "processed".
And if the second line of the data is judged to be 'logic', the third line of the data read by the program J is used as a user name, the fourth line of the data is used as a password, the program J reads the user name and the password which are recorded and verified in the database B, and the program J carries out parameterized query processing on the user name and the password.
A) If the user name and the password are matched, the personal information of the user is returned, and the personal information is the name and the telephone. The program J places the serial number, the identifier that the user successfully logs in, and the personal information of the user in a frame image S, and the display form of the frame image S on the screen is shown in fig. 4 (the data format in the frame image S refers to the table ii), in the frame image S, the first row is the serial number (or session number), and the second row is "Y"; the second computer stores the serial number (or the session number) in the second computer, and the serial number (or the session number) and the user name form a group of corresponding relations, in other words, at this time, the user name has a corresponding serial number (or the session number); program J checks that the inspection data corresponding to the image is changed to "0";
B) if the user name and the password are not matched, "the user name and the password are not matched", the program J puts the serial number, the identification that the user login is unsuccessful, and "the user name and the password are not matched" in a display form on the screen in one frame of image S as shown in fig. 5 (the data format in one frame of image S refers to the table three above); program J checks that the corresponding check data for the image is changed to "0"; .
8. The program J calls a function Recpic () in the dynamic link library rec.
9. The function Recpic () sends the received image to a specified function in the driver of the third display card.
10. The second computer (the third display card is considered to be a component of the second computer) converts the image S into a signal suitable for transmission by the DVI port of the third display card and then by sending the signal to the second image capture device.
11. The second image acquisition device receives images from an image/video output port of a third display card in a second computer, a data line is arranged between the third display card and the second image acquisition device, and the data line is used for the second image acquisition device to send signals to the third display card.
And the third display card sends an image S to the second image acquisition device, and if the second image acquisition device successfully acquires the image S, the second image acquisition device sends a signal of successful image acquisition to the third display card. If the image acquisition card does not acquire the image S successfully or incompletely successfully (the acquired image is incomplete), the second image acquisition device abandons the incompletely acquired image and sends a signal of unsuccessful image acquisition to the third display card, or if the third display card cannot receive the signal of successful image acquisition of the second image acquisition device after sending the image S to the second image acquisition device after a certain time (such as 1 second), the third display card sends the image S to the second image acquisition device again.
The driver of the second image acquisition device sends the received image to software F in the first computer, the software F identifies and acquires data in the image, if the number of a first line in the data is 8002, then the software F runs a section of socket sending end (client program), the section of socket sending end program sends the identified data in the image, and the socket communication port number used by the section of socket sending end program is 8002.
12. The first computer receives the data, and the software F further performs the following operations: and closing the client of the socket communication program. The first computer further performs the following operations:
1) closing a receiving end (server end) of the socket communication program;
2) if the data contains letters 'Y', 'user login success' and the user's personal information, the first computer sends the user's personal information to the user F's computer, and the user F's computer displays 'user login success' on the display;
3) if the data contains the letter "N" and "the user name and password do not match", the first computer sends "the user name already exists or the password entered twice is not consistent" to the computer of the user F, and the display of the computer of the user F shows "the user name and password do not match".
13. A user F clicks a button for checking user information on a computer, a first computer places information such as a serial number (or a session number), "inquiry", a user name and the like in a first line, a second line and a third line in a picture Q, then sends the picture Q and an image processing verification signal "1" to a first image acquisition device, the first computer sends an image number to the first image acquisition device, the image number is from 1 to 10 and is recycled, if the sent image number is 5, the number corresponding to the image Q is considered to be 5, and the image Q is placed in an image queue or a task list;
14. if the first image acquisition device is unsuccessful in acquiring the 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, the image processing verification signal and the serial number once again; the second computer recognizes the data of the picture Q, and if the second line is "query", then reads out the user name and its corresponding serial number (or session number) stored in the second computer,
B)1) if the user name stored in the picture Q is found in the second computer and the sequence number (or session number) corresponding to the user name is consistent with the sequence number (or session number) in the picture Q, placing the client data related to the user name and the sequence number (or session number) in the picture w, and sending the picture w to the first computer by the second computer;
2) otherwise, putting 'your access is not in accordance with the specification' in the picture w, and sending the picture w to the first computer by the second computer;
15. program J checks that the check data corresponding to the image is changed to "0", indicating that image Q has been processed, and the first computer sends the information in picture w to the user's computer.
In another embodiment of the invention:
1. the WEB server places three requests for accessing the database in an image 1, an image 2 and an image 3 respectively, the first computer runs a software K, and the software K places the image 1, the image 2 and the image 3 in an image queue or a task list;
2. after the first image acquisition device successfully receives the image 1 from the video/image output port of the first display card of the WEB server, the first image acquisition device sends a signal that the image acquisition is successful to the first display card, or the first image acquisition device sends a signal that the image acquisition is successful to the gpio of the first computer, or the image acquisition device sends information to the second computer, the second computer sends a signal that the image acquisition is successful to the first computer through the gpio of the first computer, the first image acquisition device converts the signal into 0001.jpg and sends the signal to the second computer,
3. the first display card then begins transmitting the image 2,
The first image acquisition device converts the image 2 into 0002.jpg and sends the jpg to the database server;
the first display card then begins transmitting the image 3,
The first image acquisition device converts the image 3 into 0003.jpg and sends the jpg to the database server.
4. The database server receives 0001.JPG, 0002.JPG and 0003.JPG and stores the data in the D \ recac \ directory of the database server.
5. The database server places the result requests for processing images 1, 2 and 3 in image A, image B and image C, respectively, and runs a software K which places image A, image B and image C in an image queue or a task list;
6. after the second image acquisition device successfully receives the 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 for successfully acquiring the image to the third display card, the second image acquisition device converts the signal into 0001.jpg and sends the signal to the WEB server,
7. then the third display card starts to transmit the image B,
The second image acquisition device converts the image B into 0002.jpg and sends the jpg to the WEB server;
then the third display card starts to transmit the image C,
And the second image acquisition device converts the image C into 0003.jpg and sends the jpg to the WEB server.
It should be noted that, in any of the above embodiments:
the output port of the display card can be DVI, HDMI, VGA and other image output ports, the corresponding input port of the image acquisition device also adopts a corresponding image input port, the first computer converts the related image/image file into a signal which is suitable for being transmitted by the DVI, HDMI, VGA and other output ports of the first display card for transmission, and the second computer converts the related image/image file into a signal which is suitable for being transmitted by the DVI, HDMI, VGA and other output ports of the third display card for transmission. In addition, any device capable of obtaining data from the first computer and transmitting an image signal to the image acquisition apparatus should be considered as an alternative product to the display card, such as an FPGA. The user can use the techniques of the above embodiments to perform various operations, such as modifying the user password.
As shown in fig. 1, a method of transferring data between a first computer and a second computer, comprising:
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 is as follows: when the image acquisition card acquires images, a verification mechanism is adopted, so that the image acquisition card can acquire images successfully; the second step is that: in the current business scenario, the second computer processes the image only once.
The further preferred scheme is as follows:
preferably:
the first computer sends first data to the first image acquisition device through an image output port of the first computer;
the method comprises the steps that a first image acquisition device sends a first signal or a second signal to a display card of a first computer;
alternatively, the first and second electrodes may be,
the first image acquisition device sends a first signal or a second signal to a first computer through a gpio of the first computer;
alternatively, the first and second electrodes may be,
the first image acquisition device sends first data to the second computer, and the second computer sends a first signal or a second signal to the first computer through the gpio of the first computer;
alternatively, the first and second electrodes may be,
the image acquisition device sends first data to the second computer, the second computer sends second data to the second acquisition device through an image output port of the second computer, and the second acquisition device sends the second data or third data to the first computer.
Preferably:
the first signal, the second data or partial information of the second data indicates that the first data collected by the image collecting device is incomplete or unsuccessful, and the first data is sent to the image collecting device by the first computer for one time again; alternatively, the first and second electrodes may be,
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 once again.
Preferably:
the second signal or the third data or partial information of the third data represents that the image acquisition device successfully acquires the first data, and the first computer sends fourth data to the image acquisition device.
Preferably:
the first computer places a plurality of first data for accessing the database in a queue or task list before the first data is sent by the first computer.
Preferably:
preferably:
and in the process of processing the first data by the second computer, the second computer carries out parameterization processing on the first data or the fourth data, wherein the parameterization processing comprises parameterization query.
Preferably:
the first data comprises first information and second information;
the fourth data includes third information and fourth information, and if the third information is identical to the first information and the fourth information is identical to the second information, the second computer processes the first data by the first method; if the third information is inconsistent with the first information or the fourth information is inconsistent with the second information, the second computer processes the fourth data using a second method.
Preferably:
the first computer sends the first data or the fourth data to the image acquisition device through an image output port of the first computer, the first computer sends a 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, and the image acquisition device sends the serial number to the second computer;
the second computer checks the processing normality corresponding to the serial number,
if the processing state is the processed state, terminating the next operation;
if the processing normal state corresponding to the serial number is an unprocessed state, the second computer sets the initial processing state corresponding to the serial number to be an unprocessed state;
and the second computer marks the processing normal state corresponding to the serial number as a processed state.
Preferably: the first computer is a Web server or an application server.
Preferably: the second computer is a database server.
Preferably: the image acquisition device is connected with the gpio of the first computer;
alternatively, the first and second electrodes may be,
the image acquisition device is connected with a second computer, and the second computer is connected with the gpio of the first computer. It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A method of transferring data between a first computer and a second computer, comprising:
the first computer sends first data to a first image acquisition device through an image output port of the first computer;
the first image acquisition device sends a first signal or a second signal to a display card of the first computer;
alternatively, the first and second electrodes may be,
the first image acquisition device sends the first signal or the second signal to the first computer through the gpio of the first computer;
alternatively, the first and second electrodes may be,
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;
alternatively, the first and second electrodes may be,
the image acquisition device sends the first data to the second computer, the second computer sends second data to the second acquisition device through an image output port of the second computer, and the second acquisition device sends the second data or third data to the first computer.
2. A method of protecting data according to claim 1, wherein:
the first signal or the second data or partial information of the second data represents that the first data acquired by the image acquisition device is incomplete or unsuccessful, and the first computer sends the first data to the image acquisition device again; alternatively, the first and second electrodes may be,
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 once again.
3. A method of protecting data according to claim 1, wherein:
the second signal or the third data or partial information of the third data represents that the image acquisition device successfully acquires the first data, and the first computer sends fourth data to the image acquisition device.
4. A method of protecting data according to claim 1, wherein: the first computer places a plurality of first data for accessing a database in a queue or task list before the first data is sent by the first computer.
5. A method of protecting data according to claim 1, wherein: in the process of processing the first data by the second computer, the second computer performs parameterization processing on the first data or the fourth data, wherein the parameterization processing comprises parameterization query.
6. A method of protecting data according to claim 1 or 3, characterized by:
the first data comprises first information and second information;
the fourth data includes third information and fourth information, and if the third information is consistent with the first information and the fourth information is consistent with the second information, the second computer processes the first data by using a first method; and if the third information is inconsistent with the first information or the fourth information is inconsistent with the second information, the second computer processes the fourth data by using a second method.
7. Method for protecting data according to claim 1 or 6, characterized in that:
the first computer sends the first data or the fourth data to an image acquisition device through an image output port of the first computer, the first computer sends a 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, and the image acquisition device sends the serial number to the second computer;
the second computer checks the processing normality corresponding to the sequence number,
if the processing state is the processed state, terminating the next operation;
if the processing normal state corresponding to the serial number is an unprocessed state, the second computer sets the initial processing state corresponding to the serial number to be an unprocessed state;
and the second computer marks the processing normal state corresponding to the sequence number as a processed state.
8. A method of protecting data according to claim 1 or 2 or 3 or 4 or 7, wherein: the first computer is a Web server or an application server.
9. A method of protecting data according to claim 1 or 3 or 5 or 6 or 7, wherein: the second computer is a database server.
10. A structure for transmitting data, characterized by: the image output port of the first computer is connected with the image acquisition device;
the image acquisition device is connected with the gpio of the first computer;
alternatively, the first and second electrodes may be,
the image acquisition device is connected with a second computer, and the second computer is connected with the gpio of the first computer.
CN202010043706.1A 2019-08-01 2020-01-15 Data transmission method and structure Pending CN112307527A (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN2019098941 2019-08-01
CNPCT/CN2019/098941 2019-08-01
CN201911354650 2019-12-25
CN2019113546505 2019-12-25

Publications (1)

Publication Number Publication Date
CN112307527A true CN112307527A (en) 2021-02-02

Family

ID=74336699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010043706.1A Pending CN112307527A (en) 2019-08-01 2020-01-15 Data transmission method and structure

Country Status (1)

Country Link
CN (1) CN112307527A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023226908A1 (en) * 2022-05-21 2023-11-30 周兴昌 One-way data transmission method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916428A (en) * 2010-08-18 2010-12-15 中国科学院光电技术研究所 Image processing device for image data
CN104461978A (en) * 2014-10-24 2015-03-25 厦门市美亚柏科信息股份有限公司 Single-way data transmission method and device
CN105959342A (en) * 2016-04-08 2016-09-21 安徽大学 Wireless sensor network system based on parallel data acquisition
CN106708763A (en) * 2016-08-31 2017-05-24 北京亮亮视野科技有限公司 Head-mounted display device and data transmission system of intelligent host
CN106982307A (en) * 2016-01-15 2017-07-25 周兴昌 A kind of method for transmitting data and the device for transmitting data
CN107527317A (en) * 2017-07-18 2017-12-29 西安电子科技大学 Data transmission system based on image procossing
CN108769564A (en) * 2018-06-25 2018-11-06 河南思维轨道交通技术研究院有限公司 A kind of image capturing system and image processing method
CN108846270A (en) * 2018-06-30 2018-11-20 常州大学 A kind of computer security login safeguards system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916428A (en) * 2010-08-18 2010-12-15 中国科学院光电技术研究所 Image processing device for image data
CN104461978A (en) * 2014-10-24 2015-03-25 厦门市美亚柏科信息股份有限公司 Single-way data transmission method and device
CN106982307A (en) * 2016-01-15 2017-07-25 周兴昌 A kind of method for transmitting data and the device for transmitting data
US20180302379A1 (en) * 2016-01-15 2018-10-18 Xingchang Zhou Data transmission method and data transmission apparatus
CN105959342A (en) * 2016-04-08 2016-09-21 安徽大学 Wireless sensor network system based on parallel data acquisition
CN106708763A (en) * 2016-08-31 2017-05-24 北京亮亮视野科技有限公司 Head-mounted display device and data transmission system of intelligent host
CN107527317A (en) * 2017-07-18 2017-12-29 西安电子科技大学 Data transmission system based on image procossing
CN108769564A (en) * 2018-06-25 2018-11-06 河南思维轨道交通技术研究院有限公司 A kind of image capturing system and image processing method
CN108846270A (en) * 2018-06-30 2018-11-20 常州大学 A kind of computer security login safeguards system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023226908A1 (en) * 2022-05-21 2023-11-30 周兴昌 One-way data transmission method

Similar Documents

Publication Publication Date Title
CN106982307B (en) Data transmission method and data transmission device
CN104468531A (en) Authorization method, device and system for sensitive data
KR20080052097A (en) Harmful web site filtering method and apparatus using web structural information
RU2701040C1 (en) Method and a computer for informing on malicious web resources
CN102789561A (en) Method and device for utilizing camera in browser
US20050193018A1 (en) Utilizing a scannable URL (Universal Resource Locator)
CN110674376A (en) Interface parameter checking method, device, equipment and computer readable storage medium
CN110113296B (en) Method for processing data
CN113449829A (en) Data transmission method based on optical character recognition technology and related device
CN114386059A (en) Webpage text confusion anti-crawler method and device, electronic equipment and storage medium
CN112307527A (en) Data transmission method and structure
CN111045934A (en) Page analysis method, device, client, storage medium and electronic equipment
CN114257443B (en) Special inter-intranet signature system, method and equipment for court
WO2021018129A1 (en) Method and structure for verifying data
AU2017204137B2 (en) Data transmission method and data transmission apparatus
CN109145645B (en) Method for protecting short message verification code in android mobile phone
CN109190338B (en) Method and system for generating virtual desktop screen watermark
CN112580762A (en) Dynamic two-dimensional code and identification method and identification device thereof
CN117389769B (en) Browser-end rich text copying method and system based on cloud service and cloud platform
CN110175305B (en) Data processing method, data processing device, computer equipment and storage medium
WO2023226908A1 (en) One-way data transmission method
CN114301600B (en) Method, device and medium for improving HTTP message signature security
CN110334301B (en) Page restoration method and device
CN117389769A (en) Browser-end rich text copying method and system based on cloud service and cloud platform
CN115550926A (en) Electronic evidence obtaining method, system, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination