CN111404803B - Data isolation method and device, electronic equipment and storage medium - Google Patents
Data isolation method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN111404803B CN111404803B CN202010149091.0A CN202010149091A CN111404803B CN 111404803 B CN111404803 B CN 111404803B CN 202010149091 A CN202010149091 A CN 202010149091A CN 111404803 B CN111404803 B CN 111404803B
- Authority
- CN
- China
- Prior art keywords
- user
- enterprise
- identity
- chat
- identifier
- 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
Images
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 OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/14—Details of searching files based on file metadata
- G06F16/148—File search processing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Library & Information Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application provides a data isolation method, a data isolation device, an electronic device and a storage medium, wherein the method comprises the following steps: receiving an association request representing that a user and an enterprise need to be associated in a chat system; the association request comprises a user identifier of the user in the chat system and an enterprise identifier of the enterprise in the chat system; responding to the association request, associating the user identification with the enterprise identification, and generating an identity identification for representing the identity of the user in the enterprise; the identity identification, the user identification and the enterprise identification correspond to each other; when the user needs to chat in the chat system by using the identity, determining a conversation box based on the identity so that the user can input chat data in the conversation box; the conversation frames corresponding to different identity identifications are different, so that the online chatting data of the staff successively acting on at least two enterprises can be isolated.
Description
Technical Field
The present application relates to the field of information processing technologies, and in particular, to a data isolation method and apparatus, an electronic device, and a storage medium.
Background
Under the background of the era that the demand for network information security is more and more vigorous, the privacy of online chat data becomes higher and higher, and the leakage risk needs to be avoided as much as possible. However, the existing chat software, such as nailing, cannot achieve the isolation of online chat data of employees of at least two enterprises, i.e. cannot achieve the data isolation of the chat data of the employee chatting online with the identity of the employee a and the chat data of the employee chatting online with the identity of the employee B, which in turn causes the online chat data of the user to generate noise to the offline work content, so that the risk of the user leaking the work data of the enterprise is high.
Disclosure of Invention
In view of this, an object of the embodiments of the present application is to provide a data isolation method, device, electronic device and storage medium, so as to implement isolation of online chat data of employees who successively function in at least two enterprises.
In a first aspect, an embodiment of the present application provides a data isolation method, where the method includes: receiving an association request representing that a user and an enterprise need to be associated in a chat system; the association request comprises a user identifier of the user in the chat system and an enterprise identifier of the enterprise in the chat system; responding to the association request, associating the user identification with the enterprise identification, and generating an identity identification for representing the identity of the user in the enterprise; the identity identification, the user identification and the enterprise identification correspond to each other; when the user needs to chat in the chat system by using the identity, determining a conversation box based on the identity so that the user can input chat data in the conversation box; wherein, the corresponding conversation frames of different ID are different.
In the implementation process, a user identifier of a user in the chat system is associated with an enterprise identifier of the enterprise in the chat system, and an identity identifier for representing the identity of the user in the enterprise is generated; the identity identification, the user identification and the enterprise identification correspond to each other, when the user needs to chat in the chat system by using the identity identification, a session box is determined based on the identity identification, so that the user can input chat data in the session box, wherein different identity identifications correspond to different session boxes, so that the user can display the chat data generated when the user chats with the same user or different users by using different identity identifications in different session boxes, and then data isolation is realized.
In a possible design based on the first aspect, the method further includes: and establishing a corresponding relation between the chat data of the user in the chat system by using the identity and the identity, so as to inquire the chat data corresponding to the identity from the corresponding relation when receiving an inquiry request for representing the chat data corresponding to the identity needing to be inquired.
In the implementation process, by the mode, the chat data corresponding to the identity can be conveniently and quickly searched based on the identity.
In a possible design based on the first aspect, the method further includes: receiving a release request representing that the user and the enterprise are released from the association relationship in the chat system; the release request comprises the user identification and the enterprise identification; and responding to the release request, and releasing the association relationship between the enterprise identification and the user identification.
In the implementation process, the problem that data leakage is caused by the fact that a user still accesses chat data by using the identity used by the user during the period of the enterprise duties after the user leaves the enterprise can be prevented through the mode.
In a possible design based on the first aspect, before receiving the request for representing a need to associate the user with the enterprise in the chat system, the method further includes: receiving first registration information, wherein the first registration information comprises a user identifier of the user in the chat system; and receiving second registration information, wherein the second registration information comprises the enterprise identification of the enterprise in the chat system.
In the implementation process, under the condition that the user and the enterprise are not registered in the chat system, the user and the enterprise can be accurately associated in the chat system in the above mode.
In a second aspect, an embodiment of the present application provides a data isolation apparatus, where the apparatus includes: an association request receiving unit, configured to receive an association request indicating that a user needs to be associated with an enterprise in a chat system, where the association request includes a user identifier of the user in the chat system and an enterprise identifier of the enterprise in the chat system; a response unit, configured to respond to the association request, associate the user identifier with the enterprise identifier, and generate an identity identifier for representing an identity of the user in the enterprise, where the identity identifier, the user identifier, and the enterprise identifier correspond to each other; and the determining unit is used for determining a conversation frame based on the identity when the user needs to chat in the chat system by using the identity, so that the user can input chat data in the conversation frame, and the conversation frames corresponding to different identities are different.
Based on the second aspect, in a possible design, the apparatus further includes a relationship establishing unit, configured to establish a corresponding relationship between the chat data of the user in the chat system based on the identity and the identity, so as to query the chat data corresponding to the identity from the corresponding relationship when receiving a query request representing that the chat data corresponding to the identity needs to be queried.
Based on the second aspect, in one possible design, the apparatus further includes: a release request receiving unit, configured to receive a release request for indicating that an association relationship between the user and the enterprise in the chat system is released, where the release request includes the user identifier and the enterprise identifier; and the release request response unit is used for responding to the release request and releasing the association relationship between the enterprise identifier and the user identifier.
Based on the second aspect, in one possible design, the apparatus further includes: the device further comprises: a first receiving unit, configured to receive first registration information, where the first registration information includes a user identifier of the user in the chat system; a second receiving unit, configured to receive second registration information, where the second registration information includes an enterprise identifier of the enterprise in the chat system.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory connected to the processor, where a computer program is stored in the memory, and when the computer program is executed by the processor, the electronic device is caused to perform the method of the first aspect.
In a fourth aspect, an embodiment of the present application provides a storage medium, where a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the method of the first aspect.
Additional features and advantages of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required 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 application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic diagram of a chat according to the prior art provided in an embodiment of the present application.
Fig. 2 is a schematic flow chart of a data isolation method according to an embodiment of the present application.
Fig. 3 is a schematic chat diagram of a data isolation method according to an example of the present application.
Fig. 4 is a schematic structural diagram of a data isolation device according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solution in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
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. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
For the convenience of understanding, the present application first elaborates on the technical problems of the prior art.
Referring to fig. 1, for example: a represents an online user; b represents an online user; a represents an online enterprise; b represents an online enterprise; c represents an online enterprise; a represents the identity of the A user of the business on the A line; b A represents the identity of the user A of the enterprise on the B line; third B represents the identity of the B user of a business on the third line; c1 denotes an online session; the A is the C and the C are the same; the second A and third B indicate that the second A identity and third B identity have a relationship.
In existing chat software, such as nailing, if the online user [ A ] takes a role in the enterprise on the [ A ] and the [ B ] sequentially; the online user [ B ] plays a role in the [ C ] online enterprise;
during the period of online business work of the online user [ A ], if the online business user [ B ] communicates with the online user [ A ], the conversation is displayed on the chat interface of the online user [ C1(A: B) ];
when the online user [ A ] works on the online enterprise [ B ], if the online user [ A ] communicates with the online enterprise user [ B ], the conversation [ C1(A: B) ] is still displayed on the chat interface of the online user [ A ];
thus, online user [ A ] can see session [ C1(A: B) ] both during the period of [ A ] online business activity and during the period of [ B ] online business activity, i.e., sharing an online chat stream. Thus, the scenario is specifically problematic as follows:
when the online user [ A ] works in the online business [ A ], the related working chat data of the enterprise [ B ] can be seen through the conversation [ C1(A: B) ] to generate interference to the offline working content.
When the on-line user [ A ] is working on the on-line user [ B ], the related working chatting data of the enterprise [ A ] can be seen through the conversation [ C1(A: B) ] to generate interference to the working content under the line.
When the on-line user [ A ] works in the on-line enterprise [ A ], the data of the enterprise [ B ] is easily sent to the on-line chat information flow by mistake, and the data can be audited by the administrator of the on-line enterprise [ A ].
When the on-line user A works on the on-line enterprise B, the data of the enterprise A is easily sent to the on-line chat information flow by mistake and is audited by the administrator of the on-line enterprise B.
Therefore, in order to solve the above problem, please refer to fig. 2, fig. 2 is a flowchart of a data isolation method provided by an embodiment of the present application, and the flowchart shown in fig. 2 will be described in detail below, where the method includes the steps of: s11, S12, and S13.
S11: receiving an association request representing that a user and an enterprise need to be associated in a chat system; the association request comprises the user identification of the user in the chat system and the enterprise identification of the enterprise in the chat system.
S12: responding to the association request, associating the user identification with the enterprise identification, and generating an identity identification for representing the identity of the user in the enterprise; the identity identification, the user identification and the enterprise identification correspond to each other;
s13: when the user needs to chat in the chat system by using the identity, determining a conversation box based on the identity so that the user can input chat data in the conversation box; the session frames corresponding to different identities are different.
The above-described method is described in detail below.
Prior to S11, the method further comprises: receiving first registration information; the first registration information comprises a user identification of the user in the chat system; receiving second registration information; the second registration information includes a business identification of the business in the chat system.
The enterprise can be an online enterprise or an offline enterprise.
The first registration information also comprises information such as a login password and a nickname of the chat system; the second registration information also comprises information such as login password of the chat system, enterprise name and the like.
Wherein the user identification and the enterprise identification are both unique in the chat system.
The user identification can be a unique identification such as a mobile phone number and an identity card number.
Receiving first registration information input by the user or other users except the user in a user account registration input box in a chat system under the condition that the registration information of the user and the enterprise does not exist in the chat system, wherein the first registration information comprises the user identification, after the registration is successful, the user can log in the chat system by using the user identification, and similarly, receiving second registration information input by the enterprise legal person or other users except the enterprise legal person in an enterprise account registration box in the chat system, and the second registration information comprises: and after the enterprise identifier is successfully registered, the enterprise identifier can be used for logging in the chat system.
S11: receiving an association request representing that a user and an enterprise need to be associated in a chat system; wherein, the association request includes: the user identification of the user in the chat system and the enterprise identification of the enterprise in the chat system.
When the user needs to enter the enterprise, the representative of the enterprise logs in the chat system through the enterprise identifier, after the login is successful, the user identifier is input in an association request input box in the chat system, or the user identifier and the enterprise identifier are input, after the input is completed, an option representing the input completion is selected, and the association request comprising the user identifier and the enterprise identifier is generated based on the user identifier and the enterprise identifier so as to send the association request to a server.
After receiving the association request, step S12 is performed.
S12: responding to the association request, associating the user identification with the enterprise identification, and generating an identity identification for representing the identity of the user in the enterprise; the identity mark, the user mark and the enterprise mark correspond to each other.
Responding to the association request, extracting the user identifier and the enterprise identifier from the association request, associating the user identifier with the enterprise identifier to obtain an association relationship between the enterprise identifier and the user identifier, and identifying the association relationship by generating an identity identifier for representing the identity of the user in the enterprise.
For example, the user identifier of the user a is 11, the enterprise identifier of the enterprise a is aa, and the enterprise identifier of the enterprise b is bb; the identity which represents the identity of the user A in the first enterprise is 1a, wherein the 1a identifies the incidence relation between 11 and aa; the identity representing the identity of the user a in business b is 1b, wherein 1b identifies the association relationship between 11 and bb.
After the identity is generated, step S13 is performed.
S13: when the user needs to chat in the chat system by using the identity, determining a conversation box based on the identity so that the user can input chat data in the conversation box; wherein, the corresponding conversation frames of different ID are different.
If the user plays roles in at least two enterprises successively, when the user needs to chat in the chat system by using the identity, the user selects the enterprise corresponding to the enterprise identity corresponding to the identity in the chat system, and after the user selects a chat object in the chat system, a session frame is generated based on the identity, and the session frame is displayed on an interface of the user, so that the user can input chat data in the session frame.
As an embodiment, a dialog box is generated based on the identity and the identity of the chat object.
As an implementation manner, in a case where a conversation box has been generated in advance based on the identity and the identity of the chat object, and the conversation box is associated with the identity and the identity of the chat object, the conversation box corresponding to the identity and the chat object may be found based on the identity and the identity of the chat object, and the conversation box may be displayed on the user interface.
As an embodiment, the method further comprises: and establishing a corresponding relation between the chat data of the user in the chat system by using the identity and the identity, so as to inquire the chat data corresponding to the identity from the corresponding relation when receiving an inquiry request for representing the chat data corresponding to the identity needing to be inquired.
After the user chats in the chat system by using the identity, chat data is produced, the corresponding relation between the identity and the chat data is stored, the chat data is stored in a file form, the file name of the file is named by using the identity, then when a query request for representing that the chat data corresponding to the identity needs to be queried is received, the file with the file name of the identity is queried according to the identity, and then the chat data is quickly extracted from the file with the file name of the identity.
As an implementation manner, the chat data is stored in a file form, a corresponding relation between a file storage position and an identity is established, then when an inquiry request for representing the chat data corresponding to the identity which needs to be inquired is received, the file storage position corresponding to the identity is found out according to the identity and the corresponding relation between the file storage position and the identity, and then the corresponding chat data is quickly extracted from the file storage position.
It is worth mentioning that even after the user identifier of the user and the enterprise identifier do not have an association relationship, the chat data corresponding to the identity identifier can be searched through the identity identifier.
In other embodiments, the corresponding relationship between the identity and the chat data may also be stored in other manners, such as a database.
In order to prevent a user from being compromised or the like after leaving the job, by using an identity used by the user during the job of the enterprise, the method further comprises, as an embodiment: receiving a release request representing that the user and the enterprise are released from the association relationship in the chat system; wherein the release request includes: the user identification and the enterprise identification; and responding to the release request, and releasing the association relationship between the enterprise identification and the user identification.
When the association relationship between the user and the enterprise in the chat system needs to be released, after the user logs in the chat system through the user identification, entering the enterprise identity in a disassociation request entry box in the chat system, or entering the enterprise identity and the user identity in a disassociation request entry box in the chat system, generating and sending the release request to a server based on the enterprise identifier and the user identifier, receiving and responding the release request by the server, extracting the enterprise identifier and the user identifier from the release request, and then releasing the association relationship between the enterprise identifier and the user identifier, it can be understood that after the association relationship between the enterprise identifier and the user identifier is released, the user cannot chat in the chat system by using the identity identifier.
In another embodiment, after the representative of the enterprise logs in the chat system through the enterprise identifier, the user identifier is input in an disassociation request input box in the chat system; or inputting the enterprise identification in a disassociation request input box in the chat system. And the user identification.
The following exemplifies the data isolation method provided in the present application, so as to facilitate understanding of the whole technical solution.
Referring to fig. 3, for example: a represents an online user; b represents an online user; a represents an online enterprise; b represents an online enterprise; c represents an online enterprise; a represents the identity of the A user of the business on the A line; b A represents the identity of the user A of the enterprise on the B line; third B represents the identity of the B user of a business on the third line; c1 denotes an online session; c2 denotes an online session; the A is the C and the C are the same; the second A and third B indicate that the second A identity and third B identity have a relationship.
If the online user [ A ] successively takes the duties of the online enterprises [ A ] and [ B ]; the online user [ B ] is assigned to the online enterprise [ C ];
the identity of the online user [ A ] when the online enterprise [ A ] works is [ A ], if the A and the [ C B ] are communicated, the communication is recorded as a conversation [ C1(A: C) ];
the identity of the online user [ A ] when the online enterprise [ B ] works is [ B ] A, if [ B ] A and [ C ] B communicate, the communication is recorded as a session [ C2 (B: C) ];
when the online user [ A ] is at the online enterprise [ B ], the online user [ A ] can see the conversation [ C2 (B A: C B) ], and can not see the conversation [ C1(A: C B) ], namely, the related working chatting data of the enterprise [ A ] can not be seen, interference to the offline working content is avoided, and the data of the enterprise [ A ] is not easily sent to the chatting information stream by mistake.
Referring to fig. 4, fig. 4 is a block diagram of a data isolation device 400 according to an embodiment of the present disclosure. The block diagram of fig. 4 will be explained, and the apparatus shown comprises:
an association request receiving unit 410, configured to receive an association request indicating that a user and an enterprise need to be associated in a chat system; and the association request comprises the user identification of the user in the chat system and the enterprise identification of the enterprise in the chat system.
A response unit 420, configured to respond to the association request, associate the user identifier with the enterprise identifier, and generate an identity identifier for characterizing an identity of the user in the enterprise; the identity identification, the user identification and the enterprise identification correspond to each other.
A determining unit 430, configured to determine a dialog box based on the identity when the user needs to chat in the chat system with the identity, so that the user inputs chat data in the dialog box; the session frames corresponding to different identities are different.
As an embodiment, the apparatus further comprises: and the relation establishing unit is used for establishing the corresponding relation between the chat data of the user in the chat system by using the identity and the identity, so that the chat data corresponding to the identity is inquired from the corresponding relation when an inquiry request for representing the chat data corresponding to the identity needing to be inquired is received.
As an embodiment, the apparatus further comprises: a release request receiving unit, configured to receive a release request for characterizing release of an association relationship between the user and the enterprise in the chat system; the release request comprises the user identification and the enterprise identification; and the release request response unit is used for responding to the release request and releasing the association relationship between the enterprise identifier and the user identifier.
As an embodiment, the apparatus further comprises: the device further comprises: a first receiving unit configured to receive first registration information; the first registration information comprises a user identification of the user in the chat system; a second receiving unit configured to receive second registration information; the second registration information includes a business identification of the business in the chat system.
For the process of implementing each function by each functional unit in this embodiment, please refer to the content described in the embodiments shown in fig. 1 to 3, which is not described herein again.
Referring to fig. 5, a fifth embodiment of the present application provides a schematic structural diagram of an electronic device 100, where the electronic device 100 may be a Personal Computer (PC), a tablet PC, a smart phone, a Personal Digital Assistant (PDA), or the like.
The electronic device 100 may include: memory 102, process 101, communication interface 103, and a communication bus for enabling the connection communications of these components.
The Memory 102 is used for storing various data such as a computer program instruction corresponding to the data isolation method and apparatus provided in the embodiment of the present application, where the Memory 102 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 processor 101 is configured to read and execute computer program instructions corresponding to the data isolation method and apparatus stored in the memory, so as to implement isolation of online chat data of employees doubling as at least two enterprises.
The processor 101 may be an integrated circuit chip having signal processing capability. The Processor 101 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
A communication interface 103 for receiving or transmitting data.
In addition, a storage medium is provided in an embodiment of the present application, and a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer is caused to execute the method provided in any embodiment of the present application.
To sum up, the data isolation method, the data isolation device, the electronic device, and the storage medium provided in the embodiments of the present application associate the user identifier of the user in the chat system with the enterprise identifier of the enterprise in the chat system, and generate an identity identifier for representing the identity of the user in the enterprise; the identity identification, the user identification and the enterprise identification correspond to each other, when the user needs to chat in the chat system by using the identity identification, a session box is determined based on the identity identification, so that the user can input chat data in the session box, wherein different identity identifications correspond to different session boxes, so that the user can display the chat data generated when the user chats with the same user or different users by using different identity identifications in different session boxes, and then data isolation is realized.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative and, for example, the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, 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 devices that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
Claims (10)
1. A method of data isolation, the method comprising:
receiving an association request representing that a user and an enterprise need to be associated in a chat system; the association request comprises a user identifier of the user in the chat system and an enterprise identifier of the enterprise in the chat system;
responding to the association request, associating the user identification with the enterprise identification, and generating an identity identification for representing the identity of the user in the enterprise; the identity identification, the user identification and the enterprise identification correspond to each other;
when the user needs to chat in the chat system by using the identity, determining a conversation box based on the identity so that the user can input chat data in the conversation box; the session frames corresponding to different identities are different.
2. The method of claim 1, further comprising:
and establishing a corresponding relation between the chat data of the user in the chat system by using the identity and the identity, so as to inquire the chat data corresponding to the identity from the corresponding relation when receiving an inquiry request for representing the chat data corresponding to the identity needing to be inquired.
3. The method of claim 1, further comprising:
receiving a release request representing that the user and the enterprise are released from the association relationship in the chat system; wherein the release request includes: the user identification and the enterprise identification;
and responding to the release request, and releasing the association relationship between the enterprise identification and the user identification.
4. The method of claim 1, wherein prior to receiving the request characterizing a need to associate the user with the business in the chat system, the method further comprises:
receiving first registration information, wherein the first registration information comprises a user identifier of the user in the chat system;
and receiving second registration information, wherein the second registration information comprises the enterprise identification of the enterprise in the chat system.
5. A data isolation apparatus, the apparatus comprising:
an association request receiving unit, configured to receive an association request indicating that a user needs to be associated with an enterprise in a chat system, where the association request includes a user identifier of the user in the chat system and an enterprise identifier of the enterprise in the chat system;
a response unit, configured to respond to the association request, associate the user identifier with the enterprise identifier, and generate an identity identifier for representing an identity of the user in the enterprise, where the identity identifier, the user identifier, and the enterprise identifier correspond to each other;
and the determining unit is used for determining a conversation frame based on the identity when the user needs to chat in the chat system by using the identity, so that the user can input chat data in the conversation frame, and the conversation frames corresponding to different identities are different.
6. The apparatus of claim 5, further comprising:
and the relation establishing unit is used for establishing the corresponding relation between the chat data of the user in the chat system by using the identity and the identity, so that the chat data corresponding to the identity is inquired from the corresponding relation when an inquiry request for representing the chat data corresponding to the identity needing to be inquired is received.
7. The apparatus of claim 5, further comprising:
a release request receiving unit, configured to receive a release request for indicating that an association relationship between the user and the enterprise in the chat system is released, where the release request includes the user identifier and the enterprise identifier;
and the release request response unit is used for responding to the release request and releasing the association relationship between the enterprise identifier and the user identifier.
8. The apparatus of claim 5, further comprising:
a first receiving unit, configured to receive first registration information, where the first registration information includes a user identifier of the user in the chat system;
a second receiving unit, configured to receive second registration information, where the second registration information includes an enterprise identifier of the enterprise in the chat system.
9. An electronic device comprising a memory and a processor, the memory having stored therein computer program instructions that, when read and executed by the processor, perform the method of any of claims 1-4.
10. A storage medium having stored thereon computer program instructions which, when read and executed by a computer, perform the method of any one of claims 1-4.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010149091.0A CN111404803B (en) | 2020-03-05 | 2020-03-05 | Data isolation method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010149091.0A CN111404803B (en) | 2020-03-05 | 2020-03-05 | Data isolation method and device, electronic equipment and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111404803A CN111404803A (en) | 2020-07-10 |
| CN111404803B true CN111404803B (en) | 2022-06-14 |
Family
ID=71430554
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010149091.0A Active CN111404803B (en) | 2020-03-05 | 2020-03-05 | Data isolation method and device, electronic equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111404803B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB2415529A (en) * | 2004-06-24 | 2005-12-28 | Sun Microsystems Inc | Identity based user interface |
| CN109088812A (en) * | 2018-07-17 | 2018-12-25 | 腾讯科技(深圳)有限公司 | Information processing method, device, computer equipment and storage medium |
| US10511493B1 (en) * | 2017-07-27 | 2019-12-17 | Anonyome Labs, Inc. | Apparatus and method for managing digital identities |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150006651A1 (en) * | 2013-06-28 | 2015-01-01 | Avaya Inc. | System and method for management of im conversation history |
| US20150326513A1 (en) * | 2014-05-07 | 2015-11-12 | Mitake Information Corporation | Message transmission system and method suitable for individual and organization |
| US9756008B2 (en) * | 2014-09-22 | 2017-09-05 | International Business Machines Corporation | Bridging relationships across enterprise and personal social networks |
| US10454695B2 (en) * | 2017-04-17 | 2019-10-22 | Fuze, Inc. | Topical group communication and multimedia file sharing across multiple platforms |
| CN108764744A (en) * | 2018-06-05 | 2018-11-06 | 青岛檬豆网络科技有限公司 | A kind of the novel user Accreditation System and method of suitable B2B platform |
-
2020
- 2020-03-05 CN CN202010149091.0A patent/CN111404803B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB2415529A (en) * | 2004-06-24 | 2005-12-28 | Sun Microsystems Inc | Identity based user interface |
| US10511493B1 (en) * | 2017-07-27 | 2019-12-17 | Anonyome Labs, Inc. | Apparatus and method for managing digital identities |
| CN109088812A (en) * | 2018-07-17 | 2018-12-25 | 腾讯科技(深圳)有限公司 | Information processing method, device, computer equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111404803A (en) | 2020-07-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112152871B (en) | Artificial intelligence test method, device and system for network security equipment | |
| CN102333067A (en) | Omnibearing diversified financial information service system and transaction and information inquiry method | |
| CN112905261B (en) | Application program interface API (application program interface) control method and device and electronic equipment | |
| KR20210047350A (en) | Attendance management system, method and electronic device | |
| CN104917670A (en) | Instant messaging system and instant messaging method supporting user identity association of multiple applications | |
| CN101414912A (en) | Identification verification method, apparatus and system | |
| CN107196893A (en) | Login method, login service device and login client | |
| CN115529142B (en) | Login management method, device, equipment and medium | |
| CN107133516A (en) | A kind of authority control method and system | |
| US10877960B2 (en) | Normalizing user identification across disparate systems | |
| US12282533B2 (en) | System and method for detecting agent sharing credentials | |
| WO2020215687A1 (en) | Method and apparatus for monitoring data transmission, and computer device and storage medium | |
| CN105577832A (en) | Method and device for establishing network communication | |
| CN113190724B (en) | User bank information query method, mobile terminal and server | |
| CN107483477B (en) | Account management method and account management system | |
| CN113656123A (en) | Information evaluation method, device and system for equal protection evaluation | |
| CN111404803B (en) | Data isolation method and device, electronic equipment and storage medium | |
| CN109040331B (en) | Electronic business card processing method and device, computing equipment and storage medium | |
| CN111078424A (en) | Information interaction method and device, computer equipment and storage medium | |
| CN114024730A (en) | Enterprise portal management system | |
| CN108418809A (en) | Chat data processing method, device, computer equipment and storage medium | |
| CN109636578A (en) | Risk checking method, device, equipment and the readable storage medium storing program for executing of credit information | |
| KR102017541B1 (en) | Method for processing request of user by using chatbot | |
| CN109214765B (en) | Visitor intelligent management method, device, system and computer readable storage medium | |
| CN106033509A (en) | Method and system for computer room inspection |
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 |