CN109462592B - Data sharing method, device, equipment and storage medium - Google Patents

Data sharing method, device, equipment and storage medium Download PDF

Info

Publication number
CN109462592B
CN109462592B CN201811389268.3A CN201811389268A CN109462592B CN 109462592 B CN109462592 B CN 109462592B CN 201811389268 A CN201811389268 A CN 201811389268A CN 109462592 B CN109462592 B CN 109462592B
Authority
CN
China
Prior art keywords
terminal
information
creation information
new service
creation
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
CN201811389268.3A
Other languages
Chinese (zh)
Other versions
CN109462592A (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.)
Beijing Kuangshi Technology Co Ltd
Original Assignee
Beijing Kuangshi 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 Beijing Kuangshi Technology Co Ltd filed Critical Beijing Kuangshi Technology Co Ltd
Priority to CN201811389268.3A priority Critical patent/CN109462592B/en
Publication of CN109462592A publication Critical patent/CN109462592A/en
Application granted granted Critical
Publication of CN109462592B publication Critical patent/CN109462592B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a data sharing method, a data sharing device, data sharing equipment and a storage medium, and belongs to the technical field of communication. The data sharing method receives creation operation which is input by a user and used for creating a new service through a first terminal; the first terminal generates creating information for creating the new service according to the creating operation; the first terminal synchronizes the creation information to the second terminal, the creation information is used for the second terminal to create the new service according to the creation information, so that data sharing between the first terminal and the second terminal is realized, the created new service is synchronized to the second terminal, the second terminal can realize the same function as the first terminal, the data acquisition efficiency can be further accelerated, and the first terminal can perform real-time interaction with the second terminal while the data security of the first terminal is guaranteed.

Description

Data sharing method, device, equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data sharing method, apparatus, device, and storage medium.
Background
In a related system of the public security industry, data interaction between a video network and a public security network is often involved, however, the public security network is an internal network of the public security system, is mainly used by the internal system of the public security, has higher security level, stores some sensitive information, and is theoretically intercommunicated and accessible with each other by the public security networks all over the country; the video network is built for accessing a security camera and an intelligent traffic camera, and is gradually a main network for operating other service systems such as a public security external data access system and the like in the follow-up process. In order to protect sensitive information in the public security network from being leaked or changed, data is generally maintained in the public security network, and an external network system can not directly access the public security network system. Under the conditions that the police force is seriously lacking at present and the information is increasingly important, how to effectively improve the information acquisition efficiency is realized.
Disclosure of Invention
The data sharing method, the data sharing device, the data sharing equipment and the data sharing storage medium provided by the embodiment of the invention can solve the technical problem that the data sharing precision cannot be improved in the prior art.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, a data sharing method provided in an embodiment of the present invention includes: a first terminal receives a creation operation for creating a new service, which is input by a user; the first terminal generates creating information for creating the new service according to the creating operation; and the first terminal synchronizes the creation information to a second terminal, wherein the creation information is used for the second terminal to create the new service according to the creation information. The embodiment of the invention receives the creation operation which is input by a user and used for creating a new service through a first terminal; the first terminal generates creating information for creating the new service according to the creating operation; the first terminal synchronizes the creation information to the second terminal, the creation information is used for the second terminal to create the new service according to the creation information, so that data sharing between the first terminal and the second terminal is realized, the created new service is synchronized to the second terminal, the second terminal can realize the same function as the first terminal, the data acquisition efficiency can be further accelerated, and the first terminal can perform real-time interaction with the second terminal while the data security of the first terminal is guaranteed.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the first terminal is a terminal device in a first network, the second terminal is a terminal device in a second network, the first network is isolated from the second network by a gatekeeper, and the synchronizing of the creation information to the second terminal by the first terminal includes: and the first terminal synchronizes the creation information to the second terminal through the gatekeeper. In the embodiment of the invention, the first network and the second network are isolated by the gatekeeper, so that controlled data can be transmitted through the gatekeeper, and the data of the first network can be prevented from being leaked while the first network and the second network can share data.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where the synchronizing, by the first terminal, the creating information to the second terminal includes: the first terminal receives request information sent by the second terminal; the first terminal acquires the creation information matched with the request information; the first terminal synchronizes the creation information to a second terminal. In the embodiment of the invention, after request information sent by a second terminal is received, the creation information matched with the request information is obtained; the first terminal synchronizes the creation information to the second terminal, so that the network resource overhead can be reduced, and the large storage resource overhead of the second terminal caused by the transmission of unnecessary data can be avoided.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the synchronizing, by the first terminal, the creating information to the second terminal includes: the first terminal stores the creation information to an FTP server in the first network; the first terminal receives a synchronization request sent by a gatekeeper; and the first terminal synchronizes the creation information stored in the FTP server to the FTP server in the second terminal according to the synchronization request. In the embodiment of the invention, the creation information is stored in the FTP server, so that the creation information stored in the FTP server is synchronized to the FTP server in the second terminal through the gateway after the first terminal receives the synchronization request sent by the gateway, thereby facilitating and quickly synchronizing data.
In a second aspect, a data sharing method provided in an embodiment of the present invention includes: the second terminal receives the creation information which is synchronized by the first terminal and used for creating the new service; the second terminal determines the configuration operation required by the creation of the new service according to the creation information; and the second terminal executes the configuration operation to create the new service. In the embodiment of the invention, the creation information which is synchronized by the first terminal and used for creating the new service is received by the second terminal; the second terminal determines the configuration operation required by the creation of the new service according to the creation information; the second terminal executes the configuration operation to create the new service, so that data sharing between the first terminal and the second terminal is achieved, the created new service is synchronized to the second terminal, the second terminal can achieve the same function as the first terminal, data collection efficiency can be improved, and real-time interaction can be conducted between the first terminal and the second terminal while data safety of the first terminal is guaranteed.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the first terminal is a terminal device in a first network, the second terminal is a terminal device in a second network, the first network is isolated from the second network by a gatekeeper, and the second terminal receives creation information that is used for creating a new service and synchronized with the first terminal, and the method includes: and the second terminal receives the creation information which is synchronized by the first terminal and is used for creating the new service through the gatekeeper.
With reference to the second aspect, an embodiment of the present invention provides a second possible implementation manner of the second aspect, where the receiving, by the second terminal, creation information that is synchronized by the first terminal and used for creating a new service includes: the second terminal sends request information to the first terminal; and the second terminal receives the creation information which is returned by the first terminal based on the request information and is matched with the request information.
With reference to the second aspect, an embodiment of the present invention provides a third possible implementation manner of the second aspect, where the method further includes: the second terminal collects passerby data; and the second terminal synchronizes the passerby data to the first terminal for storage. In the embodiment of the invention, the second terminal is used for acquiring the passerby data, and the second terminal is used for synchronizing the passerby data to the first terminal for storage, so that the first network can quickly determine important information such as the trajectory of a person, the identity of the person and the like through the received passerby data, and further, the public security situation can be obviously improved, and the anti-terrorism pressure can be relieved.
With reference to the second aspect, an embodiment of the present invention provides a fourth possible implementation manner of the second aspect, where the method further includes: the second terminal acquires data matched with the created new service; and the second terminal sends the data to the first terminal.
In a third aspect, an embodiment of the present invention provides a data sharing apparatus, including: the receiving module is used for receiving a creating operation which is input by a user and used for creating a new service; the processing module is used for generating creation information for creating the new service according to the creation operation; and the synchronization module is used for synchronizing the creation information to a second terminal, and the creation information is used for the second terminal to create the new service according to the creation information.
In a fourth aspect, an embodiment of the present invention provides a data sharing apparatus, including: the receiving module is used for receiving the creation information which is synchronized by the first terminal and used for creating the new service; the processing module is used for determining the configuration operation required by the creation of the new service according to the creation information; and the execution module is used for executing the configuration operation to create the new service.
In a fifth aspect, a terminal device provided in an embodiment of the present invention includes: a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the data sharing method according to any one of the first aspect when executing the computer program.
In a sixth aspect, an embodiment of the present invention provides a storage medium, where the storage medium stores instructions that, when executed on a computer, cause the computer to execute the data sharing method according to any one of the first aspect.
Additional features and advantages of the disclosure will be set forth in the description which follows, or in part may be learned by the practice of the above-described techniques of the disclosure, or may be learned by practice of the disclosure.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a flowchart of a data sharing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a data sharing method according to a second embodiment of the present invention;
fig. 3 is a functional block diagram of a data sharing device according to a third embodiment of the present invention;
fig. 4 is a functional block diagram of a data sharing device according to a fourth embodiment of the present invention;
fig. 5 is a schematic diagram of a terminal device according to a fifth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
First embodiment
The present embodiment begins with a data sharing method, it should be noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here. The present embodiment will be described in detail below.
Referring to fig. 1, a flowchart of a data sharing method according to an embodiment of the present invention is shown, where the data sharing method is applied to a first terminal. The specific process shown in FIG. 1 will be described in detail below.
Step S101, the first terminal receives a creation operation for creating a new service, which is input by a user.
Optionally, the first terminal is a terminal device in the first network.
Optionally, the first network may be a public security intranet or a video network.
Alternatively, the creation operation is an operation that a user inputs into the first terminal through an input device (e.g., a mouse or a keyboard).
Optionally, the new service refers to data that is not available before the current time with respect to the first terminal. For example, the new service may be a newly created user, department, role, base management, device management, deployment task management, alarm short video storage, panorama and/or alarm handling, etc. within a public security intranet.
Wherein the device management may be a camera connected in the second network. The equipment can be added, deleted and changed in the first network (public security intranet), the equipment data and the second network can be mutually synchronized, and the old data is overwritten by the new data.
Optionally, the deployment and control task management means that the deployment and control task is set in a public security intranet for maintenance, and is synchronized to a video network, and a deployment and control task list and deployment and control details in the video network are read only.
Optionally, the alarm short video storage means that the alarm short video is generated in a video network and then is synchronized to a public security intranet for storage.
Alternatively, the panorama is generated by a video net and then synchronized to a public security intranet.
Optionally, the alarm handling may handle alarms in both the video network and the public security intranet. After the alarm is generated by the video network, the alarm information is automatically synchronized to a public security intranet (containing short video).
And step S102, the first terminal generates creating information for creating the new service according to the creating operation.
Optionally, the creation information is stored in a database, wherein the database may be a local database or a network database.
Step S103, the first terminal synchronizes the creation information to a second terminal, and the creation information is used for the second terminal to create the new service according to the creation information.
Optionally, the second terminal is a terminal device in a second network, and the first network is isolated from the second network by a gatekeeper.
Optionally, the first network and the second network are not the same network at the same time. For example, when the first network is a public security intranet, the second network is a video network. And when the first network is a video network, the second network is a public security intranet.
As a first implementation, step S103 includes: and the first terminal synchronizes the creation information to the second terminal through the gatekeeper. Specifically, the first terminal sends the creation information to the gatekeeper through a sending end of the gatekeeper adapter in the first network, sends the creation information to a receiving end of the gatekeeper adapter in the second network through the gatekeeper, and synchronizes the creation information through the receiving end of the gatekeeper adapter in the second network.
In the embodiment of the invention, the first network and the second network are isolated by the gatekeeper, so that controlled data can be transmitted through the gatekeeper, and the data of the first network can be prevented from being leaked while the first network and the second network can share data.
As a second embodiment, step S103 includes: the first terminal receives request information sent by the second terminal; the first terminal acquires the creation information matched with the request information; the first terminal synchronizes the creation information to a second terminal.
Alternatively, the request information may be an HTTP (Hyper Text transfer Protocol) request sent by the second terminal.
Optionally, the second terminal stores the request information in a local FTP (File Transfer Protocol).
Optionally, the obtaining, by the first terminal, the creation information matched with the request information includes: the first terminal receives an FTP file in the second terminal synchronized by the gatekeeper; and the first terminal inquires the creation information matched with the request information carried by the FTP file.
Optionally, the querying, by the first terminal, the creation information matched with the request information carried by the FTP file includes: the first terminal acquires request information carried by the FTP file based on the FTP protocol; the first terminal inquires the creation information matched with the request information.
In the embodiment of the invention, after request information sent by a second terminal is received, the creation information matched with the request information is obtained; the first terminal synchronizes the creation information to the second terminal, so that the network resource overhead can be reduced, and the large storage resource overhead of the second terminal caused by the transmission of unnecessary data can be avoided.
As a third embodiment, step S103 includes: the first terminal stores the creation information to an FTP server in the first network; the first terminal receives a synchronization request sent by a gatekeeper; and the first terminal synchronizes the creation information stored in the FTP server to the FTP server in the second terminal according to the synchronization request.
In the embodiment of the invention, the creation information is stored in the FTP server, so that the creation information stored in the FTP server is synchronized to the FTP server in the second terminal through the gateway after the first terminal receives the synchronization request sent by the gateway, thereby facilitating and quickly synchronizing data.
The data sharing method provided by the embodiment of the invention receives the creation operation for creating a new service, which is input by a user, through a first terminal; the first terminal generates creating information for creating the new service according to the creating operation; the first terminal synchronizes the creation information to the second terminal, the creation information is used for the second terminal to create the new service according to the creation information, so that data sharing between the first terminal and the second terminal is realized, the created new service is synchronized to the second terminal, the second terminal can realize the same function as the first terminal, the data acquisition efficiency can be further accelerated, and the first terminal can perform real-time interaction with the second terminal while the data security of the first terminal is guaranteed.
Second embodiment
Please refer to fig. 2, which is a flowchart illustrating a data sharing method according to an embodiment of the present invention, wherein the data sharing method is applied to a second terminal. The specific process shown in fig. 2 will be described in detail below.
In step S201, the second terminal receives creation information synchronized by the first terminal and used for creating a new service.
Optionally, the first terminal is a terminal device in a first network, the second terminal is a terminal device in a second network, and the first network and the second network are isolated by a gatekeeper.
As a first implementation, step S201 includes: and the second terminal receives the creation information which is synchronized by the first terminal and is used for creating the new service through the gatekeeper. For example, the first terminal sends the creation information to the gatekeeper through a sending end of the gatekeeper adapter in the first network, sends the creation information to a receiving end of the gatekeeper adapter in the second network through the gatekeeper, and synchronizes the creation information through the receiving end of the gatekeeper adapter in the second network.
In the embodiment of the invention, the first network and the second network are isolated by the gatekeeper, so that controlled data can be transmitted through the gatekeeper, the first network and the second network can share data, and meanwhile, the data of the first terminal can be prevented from being leaked.
As a second implementation, step S201 includes: the second terminal sends request information to the first terminal; and the second terminal receives the creation information which is returned by the first terminal based on the request information and is matched with the request information.
Optionally, the sending, by the second terminal, request information to the first terminal includes: and the second terminal sends the request information in the FTP protocol stored in the second terminal to the first terminal through the gateway.
In the embodiment of the invention, after the second terminal sends the request information to the first terminal, the creation information matched with the request information and returned by the first terminal based on the request information is received, so that the network resource overhead can be reduced, and the large storage resource overhead of the second terminal caused by the transmission of unnecessary data can be avoided.
Step S202, the second terminal determines the configuration operation required by the creation of the new service according to the creation information.
Optionally, the configuration operation includes a configuration file, and the configuration file may be pre-stored in the second terminal, or may be stored in a server or a database outside the second terminal.
As an embodiment, step S202 includes: and inquiring configuration operation matched with the identification information and required for creating the new service according to the identification information corresponding to the creation information.
For example, when a user is newly created in the first terminal, the second terminal queries the configuration operation in the database according to the creation information (e.g., database attribute information of the user) so as to create the user in the database.
Step S203, the second terminal executes the configuration operation to create the new service.
For example, assuming that the creation information sent by the first terminal is a user created in the database, the second terminal obtains configuration information required by the user name and the authority according to the creation information corresponding to the user, such as the user name and the authority, and writes the user name and the authority of the user into the database through the configuration information, thereby creating the new service.
In a possible embodiment, the data sharing method further includes: the second terminal collects passerby data; and the second terminal synchronizes the passerby data to the first terminal for storage.
Optionally, the passerby data refers to monitoring data of passerby.
Optionally, the passerby data is image data captured by a camera or a snapshot machine connected to the second network.
In the embodiment of the invention, when the passerby data are collected and stored, the second terminal synchronizes the passerby data to the first terminal for storage, so that the first network can quickly determine important information such as personnel tracks, personnel identities and the like through the received passerby data, and further, the public security situation can be obviously improved and the anti-terrorist pressure can be relieved.
In a possible embodiment, the data sharing method further includes: the second terminal acquires data matched with the created new service; and the second terminal sends the data to the first terminal.
Optionally, the data matched with the created new service may be query data input by a user, or may be image data captured by a camera or a snapshot in the second network. For example, when a user a is newly created at a first terminal, the user a can only inquire about information related to the user, such as department information, at a second terminal after the user a is created at the second terminal. But cannot add, delete or modify the information related to the information.
In the data sharing method provided by the embodiment of the invention, the creation information which is used for creating a new service and is synchronized with the first terminal is received by the second terminal; the second terminal determines the configuration operation required by the creation of the new service according to the creation information; the second terminal executes the configuration operation to create the new service, so that data sharing between the first terminal and the second terminal is achieved, the created new service is synchronized to the second terminal, the second terminal can achieve the same function as the first terminal, data collection efficiency can be improved, and real-time interaction can be conducted between the first terminal and the second terminal while data safety of the first terminal is guaranteed.
Third embodiment
Fig. 3 shows a data sharing apparatus that employs the data sharing method shown in the first embodiment in a one-to-one correspondence, corresponding to the data sharing method in the first embodiment. As shown in fig. 3, the data sharing apparatus 400 is applied to a first terminal, and the data sharing apparatus 400 includes a receiving module 410, a processing module 420 and a synchronization module 430. The implementation functions of the receiving module 410, the processing module 420 and the synchronization module 430 correspond to the corresponding steps in the first embodiment one to one, and for avoiding repeated descriptions, detailed descriptions are not needed in this embodiment.
A receiving module 410, configured to receive a creation operation for creating a new service, which is input by a user.
And the processing module 420 is configured to generate creation information for creating the new service according to the creation operation.
A synchronization module 430, configured to synchronize the creation information to the second terminal, where the creation information is used for the second terminal to create the new service according to the creation information.
Optionally, the first terminal is a terminal device in a first network, the second terminal is a terminal device in a second network, the first network and the second network are isolated by a gatekeeper, and the synchronization module 430 is further configured to synchronize the creation information to the second terminal through the gatekeeper.
Optionally, the synchronization module 430 is further configured to receive request information sent by the second terminal; acquiring the creation information matched with the request information; and synchronizing the creation information to the second terminal.
Optionally, the synchronization module 430 is further configured to store the creation information in an FTP server in the first network; receiving a synchronization request sent by a gatekeeper; and synchronizing the creation information stored in the FTP server to the FTP server in the second terminal according to the synchronization request.
Fourth embodiment
Fig. 4 shows a data sharing apparatus that employs the data sharing method shown in the second embodiment in a one-to-one correspondence with the data sharing method in the first embodiment. As shown in fig. 4, the data sharing apparatus 400 is applied to the second terminal, and the data sharing apparatus 400 includes a receiving module 510, a processing module 520, and an executing module 530. The implementation functions of the receiving module 510, the processing module 520, and the executing module 530 correspond to the corresponding steps in the second embodiment one to one, and for avoiding repeated descriptions, detailed descriptions are not needed in this embodiment.
A receiving module 510, configured to receive creation information synchronized by the first terminal and used for creating a new service.
Optionally, the first terminal is a terminal device in a first network, the second terminal is a terminal device in a second network, the first network is isolated from the second network by a gatekeeper, and the receiving module 510 is further configured to receive, by the gatekeeper, creation information that is used for creating a new service and is synchronized with the first terminal.
Optionally, the receiving module 510 is further configured to send request information to the first terminal; and receiving the creation information matched with the request information, which is returned by the first terminal based on the request information.
A processing module 520, configured to determine, according to the creation information, a configuration operation required for creating the new service.
An executing module 530, configured to execute the configuration operation to create the new service.
In a possible embodiment, the data sharing apparatus 400 further includes a first sending module; the first sending module is used for acquiring data matched with the created new service; and sending the data to the first terminal.
In a possible embodiment, the data sharing apparatus 400 further includes: a second sending module; the second sending module is used for the second terminal to acquire passerby data; and the second terminal synchronizes the passerby data to the first terminal for storage.
Fifth embodiment
As shown in fig. 5, is a schematic diagram of a terminal device 600. The terminal device 600 includes a memory 602, a processor 604, and a computer program 603 stored in the memory 602 and capable of running on the processor 604, where the computer program 603 implements the data sharing method in the first embodiment when executed by the processor 604, and is not described herein again to avoid repetition. Alternatively, the computer program 603 implements the data sharing method in the second embodiment when being executed by the processor 604, and is not described herein again to avoid repetition. Alternatively, the computer program 603, when executed by the processor 604, implements the functions of each module/unit in the data sharing apparatus according to the third embodiment, and is not described herein again to avoid repetition. Alternatively, the computer program 603, when executed by the processor 604, implements the functions of the modules/units in the data sharing apparatus according to the fourth embodiment, and is not described herein again to avoid repetition.
Illustratively, the computer program 603 may be partitioned into one or more modules/units, which are stored in the memory 602 and executed by the processor 604 to implement the present invention. One or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 603 in the terminal device 600. For example, the computer program 603 may be divided into the receiving module 410, the processing module 420 and the synchronization module 430 in the third embodiment, and specific functions of each module are as described in the first embodiment or the third embodiment, which are not described herein again.
The terminal device 600 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices.
The Memory 602 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 602 is configured to store a program, and the processor 604 executes the program after receiving an execution instruction, and the method defined by the flow disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 604, or implemented by the processor 604.
Processor 604 may be an integrated circuit chip having signal processing capabilities. The Processor 604 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It is understood that the structure shown in fig. 5 is only a schematic structural diagram of the terminal device 600, and the terminal device 600 may further include more or less components than those shown in fig. 5. The components shown in fig. 5 may be implemented in hardware, software, or a combination thereof.
Sixth embodiment
An embodiment of the present invention further provides a storage medium, where the storage medium is used to store instructions, and when the instructions run on a computer, the computer program is executed by a processor to implement the data sharing method in the first embodiment, and details are not repeated here in order to avoid repetition. Alternatively, the computer program is implemented by the data sharing method in the second embodiment when being executed by the processor, and is not described herein again to avoid repetition. Alternatively, the computer program is executed by a processor to implement the functions of the modules/units in the data sharing apparatus according to the third embodiment, and details are not repeated here to avoid repetition. Alternatively, the computer program is executed by a processor to implement the functions of the modules/units in the data sharing apparatus according to the fourth embodiment, and details are not repeated here to avoid repetition.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by hardware, or by software plus a necessary general hardware platform, and based on such understanding, the technical solution of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the method of the various implementation scenarios of the present invention.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.

Claims (11)

1. A method for data sharing, the method comprising:
a first terminal receives a creation operation for creating a new service, which is input by a user;
the first terminal generates creating information for creating the new service according to the creating operation;
the first terminal synchronizes the creation information to a second terminal, and the creation information is used for the second terminal to create the new service according to the creation information;
wherein the synchronizing of the creation information by the first terminal to the second terminal comprises:
the first terminal receives request information sent by the second terminal;
the first terminal acquires the creation information matched with the request information;
the first terminal synchronizes the creation information to a second terminal.
2. The method of claim 1, wherein the first terminal is a terminal device in a first network, the second terminal is a terminal device in a second network, the first network is isolated from the second network by a gatekeeper, and the first terminal synchronizes the creation information to the second terminal, comprising:
and the first terminal synchronizes the creation information to the second terminal through the gatekeeper.
3. The method of claim 2, wherein the first terminal synchronizing the creation information to a second terminal comprises:
the first terminal stores the creation information to an FTP server in the first network;
the first terminal receives a synchronization request sent by the gatekeeper;
and the first terminal synchronizes the creation information stored in the FTP server to the FTP server in the second terminal according to the synchronization request.
4. A method for data sharing, the method comprising:
the second terminal receives the creation information which is synchronized by the first terminal and used for creating the new service;
the second terminal determines the configuration operation required by the creation of the new service according to the creation information;
the second terminal executes the configuration operation to create the new service;
the second terminal receiving creation information synchronized by the first terminal and used for creating a new service includes:
the second terminal sends request information to the first terminal;
and the second terminal receives the creation information which is returned by the first terminal based on the request information and is matched with the request information.
5. The method according to claim 4, wherein the first terminal is a terminal device in a first network, the second terminal is a terminal device in a second network, the first network and the second network are isolated by a gatekeeper, and the second terminal receives creation information synchronized by the first terminal and used for creating a new service, including:
and the second terminal receives the creation information which is synchronized by the first terminal and is used for creating the new service through the gatekeeper.
6. The method of claim 4, further comprising:
the second terminal collects passerby data;
and the second terminal synchronizes the passerby data to the first terminal for storage.
7. The method of claim 4, further comprising:
the second terminal acquires data matched with the created new service;
and the second terminal sends the data to the first terminal.
8. A data sharing apparatus, comprising:
the receiving module is used for receiving a creating operation which is input by a user and used for creating a new service;
the processing module is used for generating creation information for creating the new service according to the creation operation;
a synchronization module, configured to synchronize the creation information to a second terminal, where the creation information is used by the second terminal to create the new service according to the creation information;
the synchronization module is further configured to receive request information sent by the second terminal; acquiring the creation information matched with the request information; and synchronizing the creation information to the second terminal.
9. A data sharing apparatus, comprising:
the receiving module is used for receiving the creation information which is synchronized by the first terminal and used for creating the new service;
the processing module is used for determining the configuration operation required by the creation of the new service according to the creation information;
the execution module is used for executing the configuration operation to create the new service;
the receiving module is further configured to send request information to the first terminal; and receiving the creation information matched with the request information, which is returned by the first terminal based on the request information.
10. A terminal device, comprising: a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the data sharing method according to any one of claims 1 to 3 when executing the computer program; alternatively, the processor, when executing the computer program, implements the steps of the data sharing method of any of claims 4 to 7.
11. A storage medium for storing instructions which, when executed on a computer, cause the computer to perform a data sharing method according to any one of claims 1 to 3; alternatively, the instructions, when executed on a computer, cause the computer to perform a data sharing method as claimed in any one of claims 4 to 7.
CN201811389268.3A 2018-11-20 2018-11-20 Data sharing method, device, equipment and storage medium Active CN109462592B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811389268.3A CN109462592B (en) 2018-11-20 2018-11-20 Data sharing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811389268.3A CN109462592B (en) 2018-11-20 2018-11-20 Data sharing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109462592A CN109462592A (en) 2019-03-12
CN109462592B true CN109462592B (en) 2021-06-22

Family

ID=65611123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811389268.3A Active CN109462592B (en) 2018-11-20 2018-11-20 Data sharing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109462592B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110505307B (en) * 2019-08-30 2022-04-26 公安部交通管理科学研究所 Method and system for exchanging traffic flow data between networks

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751421A (en) * 2008-12-08 2010-06-23 北京中星微电子有限公司 Anisomerous synchronization method, system and device of database in video monitoring system
CN103139254A (en) * 2011-11-30 2013-06-05 苏州中茵泰格科技有限公司 Data synchronization method and system of internet protocol television (IPTV) network and Internet
CN104092673A (en) * 2014-06-27 2014-10-08 中国人民解放军第二军医大学 System and method for achieving safe one-way data transmission between networks
CN105117654A (en) * 2015-07-24 2015-12-02 中国电力科学研究院 Data synchronization method between same systems under the circumstance of network physical isolation
CN106533835A (en) * 2016-11-28 2017-03-22 深圳飞思安诺网络技术有限公司 A unified monitoring and early warning method and system for a plurality of physical isolation networks
CN107466089A (en) * 2017-08-23 2017-12-12 广东欧珀移动通信有限公司 A kind of data sharing method, device and terminal device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867613B (en) * 2010-06-08 2014-12-17 中兴通讯股份有限公司 Content delivery CDN sub system and data synchronization method
US20140331337A1 (en) * 2013-05-02 2014-11-06 International Business Machines Corporation Secure isolation of tenant resources in a multi-tenant storage system using a gatekeeper
CN106549990A (en) * 2015-09-18 2017-03-29 阿里巴巴集团控股有限公司 A kind of processing method and system of distributed data
CN108462752B (en) * 2018-03-26 2022-02-22 深信服科技股份有限公司 Method and system for accessing shared network, VPC management equipment and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751421A (en) * 2008-12-08 2010-06-23 北京中星微电子有限公司 Anisomerous synchronization method, system and device of database in video monitoring system
CN103139254A (en) * 2011-11-30 2013-06-05 苏州中茵泰格科技有限公司 Data synchronization method and system of internet protocol television (IPTV) network and Internet
CN104092673A (en) * 2014-06-27 2014-10-08 中国人民解放军第二军医大学 System and method for achieving safe one-way data transmission between networks
CN105117654A (en) * 2015-07-24 2015-12-02 中国电力科学研究院 Data synchronization method between same systems under the circumstance of network physical isolation
CN106533835A (en) * 2016-11-28 2017-03-22 深圳飞思安诺网络技术有限公司 A unified monitoring and early warning method and system for a plurality of physical isolation networks
CN107466089A (en) * 2017-08-23 2017-12-12 广东欧珀移动通信有限公司 A kind of data sharing method, device and terminal device

Also Published As

Publication number Publication date
CN109462592A (en) 2019-03-12

Similar Documents

Publication Publication Date Title
CN110489391B (en) Data processing method and related equipment
CN107800565B (en) Inspection method, inspection device, inspection system, computer equipment and storage medium
CN111800443B (en) Data processing system and method, device and electronic equipment
CN105447046A (en) Distributed system data consistency processing method, device and system
CN110856126A (en) Information reporting and receiving method, terminal equipment and storage medium
US20160366041A1 (en) Virtual Probes
CN110866265A (en) Data storage method, device and storage medium based on block chain
CN114385759A (en) Configuration file synchronization method and device, computer equipment and storage medium
CN112468409A (en) Access control method, device, computer equipment and storage medium
CN115001967B (en) Data acquisition method and device, electronic equipment and storage medium
CN109462592B (en) Data sharing method, device, equipment and storage medium
CN107948682B (en) Configuration method of service domain name, service server and terminal equipment
CN111343132B (en) File transmission detection method and device and storage medium
CN113961600A (en) Data query method and device, computer equipment and storage medium
KR101619419B1 (en) System for detecting abnomal behaviors using personalized continuative behavior pattern analsis
US10230598B1 (en) Method and system for providing visualization of instance data to identify and evaluate re-stacking policies in a cloud computing environment
CN114301709B (en) Message processing method and device, storage medium and computing equipment
CN110750424A (en) Resource inspection method and device
CN109684342A (en) Data managing method and device
WO2019120629A1 (en) On-demand snapshots from distributed data storage systems
CN116861455B (en) Event data processing method, system, electronic device and storage medium
CN113992404B (en) Attack evidence recording method and device
CN110166421B (en) Intrusion control method and device based on log monitoring and terminal equipment
CN109683942B (en) Script management method, script management device, script management medium and electronic equipment
CN107231423B (en) File distribution method and system

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