CN111131220B - Method, device, equipment and storage medium for data transmission among multi-network environments - Google Patents

Method, device, equipment and storage medium for data transmission among multi-network environments Download PDF

Info

Publication number
CN111131220B
CN111131220B CN201911319187.0A CN201911319187A CN111131220B CN 111131220 B CN111131220 B CN 111131220B CN 201911319187 A CN201911319187 A CN 201911319187A CN 111131220 B CN111131220 B CN 111131220B
Authority
CN
China
Prior art keywords
data
request
transmitted
approval
downloading
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.)
Active
Application number
CN201911319187.0A
Other languages
Chinese (zh)
Other versions
CN111131220A (en
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.)
Guangzhou Jishang Network Technology Co ltd
Original Assignee
Guangzhou Jishang Network Technology Co ltd
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 Guangzhou Jishang Network Technology Co ltd filed Critical Guangzhou Jishang Network Technology Co ltd
Priority to CN201911319187.0A priority Critical patent/CN111131220B/en
Publication of CN111131220A publication Critical patent/CN111131220A/en
Application granted granted Critical
Publication of CN111131220B publication Critical patent/CN111131220B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to a method and a device for data transmission among multi-network environments, computer equipment and a storage medium. The method comprises the following steps: receiving a data uploading request to be transmitted initiated in a first network environment through a first network card, wherein the data uploading request to be transmitted carries an uploading user identifier and data to be transmitted; when the user identity information corresponding to the uploaded user identification and the data to be transmitted accord with preset conditions, storing the data to be transmitted which is uploaded in a first network environment; receiving a transmission data downloading request initiated in a second network environment through a second network card, wherein the transmission data downloading request carries a transmission data identifier; and acquiring target data corresponding to the transmission data identifier according to the transmission data downloading request, and sending the target data to a target terminal corresponding to the transmission data downloading request. By adopting the method, the data transmission efficiency among multiple networks can be improved.

Description

Method, device, equipment and storage medium for data transmission among multi-network environments
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for data transmission between multiple network environments, a computer device, and a storage medium.
Background
In a communication environment, a network architecture becomes increasingly complex, generally, in order to isolate a network environment, data, files and network traffic between different network environments cannot be intercommunicated, however, some sensitive data still need to be shared and intercommunicated in different network environments, the current practice is to store the sensitive data in some confidential servers, manually lock external interfaces of the servers, for example, with a special cabinet, and when the sensitive data is needed, manually unlock the servers, and copy the files through special equipment, for example, copy the files through a USB equipment area, and due to the addition of human factors, the data transmission efficiency is easily low.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a computer device and a storage medium for data transmission between multiple network environments, which can improve the efficiency of data transmission between multiple networks.
A data transmission method among multi-network environments, the method uses the server with many network cards, every network card disposes the network address of different network environments separately, said method comprises:
receiving a data uploading request to be transmitted initiated in a first network environment through a first network card, wherein the data uploading request to be transmitted carries an uploading user identifier and data to be transmitted;
when the user identity information corresponding to the uploaded user identification and the data to be transmitted accord with preset conditions, storing the data to be transmitted which is uploaded in a first network environment;
receiving a transmission data downloading request initiated in a second network environment through a second network card, wherein the transmission data downloading request carries a transmission data identifier;
and acquiring target data corresponding to the transmission data identification from the stored data according to the transmission data downloading request, and sending the target data to a target terminal corresponding to the transmission data downloading request.
In one embodiment, receiving a request for downloading transmission data initiated in a second network environment via a second network card comprises: receiving a transmission data approval request initiated in a second network environment through a second network card, wherein the transmission data approval request carries an approval data identifier; acquiring approval data corresponding to the approval data identification according to the transmission data approval request, and sending the approval data to an approval terminal corresponding to the transmission data approval request; receiving an approval instruction sent by an approval terminal, wherein the approval instruction carries an approval result; determining an interface state corresponding to a downloading interface corresponding to the second network environment according to the approval result; and when the interface state is an open state, receiving a transmission data downloading request initiated in a second network environment through a second network card.
In one embodiment, before receiving, through the second network card, a request for approval of transmission data initiated in the second network environment, the method further includes: sending a request for transmission data to be approved, wherein the request for transmission data to be approved carries a user identifier to be approved and a notice to be approved; and sending the approval notice to the approval user terminal corresponding to the approval user identification, and informing the approval user terminal to carry out transmission data approval.
In one embodiment, when the user identity information corresponding to the uploaded user identifier and the data to be transmitted meet preset conditions, the method includes: checking whether the user identity information has uploading authority; checking whether a data format, a data name and a data size corresponding to the data to be transmitted meet preset data conditions or not; and when the user identity information has the uploading authority and the data format, the data name and the data size corresponding to the data to be transmitted all accord with the preset data conditions, determining that the user identity information corresponding to the uploading user identification and the data to be transmitted accord with the preset conditions.
In one embodiment, storing data to be transmitted over a first network environment comprises: uploading data to be transmitted to a designated physical disk for storage; the method for sending the target data to the target terminal corresponding to the transmission data downloading request comprises the following steps: and sending the target data from the physical disk to a target terminal corresponding to the transmission data downloading request.
In one embodiment, the transmitting a data download request carries a download user identifier, obtains target data corresponding to the transmission data identifier according to the transmission data download request, and sends the target data to a target terminal corresponding to the transmission data download request, including: determining the current downloading authority corresponding to the downloading user identification according to the transmission data downloading request; and acquiring target data corresponding to a downloading user with the current downloading authority, and sending the target data to a target terminal corresponding to the transmission data downloading request in a downloading list form.
In one embodiment, the data transmission method among the multi-network environments further comprises the steps of recording an uploading user identifier corresponding to an uploading request of data to be transmitted; recording a downloading user identifier corresponding to the transmission data downloading request; establishing a first incidence relation between an uploading user identifier and data to be transmitted and a second incidence relation between a downloading user identifier and target data, and storing the first incidence relation and the second incidence relation, wherein the first incidence relation is used for tracing the uploading condition of the data to be transmitted, and the second incidence relation is used for tracing the downloading condition of the target data.
An apparatus for data transmission between multiple network environments, the apparatus comprising:
the device comprises an upload request receiving module, a first network card and a second network card, wherein the upload request receiving module is used for receiving a data upload request to be transmitted initiated in a first network environment through the first network card, and the data upload request to be transmitted carries an upload user identifier and data to be transmitted;
the transmission data storage module is used for storing the data to be transmitted which is transmitted in the first network environment when the user identity information corresponding to the uploaded user identification and the data to be transmitted accord with preset conditions;
a download request receiving module, configured to receive, through a second network card, a transmission data download request initiated in a second network environment, where the transmission data download request carries a transmission data identifier;
and the transmission data sending module is used for acquiring target data corresponding to the transmission data identifier from the stored data according to the transmission data downloading request and sending the target data to a target terminal corresponding to the transmission data downloading request.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
receiving a data uploading request to be transmitted initiated in a first network environment through a first network card, wherein the data uploading request to be transmitted carries an uploading user identifier and data to be transmitted;
when the user identity information corresponding to the uploaded user identification and the data to be transmitted accord with preset conditions, storing the data to be transmitted which is uploaded in a first network environment;
receiving a transmission data downloading request initiated in a second network environment through a second network card, wherein the transmission data downloading request carries a transmission data identifier;
and acquiring target data corresponding to the transmission data identification from the stored data according to the transmission data downloading request, and sending the target data to a target terminal corresponding to the transmission data downloading request.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
receiving a data uploading request to be transmitted initiated in a first network environment through a first network card, wherein the data uploading request to be transmitted carries an uploading user identifier and data to be transmitted;
when the user identity information corresponding to the uploaded user identification and the data to be transmitted accord with preset conditions, storing the data to be transmitted which is uploaded in a first network environment;
receiving a transmission data downloading request initiated in a second network environment through a second network card, wherein the transmission data downloading request carries a transmission data identifier;
and acquiring target data corresponding to the transmission data identification from the stored data according to the transmission data downloading request, and sending the target data to a target terminal corresponding to the transmission data downloading request.
According to the data transmission method, the device, the computer equipment and the storage medium among the multi-network environments, the data uploading request to be transmitted initiated in the first network environment is received through the first network card, the data uploading request to be transmitted carries the uploading user identifier and the data to be transmitted, when the user identity information corresponding to the uploading user identifier and the data to be transmitted meet the preset conditions, the data to be transmitted which are transmitted in the first network environment are stored, the transmission data downloading request initiated in the second network environment is received through the second network card, the transmission data downloading request carries the transmission data identifier, the target data corresponding to the transmission data identifier are obtained from the stored data according to the transmission data downloading request, and the target data are sent to the target terminal corresponding to the transmission data downloading request.
Therefore, even some sensitive data can be uploaded and downloaded and isolated directly through different network cards of the server without manually blocking external interfaces of the server, so that the sensitive data can be shared and communicated in different network environments, manual operation is not needed, and the data transmission efficiency is improved.
Drawings
FIG. 1 is a diagram of an exemplary implementation of a method for data transmission between multiple network environments;
FIG. 2 is a flow diagram that illustrates a method for data transmission between multiple network environments, according to one embodiment;
FIG. 3 is a flowchart illustrating the step of receiving a request for downloading transmission data according to one embodiment;
FIG. 4 is a flowchart illustrating the step of receiving a request for downloading transmission data according to another embodiment;
fig. 5 is a schematic flow chart illustrating a step of checking an upload request of data to be transmitted in one embodiment;
FIG. 6 is a flowchart illustrating the target data sending step in one embodiment;
FIG. 7 is a flow chart illustrating a method for data transmission between multiple network environments in accordance with another embodiment;
FIG. 7A is a schematic diagram illustrating a method for data transfer between multiple network environments in one embodiment;
FIG. 8 is a block diagram of an apparatus for data transfer between multiple network environments in one embodiment;
FIG. 9 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The data transmission method between the multiple network environments can be applied to the application environment shown in fig. 1. Wherein the first terminal 102 communicates with the server 104 via a network and the second terminal 106 communicates with the server 104 via a network. The first terminal 102 and the second terminal 106 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster composed of a plurality of servers.
The server 104 is a server with multiple network cards, each network card is configured with network addresses of different network environments, specifically, the first terminal 102 initiates a data uploading request to be transmitted in a first network environment, and sends the data uploading request to be transmitted to the server 104, the server 104 receives the data uploading request to be transmitted initiated in the first network environment through the first network card, and the data uploading request to be transmitted carries an uploading user identifier and data to be transmitted, and stores the data to be transmitted in the first network environment when user identity information corresponding to the uploading user identifier and the data to be transmitted meet preset conditions.
Further, the second terminal 106 receives a request for downloading transmission data initiated in the second network environment through the second network card, and sends the request for downloading transmission data to the server 104, the server 104 obtains the request for downloading transmission data initiated in the second network environment from the stored data, the request for downloading transmission data carries a transmission data identifier, obtains target data corresponding to the transmission data identifier according to the request for downloading transmission data, and finally sends the target data to a target terminal corresponding to the request for downloading transmission data, such as the second terminal 106.
In one embodiment, as shown in fig. 2, a method for data transmission between multiple network environments is provided, which is described by taking the method as an example applied to the server in fig. 1, and includes the following steps:
step 202, receiving a data uploading request to be transmitted initiated in a first network environment through a first network card, wherein the data uploading request to be transmitted carries an uploading user identifier and data to be transmitted.
The network card is computer hardware designed to allow a computer to communicate over a computer network, and has a unique MAC address that can be used as a network address corresponding to the first network environment. The network environment is a system composed of network addresses provided by network cards, and different network cards correspond to different network environments.
The first network environment is a network environment corresponding to the first network card, the first network card is configured with a first network address corresponding to the first network environment, the first network environment is specially used for initiating a data uploading request to be transmitted, the data uploading request to be transmitted cannot be initiated in other network environments, that is, if data is required to be uploaded, the data uploading request must be initiated in the first network environment.
The execution main body server is provided with a plurality of network cards, the first network card is specially used for receiving a data uploading request to be transmitted initiated by a first network environment in the server, the data uploading request to be transmitted is used for requesting to upload data to be transmitted, the data uploading request to be transmitted can be triggered and generated at a terminal, the data uploading request to be transmitted is sent to the server through network communication, or the data uploading request to be transmitted can be automatically triggered and generated by the server, for example, a timing event is set, and the data uploading request to be transmitted is triggered and generated through the timing event. The data uploading request to be transmitted carries an uploading user identifier and data to be transmitted, wherein the uploading user identifier is used for uniquely identifying the uploading user of the data to be transmitted, and can be a user ID corresponding to the uploading user of the data to be transmitted or an uploading terminal ID corresponding to the uploading user of the data to be transmitted. The data to be transmitted refers to data waiting to be uploaded to the server, and includes but is not limited to data, files, pictures, and the like.
And 204, storing the data to be transmitted which is transmitted in the first network environment when the user identity information corresponding to the uploaded user identification and the data to be transmitted accord with preset conditions.
The preset condition is to set a check rule for detecting the data to be transmitted and uploading the user identity in advance, and the preset condition can be set according to an actual service scene or product requirements. For example, whether the uploading user identity corresponding to the uploading user identifier has the uploading authority or not is detected, and whether the data format, the data size and the data name corresponding to the to-be-transmitted data all accord with the corresponding rules or not is detected. Or, it may also be detected whether there is sensitive transmission data in the data to be transmitted, where the sensitive transmission data refers to special transmission data, and may be specifically determined according to a product requirement or an actual service scenario.
Specifically, after receiving a data uploading request to be transmitted initiated in a first network environment through a first network card, a server verifies the data to be transmitted carried by the data uploading request and an uploading user identity corresponding to an uploading user identifier, specifically, a preset condition is obtained, whether the uploading user identity corresponding to the uploading user identifier has an uploading authority or not can be verified according to the preset verification condition, and whether a data format corresponding to the data to be transmitted meets a format requirement or not, whether a data size meets a format size or not and whether a data name meets a name requirement or not can be verified, when the uploading user identity has the uploading authority, the data format corresponding to the data to be transmitted meets the format requirement, and the data size meets the format size and the data name meets the name requirement, the data to be transmitted can be stored and stored locally.
Otherwise, if the uploading user identity does not have the uploading authority or the data format corresponding to the data to be transmitted does not meet the format requirement, or the data size does not meet the format size or the data name does not meet the name requirement, the uploaded data to be transmitted is refused to be stored, and a refusing notice can be notified to the terminal.
In an embodiment, whether the data to be transmitted includes sensitive data may be checked, specifically, a sensitive data field is obtained, whether the data to be transmitted includes the sensitive data field is detected, and if the data to be transmitted includes the sensitive data field, it is determined that the data to be transmitted does not meet a preset condition, and storage is rejected.
Step 206, receiving a transmission data downloading request initiated in the second network environment through the second network card, where the transmission data downloading request carries a transmission data identifier.
The second network environment is a network environment corresponding to the second network card, the second network card is configured with a second network address corresponding to the second network environment, the second network environment is specially used for initiating a request for downloading transmission data, and the request for downloading transmission data cannot be initiated in other network environments, that is, if data needs to be downloaded, the request for downloading transmission data must be initiated in the second network environment.
The execution main body server is provided with a multi-network card, the second network card is specially used for receiving a transmission data downloading request initiated by the second network environment in the server, the transmission data downloading request is used for requesting to download target transmission data, and the target transmission data is data corresponding to the transmission data downloading request. The transmission data downloading request can be triggered and generated at the terminal, and the transmission data downloading request is sent to the server through network communication, or the transmission data downloading request can be automatically triggered and generated by the server, for example, a timing event is set, and the transmission data downloading request is triggered and generated through the timing event.
The transmission data downloading request carries a transmission data identifier, the transmission data identifier is used for data needing downloading, corresponding target data can be found according to the transmission data identifier, and each piece of uploaded data stored by the server has the corresponding data identifier.
And step 208, acquiring target data corresponding to the transmission data identifier from the stored data according to the transmission data downloading request, and sending the target data to a target terminal corresponding to the transmission data downloading request.
The target data is data corresponding to the transmission data identifier, and is data to be downloaded in the transmission data download request. Specifically, after receiving a transmission data download request initiated in the second network environment through the second network card, the server searches for corresponding target data according to a transmission data identifier carried in the transmission data download request, and finally sends the searched target data to a target terminal corresponding to the transmission data download request.
Specifically, the searching for the corresponding target data according to the transmission data identifier carried in the transmission data download request may be to acquire a storage data identifier corresponding to each stored data, determine a matched storage data identifier according to the transmission data identifier, and use the data corresponding to the matched storage data identifier as the target data. And finally, sending the target data to a target terminal corresponding to the request for initiating the transmission data downloading, wherein the target terminal refers to the terminal for initiating the request for transmitting the data downloading.
In an embodiment, after receiving, by the server through the second network card, a transmission data download request initiated in the second network environment, the transmission data download request carries a download user identifier, where the download user identifier is used to identify a user initiating the transmission data download request, and a download right corresponding to the download user identifier may be determined according to the transmission data download request, where the download right refers to a qualification for downloading. Further, data downloading authorities corresponding to the stored data are obtained, matched target data downloading authorities are determined according to the downloading authorities, the data corresponding to the target data downloading authorities serve as target data, and finally the target data are sent to a target terminal corresponding to the transmission data downloading request in a downloading list mode. According to the data transmission method among the multiple network environments, a data uploading request to be transmitted initiated in a first network environment is received through a first network card, the data uploading request to be transmitted carries an uploading user identifier and data to be transmitted, when user identity information corresponding to the uploading user identifier and the data to be transmitted meet preset conditions, the data to be transmitted which are transmitted in the first network environment are stored, a data downloading request initiated in a second network environment is received through a second network card, the data downloading request carries a transmission data identifier, target data corresponding to the transmission data identifier are obtained according to the data downloading request, and the target data are sent to a target terminal corresponding to the data downloading request.
Therefore, even some sensitive data can be uploaded and downloaded and isolated directly through different network cards of the server without manually blocking external interfaces of the server, so that the sensitive data can be shared and communicated in different network environments, manual operation is not needed, and the data transmission efficiency is improved.
In one embodiment, as shown in fig. 3, receiving a request for downloading transmission data initiated in a second network environment through a second network card includes:
step 302, receiving a transmission data approval request initiated in a second network environment through a second network card, where the transmission data approval request carries an approval data identifier.
The transmission data approval request is used for requesting to download corresponding approval data, the approval data is data waiting for approval, and the corresponding approval data can be acquired from the data to be transmitted stored in the server, or all the data to be transmitted stored in the server can be used as the approval data. The transmission data approval request can be generated by triggering at an approval terminal and sent to the server through network communication, or can be generated by automatically triggering the server, for example, setting a timing event and generating the transmission data approval request through triggering of the timing event.
The transmitted data approval request carries an approval data identifier, the approval data identifier is used for uniquely identifying data waiting for approval, and corresponding approval data can be found according to the approval data identifier.
The server can receive the transmission data approval request initiated in the second network environment through the second network card, and the transmission data approval request carries the approval data identifier.
And 304, acquiring the approval data corresponding to the approval data identification according to the transmission data approval request, and sending the approval data to an approval terminal corresponding to the transmission data approval request.
And step 306, receiving an approval instruction sent by the approval terminal, wherein the approval instruction carries an approval result.
Specifically, the server receives a transmission data approval request initiated in a second network environment through a second network card, can search corresponding approval data according to an approval data identifier carried by the transmission data approval request, and sends the searched approval data to an approval terminal corresponding to the transmission data approval request, so that an approval person can approve the approval data. Specifically, the examination and approval data corresponding to the examination and approval data identifier carried in the transmission data examination and approval request may be searched for by acquiring a data identifier corresponding to the uploaded data stored in the server, determining a matched target data identifier according to the examination and approval data identifier, and then sending the uploaded data corresponding to the target data identifier as examination and approval data to the examination and approval terminal. The approval instruction is an instruction related to an approval result, and may be an instruction for ending approval data, where the approval instruction carries an approval result, and the approval result is used to determine a state of a download interface corresponding to the second network environment, and includes but is not limited to approval passing and approval failing. And the different approval results correspond to different download interface states, for example, if the approval result is approval pass, the download interface state of the second network environment is an open state, and if the approval result is approval fail, the download interface state of the second network environment is a closed state.
Furthermore, after the approval data corresponding to the approval data identification is sent to the approval terminal for approval by the approval staff, the approval staff can send an approval instruction through the approval terminal after approval is finished, and the approval result is carried to the approval instruction and then sent to the server through network communication.
And 308, determining the interface state corresponding to the download interface corresponding to the second network environment according to the approval result.
Step 310, when the interface state is the open state, receiving a request for downloading transmission data initiated in the second network environment through the second network card.
The interface state here refers to a state of the download interface corresponding to the second network environment, and includes, but is not limited to, an open state and a closed state, where when the interface state is the open state, the download data request initiated in the second network environment is allowed to be received through the second network card, and otherwise, when the interface state is the closed state, the download data request initiated in the second network environment is not allowed to be received through the second network card.
Specifically, after receiving an approval instruction sent by an approval terminal, determining an interface state corresponding to a download interface corresponding to the second network environment according to an approval result in the approval instruction, specifically, determining the interface state corresponding to the approval result according to a service requirement and an actual application scenario, for example, when the approval result is passed, it is determined that the data can be opened for a user to download, and then determining that the interface state is an open state, otherwise, when the approval result is failed, it is determined that the data cannot be opened for the user to download, and then determining that the interface state is a closed state.
Further, when the interface state is the open state, it indicates that the data has been approved and determined to be available for the user to download, so that a request for downloading the transmission data initiated in the second network environment can be received through the second network card.
In one embodiment, as shown in fig. 4, before receiving, through the second network card, a request for approval of transmission data initiated in the second network environment, the method further includes:
step 402, sending a request for pending approval of the transmission data, wherein the request for pending approval of the transmission data carries the identifier of the user to be approved and the notification to be approved.
And step 404, sending the to-be-approved notification to the approval user terminal corresponding to the to-be-approved user identifier, and notifying the approval user terminal to examine and approve the transmission data.
The request for pending approval of the transmitted data is used for requesting for approval of the uploaded data, and the uploaded data is data uploaded by the server through the first network card in the first network environment and includes the aforementioned data to be transmitted. The request for pending approval of the transmission data is sent to the approval user terminal by the server, and may be generated by the server through automatic triggering, specifically, a timing event is set, and the corresponding request for pending approval of the transmission data is generated through triggering of the timing event. And after the server generates a transmission data pending approval request once triggered, sending the transmission data pending approval request to the approval user terminal.
The data transmission pending approval request carries an approval user identifier and a pending approval notice, the approval user identifier is used for uniquely identifying an approval user terminal, and the corresponding approval user terminal can be determined according to the approval user identifier. And the pending approval notification is a message used for notifying the approval user of approval, and includes the uploading time, the uploading user, the data type and other contents corresponding to the pending data. However, the pending approval notification is only a message for notifying the approval user of approval, and is not actual data that requires approval.
Further, the server determines the corresponding approval user terminal according to the pending user identification in the pending approval request of the transmitted data, and then sends a pending approval notice to the approval user terminal to inform the approval user terminal to approve the uploaded data. Finally, the approval user terminal may display the pending approval notification on the terminal.
In an embodiment, as shown in fig. 5, when the user identity information corresponding to the uploaded user identifier and the data to be transmitted meet a preset condition, the method includes:
step 502, checking whether the user identity information has the uploading authority.
Step 504, checking whether the data format, the data name and the data size corresponding to the data to be transmitted meet preset data conditions.
Step 506, when the user identity information has the uploading authority and the data format, the data name and the data size corresponding to the data to be transmitted all accord with the preset data conditions, determining that the user identity information corresponding to the uploading user identification and the data to be transmitted accord with the preset conditions.
The method includes the steps of verifying whether an uploading user identifier and data to be transmitted in a data uploading request initiated in a first network environment meet preset conditions, wherein the step of verifying whether user identity information corresponding to the uploading user identifier has uploading authority or not specifically includes the steps of obtaining preset user identity information with the uploading authority, and determining whether the user identity information has the uploading authority or not according to the user identity information corresponding to the uploading user identifier and the preset user identity information, for example, when the user identity information corresponding to the uploading user identifier is matched with the preset user identity information, determining that the user identity information has the uploading authority. Or detecting whether the user identity information corresponding to the uploading user identifier has an identity association relationship with the preset user identity information, and determining that the user identity information has the uploading authority when the identity association relationship exists. The identity association relationship means that a certain relationship exists between identity information, and may be an authorization relationship.
Further, while checking whether the user identity information corresponding to the uploading user identifier has the uploading authority, it is necessary to check whether the data to be transmitted carried by the uploading request of the data to be transmitted meets preset data conditions, specifically, it may be checked whether the data format, the data name and the data size corresponding to the data to be transmitted meet preset data conditions, where the preset data conditions include, but are not limited to, preset format conditions, preset name conditions and preset data size conditions, it is checked whether the data format corresponding to the data to be transmitted meets preset format conditions, it is checked whether the data name corresponding to the data to be transmitted meets preset name conditions, it is checked whether the data size corresponding to the data to be transmitted meets preset data size conditions, when the data format corresponding to the data to be transmitted meets preset format conditions, the data name corresponding to the data to be transmitted meets preset name conditions, and when the data size corresponding to the data to be transmitted meets the preset data size condition, determining that the data to be transmitted carried by the data uploading request to be transmitted meets the preset data condition.
The data size corresponding to the data to be transmitted is checked, the data format corresponding to the data to be transmitted is checked, and the data name corresponding to the data to be transmitted is checked to prevent malicious attack on the server, so that the server is prevented from being crashed, and the safety of the server is improved.
And finally, when the user identity information has the uploading authority and the data format, the data name and the data size corresponding to the data to be transmitted all accord with the preset data conditions, determining that the user identity information corresponding to the uploading user identification and the data to be transmitted accord with the preset conditions.
In one embodiment, storing data to be transmitted over a first network environment comprises: uploading data to be transmitted to a designated physical disk for storage; the method for sending the target data to the target terminal corresponding to the transmission data downloading request comprises the following steps: and sending the target data from the physical disk to a target terminal corresponding to the transmission data downloading request.
When the user identity information corresponding to the uploaded user identifier and the data to be transmitted meet preset conditions, it is indicated that the security of the data to be transmitted to the server is not threatened, and therefore, in order to facilitate management and storage of the uploaded data, the data to be transmitted can be uploaded to a designated physical disk for storage, wherein the designated physical disk is determined from a plurality of physical disks of the server according to business requirements or actual application scenarios.
Specifically, after the designated physical disk is determined, the data to be transmitted is uploaded to the designated physical disk for storage, and when a request for downloading the transmission data is received and downloading is needed, the target data is sent to a target terminal corresponding to the request for downloading the transmission data from the designated physical disk. Therefore, the server not only realizes the isolation between the uploading data and the downloading data, but also can realize the sharing.
In one embodiment, as shown in fig. 6, the transmitting a data download request carrying a download user identifier, acquiring target data corresponding to the transmission data identifier according to the transmission data download request, and sending the target data to a target terminal corresponding to the transmission data download request, includes:
step 602, determining the current downloading authority corresponding to the downloading user identifier according to the transmission data downloading request.
And step 604, acquiring target data corresponding to the downloading user with the current downloading authority, and sending the target data to a target terminal corresponding to the data transmission downloading request in a downloading list form.
The current download authority here is the download qualification corresponding to the current download user who is currently initiating the transmission data download request in the second network environment, wherein the transmission data download request carries the download user identifier, the download user identifier is used for uniquely identifying the download user, and the corresponding download user can be determined according to the download user identifier.
Specifically, the current downloading authority corresponding to the downloading user identification is determined according to the transmission data downloading request, and as the uploaded data in the server all have corresponding downloading authorities, some downloading users have corresponding downloading authorities and some downloading users do not have corresponding downloading authorities, the same uploaded data, wherein the downloading users without downloading authorities cannot download the uploaded data.
Therefore, after the current downloading authority is determined, the target data corresponding to the downloading user with the current downloading authority is obtained, that is, the downloading user corresponding to the downloading user identifier in the transmission data downloading request has the downloading qualification of the target data. Further, if a plurality of target data are available, all the target data are sent to the target terminal corresponding to the request for initiating the data transmission download in the form of a download list. The download list includes, but is not limited to, upload information of the target data, data content, and the like.
In one embodiment, as shown in fig. 7, the method for data transmission between multiple network environments further includes:
step 702, recording an uploading user identifier corresponding to the uploading request of the data to be transmitted.
Step 704, recording the downloading user identifier corresponding to the transmission data downloading request.
Step 706, establishing a first association relationship between the uploading user identifier and the data to be transmitted and a second association relationship between the downloading user identifier and the target data, and storing the first association relationship and the second association relationship, wherein the first association relationship is used for tracing the uploading condition of the data to be transmitted, and the second association relationship is used for tracing the downloading condition of the target data.
The uploading user identifier is used for uniquely identifying a user uploading data to be transmitted, and the user uploading the data to be transmitted is a user initiating a data uploading request to be transmitted in the first network environment. Specifically, after receiving a data uploading request to be transmitted initiated in the first network environment through the first network card, an uploading user identifier corresponding to the data uploading request to be transmitted may be recorded, where the uploading user identifier may be an uploading user ID, an MAC address of an uploading user terminal, and the like.
The downloading user identification is used for uniquely identifying the user downloading the uploaded data, and the user downloading the uploaded data is the user initiating the data downloading request in the second network environment. Specifically, after receiving a transmission data download request initiated in the second network environment through the second network card, a download user identifier corresponding to the transmission data download request may be recorded, where the download user identifier may be a download user ID, an MAC address of a download user terminal, and the like.
Furthermore, after recording the uploading user identification corresponding to the data uploading request to be transmitted and the downloading user identification corresponding to the data downloading request, establishing a first incidence relation between the uploading user identification and the data to be transmitted and a second incidence relation between the downloading user identification and the target data, storing the first incidence relation and the second incidence relation, wherein the first incidence relation is used for tracing the uploading condition of the data to be transmitted, the second association relationship is used for tracing the downloading condition of the target data, that is, establishing the mapping relationship between the uploading user identifier and the data to be transmitted and the mapping relationship between the downloading user identifier and the target data, after the first incidence relation and the second incidence relation are established, the uploading condition of the data to be transmitted can be traced back according to the first incidence relation, and the downloading condition of the target data can be traced back according to the second incidence relation.
In a specific embodiment, a method for data transmission between multiple network environments is provided, which specifically includes the following steps:
1. the method comprises the steps of receiving a data uploading request to be transmitted initiated in a first network environment through a first network card, wherein the data uploading request to be transmitted carries an uploading user identifier and data to be transmitted.
2. And when the user identity information corresponding to the uploaded user identification and the data to be transmitted accord with preset conditions, storing the data to be transmitted which is uploaded in the first network environment.
And 2-1, verifying whether the user identity information has the uploading authority.
And 2-2, checking whether the data format, the data name and the data size corresponding to the data to be transmitted meet preset data conditions.
And 2-3, when the user identity information has the uploading authority and the data format, the data name and the data size corresponding to the data to be transmitted all accord with preset data conditions, determining that the user identity information corresponding to the uploading user identification and the data to be transmitted accord with the preset conditions.
And 2-4, uploading the data to be transmitted to a designated physical disk for storage.
3. And receiving a transmission data downloading request initiated in a second network environment through a second network card, wherein the transmission data downloading request carries a transmission data identifier.
And 3-1, sending a request for pending approval of the transmission data, wherein the request for pending approval of the transmission data carries the user identification to be approved and the notice to be approved.
And 3-2, sending the to-be-approved notification to the approval user terminal corresponding to the to-be-approved user identification, and notifying the approval user terminal to examine and approve the transmission data.
And 3-3, receiving a transmission data approval request initiated in a second network environment through a second network card, wherein the transmission data approval request carries an approval data identifier.
And 3-4, acquiring the approval data corresponding to the approval data identification according to the transmission data approval request, and sending the approval data to an approval terminal corresponding to the transmission data approval request.
And 3-5, receiving an approval instruction sent by the approval terminal, wherein the approval instruction carries an approval result.
And 3-6, determining the interface state corresponding to the download interface corresponding to the second network environment according to the approval result.
And 3-7, receiving a transmission data downloading request initiated in the second network environment through the second network card when the interface state is the open state.
4. And acquiring target data corresponding to the transmission data identification from the stored data according to the transmission data downloading request, and sending the target data to a target terminal corresponding to the transmission data downloading request.
And 4-1, the transmission data downloading request carries the downloading user identification, and the current downloading authority corresponding to the downloading user identification is determined according to the transmission data downloading request.
And 4-2, acquiring target data corresponding to the downloading user with the current downloading authority, and sending the target data to a target terminal corresponding to the data transmission downloading request in a downloading list form.
5. And recording an uploading user identifier corresponding to the data uploading request to be transmitted.
6. And recording the downloading user identification corresponding to the transmission data downloading request.
7. Establishing a first incidence relation between an uploading user identifier and data to be transmitted and a second incidence relation between a downloading user identifier and target data, and storing the first incidence relation and the second incidence relation, wherein the first incidence relation is used for tracing the uploading condition of the data to be transmitted, and the second incidence relation is used for tracing the downloading condition of the target data.
In a specific application scenario, as shown in fig. 7A, fig. 7A is a schematic diagram illustrating a principle of a data transmission method between multiple network environments in one embodiment, where the apparatus shown in fig. 7A may be applied to the data transmission method between the multiple network environments, and may be a server with multiple network cards, and each network card is configured with a network address of a different network environment, which is specifically described in detail with reference to the following steps:
1. there is a physical application server for placing the device. The device provides two access addresses (which can be domain names or IP) for the network environment A and the network environment B, and the domain names or the IP are only subordinate to one network environment, namely the domain names or the IP in the other network environment cannot be accessed in one network environment.
2. On the physical application server, the device is deployed.
3. A reverse proxy such as Nginx, Apache, etc. is installed on the physical application server (the reverse proxy is one of a plurality of open source reverse proxies that are popular in the market, and can only play the same role). The network card of network environment a binds to an address (which may be IP or domain name) specific to network environment a, and the network card of network environment B binds to an address (which may be IP or domain name) specific to network environment B. Wherein a reverse proxy may be understood simply as being used for an external service and an internal pointing device, in this embodiment, the reverse proxy is primarily intended to provide an external portal service to a different network environment.
4. From the topology of the network environment and the external services, the network environment a and the network environment B are completely isolated, because they use different network cards and network ports, and bound with different addresses (which can be IP or domain names), the physical application server provides services for the two network environments at the same time, and ensures that the two services are not intercommunicated, because the network cable connected with the network card of the network environment a is not connected to any terminal of the network environment B, it is impossible to access any terminal of the network environment B, only in the case of connection, the terminals under the network can access each other, and through different configurations in the reverse proxy, the domain names of the two network environments can be routed to the two network cards.
5. From the perspective of the physical application server, the network environment a and the network environment B share the same front end, back end and file storage, and when sharing or downloading is required, they actually share the same disk under the same physical server, and when necessary, the device can realize sharing and isolation of files together.
It should be understood that, although the steps in the above-described flowcharts are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in the above-described flowcharts may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or the stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 8, there is provided an apparatus 800 for data transmission between multiple network environments, comprising: an upload request receiving module 802, a transmission data storage module 804, a download request receiving module 806 and a transmission data sending module 808, wherein:
an upload request receiving module 802, configured to receive, through a first network card, a data upload request to be transmitted initiated in a first network environment, where the data upload request to be transmitted carries an upload user identifier and data to be transmitted.
The transmission data storage module 804 is configured to store the to-be-transmitted data that is transmitted in the first network environment when the user identity information corresponding to the uploaded user identifier and the to-be-transmitted data meet preset conditions.
A download request receiving module 806, configured to receive, through the second network card, a data download transmission request initiated in the second network environment, where the data download transmission request carries a data transmission identifier.
The transmission data sending module 808 is configured to obtain target data corresponding to the transmission data identifier from the stored data according to the transmission data downloading request, and send the target data to a target terminal corresponding to the transmission data downloading request.
In an embodiment, the download request receiving module 806 is further configured to receive, through the second network card, a transmission data approval request initiated in the second network environment, where the transmission data approval request carries an approval data identifier, obtain, according to the transmission data approval request, approval data corresponding to the approval data identifier, send the approval data to an approval terminal corresponding to the transmission data approval request, receive an approval instruction sent by the approval terminal, where the approval instruction carries an approval result, determine, according to the approval result, an interface state corresponding to a download interface corresponding to the second network environment, and receive, through the second network card, the transmission data download request initiated in the second network environment when the interface state is an open state.
In an embodiment, the download request receiving module 806 is further configured to send a request for transmission data pending approval, where the request for transmission data pending approval carries the user identifier to be approved and a notification to be approved, send the notification to be approved to the approval user terminal corresponding to the user identifier to be approved, and notify the approval user terminal to perform transmission data approval.
In an embodiment, the transmission data storage module 804 is further configured to check whether the user identity information has an uploading right, check whether a data format, a data name, and a data size corresponding to the data to be transmitted meet preset data conditions, and determine that the user identity information corresponding to the uploading user identifier and the data to be transmitted meet the preset conditions when the user identity information has the uploading right and the data format, the data name, and the data size corresponding to the data to be transmitted all meet the preset data conditions.
In an embodiment, the transmission data storage module 804 is further configured to upload data to be transmitted to a specified physical disk for storage, and the transmission data sending module 808 is further configured to send target data from the physical disk to a target terminal corresponding to the transmission data downloading request.
In an embodiment, the transmission data download request carries a download user identifier, and the transmission data sending module 808 is further configured to determine a current download permission corresponding to the download user identifier according to the transmission data download request, obtain target data corresponding to a download user having the current download permission, and send the target data to a target terminal corresponding to the transmission data download request in a download list.
In an embodiment, the data transmission apparatus 800 between multiple network environments is further configured to record an uploading user identifier corresponding to an uploading request of data to be transmitted, record a downloading user identifier corresponding to a downloading request of the transmitted data, establish a first association relationship between the uploading user identifier and the data to be transmitted, and a second association relationship between the downloading user identifier and the target data, and store the first association relationship and the second association relationship, where the first association relationship is used to trace the uploading condition of the data to be transmitted, and the second association relationship is used to trace the downloading condition of the target data.
For specific limitations of the data transmission apparatus between multiple network environments, reference may be made to the above limitations on the data transmission method between multiple network environments, which are not described herein again. The modules in the data transmission device between multiple network environments can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
FIG. 9 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be the server 104 in fig. 1. As shown in fig. 9, the computer apparatus includes a processor, a memory, a network interface, an input device, and a database connected by a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement the method for data transfer between multiple network environments. The internal memory may also store a computer program, which when executed by the processor, causes the processor to perform a method for transferring data between multiple network environments, and the database of the computer device may be used to store the uploaded data. The input device of the computer equipment can be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: receiving a data uploading request to be transmitted initiated in a first network environment through a first network card, wherein the data uploading request to be transmitted carries an uploading user identifier and data to be transmitted; when the user identity information corresponding to the uploaded user identification and the data to be transmitted accord with preset conditions, storing the data to be transmitted which is uploaded in a first network environment; receiving a transmission data downloading request initiated in a second network environment through a second network card, wherein the transmission data downloading request carries a transmission data identifier; and acquiring target data corresponding to the transmission data identification from the stored data according to the transmission data downloading request, and sending the target data to a target terminal corresponding to the transmission data downloading request.
In one embodiment, the processor, when executing the computer program, further performs the steps of: receiving a transmission data approval request initiated in a second network environment through a second network card, wherein the transmission data approval request carries an approval data identifier; acquiring approval data corresponding to the approval data identification according to the transmission data approval request, and sending the approval data to an approval terminal corresponding to the transmission data approval request; receiving an approval instruction sent by an approval terminal, wherein the approval instruction carries an approval result; determining an interface state corresponding to a downloading interface corresponding to the second network environment according to the approval result; and when the interface state is an open state, receiving a transmission data downloading request initiated in a second network environment through a second network card.
In one embodiment, the processor, when executing the computer program, further performs the steps of: sending a request for transmission data to be approved, wherein the request for transmission data to be approved carries a user identifier to be approved and a notice to be approved; and sending the approval notice to the approval user terminal corresponding to the approval user identification, and informing the approval user terminal to carry out transmission data approval.
In one embodiment, the processor, when executing the computer program, further performs the steps of: checking whether the user identity information has uploading authority; checking whether a data format, a data name and a data size corresponding to the data to be transmitted meet preset data conditions or not; and when the user identity information has the uploading authority and the data format, the data name and the data size corresponding to the data to be transmitted all accord with the preset data conditions, determining that the user identity information corresponding to the uploading user identification and the data to be transmitted accord with the preset conditions.
In one embodiment, the processor, when executing the computer program, further performs the steps of: uploading data to be transmitted to a designated physical disk for storage; the method for sending the target data to the target terminal corresponding to the transmission data downloading request comprises the following steps: and sending the target data from the physical disk to a target terminal corresponding to the transmission data downloading request.
In one embodiment, the transmission data download request carries a download user identifier, and the processor executes the computer program to further implement the following steps: determining the current downloading authority corresponding to the downloading user identification according to the transmission data downloading request; and acquiring target data corresponding to a downloading user with the current downloading authority, and sending the target data to a target terminal corresponding to the transmission data downloading request in a downloading list form.
In one embodiment, the processor, when executing the computer program, further performs the steps of: recording an uploading user identifier corresponding to the uploading request of the data to be transmitted; recording a downloading user identifier corresponding to the transmission data downloading request; establishing a first incidence relation between an uploading user identifier and data to be transmitted and a second incidence relation between a downloading user identifier and target data, and storing the first incidence relation and the second incidence relation, wherein the first incidence relation is used for tracing the uploading condition of the data to be transmitted, and the second incidence relation is used for tracing the downloading condition of the target data.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: receiving a data uploading request to be transmitted initiated in a first network environment through a first network card, wherein the data uploading request to be transmitted carries an uploading user identifier and data to be transmitted; when the user identity information corresponding to the uploaded user identification and the data to be transmitted accord with preset conditions, storing the data to be transmitted which is uploaded in a first network environment; receiving a transmission data downloading request initiated in a second network environment through a second network card, wherein the transmission data downloading request carries a transmission data identifier; and acquiring target data corresponding to the transmission data identification from the stored data according to the transmission data downloading request, and sending the target data to a target terminal corresponding to the transmission data downloading request.
In one embodiment, the processor, when executing the computer program, further performs the steps of: receiving a transmission data approval request initiated in a second network environment through a second network card, wherein the transmission data approval request carries an approval data identifier; acquiring approval data corresponding to the approval data identification according to the transmission data approval request, and sending the approval data to an approval terminal corresponding to the transmission data approval request; receiving an approval instruction sent by an approval terminal, wherein the approval instruction carries an approval result; determining an interface state corresponding to a downloading interface corresponding to the second network environment according to the approval result; and when the interface state is an open state, receiving a transmission data downloading request initiated in a second network environment through a second network card.
In one embodiment, the processor, when executing the computer program, further performs the steps of: sending a request for transmission data to be approved, wherein the request for transmission data to be approved carries a user identifier to be approved and a notice to be approved; and sending the approval notice to the approval user terminal corresponding to the approval user identification, and informing the approval user terminal to carry out transmission data approval.
In one embodiment, the processor, when executing the computer program, further performs the steps of: checking whether the user identity information has uploading authority; checking whether a data format, a data name and a data size corresponding to the data to be transmitted meet preset data conditions or not; and when the user identity information has the uploading authority and the data format, the data name and the data size corresponding to the data to be transmitted all accord with the preset data conditions, determining that the user identity information corresponding to the uploading user identification and the data to be transmitted accord with the preset conditions.
In one embodiment, the processor, when executing the computer program, further performs the steps of: uploading data to be transmitted to a designated physical disk for storage; the method for sending the target data to the target terminal corresponding to the transmission data downloading request comprises the following steps: and sending the target data from the physical disk to a target terminal corresponding to the transmission data downloading request.
In one embodiment, the transmission data download request carries a download user identifier, and the processor executes the computer program to further implement the following steps: determining the current downloading authority corresponding to the downloading user identification according to the transmission data downloading request; and acquiring target data corresponding to a downloading user with the current downloading authority, and sending the target data to a target terminal corresponding to the transmission data downloading request in a downloading list form.
In one embodiment, the processor, when executing the computer program, further performs the steps of: recording an uploading user identifier corresponding to the uploading request of the data to be transmitted; recording a downloading user identifier corresponding to the transmission data downloading request; establishing a first incidence relation between an uploading user identifier and data to be transmitted and a second incidence relation between a downloading user identifier and target data, and storing the first incidence relation and the second incidence relation, wherein the first incidence relation is used for tracing the uploading condition of the data to be transmitted, and the second incidence relation is used for tracing the downloading condition of the target data.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (9)

1. A data transmission method among multiple network environments is provided, the method uses a server with multiple network cards, each network card is respectively configured with network addresses of different network environments, the method comprises:
receiving a data uploading request to be transmitted initiated in a first network environment through a first network card, wherein the data uploading request to be transmitted carries an uploading user identifier and data to be transmitted;
when the user identity information corresponding to the uploading user identification and the data to be transmitted accord with preset conditions, uploading the data to be transmitted to a specified physical disk for storage;
receiving a transmission data downloading request initiated in a second network environment through a second network card, wherein the transmission data downloading request carries a transmission data identifier;
and acquiring target data corresponding to the transmission data identification from stored data according to the transmission data downloading request, and sending the target data to a target terminal corresponding to the transmission data downloading request from the physical disk.
2. The method of claim 1, wherein receiving a request for downloading the transmission data initiated in the second network environment via the second network card comprises:
receiving a transmission data approval request initiated in a second network environment through a second network card, wherein the transmission data approval request carries an approval data identifier;
acquiring the approval data corresponding to the approval data identification according to the transmission data approval request, and sending the approval data to an approval terminal corresponding to the transmission data approval request;
receiving an approval instruction sent by the approval terminal, wherein the approval instruction carries an approval result;
determining an interface state corresponding to a downloading interface corresponding to the second network environment according to the approval result;
and when the interface state is an open state, receiving a transmission data downloading request initiated in the second network environment through the second network card.
3. The method of claim 2, wherein prior to receiving, via the second network card, the request for approval of the transmitted data initiated in the second network environment, further comprising:
sending a transmission data pending request, wherein the transmission data pending request carries a pending user identifier and a pending notice;
and sending the to-be-approved notification to an approval user terminal corresponding to the to-be-approved user identification, and notifying the approval user terminal to examine and approve the transmission data.
4. The method according to claim 1, wherein when the user identity information corresponding to the uploaded user identifier and the data to be transmitted meet a preset condition, the method comprises:
checking whether the user identity information has uploading authority;
checking whether a data format, a data name and a data size corresponding to the data to be transmitted meet preset data conditions or not;
and when the user identity information has the uploading authority and the data format, the data name and the data size corresponding to the data to be transmitted all accord with preset data conditions, determining that the user identity information corresponding to the uploading user identification and the data to be transmitted accord with the preset conditions.
5. The method according to claim 1, wherein the transmission data download request carries a download user identifier, and the obtaining target data corresponding to the transmission data identifier according to the transmission data download request and sending the target data to a target terminal corresponding to the transmission data download request comprises:
determining the current downloading authority corresponding to the downloading user identification according to the transmission data downloading request;
and acquiring target data corresponding to the downloading user with the current downloading authority, and sending the target data to a target terminal corresponding to the transmission data downloading request in a downloading list form.
6. The method of claim 1, further comprising:
recording an uploading user identifier corresponding to the data uploading request to be transmitted;
recording a downloading user identifier corresponding to the transmission data downloading request;
establishing a first incidence relation between the uploading user identification and the data to be transmitted and a second incidence relation between the downloading user identification and the target data, and storing the first incidence relation and the second incidence relation, wherein the first incidence relation is used for tracing the uploading condition of the data to be transmitted, and the second incidence relation is used for tracing the downloading condition of the target data.
7. An apparatus for data transmission between multiple network environments, the apparatus comprising:
the device comprises an upload request receiving module, a data transmission module and a data transmission module, wherein the upload request receiving module is used for receiving a data upload request to be transmitted initiated in a first network environment through a first network card, and the data upload request to be transmitted carries an upload user identifier and data to be transmitted;
the transmission data storage module is used for uploading the data to be transmitted to a specified physical disk for storage when the user identity information corresponding to the uploading user identifier and the data to be transmitted meet preset conditions;
a download request receiving module, configured to receive, through a second network card, a transmission data download request initiated in a second network environment, where the transmission data download request carries a transmission data identifier;
and the transmission data sending module is used for acquiring target data corresponding to the transmission data identifier from stored data according to the transmission data downloading request and sending the target data to a target terminal corresponding to the transmission data downloading request from the physical disk.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 6 are implemented when the computer program is executed by the processor.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201911319187.0A 2019-12-19 2019-12-19 Method, device, equipment and storage medium for data transmission among multi-network environments Active CN111131220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911319187.0A CN111131220B (en) 2019-12-19 2019-12-19 Method, device, equipment and storage medium for data transmission among multi-network environments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911319187.0A CN111131220B (en) 2019-12-19 2019-12-19 Method, device, equipment and storage medium for data transmission among multi-network environments

Publications (2)

Publication Number Publication Date
CN111131220A CN111131220A (en) 2020-05-08
CN111131220B true CN111131220B (en) 2022-01-04

Family

ID=70500231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911319187.0A Active CN111131220B (en) 2019-12-19 2019-12-19 Method, device, equipment and storage medium for data transmission among multi-network environments

Country Status (1)

Country Link
CN (1) CN111131220B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970236B (en) * 2020-07-08 2023-02-03 招联消费金融有限公司 Cross-network data transmission method and device
CN112468482B (en) * 2020-11-23 2023-02-10 平安普惠企业管理有限公司 Data transmission method, device, server, storage medium and system
CN113630440B (en) * 2021-07-08 2024-04-26 中汽创智科技有限公司 Method, device and system for uploading data, electronic equipment and storage medium
CN114285649B (en) * 2021-12-27 2024-04-02 北京知道创宇信息技术股份有限公司 Equipment protection method, system, protection equipment and computer readable storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030005970A (en) * 2001-07-11 2003-01-23 삼성전자 주식회사 network system and method for automatically setting up network option thereof
CN101064659A (en) * 2006-04-28 2007-10-31 腾讯科技(深圳)有限公司 Data transmission system and method
CN101083601A (en) * 2007-07-10 2007-12-05 梁雁文 Computer internet information exchange method and system
CN101610291A (en) * 2009-08-06 2009-12-23 杭州高达软件系统有限公司 Data uploading method, method for down loading and system based on third party's platform
CN103179148A (en) * 2011-12-21 2013-06-26 腾讯数码(天津)有限公司 Processing method and system for sharing enclosures in internet
CN103368942A (en) * 2013-05-25 2013-10-23 中山市中商港科技有限公司 Cloud data security storage and management method
CN103425548A (en) * 2012-05-21 2013-12-04 深圳市祈飞科技有限公司 Method and system for operating system cloud backup and restore
CN103780585A (en) * 2012-10-23 2014-05-07 北京网动网络科技股份有限公司 Internet-based multi-line multi-IP server data exchange method
CN105791412A (en) * 2016-04-04 2016-07-20 合肥博雷电子信息技术有限公司 Big data processing platform network architecture
CN106973073A (en) * 2016-01-13 2017-07-21 杭州海康威视系统技术有限公司 The transmission method and equipment of multi-medium data
CN109639652A (en) * 2018-11-22 2019-04-16 贵州华云创谷科技有限公司 The method and system of data access between a kind of net based on security isolation
CN110213318A (en) * 2018-09-21 2019-09-06 腾讯科技(深圳)有限公司 A kind of method of Data Transmission Controlling, equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150334185A1 (en) * 2013-03-27 2015-11-19 Hitachi Consumer Electronics Co., Ltd. Terminal device, program, data transmission/reception system, and data transmission/reception method
US11345467B2 (en) * 2017-04-07 2022-05-31 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Data transmission method, and sending end device
US11127092B2 (en) * 2017-05-18 2021-09-21 Bank Of America Corporation Method and system for data tracking and exchange
CN108777709A (en) * 2018-05-31 2018-11-09 康键信息技术(深圳)有限公司 Website access method, device, computer equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030005970A (en) * 2001-07-11 2003-01-23 삼성전자 주식회사 network system and method for automatically setting up network option thereof
CN101064659A (en) * 2006-04-28 2007-10-31 腾讯科技(深圳)有限公司 Data transmission system and method
CN101083601A (en) * 2007-07-10 2007-12-05 梁雁文 Computer internet information exchange method and system
CN101610291A (en) * 2009-08-06 2009-12-23 杭州高达软件系统有限公司 Data uploading method, method for down loading and system based on third party's platform
CN103179148A (en) * 2011-12-21 2013-06-26 腾讯数码(天津)有限公司 Processing method and system for sharing enclosures in internet
CN103425548A (en) * 2012-05-21 2013-12-04 深圳市祈飞科技有限公司 Method and system for operating system cloud backup and restore
CN103780585A (en) * 2012-10-23 2014-05-07 北京网动网络科技股份有限公司 Internet-based multi-line multi-IP server data exchange method
CN103368942A (en) * 2013-05-25 2013-10-23 中山市中商港科技有限公司 Cloud data security storage and management method
CN106973073A (en) * 2016-01-13 2017-07-21 杭州海康威视系统技术有限公司 The transmission method and equipment of multi-medium data
CN105791412A (en) * 2016-04-04 2016-07-20 合肥博雷电子信息技术有限公司 Big data processing platform network architecture
CN110213318A (en) * 2018-09-21 2019-09-06 腾讯科技(深圳)有限公司 A kind of method of Data Transmission Controlling, equipment and storage medium
CN109639652A (en) * 2018-11-22 2019-04-16 贵州华云创谷科技有限公司 The method and system of data access between a kind of net based on security isolation

Also Published As

Publication number Publication date
CN111131220A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN111131220B (en) Method, device, equipment and storage medium for data transmission among multi-network environments
CN110365670B (en) Blacklist sharing method and device, computer equipment and storage medium
CN109325342B (en) Identity information management method, device, computer equipment and storage medium
CN102077208B (en) The method and system of the licence of protected content is provided to application program collection
CN110086608A (en) User authen method, device, computer equipment and computer readable storage medium
US20180337771A1 (en) Policy enforcement via peer devices using a blockchain
CN108965416B (en) Medical data sharing method and device, computer equipment and storage medium
CN110049016A (en) Data query method, apparatus, system, equipment and the storage medium of block chain
CN108512829B (en) Information sharing method and device, computer equipment and storage medium
CN109510849A (en) The account number method for authenticating and device of cloud storage
CN110070926A (en) Data query method, apparatus, equipment and readable storage medium storing program for executing based on block chain
CN105432056A (en) Secure hybrid file-sharing system
CN111176794B (en) Container management method, device and readable storage medium
CN108073351B (en) Data storage method of nonvolatile storage space in chip and credible chip
CN111666565A (en) Sandbox simulation test method and device, computer equipment and storage medium
US9350761B1 (en) System for the distribution and deployment of applications, with provisions for security and policy conformance
CN105704094A (en) Application access authority control method and device
CN110958266A (en) Data processing method, system, computer device and storage medium
CN112637167A (en) System login method and device, computer equipment and storage medium
CN112350997A (en) Database access right control method and device, computer equipment and storage medium
CN106778311A (en) Access method, device and the mobile terminal and inspection equipment of file in mobile terminal
CN113297559B (en) Single sign-on method and device, computer equipment and storage medium
CN112543194B (en) Mobile terminal login method and device, computer equipment and storage medium
CN110490005B (en) Method, device and computer readable storage medium for processing resource transfer request
CN106130996A (en) A kind of website attack protection checking system and method

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
GR01 Patent grant
GR01 Patent grant