Information processing method, device, terminal and storage medium
1. An information processing method characterized by comprising:
according to a read information request of a client, determining a user identity corresponding to the client, first data information requested to be read and a read authority corresponding to the user identity;
generating adjusted first data information based on the user identity, the first data information and the reading authority;
sending the adjusted first data information to the client;
the first data information allows online collaboration, and includes row data information and column data information, and the column data information allows adjustment based on the read permission.
2. The information processing method according to claim 1, wherein generating the adjusted first data information based on the user identity, the first data information, and the read right comprises:
determining a readable data range based on the user identity, the first data information and the reading authority;
the first data information is copied, and the copied first data information is adjusted based on the readable data range, resulting in the adjusted first data information.
3. The information processing method according to claim 1, further comprising:
determining the user identity, second data information requesting editing and editing authority corresponding to the user identity according to editing data input by the client;
determining an editable data range based on the user identity, the second data information and the editing right;
when the edit data is in the editable data range, adjusting the second data information based on the edit data to generate first adjusted second data information;
when the edit data is not within the editable data range, discarding the edit data without adjusting the second data information.
4. The information processing method according to claim 3, wherein when the edit data is not within the editable data range, a prompt is issued to the client and/or an abnormal value is returned.
5. The information processing method according to claim 3, further comprising:
after the first adjusted second data information is generated, acquiring a cooperative user of the second data information;
generating second adjusted second data information based on the user identity of each respective cooperative user, the first adjusted second data information, and the read permission of the respective cooperative user;
and sending the second adjusted second data information to the client corresponding to the corresponding cooperative user.
6. The information processing method of claim 5, wherein generating the second adjusted second data information based on the user identity of each respective collaborative user, the first adjusted second data information, and the read permissions of the respective collaborative user comprises:
determining a readable data range based on the user identity of each respective cooperative user, the first adjusted second data information, and the read permission of the respective cooperative user;
for each respective collaborating user, copying the first adjusted second data information, and adjusting the copied first adjusted second data information based on the readable data range to generate the second adjusted second data information.
7. The information processing method according to claim 1, further comprising:
receiving an authority rule update aiming at the first data information, and generating an updated authority rule;
and acquiring the cooperative users of the first data information with the adjusted authority based on the updated authority rule, and pushing the updated authority rule to each cooperative user.
8. An information processing apparatus characterized by comprising:
the determining module is configured to determine a user identity corresponding to a client, first data information requested to be read and a reading authority corresponding to the user identity according to a reading information request of the client;
a data adjustment module configured to generate adjusted first data information based on the user identity, the first data information and the read permission;
a data sending module configured to send the adjusted first data information to the client;
the first data information allows online collaboration, and includes row data information and column data information, and the column data information allows adjustment based on the read permission.
9. An information processing method characterized by comprising:
the method comprises the steps that a client receives authority rule update aiming at first data information pushed by a system, wherein the client allows access to first adjusted first data information, and the first adjusted first data information is determined based on a user identity corresponding to the client, the first data information and an authority rule;
determining second adjusted first data information based on the user identity, the first data information, and updated permission rules;
and adjusting the first adjusted first data information into the second adjusted first data information.
10. The information processing method according to claim 9, wherein adjusting the first adjusted first data information to the second adjusted first data information comprises:
and deleting the data content which does not have the reading authority any more in the first adjusted first data information based on the updated authority rule.
11. The information processing method according to claim 9, wherein adjusting the first adjusted first data information to the second adjusted first data information comprises:
and acquiring the data content of the newly added reading authority from the system based on the updated authority rule.
12. An information processing apparatus characterized by comprising:
the permission rule update receiving module is configured to allow a client to receive permission rule updates for first data information pushed by a system, wherein access to first adjusted first data information is allowed at the client, and the first adjusted first data information is determined based on a user identity corresponding to the client, the first data information and a permission rule;
an adjustment information determination module configured to determine second adjusted first data information based on the user identity, the first data information, and the updated permission rules;
a data adjustment module configured to adjust the first adjusted first data information to the second adjusted first data information.
13. A terminal, comprising:
at least one memory and at least one processor;
wherein the at least one memory is configured to store program code, and the at least one processor is configured to call the program code stored in the at least one memory to perform the information processing method of any one of claims 1 to 7 or the information processing method of any one of claims 9 to 11.
14. A storage medium for storing a program code for executing the information processing method of any one of claims 1 to 7 or the information processing method of any one of claims 9 to 11.
Background
The collaboration of the current data information (such as an online form) is a trend, which facilitates the sharing of the data information and improves the processing efficiency of the data information. However, there is still room for improvement in the efficiency of collaboration and the security of data information.
Disclosure of Invention
In order to solve the existing problems, the present disclosure provides an information processing method and apparatus, a terminal, and a storage medium.
The present disclosure adopts the following technical solutions.
In some embodiments, an embodiment of the present disclosure provides an information processing method, including: according to a read information request of a client, determining a user identity corresponding to the client, first data information requested to be read and a read authority corresponding to the user identity; generating adjusted first data information based on the user identity, the first data information and the reading authority; sending the adjusted first data information to the client; the first data information allows online collaboration, and includes row data information and column data information, and the column data information allows adjustment based on the read permission.
In some embodiments, another embodiment of the present disclosure provides an information processing apparatus including: the determining module is configured to determine a user identity corresponding to a client, first data information requested to be read and a reading authority corresponding to the user identity according to a reading information request of the client; a data adjustment module configured to generate adjusted first data information based on the user identity, the first data information and the read permission; a data sending module configured to send the adjusted first data information to the client; the first data information allows online collaboration, and includes row data information and column data information, and the column data information allows adjustment based on the read permission.
In some embodiments, another embodiment of the present disclosure provides an information processing method, including: the method comprises the steps that a client receives authority rule update aiming at first data information pushed by a system, wherein the client allows access to first adjusted first data information, and the first adjusted first data information is determined based on a user identity corresponding to the client, the first data information and an authority rule; determining second adjusted first data information based on the user identity, the first data information, and updated permission rules; and adjusting the first adjusted first data information into the second adjusted first data information.
In some embodiments, another embodiment of the present disclosure provides an information processing apparatus including: the permission rule update receiving module is configured to allow a client to receive permission rule updates for first data information pushed by a system, wherein access to first adjusted first data information is allowed at the client, and the first adjusted first data information is determined based on a user identity corresponding to the client, the first data information and a permission rule; an adjustment information determination module configured to determine second adjusted first data information based on the user identity, the first data information, and the updated permission rules; a data adjustment module configured to adjust the first adjusted first data information to the second adjusted first data information.
In some embodiments, the present disclosure provides a terminal comprising: at least one memory and at least one processor; the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the information processing method.
In some embodiments, the present disclosure provides a storage medium for storing program code for executing the above-described information processing method.
The embodiment of the disclosure adjusts the data information based on the user identity, the first data information and the reading authority, and sends the adjusted data information to the corresponding user, thereby improving the security of the data information. In addition, the column data information of the present disclosure allows adjustment based on the reading authority, and the security of the data information is better improved compared with a scheme that only the authority can be set for the row data information.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
Fig. 1 is a flowchart of an information processing method of an embodiment of the present disclosure.
Fig. 2 shows a schematic diagram of a data information reading process of some embodiments of the present disclosure.
Fig. 3 illustrates a flow diagram of an information processing method according to some embodiments of the present disclosure.
Fig. 4 illustrates a flow diagram of an information processing method according to some embodiments of the present disclosure.
FIG. 5 illustrates a flow diagram of data information collaboration processing, according to some embodiments of the present disclosure.
FIG. 6 illustrates a schematic diagram of the collaboration of entitlement rule updates, according to some embodiments of the present disclosure.
Fig. 7 is a schematic diagram of part of modules of an information processing apparatus of an embodiment of the present disclosure.
Fig. 8 is a flowchart of an information processing method of another embodiment of the present disclosure.
Fig. 9 is a schematic diagram of part of modules of an information processing apparatus of another embodiment of the present disclosure.
Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that various steps recited in method embodiments of the present disclosure may be performed in parallel and/or in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a" or "an" in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that reference to "one or more" unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Fig. 1 provides a flow chart of an information processing method of an embodiment of the present disclosure. The information processing method comprises the step S101 of determining a user identity corresponding to a client, first data information requested to be read and a reading authority corresponding to the user identity according to a reading information request of the client. In some embodiments, the first data information allows online collaboration, that is, allows multiple users to synchronize the data information, and when the data information is edited by a user, the user having authority to view the edited information can also see the corresponding edited information. In some embodiments, the data information of the present disclosure may be an online form. In some embodiments, when a request for reading information from a client is received, the identity of a user requesting to read information, corresponding first data information requested to be read, and the authority of the user may be determined to determine which information the user can read and which information the user cannot read.
The information processing method of the present disclosure further includes step S102 of generating adjusted first data information based on the user identity, the first data information, and the reading right. In some embodiments, when it is determined that the user does not have the corresponding reading right in the first data information, the first data information needs to be adjusted, and the content of the user that does not have the reading right is masked or deleted, so that the adjusted first data information is generated, thereby ensuring the security of the first data information and preventing the user that does not have the right from reading the corresponding confidential information.
The method of the present disclosure further includes step S103, sending the adjusted first data information to the client, so that the client can read corresponding information. After the adjustment, the adjusted first data information is the data information of which the user requesting to read has the corresponding read authority. Therefore, the safety of the data information is improved. In addition, the data information (e.g., the first data information) of the present disclosure includes row data information and column data information, and the column data information allows adjustment based on the reading authority, so that the security of the data information can be better improved compared to a scheme in which only the row data information can be set with authority.
Referring to fig. 2, a schematic diagram of a data information reading process of some embodiments of the present disclosure is shown. Taking online form data as an example, a read information request that a user desires to obtain form data is first received. The system (e.g., a server as described below, which may include a server, a computing service, and a database, etc.) then queries the user identity corresponding to the client. It should be understood that although three items of server, computing service and database are shown in fig. 2, these three items may be collectively referred to as a server, or a distributed server may be used to place the database for storing information, the computing service for processing information and the server interface server at different locations. After the database returns the user identity, the authority rules of the user and the table data expected to be read are queried. After the form data and the authority rules are returned, whether the request of the user meets the authority rules or not is calculated, and the data information of the user with the corresponding authority is returned to the user for reading. It should be understood that the query of the data information requested to be read and the query of the permission rule are not specifically limited, and the query of the data information requested to be read may be performed first, and the query of the permission rule may also be performed first. By adopting the method, the safety of the data information is greatly improved, and the situation that no related user checks the data information without permission can be avoided.
In some embodiments, generating the adjusted first data information based on the user identity, the first data information, and the read permission comprises: determining a readable data range based on the user identity, the first data information and the reading authority; the first data information is copied and the copied first data information is adjusted based on the readable data range to produce adjusted first data information. That is, after determining the readable data range of the user based on the above information, the data in the system may be copied into one copy, and the copied data may be adjusted to generate the adjusted first data information to be sent to the user for reading. Therefore, complete data in a server or a system does not need to be changed, and adjustment is only carried out in the data information of the copy backup, so that the integrity and the safety of the original data information are maintained.
In some embodiments, as shown in FIG. 3, a flow diagram of an information processing method according to some embodiments is shown. The information processing method of the present disclosure further includes step S301, determining a user identity, second data information requested to be edited, and an editing right corresponding to the user identity according to the editing data input by the client. In some embodiments, the second data information may be an online table capable of online collaboration, and the column data information thereof allows setting according to authority. In some embodiments, when receiving edit data of the user on the second data information, the user identity, the second data information requesting editing, and the editing right corresponding to the user identity are determined. The information processing method of the present disclosure further includes step S302 of determining an editable data range based on the user identity, the second data information, and the editing right. I.e. to determine which data is allowed to be edited by the user. The information processing method of the present disclosure further includes step S303 of adjusting the second data information based on the edit data to generate first adjusted second data information when the edit data is within the editable data range. When the editing data is within the range of the editing authority of the user, the corresponding data information is indicated to allow the user to edit. Thus, the edit data is incorporated into the second data information, resulting in first adjusted second data information. The information processing method of the present disclosure further includes step S304 of discarding the edit data without adjusting the second data information when the edit data is not within the editable data range. That is, when the corresponding data information has no editing right for the user, the data edited by the user is ignored, and the data can be locally invalidated without updating the corresponding data information. With respect to user-edited data, similar to the user-read process of FIG. 2, only one is read data and one is write data. For the sake of simplicity, the corresponding process description is not repeated here, and reference may be made to the information processing process of fig. 2.
In some embodiments, when the edit data is not within the editable data range, a prompt is issued to the client and/or an outlier is returned. In some embodiments, issuing the prompt to the client may include prompting the user that the data information content has no editing rights. Therefore, the user can better know whether the edited data is accepted or not, and the interaction with the user is facilitated.
In some embodiments, as shown in FIG. 4, a flow diagram of an information processing method according to some embodiments is shown. The information processing method of the present disclosure further includes step S401 of acquiring a cooperative user of the second data information after generating the first adjusted second data information. That is, when the second data information is adjusted by the first adjusted second data information due to the user's editing, the updated content should be coordinated to the coordinating user of the second data information. The information processing method of the present disclosure further includes step S402 of generating second adjusted second data information based on the user identity of each corresponding cooperative user, the first adjusted second data information, and the reading right of the corresponding cooperative user. Before the first adjusted second data information is coordinated to other users, the reading permission of the corresponding coordinated user for the adjusted data information is determined, and if the corresponding coordinated user does not have the reading permission for the edited data, that is, the second data information is adjusted to the first adjusted second data information and has no influence on the coordinated user, the coordination user does not need to be coordinated, so that resources are saved. The information processing method of the present disclosure further includes step S403, sending the second adjusted second data information to the client corresponding to the corresponding collaborative user. In some embodiments, some collaboration users may be able to see all of the edit data adjusted, and some collaboration users may be able to see only portions of the edit data adjusted. Therefore, the first adjusted second data information is adjusted to the second adjusted second data information according to the reading permission of the corresponding cooperative user, and then the adjusted second data information is sent to the corresponding cooperative user, so that the safety of the data information is ensured, and the users without permission are prevented from reading the corresponding data content.
In some embodiments, generating the second adjusted second data information based on the user identity of each respective collaborative user, the first adjusted second data information, and the read permissions of the respective collaborative user comprises: determining a readable data range based on the user identity of each corresponding cooperative user, the first adjusted second data information and the reading right of the corresponding cooperative user; the first adjusted second data information is replicated for each respective collaborative user and adjusted based on the readable data range, resulting in second adjusted second data information. By determining the readable data range, the situation that a user without permission obtains data information which is not read by the user is avoided, and the safety of the data information is improved. In addition, by copying one piece of data information for each cooperative user and adjusting the data information based on the copied data information, the integrity and the safety of the original data information in the system can be better maintained.
FIG. 5 illustrates a flow diagram of data information collaboration processing, according to some embodiments of the present disclosure. After receiving the data edited by the user with the editing authority, updating the original first data information, adjusting the original first data information into first adjusted first data information, and returning the result to the user editing the data information. And then, acquiring a list of the collaborative users of the first data information and the authority of the corresponding users. And then, calculating the readable range of each cooperative user, copying a copy of first adjusted first data information for each cooperative user, adjusting the first adjusted first data information according to the reading authority of the corresponding cooperative user, removing the content which is read by the cooperative user without the authority, and obtaining second adjusted first data information. After the above operations are completed for all the collaborative users, the collaboration required to cause the data information update based on the user's editing is completed.
In some cases, the administrator or user with corresponding authority can update the authority rules of the data information in a modification mode. In the case that the permission rules are modified, the updated permission rules are also coordinated with the collaborative users so that all collaborative users adapt to the latest permission rules. Therefore, the information processing method of the present disclosure further includes the steps of: receiving permission rule update aiming at the first data information, and generating updated permission rules; and acquiring the cooperative users of the first data information with the adjusted authority based on the updated authority rules, and pushing the updated authority rules to each cooperative user. Described below in conjunction with fig. 6, fig. 6 illustrates a schematic diagram of the collaboration of entitlement rule updates, according to some embodiments of the present disclosure. In some embodiments, after receiving the permission rule update, the system will perform a corresponding update on the permission rule and return the updated permission rule. And then inquiring the cooperative users of the corresponding data information, and pushing the updated authority rules to the cooperative users, so that the cooperative users locally update the data after acquiring the updated authority rules, and the read corresponding data information conforms to the latest authority rules. By updating data locally according to the updated authority rules, the system does not need to update data information according to each cooperative user, and then the data adjusted according to the updated authority rules are sent to the corresponding cooperative users, so that system resources are greatly saved.
An embodiment of the present disclosure further provides an information processing apparatus 700, which includes a determining module 701, a data adjusting module 702, and a data sending module 703. In some embodiments, the determining module 701 is configured to determine, according to a read information request of a client, a user identity corresponding to the client, first data information requested to be read, and a read right corresponding to the user identity. In some embodiments, the data adjustment module 702 is configured to generate the adjusted first data information based on the user identity, the first data information, and the read permissions. In some embodiments, the data sending module 703 is configured to send the adjusted first data information to the client. In some embodiments, the first data information allows for online collaboration and includes row data information and column data information, the column data information allowing for adjustment based on the read permissions.
It should be understood that the contents described with respect to the information processing method are also applicable to the information processing apparatus 700 herein, and for the sake of simplicity, detailed description thereof will not be made here.
In some embodiments, generating the adjusted first data information based on the user identity, the first data information, and the read permission comprises: determining a readable data range based on the user identity, the first data information and the reading authority; the first data information is copied and the copied first data information is adjusted based on the readable data range to produce adjusted first data information. In some embodiments, the determining module is further configured to determine, according to the editing data input by the client, a user identity, second data information requesting editing, and an editing right corresponding to the user identity; the data adjusting module is further configured to determine an editable data range based on the user identity, the second data information and the editing authority; when the edit data is within the editable data range, adjusting the second data information based on the edit data to generate first adjusted second data information; when the edit data is not within the editable data range, the edit data is discarded without adjusting the second data information. In some embodiments, when the edit data is not within the editable data range, a prompt is issued to the client and/or an outlier is returned. In some embodiments, the information processing apparatus further includes: the cooperative user acquisition module is configured to acquire cooperative users of the second data information after the first adjusted second data information is generated; the data adjustment module is further configured to generate second adjusted second data information based on the user identity of each respective collaborative user, the first adjusted second data information, and the read permissions of the respective collaborative users; the data sending module is further configured to send the second adjusted second data information to the client corresponding to the corresponding collaborative user. In some embodiments, generating the second adjusted second data information based on the user identity of each respective collaborative user, the first adjusted second data information, and the read permissions of the respective collaborative user comprises: determining a readable data range based on the user identity of each corresponding cooperative user, the first adjusted second data information and the reading right of the corresponding cooperative user; the first adjusted second data information is replicated for each respective collaborative user and adjusted based on the readable data range, resulting in second adjusted second data information. In some embodiments, the information processing apparatus further includes: the rule updating module is configured to receive permission rule updating aiming at the first data information and generate updated permission rules; and the authority rule pushing module is configured to obtain the cooperative users with the adjusted authority of the first data information based on the updated authority rule, and push the updated authority rule to each cooperative user.
Fig. 8 illustrates a flow diagram of an information processing method according to some embodiments of the present disclosure. The information processing method comprises a step S801 of receiving authority rule update for first data information pushed by a system by a client, wherein the first adjusted first data information is allowed to be accessed at the client and is determined based on a user identity corresponding to the client, the first data information and the authority rule. As described in conjunction with fig. 6, after the authority rules of the system are updated, the rule updates are pushed to the collaborative users. At this time, the client as the collaborative user may receive the push, and may acquire the updated permission rule by, for example, pulling the updated permission rule. As described above, as a cooperative user, the first adjusted first data information may be accessed at this time, and the first adjusted first data information is determined based on the user identity corresponding to the client, the first data information, and the permission rule. That is, the first data information adjusted according to the authority rule is accessed. The information processing method includes step S802 of determining second adjusted first data information based on the user identity, the first data information, and the updated entitlement rule. The information processing method includes a step S803 of adjusting the first adjusted first data information to the second adjusted first data information. That is, since the authority rule is changed, the data information accessed at this time is also changed in accordance with the change of the authority rule, and is adjusted from the first adjusted first data information to the second adjusted first data information. It should be understood that the adjustment of the data information according to the updated permission rule is performed locally at the client, so that the resources of the system can be saved, and the adjustment can be completed by using a computer where the client is located independently at each place.
In some embodiments, adjusting the first adjusted first data information to the second adjusted first data information comprises: and deleting the data content which does not have the reading authority any more in the first adjusted first data information based on the updated authority rule. In some embodiments, adjusting the first adjusted first data information to the second adjusted first data information comprises: and acquiring the data content of the newly added read authority from the system based on the updated authority rule. It should be understood that the above system may refer to a server.
An embodiment of the present disclosure also provides an information processing apparatus 900, which includes an authority rule update receiving module 901, an adjustment information determining module 902, and a data adjusting module 903. In some embodiments, the permission rule update receiving module 901 is configured to allow the client to receive a permission rule update for the first data information pushed by the system, wherein the first adjusted first data information is allowed to be accessed at the client, and the first adjusted first data information is determined based on the user identity corresponding to the client, the first data information and the permission rule. In some embodiments, the adjustment information determination module 902 is configured to determine the second adjusted first data information based on the user identity, the first data information, and the updated entitlement rule. In some embodiments, the data adjustment module 903 is configured to adjust the first adjusted first data information to a second adjusted first data information.
It should be understood that the contents described with respect to the information processing method are also applicable to the information processing apparatus 900 herein, and for the sake of simplicity, detailed description thereof will not be made here.
In some embodiments, adjusting the first adjusted first data information to the second adjusted first data information comprises: and deleting the data content which does not have the reading authority any more in the first adjusted first data information based on the updated authority rule. In some embodiments, adjusting the first adjusted first data information to the second adjusted first data information comprises: and acquiring the data content of the newly added read authority from the system based on the updated authority rule.
In addition, the present disclosure also provides a terminal, including: at least one memory and at least one processor; the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the information processing method.
In addition, the present disclosure also provides a computer storage medium storing program codes for executing the above-described information processing method.
The information processing method and apparatus of the present disclosure have been described above based on the embodiments and application examples. In addition, the present disclosure also provides a terminal and a storage medium, which are described below.
Referring now to fig. 10, a schematic diagram of an electronic device (e.g., a terminal device or server) 400 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 10 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 10, the electronic device 400 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage means 408 into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate wirelessly or by wire with other devices to exchange data. While fig. 10 illustrates an electronic device 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the methods of the present disclosure as described above.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. 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.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided an information processing method including: according to a read information request of a client, determining a user identity corresponding to the client, first data information requested to be read and a read authority corresponding to the user identity; generating adjusted first data information based on the user identity, the first data information and the reading authority; sending the adjusted first data information to the client; the first data information allows online collaboration, and includes row data information and column data information, and the column data information allows adjustment based on the read permission.
According to one or more embodiments of the present disclosure, generating the adjusted first data information based on the user identity, the first data information, and the read permission includes: determining a readable data range based on the user identity, the first data information and the reading authority; the first data information is copied, and the copied first data information is adjusted based on the readable data range, resulting in the adjusted first data information.
According to one or more embodiments of the present disclosure, further comprising: determining the user identity, second data information requesting editing and editing authority corresponding to the user identity according to editing data input by the client; determining an editable data range based on the user identity, the second data information and the editing right; when the edit data is in the editable data range, adjusting the second data information based on the edit data to generate first adjusted second data information; when the edit data is not within the editable data range, discarding the edit data without adjusting the second data information.
According to one or more embodiments of the disclosure, when the edit data is not within the editable data range, a prompt is issued to the client and/or an abnormal value is returned.
According to one or more embodiments of the present disclosure, further comprising: after the first adjusted second data information is generated, acquiring a cooperative user of the second data information; generating second adjusted second data information based on the user identity of each respective cooperative user, the first adjusted second data information, and the read permission of the respective cooperative user; and sending the second adjusted second data information to the client corresponding to the corresponding cooperative user.
According to one or more embodiments of the present disclosure, generating the second adjusted second data information based on the user identity of each respective cooperative user, the first adjusted second data information, and the reading right of the respective cooperative user includes: determining a readable data range based on the user identity of each respective cooperative user, the first adjusted second data information, and the read permission of the respective cooperative user; for each respective collaborating user, copying the first adjusted second data information, and adjusting the copied first adjusted second data information based on the readable data range to generate the second adjusted second data information.
According to one or more embodiments of the present disclosure, further comprising: receiving an authority rule update aiming at the first data information, and generating an updated authority rule; and acquiring the cooperative users of the first data information with the adjusted authority based on the updated authority rule, and pushing the updated authority rule to each cooperative user.
According to one or more embodiments of the present disclosure, there is provided an information processing apparatus including: the determining module is configured to determine a user identity corresponding to a client, first data information requested to be read and a reading authority corresponding to the user identity according to a reading information request of the client; a data adjustment module configured to generate adjusted first data information based on the user identity, the first data information and the read permission; a data sending module configured to send the adjusted first data information to the client; the first data information allows online collaboration, and includes row data information and column data information, and the column data information allows adjustment based on the read permission.
According to one or more embodiments of the present disclosure, there is provided an information processing method including: the method comprises the steps that a client receives authority rule update aiming at first data information pushed by a system, wherein the client allows access to first adjusted first data information, and the first adjusted first data information is determined based on a user identity corresponding to the client, the first data information and an authority rule; determining second adjusted first data information based on the user identity, the first data information, and updated permission rules; and adjusting the first adjusted first data information into the second adjusted first data information.
According to one or more embodiments of the present disclosure, adjusting the first adjusted first data information to the second adjusted first data information includes: and deleting the data content which does not have the reading authority any more in the first adjusted first data information based on the updated authority rule.
According to one or more embodiments of the present disclosure, adjusting the first adjusted first data information to the second adjusted first data information includes: and acquiring the data content of the newly added reading authority from the system based on the updated authority rule.
According to one or more embodiments of the present disclosure, there is provided an information processing apparatus including: the permission rule update receiving module is configured to allow a client to receive permission rule updates for first data information pushed by a system, wherein access to first adjusted first data information is allowed at the client, and the first adjusted first data information is determined based on a user identity corresponding to the client, the first data information and a permission rule; an adjustment information determination module configured to determine second adjusted first data information based on the user identity, the first data information, and the updated permission rules; a data adjustment module configured to adjust the first adjusted first data information to the second adjusted first data information.
According to one or more embodiments of the present disclosure, there is provided a terminal including: at least one memory and at least one processor; wherein the at least one memory is configured to store program code, and the at least one processor is configured to call the program code stored in the at least one memory to perform the method of any one of the above.
According to one or more embodiments of the present disclosure, there is provided a storage medium for storing program code for performing the above-described method.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:一种安全验证方法、相关设备以及存储介质