CN113923178B - Method and system for storing and extracting instant messaging and group data files - Google Patents
Method and system for storing and extracting instant messaging and group data files Download PDFInfo
- Publication number
- CN113923178B CN113923178B CN202111166332.3A CN202111166332A CN113923178B CN 113923178 B CN113923178 B CN 113923178B CN 202111166332 A CN202111166332 A CN 202111166332A CN 113923178 B CN113923178 B CN 113923178B
- Authority
- CN
- China
- Prior art keywords
- module
- data files
- folder
- instant messaging
- file
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000000605 extraction Methods 0.000 claims abstract description 28
- 238000012795 verification Methods 0.000 claims description 26
- 238000004590 computer program Methods 0.000 claims description 5
- 238000007726 management method Methods 0.000 description 17
- 238000004891 communication Methods 0.000 description 14
- 238000013500 data storage Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 239000000284 extract Substances 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/185—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- Bioethics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Computing Systems (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses a method and a system for storing and extracting instant messaging and group data files, and relates to the technical field of data access. The method comprises the following steps: acquiring and verifying identity according to instant messaging and member information of a group, establishing a corresponding member account, and establishing a key pair for the corresponding member account; creating a total folder, and encrypting the total folder by adopting a private key in a key pair of a corresponding member account; adding the total folder into a block chain, and establishing a corresponding total folder block node; creating a plurality of subfolders; real-time acquiring and storing the instant messaging and group data files into corresponding subfolders, and synchronously updating the data files into corresponding total folder block nodes; giving the folder operation authority corresponding to the corresponding member; and acquiring and extracting the data files in the corresponding subfolders according to the file extraction and sending the request to the corresponding members. The invention can effectively store the data file in time and can realize high-efficiency extraction.
Description
Technical Field
The present invention relates to the field of data access technology, and in particular, to a method and system for storing and extracting instant messaging and group data files.
Background
At present, the communication of daily communication of people and chat groups is an exchange tool which cannot be used for life, but has a plurality of shortages, files and information such as ordinary activities, notices, file information, videos, pictures, photos and the like can be seen when the information is used, but as the information exchange is more and more, the important information related to the past can not be found as time goes on, and a fixed file storage is not available.
Disclosure of Invention
In order to overcome or at least partially solve the above problems, embodiments of the present invention provide a method and a system for storing and extracting instant messaging and group data files, which can store data files timely and effectively, and can realize efficient extraction.
Embodiments of the present invention are implemented as follows:
in a first aspect, an embodiment of the present invention provides a method for storing and extracting instant messaging and group data files, including the following steps:
acquiring and verifying the identity according to the instant messaging and the member information of the group, establishing a corresponding member account after the verification is passed, and establishing a key pair for the corresponding member account;
creating a total folder for storing data files corresponding to instant messaging and groups based on the member accounts, and encrypting the total folder by adopting a private key in a key pair corresponding to the member accounts;
adding the total folder into a block chain, and establishing a corresponding total folder block node;
creating a plurality of subfolders for storing the data files of different categories based on the total folder according to the categories of the preset data files;
real-time acquiring and storing the instant messaging and group data files into corresponding subfolders, and synchronously updating the data files into corresponding total folder block nodes;
acquiring and giving the folder operation authority corresponding to the corresponding member according to the authority data of the member account;
and acquiring and sending a request to extract the data files in the corresponding subfolders to the corresponding members based on the folder operation rights corresponding to the corresponding members.
In order to solve the technical problems that instant messaging and group data file permanent storage and efficient extraction cannot be achieved timely and effectively in the prior art, the invention stores various data files by establishing a reasonable folder management mode, safely stores data by combining a blockchain technology, avoids data loss, simultaneously carries out classification management, facilitates subsequent accurate searching and extraction of target data files, encrypts a total folder based on a key of a user, and further ensures file storage safety in the target group. Firstly, carrying out identity verification according to instant messaging and member information of a group, establishing a corresponding member account after verification is passed, and creating a key pair for the corresponding member account, wherein the key pair comprises a private key and a public key. And then, creating a total folder for storing the data files corresponding to the instant messaging and the group based on the member account, and encrypting the total folder by adopting a private key in a key pair corresponding to the member account so as to ensure the safety of storing or extracting the subsequent files. To further prevent data loss, the total folders are added to the blockchain, and corresponding total folder blocknodes are established. Then, in order to ensure the clarity of data storage, a plurality of subfolders for storing the data files of different categories are created based on the total folder according to the categories of the preset data files, so that the data files are stored in a subsequent classification mode, and the data files are convenient to sort. And after the file folder is established, acquiring and storing the instant messaging and group data files into the corresponding subfolders in real time, synchronously updating the instant messaging and group data files into the corresponding total folder block nodes, ensuring the synchronous updating of the data, and storing the data through the block chain nodes to avoid the loss of the data. In order to ensure that different operations are performed on the data for different members, the folder operation authorities corresponding to the corresponding members are acquired and given according to the authority data of the member accounts. After the data storage is completed, when a member needs to extract a file, acquiring the operation authority of the folder corresponding to the corresponding member, and extracting the data file in the corresponding subfolder to the corresponding member according to the file extraction and sending a request to the corresponding member, thereby completing the efficient extraction of the file.
Based on the first aspect, in some embodiments of the present invention, the method for storing and extracting instant messaging and group data files further includes the following steps:
establishing an administrator account and a common user account according to the instant messaging and the identity information in the member information of the group;
and giving the file operation authority corresponding to the common user account through the administrator account.
Based on the first aspect, in some embodiments of the present invention, the method for storing and extracting instant messaging and group data files further includes the following steps:
and encrypting the subfolder by adopting a private key in the key pair of the corresponding member account.
Based on the first aspect, in some embodiments of the invention, the above-mentioned data file includes video, album, activity, bulletin, shop products, business information, and business information.
In a second aspect, an embodiment of the present invention provides a system for storing and extracting instant messaging and group data files, including an identity verification module, a total folder module, a block node module, a subfolder module, a file storage module, a permission giving module, and a file extracting module, where:
the identity verification module is used for acquiring and carrying out identity verification according to the instant messaging and the member information of the group, establishing a corresponding member account after the verification is passed, and establishing a key pair for the corresponding member account;
the system comprises a total folder module, a group management module and a group management module, wherein the total folder module is used for creating a total folder for storing data files corresponding to instant messaging and groups based on member accounts, and encrypting the total folder by adopting a private key in a key pair corresponding to the member accounts;
the block node module is used for adding the total folder into the block chain and establishing a corresponding total folder block node;
a subfolder module for creating a plurality of subfolders for storing different categories of data files based on the total folder according to the preset categories of the data files;
the file storage module is used for acquiring and storing the instant messaging and group data files in real time into the corresponding subfolders and synchronously updating the data files into the corresponding total folder block nodes;
the permission giving module is used for obtaining and giving the folder operation permission corresponding to the corresponding member according to the permission data of the member account;
and the file extraction module is used for acquiring and extracting the data files in the corresponding subfolders to the corresponding members according to the folder operation rights corresponding to the corresponding members and the file extraction and sending requests.
In order to solve the technical problems that instant messaging and group data file permanent storage and efficient extraction cannot be achieved timely and effectively in the prior art, the invention stores various data files by establishing a reasonable folder management mode, safely stores data by combining a blockchain technology, avoids data loss, simultaneously carries out classification management, facilitates subsequent accurate searching and extraction of target data files, encrypts a total folder based on a key of a user, and further ensures file storage safety in the target group. Firstly, the identity verification module performs identity verification according to instant messaging and member information of a group, after verification, a corresponding member account is established, and a key pair is established for the corresponding member account, wherein the key pair comprises a private key and a public key. And then, the total folder module creates a total folder for storing the data files corresponding to the instant messaging and the group based on the member account, and encrypts the total folder by adopting a private key in a key pair corresponding to the member account so as to ensure the safety of storing or extracting the subsequent files. In order to further prevent data loss, the total folder is added into the blockchain through the block node module, and a corresponding total folder block node is established. Then, in order to ensure the clarity of data storage, the subfolder module creates a plurality of subfolders for storing different categories of data files based on the total folders according to the preset categories of the data files, so as to facilitate the storage in the subsequent classification and the arrangement. When the file folder is established, the file storage module acquires and stores the instant messaging and group data files in the corresponding subfolders in real time, synchronously updates the data files into the corresponding total folder block nodes, ensures the synchronous updating of the data, and stores the data files through the block chain nodes to avoid the data loss. In order to ensure that different operations are performed on the data for different members, the permission giving module obtains and gives the folder operation permission corresponding to the corresponding member according to the permission data of the member account. After the data storage is completed, when a member needs to extract a file, the file extraction module acquires the file according to the folder operation authority corresponding to the corresponding member and extracts the data file in the corresponding subfolder to the corresponding member according to the file extraction and sending a request to the corresponding member, so that the efficient extraction of the file is completed.
Based on the second aspect, in some embodiments of the present invention, the system for storing and extracting instant messaging and group data files further includes an account classification module and a rights management module, wherein:
the account classification module is used for establishing an administrator account and a common user account according to the instant messaging and the identity information in the member information of the group;
and the authority management module is used for giving the file operation authority corresponding to the common user account through the administrator account.
Based on the second aspect, in some embodiments of the present invention, the system for storing and extracting instant messaging and group data files further includes a sub-file encrypting module for encrypting the sub-folders using the private key of the key pair of the corresponding member account.
Based on the second aspect, in some embodiments of the invention, the above-mentioned material files include videos, albums, campaigns, announcements, shop products, business information, and business information.
In a third aspect, embodiments of the present application provide an electronic device comprising a memory for storing one or more programs; a processor. The method of any of the first aspects described above is implemented when one or more programs are executed by a processor.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method as in any of the first aspects described above.
The embodiment of the invention has at least the following advantages or beneficial effects:
the embodiment of the invention provides a method and a system for storing and extracting instant messaging and group data files, which solve the technical problems that the instant messaging and group data files cannot be stored permanently and extracted efficiently in the prior art timely and effectively.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for storing and extracting instant messaging and group data files according to an embodiment of the present invention;
FIG. 2 is a schematic block diagram of a system for storing and retrieving instant messaging and group data files according to an embodiment of the present invention;
fig. 3 is a block diagram of an electronic device according to an embodiment of the present invention.
Icon: 100. an identity verification module; 200. a total folder module; 300. a block node module; 400. a subfolder module; 500. a file storage module; 600. a rights granting module; 700. a file extraction module; 800. an account classification module; 900. a rights management module; 1000. a sub-file encryption module; 101. a memory; 102. a processor; 103. a communication interface.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the invention, as 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 made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Examples
As shown in fig. 1, in a first aspect, an embodiment of the present invention provides a method for storing and extracting instant messaging and group data files, including the following steps:
s1, acquiring and carrying out identity verification according to instant messaging and member information of a group, establishing a corresponding member account after verification is passed, and establishing a key pair for the corresponding member account;
further, in some embodiments of the present invention, an administrator account and a general user account are established according to the instant messaging and the identity information in the member information of the group; and giving the file operation authority corresponding to the common user account through the administrator account. The method is divided into an administrator and a common user, wherein the user administrator can set whether other group members and communication objects have the right to view and download the data files in the corresponding folders.
In some embodiments of the present invention, first, identity verification is performed according to instant messaging and member information of a group, after verification is passed, a corresponding member account is established, and a key pair is created for the corresponding member account, where the key pair includes a private key and a public key.
S2, creating a total folder for storing data files corresponding to instant messaging and groups based on the member accounts, and encrypting the total folder by adopting a private key in a key pair corresponding to the member accounts;
in some embodiments of the present invention, a total folder for storing data files corresponding to instant messaging and groups is created based on member accounts, and the total folder is encrypted by using a private key in a key pair corresponding to the member accounts, so as to ensure the security of storing or extracting subsequent files.
S3, adding the total folder into a blockchain, and establishing a corresponding total folder block node;
in some embodiments of the present invention, to further prevent data loss, a total folder is added to the blockchain, creating a corresponding total folder blocknode.
S4, creating a plurality of subfolders for storing the data files of different categories based on the total folder according to the categories of the preset data files;
in some embodiments of the present invention, to ensure clarity of data storage, multiple subfolders for storing different categories of data files are created based on a total folder according to preset categories of data files, so as to facilitate storage in subsequent classifications, and facilitate sorting.
S5, acquiring and storing the instant messaging and group data files in real time into corresponding subfolders, and synchronously updating the data files into corresponding total folder block nodes; the data files include videos, photo albums, events, announcements, store products, business information, and business information.
In some embodiments of the present invention, after the folder is established, the instant messaging and group data files are acquired and stored in real time in the corresponding subfolders, and synchronously updated to the corresponding total folder block nodes, so that the synchronous update of data is ensured, and the data is stored through the block chain nodes, thereby avoiding data loss.
S6, acquiring and giving the folder operation authority corresponding to the corresponding member according to the authority data of the member account;
s7, acquiring and sending a request to extract the data files in the corresponding subfolders to the corresponding members according to the folder operation rights corresponding to the corresponding members.
In some embodiments of the present invention, in order to ensure that different operations are performed on data for different members, folder operation rights corresponding to corresponding members are acquired and given according to rights data of member accounts. After the data storage is completed, when a member needs to extract a file, acquiring the operation authority of the folder corresponding to the corresponding member, and extracting the data file in the corresponding subfolder to the corresponding member according to the file extraction and sending a request to the corresponding member, thereby completing the efficient extraction of the file.
In order to solve the technical problems that instant messaging and group data file permanent storage and efficient extraction cannot be achieved timely and effectively in the prior art, the invention stores various data files by establishing a reasonable folder management mode, safely stores data by combining a blockchain technology, avoids data loss, simultaneously carries out classification management, facilitates subsequent accurate searching and extraction of target data files, encrypts a total folder based on a key of a user, and further ensures file storage safety in the target group.
When using instant messaging and group, the user manager can classify and store the related file information which is wanted to be stored, including but not limited to videos, albums, activities, notices, shop products, enterprise information, business information and the like, into a set folder, the folder can be named or classified into subclasses in the folder, the user manager can set whether other group members and communication objects are authorized to view and download, if the user manager is authorized to view and download, the other group members of the communication objects or groups can view all the related information in the folder of the instant messaging and group chat interface and download all the related information, and the user manager can also partially authorize, so that the communication objects and group members can only view authorized parts in the folder of the instant messaging and group chat interface, and cannot view if the user is not authorized.
The invention is mainly convenient for users, managers, communication objects and other members to view, retrieve and pick up related data files including but not limited to videos, photo albums, activities, notices, shop products, enterprise information, business information and the like at any time.
Based on the first aspect, in some embodiments of the present invention, the method for storing and extracting instant messaging and group data files further includes the following steps:
and encrypting the subfolder by adopting a private key in the key pair of the corresponding member account.
In order to further improve the security of the data file storage, on the basis of encrypting the total folder, the corresponding subfolders are also encrypted through the keys of the corresponding member accounts, and the security of the file storage is improved through double encryption.
As shown in fig. 2, in a second aspect, an embodiment of the present invention provides a system for storing and extracting instant messaging and group data files, which includes an authentication module 100, a total folder module 200, a block node module 300, a subfolder module 400, a file storage module 500, a permission giving module 600, and a file extracting module 700, wherein:
the identity verification module 100 is configured to obtain and perform identity verification according to instant messaging and member information of a group, establish a corresponding member account after the verification is passed, and establish a key pair for the corresponding member account;
the total folder module 200 is configured to create a total folder for storing data files corresponding to instant messaging and groups based on member accounts, and encrypt the total folder by using a private key in a key pair corresponding to the member accounts;
the block node module 300 is configured to add a total folder to the blockchain, and establish a corresponding total folder block node;
a subfolder module 400 for creating a plurality of subfolders for storing different categories of data files based on the total folder according to the categories of the preset data files;
the file storage module 500 is configured to acquire and store, in real time, the data files of the instant messaging and the group into the corresponding subfolders, and update the data files into the corresponding total folder block nodes synchronously; the data files include videos, photo albums, events, announcements, store products, business information, and business information.
The permission giving module 600 is configured to obtain and give, according to permission data of the member account, folder operation permission corresponding to the corresponding member;
the file extraction module 700 is configured to obtain, based on the folder operation rights corresponding to the corresponding member, and extract, according to the file extraction and sending request, the data file in the corresponding subfolder to the corresponding member.
In order to solve the technical problems that instant messaging and group data file permanent storage and efficient extraction cannot be achieved timely and effectively in the prior art, the invention stores various data files by establishing a reasonable folder management mode, safely stores data by combining a blockchain technology, avoids data loss, simultaneously carries out classification management, facilitates subsequent accurate searching and extraction of target data files, encrypts a total folder based on a key of a user, and further ensures file storage safety in the target group. Firstly, the identity verification module 100 performs identity verification according to instant messaging and member information of a group, establishes a corresponding member account after verification, and creates a key pair for the corresponding member account, wherein the key pair comprises a private key and a public key. Then, the total folder module 200 creates a total folder for storing the data files corresponding to the instant messaging and the group based on the member accounts, and encrypts the total folder by using the private key in the key pair corresponding to the member accounts to ensure the security of storing or extracting the subsequent files. To further prevent data loss, the total folders are added to the blockchain by the blocknode module 300, creating corresponding total folder blocknodes. Then, in order to ensure the clarity of data storage, the subfolder module 400 creates a plurality of subfolders for storing different categories of data files based on the total folder according to the preset categories of the data files, so as to store the data files in a subsequent classification, and facilitate arrangement. When the folder is established, the file storage module 500 acquires and stores the instant messaging and group data files in the corresponding subfolders in real time, and synchronously updates the data files to the corresponding total folder block nodes, so that the synchronous updating of the data is ensured, and the data is stored through the block chain nodes, thereby avoiding the data loss. In order to ensure that different operations are performed on the data for different members, the rights granting module 600 acquires and grants the folder operation rights corresponding to the corresponding members according to the rights data of the member accounts. After the data storage is completed, when a member needs to extract a file, the file extraction module 700 obtains the data file in the corresponding subfolder based on the folder operation authority corresponding to the corresponding member and sends a request to extract the data file in the corresponding subfolder to the corresponding member, so that the efficient extraction of the file is completed.
As shown in fig. 2, in some embodiments of the present invention, the system for instant messaging and group profile storage and retrieval further comprises an account classification module 800 and a rights management module 900, wherein:
the account classification module 800 is configured to establish an administrator account and a general user account according to the instant messaging and identity information in the member information of the group;
and the rights management module 900 is used for giving the file operation rights corresponding to the common user account through the administrator account.
In order to further improve the efficiency of account management, an administrator account and a common user account are established through the account classification module 800 according to instant messaging and identity information in member information of a group, and then file operation rights corresponding to the common user account are given through the administrator account through the rights management module 900, wherein the file operation rights comprise checking, extracting and downloading. The method is divided into an administrator and a common user, wherein the user administrator can set whether other group members and communication objects have the right to view and download the data files in the corresponding folders.
As shown in fig. 2, in the second aspect, in some embodiments of the present invention, the system for storing and extracting instant messaging and group data files further includes a sub-file encrypting module 1000 for encrypting the sub-folders using the private key of the key pair of the corresponding member account.
In order to further improve the security of storing the data files, on the basis of encrypting the total folder, the sub-file encryption module 1000 encrypts the corresponding sub-folder by adopting the key of the corresponding member account, and improves the security of storing the files by double encryption.
As shown in fig. 3, in a third aspect, an embodiment of the present application provides an electronic device, which includes a memory 101 for storing one or more programs; a processor 102. The method of any of the first aspects described above is implemented when one or more programs are executed by the processor 102.
And a communication interface 103, where the memory 101, the processor 102 and the communication interface 103 are electrically connected directly or indirectly to each other to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The memory 101 may be used to store software programs and modules that are stored within the memory 101 for execution by the processor 102 to perform various functional applications and data processing. The communication interface 103 may be used for communication of signaling or data with other node devices.
The Memory 101 may be, but is not limited to, a random access Memory 101 (Random Access Memory, RAM), a Read Only Memory 101 (ROM), a programmable Read Only Memory 101 (Programmable Read-Only Memory, PROM), an erasable Read Only Memory 101 (Erasable Programmable Read-Only Memory, EPROM), an electrically erasable Read Only Memory 101 (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.
The processor 102 may be an integrated circuit chip with signal processing capabilities. The processor 102 may be a general purpose processor 102, including a central processor 102 (Central Processing Unit, CPU), a network processor 102 (Network Processor, NP), etc.; but may also be a digital signal processor 102 (Digital Signal Processing, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a Field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
In the embodiments provided in the present application, it should be understood that the disclosed method, system and method may be implemented in other manners. The above-described method and system embodiments are merely illustrative, for example, flow charts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods and systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having stored thereon a computer program which, when executed by the processor 102, implements a method as in any of the first aspects described above. The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory 101 (ROM), a random access Memory 101 (RAM, random Access Memory), a magnetic disk, or an optical disk; the cloud storage is further included, and data storage is conducted through the cloud server.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Claims (8)
1. The method for storing and extracting the instant messaging and group data files is characterized by comprising the following steps:
acquiring and verifying the identity according to the instant messaging and the member information of the group, establishing a corresponding member account after the verification is passed, and establishing a key pair for the corresponding member account;
creating a total folder for storing data files corresponding to instant messaging and groups based on the member accounts, and encrypting the total folder by adopting a private key in a key pair corresponding to the member accounts;
adding the total folder into a block chain, and establishing a corresponding total folder block node;
creating a plurality of subfolders for storing the data files of different categories based on the total folder according to the categories of the preset data files;
real-time acquiring and storing the instant messaging and group data files into corresponding subfolders, and synchronously updating the data files into corresponding total folder block nodes;
acquiring and giving the folder operation authority corresponding to the corresponding member according to the authority data of the member account;
acquiring the folder operation authority corresponding to the corresponding member and extracting the data file in the corresponding subfolder according to the file extraction request to the corresponding member;
the method also comprises the following steps:
and encrypting the subfolder by adopting a private key in the key pair of the corresponding member account.
2. The method for storing and retrieving instant messaging and group data files according to claim 1, further comprising the steps of:
establishing an administrator account and a common user account according to the instant messaging and the identity information in the member information of the group;
and giving the file operation authority corresponding to the common user account through the administrator account.
3. The method of claim 1, wherein the document comprises video, album, event, announcement, shop product, business information and business information.
4. The system for storing and extracting the instant messaging and group data files is characterized by comprising an identity verification module, a total folder module, a block node module, a subfolder module, a file storage module, a permission giving module and a file extracting module, wherein:
the identity verification module is used for acquiring and carrying out identity verification according to the instant messaging and the member information of the group, establishing a corresponding member account after the verification is passed, and establishing a key pair for the corresponding member account;
the system comprises a total folder module, a group management module and a group management module, wherein the total folder module is used for creating a total folder for storing data files corresponding to instant messaging and groups based on member accounts, and encrypting the total folder by adopting a private key in a key pair corresponding to the member accounts;
the block node module is used for adding the total folder into the block chain and establishing a corresponding total folder block node;
a subfolder module for creating a plurality of subfolders for storing different categories of data files based on the total folder according to the preset categories of the data files;
the file storage module is used for acquiring and storing the instant messaging and group data files in real time into the corresponding subfolders and synchronously updating the data files into the corresponding total folder block nodes;
the permission giving module is used for obtaining and giving the folder operation permission corresponding to the corresponding member according to the permission data of the member account;
the file extraction module is used for acquiring the folder operation authority corresponding to the corresponding member and extracting the data file in the corresponding subfolder to the corresponding member according to the file extraction request;
the system also comprises a sub-file encrypting module which is used for encrypting the sub-file by adopting a private key in the key pair of the corresponding member account.
5. The system for instant messaging and group profile storage and retrieval of claim 4, further comprising an account classification module and a rights management module, wherein:
the account classification module is used for establishing an administrator account and a common user account according to the instant messaging and the identity information in the member information of the group;
and the authority management module is used for giving the file operation authority corresponding to the common user account through the administrator account.
6. The system of claim 4, wherein the document file comprises video, album, event, announcement, shop products, business information and business information.
7. An electronic device, comprising:
a memory for storing one or more programs;
a processor;
the method of any of claims 1-3 being implemented when the one or more programs are executed by the processor.
8. A computer readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the method according to any of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111166332.3A CN113923178B (en) | 2021-09-30 | 2021-09-30 | Method and system for storing and extracting instant messaging and group data files |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111166332.3A CN113923178B (en) | 2021-09-30 | 2021-09-30 | Method and system for storing and extracting instant messaging and group data files |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113923178A CN113923178A (en) | 2022-01-11 |
CN113923178B true CN113923178B (en) | 2024-02-27 |
Family
ID=79238016
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111166332.3A Active CN113923178B (en) | 2021-09-30 | 2021-09-30 | Method and system for storing and extracting instant messaging and group data files |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113923178B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114676093B (en) * | 2022-05-25 | 2022-09-02 | 天津联想协同科技有限公司 | File management method and device, electronic equipment and storage medium |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105099890A (en) * | 2015-07-27 | 2015-11-25 | 阿里巴巴集团控股有限公司 | File saving method of instant communication message and apparatus thereof |
CN105721175A (en) * | 2016-01-21 | 2016-06-29 | 阿里巴巴集团控股有限公司 | Group processing method, group file processing method, and group file processing device |
CN106850195A (en) * | 2016-04-18 | 2017-06-13 | 中国科学院信息工程研究所 | Group key agreement and communication means in a kind of instant messaging |
CN106850522A (en) * | 2016-05-24 | 2017-06-13 | 中国科学院信息工程研究所 | The implementation method of Group file encrypted transmission in a kind of instant messaging |
CN109684871A (en) * | 2018-12-20 | 2019-04-26 | 鸿秦(北京)科技有限公司 | File memory method and system based on block chain |
CN109934012A (en) * | 2019-03-20 | 2019-06-25 | 福建师范大学 | Medical records secure storage access method based on block chain network |
CN110113244A (en) * | 2018-02-09 | 2019-08-09 | 中企云链(北京)金融信息服务有限公司 | A kind of instant communicating system and method based on block chain technology |
CN110210795A (en) * | 2019-06-28 | 2019-09-06 | 中船黄埔文冲船舶有限公司 | A kind of production management method |
CN110321730A (en) * | 2019-03-28 | 2019-10-11 | 平安科技(深圳)有限公司 | A kind of method, block chain node and the storage medium of operation data processing |
CN111159778A (en) * | 2019-12-30 | 2020-05-15 | 山东爱城市网信息技术有限公司 | Method, device and medium for preventing online chat group fraud based on block chain |
CN111600875A (en) * | 2020-05-14 | 2020-08-28 | 江苏大学 | Anonymous data sharing method and system based on data source and data master hiding |
CN111988419A (en) * | 2020-08-28 | 2020-11-24 | 深圳壹账通智能科技有限公司 | File uploading method, file downloading method, file uploading device, file downloading device, computer equipment and storage medium |
KR20210041459A (en) * | 2019-10-07 | 2021-04-15 | 주식회사 블록체인기술연구소 | The encrypted data sharing system based on block chain and IPFS(InterPlanetary File System) |
CN112804133A (en) * | 2020-12-25 | 2021-05-14 | 江苏通付盾区块链科技有限公司 | Encrypted group chat method and system based on block chain technology |
CN112866090A (en) * | 2021-01-20 | 2021-05-28 | 临沂呆马区块链网络科技有限公司 | Instant communication system and method fusing block chain and point-to-point communication |
CN113379575A (en) * | 2021-05-21 | 2021-09-10 | 海南师范大学 | Student score information management method and system based on block chain |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180124155A1 (en) * | 2016-11-01 | 2018-05-03 | Microsoft Technology Licensing, Llc | Network-based group communication and file sharing system |
-
2021
- 2021-09-30 CN CN202111166332.3A patent/CN113923178B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105099890A (en) * | 2015-07-27 | 2015-11-25 | 阿里巴巴集团控股有限公司 | File saving method of instant communication message and apparatus thereof |
CN105721175A (en) * | 2016-01-21 | 2016-06-29 | 阿里巴巴集团控股有限公司 | Group processing method, group file processing method, and group file processing device |
CN106850195A (en) * | 2016-04-18 | 2017-06-13 | 中国科学院信息工程研究所 | Group key agreement and communication means in a kind of instant messaging |
CN106850522A (en) * | 2016-05-24 | 2017-06-13 | 中国科学院信息工程研究所 | The implementation method of Group file encrypted transmission in a kind of instant messaging |
CN110113244A (en) * | 2018-02-09 | 2019-08-09 | 中企云链(北京)金融信息服务有限公司 | A kind of instant communicating system and method based on block chain technology |
CN109684871A (en) * | 2018-12-20 | 2019-04-26 | 鸿秦(北京)科技有限公司 | File memory method and system based on block chain |
CN109934012A (en) * | 2019-03-20 | 2019-06-25 | 福建师范大学 | Medical records secure storage access method based on block chain network |
CN110321730A (en) * | 2019-03-28 | 2019-10-11 | 平安科技(深圳)有限公司 | A kind of method, block chain node and the storage medium of operation data processing |
CN110210795A (en) * | 2019-06-28 | 2019-09-06 | 中船黄埔文冲船舶有限公司 | A kind of production management method |
KR20210041459A (en) * | 2019-10-07 | 2021-04-15 | 주식회사 블록체인기술연구소 | The encrypted data sharing system based on block chain and IPFS(InterPlanetary File System) |
CN111159778A (en) * | 2019-12-30 | 2020-05-15 | 山东爱城市网信息技术有限公司 | Method, device and medium for preventing online chat group fraud based on block chain |
CN111600875A (en) * | 2020-05-14 | 2020-08-28 | 江苏大学 | Anonymous data sharing method and system based on data source and data master hiding |
CN111988419A (en) * | 2020-08-28 | 2020-11-24 | 深圳壹账通智能科技有限公司 | File uploading method, file downloading method, file uploading device, file downloading device, computer equipment and storage medium |
CN112804133A (en) * | 2020-12-25 | 2021-05-14 | 江苏通付盾区块链科技有限公司 | Encrypted group chat method and system based on block chain technology |
CN112866090A (en) * | 2021-01-20 | 2021-05-28 | 临沂呆马区块链网络科技有限公司 | Instant communication system and method fusing block chain and point-to-point communication |
CN113379575A (en) * | 2021-05-21 | 2021-09-10 | 海南师范大学 | Student score information management method and system based on block chain |
Non-Patent Citations (2)
Title |
---|
Secure Communications Using Blockchain Technology;Peter Menegay等;MILCOM 2018 - 2018 IEEE Military Communications Conference (MILCOM);20190103;全文 * |
区块链技术在企业即时通信***中的应用;葛泽烽等;《软件导刊》;20180615(第06期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113923178A (en) | 2022-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10102526B1 (en) | Method and system for blockchain-based combined identity, ownership, integrity and custody management | |
CN105518679B (en) | Picture management method and picture synchronization method | |
US20180115587A1 (en) | Security policies with probabilistic actions | |
US11256825B2 (en) | Systems and methods for securing data in electronic communications | |
US8204949B1 (en) | Email enabled project management applications | |
KR20120029424A (en) | Secure and private backup storage and processing for trusted computing and data services | |
CN105099890A (en) | File saving method of instant communication message and apparatus thereof | |
CN113360953B (en) | IPFS and blockchain-based file distributed storage management method and system | |
CN111563098A (en) | Structured and unstructured data query method, device, storage medium and device | |
US20040015699A1 (en) | Identification and contact information | |
CN111130806A (en) | E-mail filing and evidence saving method and device based on block chain technology | |
CN113923178B (en) | Method and system for storing and extracting instant messaging and group data files | |
CN112562812A (en) | Medical record management method and device based on block chain technology | |
EP3557470B1 (en) | System and method for secure data handling | |
CN109934008B (en) | Multi-task document management system based on permission level | |
CN115168494A (en) | Distributed data storage method and system based on block chain technology | |
US20230214398A1 (en) | Data Privacy Management & Compliance Using Distributed Ledger Technology | |
CN116009791A (en) | Data classified storage management method, device, equipment and medium | |
US11423169B1 (en) | System, method and apparatus for securely storing data on public networks | |
CN114819733A (en) | Government affair service online information sharing platform | |
CN113779610A (en) | Computer big data storage method and device | |
EP3545453A1 (en) | Method for generating an access for an entity to identification data of a person, associated generation device and authentication method | |
US20200076951A1 (en) | Communication logging system | |
Ramadhan et al. | Forensic WhatsApp based Android using National Institute of Standard Technology (NIST) Method | |
Cayirci et al. | Blocknetwork for Big Information Fusion and NoSQL Knowledgebase Management |
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 |