CN113177190A - Document content sharing method and electronic equipment - Google Patents

Document content sharing method and electronic equipment Download PDF

Info

Publication number
CN113177190A
CN113177190A CN202110469147.5A CN202110469147A CN113177190A CN 113177190 A CN113177190 A CN 113177190A CN 202110469147 A CN202110469147 A CN 202110469147A CN 113177190 A CN113177190 A CN 113177190A
Authority
CN
China
Prior art keywords
identity information
user
document
content
target document
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.)
Pending
Application number
CN202110469147.5A
Other languages
Chinese (zh)
Inventor
成晓奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110469147.5A priority Critical patent/CN113177190A/en
Publication of CN113177190A publication Critical patent/CN113177190A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The application discloses a document content sharing method and electronic equipment, and belongs to the technical field of data processing. The method comprises the following steps: when receiving an operation of a first user for opening a target document, determining identity information of the first user and reading authority corresponding to the identity information; and displaying the content corresponding to the reading right in the target document.

Description

Document content sharing method and electronic equipment
Technical Field
The application belongs to the technical field of data processing, and particularly relates to a document content sharing method and electronic equipment.
Background
Nowadays, people often share documents and transmit information in work groups and life groups. After the same document is shared in the group, all people in the group can read all contents in the document. Sometimes, however, the content of a document shared in a group is not suitable for all people in the group to view. Therefore, in order to make different people see different document contents, in the related art, it is often necessary to edit a plurality of different documents, create a plurality of groups, and distribute the different documents to different user groups.
However, the operation process of editing, modifying and distributing a plurality of documents one by one is very complicated, and mistakes and omissions are easy to occur, which affects the user experience. Therefore, in the related art, there is a problem that document content sharing is inconvenient.
Disclosure of Invention
The embodiment of the application aims to provide a document content sharing method and electronic equipment, and the problem that document content is inconvenient to share can be solved.
In a first aspect, an embodiment of the present application provides a method for sharing document content, including: when receiving an operation of a first user for opening a target document, determining identity information of the first user and reading authority corresponding to the identity information; and displaying the content corresponding to the reading right in the target document.
In a second aspect, an embodiment of the present application provides a device for sharing document content, including: the device comprises a determining module, a reading module and a processing module, wherein the determining module is used for determining identity information of a first user and reading permission corresponding to the identity information when receiving an operation of opening a target document by the first user; and the display module is used for displaying the content corresponding to the reading authority in the target document.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, when receiving an operation of a first user for opening a target document, determining identity information of the first user and reading authority corresponding to the identity information; and displaying the content corresponding to the reading authority in the target document, so that the problem of inconvenient document content sharing can be solved.
Drawings
FIG. 1 is a schematic flow chart diagram of a method of document content sharing according to one embodiment of the present application;
FIG. 2 is a schematic flow chart diagram of a document content sharing method according to another embodiment of the present application;
FIG. 3 is a schematic flow chart diagram of a document content sharing method according to another embodiment of the present application;
FIG. 4 is a schematic flow chart diagram of a document content sharing method according to another embodiment of the present application;
FIG. 5 is a schematic diagram of a document editing interface according to one embodiment of the present application;
6a-6b are schematic diagrams of a document display interface according to one embodiment of the present application;
FIG. 7 is a schematic structural diagram of a document content sharing apparatus according to an embodiment of the present application;
FIG. 8 is a schematic structural diagram of an electronic device according to another embodiment of the present application;
fig. 9 is a hardware configuration diagram of an electronic device according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The document content sharing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, an embodiment of the present application provides a document content sharing method 100, which may be performed by a terminal device, in other words, the method may be performed by software or hardware installed in the terminal device, and the method includes the following steps:
s110: when receiving an operation of a first user for opening a target document, determining identity information of the first user and reading authority corresponding to the identity information.
The first user may be a viewing user of the target document, and view the target document after the target document is edited.
In one implementation, the target document includes at least one of text, a table, and a slide. The identity information of the first user comprises at least one of a name, a role, a gender, and an age of the first user. For example, when receiving an operation of a first user to open a target text document, determining role information of the first user and reading authority corresponding to the role information.
And the identity information and the reading authority have a preset corresponding relationship. In one implementation, the preset correspondence is preset by a second user, and the second user is a document editor of the target document.
S120: and displaying the content corresponding to the reading right in the target document.
As illustrated in fig. 6a-6b, in an application scenario of sharing documents in a work group and a life group, a first user may be multiple members of the group, a second user is an editor of a target document, the target document may need to be shared in the group, and the first users with different identities may need to view different contents in the target document. In the preset corresponding relation, the reading right corresponding to the identity information of the first user, namely the 'radical length', is the document content, namely the 'paragraph 1', and the reading right corresponding to the identity information of the first user, namely the 'employee A' and the 'employee B', is the document content, namely the 'paragraph 2'.
As shown in fig. 6a, the identity information of the first user is determined to be "length" in step S110, and the reading right corresponding to the identity information is determined to be document content "paragraph 1", the document content "paragraph 1" is displayed, and the document content "paragraph 2" is not displayed in step S120, for example, the document content "paragraph 2" is skipped, deleted or occluded.
As shown in fig. 6b, for another example, in step S110, the identity information of the first user is determined to be "employee a", and the reading right corresponding to the identity information is determined to be document content "paragraph 2", document content "paragraph 2" is displayed, document content "paragraph 1" is not displayed, for example, document content "paragraph 1" is skipped, deleted or occluded.
Therefore, in the document content sharing method provided by the embodiment of the application, when receiving an operation of a first user for opening a target document, identity information of the first user and a reading right corresponding to the identity information are determined; the content corresponding to the reading authority in the target document is displayed, the content corresponding to the reading authority in the target document can be displayed according to the reading authority corresponding to the identity information of the user, different users can read the document content corresponding to the respective authority when opening the same document, personalized data display is achieved, meanwhile, a document editor can achieve document content sharing aiming at different users only by creating one original document, and the problem that document content sharing is inconvenient is solved without creating a plurality of documents, editing, modifying and distributing the plurality of documents one by one.
As shown in fig. 2, an embodiment of the present application provides a document content sharing method 200, which may be performed by a terminal device, in other words, the method may be performed by software or hardware installed in the terminal device, and the method includes the following steps:
s210: when receiving an operation of a first user for opening a target document, determining identity information of the first user and reading authority corresponding to the identity information.
S220: and displaying the content corresponding to the reading right in the target document.
Steps S210-S220 may adopt the descriptions of steps S110-S120 in the embodiment of fig. 1, and are not described herein again.
S230: and receiving the password input by the first user.
S240: and displaying the hidden content after the password verification is successful.
The target document comprises encrypted hidden content. In one implementation, after a first user opens a target document including encrypted hidden content, prompt information for prompting the user to perform password verification, such as "please input a password", is displayed at a corresponding position of the hidden content. And receiving the password input by the first user. And displaying the hidden content after the password verification is successful.
In one implementation, the encrypted hidden content is preset by a second user, the second user being a document editor of the target document. For example, an encryption operation of the second user is received before the second user shares the target document. Specifically, for example, in connection with fig. 5, the second user sets the document content "paragraph 3" as the encrypted content and sets the corresponding password "XXXXXX". Only after the first user inputs the password and the password is verified to be correct, the document content paragraph 3 is displayed, before the password is verified to be correct, the document content paragraph 3 is hidden, and the prompt message 'please input the password' is displayed.
Therefore, in the document content sharing method provided by the embodiment of the application, when receiving an operation of a first user for opening a target document, identity information of the first user and a reading right corresponding to the identity information are determined; the content corresponding to the reading authority in the target document is displayed, the content corresponding to the reading authority in the target document can be displayed according to the reading authority corresponding to the identity information of the user, different users can read the document content corresponding to the respective authority when opening the same document, personalized data display is achieved, meanwhile, a document editor can achieve document content sharing aiming at different users only by creating one original document, and the problem that document content sharing is inconvenient is solved without creating a plurality of documents, editing, modifying and distributing the plurality of documents one by one.
Therefore, according to the document content sharing method provided by the embodiment of the application, the password input by the first user is received; after the password is successfully verified, the hidden content is displayed, the security and confidentiality of document content sharing can be further enhanced in a password verification mode, and user experience is further improved.
As shown in fig. 3, an embodiment of the present application provides a document content sharing method 300, which may be performed by a terminal device, in other words, the method may be performed by software or hardware installed in the terminal device, and the method includes the following steps:
s310: when receiving an operation of a first user for opening a target document, determining identity information of the first user and reading authority corresponding to the identity information.
Step S310 may adopt the description of step S110 in the embodiment of fig. 1, and is not described herein again.
S320: replacing placeholders of a target location in the target document with the identity information.
S330: displaying the document content with the identity information of the first user.
In one implementation, the placeholder is preset by a second user, the second user being a document editor of the target document. The placeholder, e.g., "$ USER". The target position of the placeholder in the target document is a position corresponding to or matching the identity information of the first user, for example, a head-up position and/or a money-drop position of the target document. In detail, in conjunction with fig. 5 and fig. 6a-6b, the second USER sets a placeholder "$ USER" in advance at the head-up position of the document 1, such as "respected $ USER" in fig. 5. When the first USER opens the document, the identity information of the first USER is determined to be the 'division length', the placeholder "$ USER" of the target position in the document is replaced by the identity information 'division length', and the document content 'respected division length' with the identity information 'division length' is displayed after replacement, as shown in fig. 6 a. For another example, if the identity information of the first USER is determined to be "employee a", the placeholder "$user" in the document is replaced with the identity information "employee a", and the document content "respected employee a" with the identity information "employee a" is displayed after the replacement, as shown in fig. 6 b. Therefore, according to the local difference of the same content part of the document, the placeholder of the target position in the target document is replaced by the identity information to perform self-adaptive modification on the document, so that a plurality of documents do not need to be created and modified one by one, the operation is simplified, and the user experience is improved.
S340: and displaying the content corresponding to the reading right in the target document.
Step S340 may adopt the description of step S120 in the embodiment of fig. 1, and is not described herein again.
After step S340, the descriptions of steps S230-S240 in the embodiment of fig. 2 can also be adopted, and are not described again here.
Therefore, in the document content sharing method provided by the embodiment of the application, when receiving an operation of a first user for opening a target document, identity information of the first user and a reading right corresponding to the identity information are determined; the content corresponding to the reading authority in the target document is displayed, the content corresponding to the reading authority in the target document can be displayed according to the reading authority corresponding to the identity information of the user, different users can read the document content corresponding to the respective authority when opening the same document, personalized data display is achieved, meanwhile, a document editor can achieve document content sharing aiming at different users only by creating one original document, and the document editor does not need to create a plurality of documents and edit, modify and distribute the plurality of documents one by one, and therefore the problem that the document content sharing is inconvenient is solved.
Therefore, in the document content sharing method provided by the embodiment of the application, the placeholder of the target position in the target document is replaced with the identity information; and displaying the document content with the identity information of the first user, thereby further simplifying the operation process, increasing the personalized setting and improving the user experience.
As shown in fig. 4, an embodiment of the present application provides a document content sharing method 400, which may be performed by a terminal device, in other words, the method may be performed by software or hardware installed in the terminal device, and the method includes the following steps:
s410: when receiving an operation of a first user for opening a target document, determining identity information of the first user and reading authority corresponding to the identity information.
S420: and displaying the content corresponding to the reading right in the target document.
Steps S410-S420 can adopt the descriptions of steps S110-S120 in the embodiment of fig. 1, and are not described herein again. After step S420, the descriptions of steps S230-S240 in the embodiment of fig. 2 can also be adopted, and are not described herein again. After step S410, the descriptions of steps S320-S330 in the embodiment of fig. 3 can also be adopted, and are not described again here.
S401: receiving preview identity information input by a second user in a preview mode, wherein the preview identity information is at least one of a plurality of user identity information.
S402: and displaying the content corresponding to the preview identity information.
Steps S401-S402 may be performed before step S410 or after step S410.
In the present embodiment, steps S401 to S402 are performed before step S410 for illustration.
Wherein the second user is a document editor of the target document. The processing mode of the target document can be distinguished into an editing mode and a preview mode. In the edit mode, the second user may newly add, delete, modify, etc. the target document as an editor of the target document.
In the preview mode, before the second user shares the document, preview identity information input by the second user in the preview mode may be received. For example, the preview identity information "length" input by the second user in the preview mode is received, and the content "paragraph 1" corresponding to the preview identity information "length" is displayed, and this step may be combined with the relevant step in the embodiment of fig. 3, that is, the second user may include the document content with the identity information of the first user in the displayed corresponding content in the preview mode. The detailed description is similar to the description of steps S320-S330 in the embodiment of fig. 3, and is not repeated here.
Therefore, by distinguishing the editing mode and the preview mode, the embodiment of the application can avoid misoperation of the second user, the second user can use different identity information to simulate and check the target document in the preview mode, and the error in setting the authority is avoided.
In one implementation, a setting operation of the second user may be received before the second user sends a target document. And setting a plurality of identity information and reading authorities corresponding to the identity information according to the setting operation. Specifically, for example, with reference to fig. 5, the setting operation of the second user is received, and according to the setting operation, the identity information of the first user is set to include "department length", "employee a", and "employee B", and the reading right corresponding to the identity information "department length" is set to document content "paragraph 1", the reading right corresponding to the identity information "employee a" is set to document content "paragraph 2", and the reading right corresponding to the identity information "employee B" is set to document content "paragraph 2". Therefore, before the document is shared, the second user can set the identity information of the first user and the reading authority corresponding to the identity information according to actual requirements, so that the document display result is more in line with the actual requirements of the user, and the user experience is further improved.
Therefore, in the document content sharing method provided by the embodiment of the application, when receiving an operation of a first user for opening a target document, identity information of the first user and a reading right corresponding to the identity information are determined; the content corresponding to the reading authority in the target document is displayed, the content corresponding to the reading authority in the target document can be displayed according to the reading authority corresponding to the identity information of the user, different users can read the document content corresponding to the respective authority when opening the same document, personalized data display is achieved, meanwhile, a document editor can achieve document content sharing aiming at different users only by creating one original document, and the document editor does not need to create a plurality of documents and edit, modify and distribute the plurality of documents one by one, and therefore the problem that the document content sharing is inconvenient is solved.
Therefore, in the document content sharing method provided by the embodiment of the application, preview identity information input by a second user in a preview mode is received, wherein the preview identity information is at least one of a plurality of user identity information; and displaying the content corresponding to the preview identity information, so that the problems of setting errors, semantic obstruction and the like can be avoided, and the user experience is further improved.
It should be noted that, in the method for sharing document content provided in the embodiment of the present application, the execution main body may be a device for sharing document content, or a control module of the device for sharing document content, which is used for executing the method for sharing document content. In the embodiment of the present application, a method for a device for sharing document content to perform document content sharing is taken as an example, and the device for sharing document content provided in the embodiment of the present application is described.
Fig. 7 is a schematic structural diagram of a document content sharing apparatus according to an embodiment of the present invention. As shown in fig. 7, the apparatus 700 for sharing document content includes: a determination module 710 and a display module 720.
The determining module 710 is configured to determine, when receiving an operation of a first user to open a target document, identity information of the first user and a reading right corresponding to the identity information; a display module 720, configured to display content corresponding to the reading right in the target document.
In one implementation, the target document includes encrypted hidden content, and the apparatus further includes: the first receiving module is used for receiving the password input by the first user; the display module is further used for displaying the hidden content after the password verification is successful.
In one implementation, the apparatus further comprises: a replacement module to replace placeholders of a target location in the target document with the identity information; the display module is further used for displaying the document content with the identity information of the first user.
In one implementation, the apparatus further comprises: the second receiving module is used for receiving preview identity information input by a second user in a preview mode, wherein the preview identity information is at least one of a plurality of user identity information; the display module is further configured to display content corresponding to the preview identity information.
Therefore, the document content sharing device provided by the embodiment of the application determines the identity information of a first user and the reading authority corresponding to the identity information when receiving the operation of opening a target document by the first user; the content corresponding to the reading authority in the target document is displayed, the content corresponding to the reading authority in the target document can be displayed according to the reading authority corresponding to the identity information of the user, different users can read the document content corresponding to the respective authority when opening the same document, personalized data display is achieved, meanwhile, a document editor can achieve document content sharing aiming at different users only by creating one original document, and the document editor does not need to create a plurality of documents and edit, modify and distribute the plurality of documents one by one, and therefore the problem that the document content sharing is inconvenient is solved.
The device for sharing the document content in the embodiment of the present application may be a device, or may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The device for sharing the document content in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The device for sharing document content provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 4, and is not described here again to avoid repetition.
Optionally, as shown in fig. 8, an electronic device 800 is further provided in an embodiment of the present application, and includes a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and executable on the processor 801, where the program or the instruction is executed by the processor 801 to implement each process of the above-mentioned method for sharing document content, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910.
Those skilled in the art will appreciate that the electronic device 900 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The processor 910 is configured to, when receiving an operation of a first user to open a target document, determine identity information of the first user and a reading right corresponding to the identity information; and displaying the content corresponding to the reading right in the target document.
In one implementation, the target document includes encrypted hidden content, and the processor 910 is configured to receive a password input by the first user; and displaying the hidden content after the password verification is successful.
In one implementation, the processor 910 is configured to replace a placeholder for a target location in the target document with the identity information; displaying the document content with the identity information of the first user.
In one implementation, the processor 910 is configured to receive preview identity information input by a second user in a preview mode, where the preview identity information is at least one of a plurality of user identity information; and displaying the content corresponding to the preview identity information.
It should be understood that, in the embodiment of the present application, the input Unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042, and the Graphics Processing Unit 9041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 907 includes a touch panel 9071 and other input devices 9072. A touch panel 9071 also referred to as a touch screen. The touch panel 9071 may include two parts, a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 909 can be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 910 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 910.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the method for sharing document content, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the method for sharing document contents, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for sharing document content, the method comprising:
when receiving an operation of a first user for opening a target document, determining identity information of the first user and reading authority corresponding to the identity information;
and displaying the content corresponding to the reading right in the target document.
2. The method of claim 1, wherein the target document includes encrypted hidden content therein, and wherein after the displaying of the content corresponding to the reading rights within the target document, the method further comprises:
receiving a password input by the first user;
and displaying the hidden content after the password verification is successful.
3. The method of claim 1, wherein after the determining the identity information of the first user and the reading rights corresponding to the identity information and before the displaying the content corresponding to the reading rights in the target document, the method further comprises:
replacing placeholders of a target location in the target document with the identity information;
displaying the document content with the identity information of the first user.
4. The method of claim 1, wherein before determining the identity information of the first user and the reading right corresponding to the identity information when receiving an operation of the first user to open the target document, the method further comprises:
receiving preview identity information input by a second user in a preview mode, wherein the preview identity information is at least one of a plurality of user identity information;
and displaying the content corresponding to the preview identity information.
5. An apparatus for sharing document content, the apparatus comprising:
the device comprises a determining module, a reading module and a processing module, wherein the determining module is used for determining identity information of a first user and reading permission corresponding to the identity information when receiving an operation of opening a target document by the first user;
and the display module is used for displaying the content corresponding to the reading authority in the target document.
6. The apparatus of claim 5, wherein the target document includes encrypted hidden content, the apparatus further comprising:
the first receiving module is used for receiving the password input by the first user;
the display module is further used for displaying the hidden content after the password verification is successful.
7. The apparatus of claim 5, further comprising:
a replacement module to replace placeholders of a target location in the target document with the identity information;
the display module is further used for displaying the document content with the identity information of the first user.
8. The apparatus of claim 5, further comprising:
the second receiving module is used for receiving preview identity information input by a second user in a preview mode, wherein the preview identity information is at least one of a plurality of user identity information;
the display module is further configured to display content corresponding to the preview identity information.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the method according to any one of claims 1-4.
10. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the method according to any one of claims 1-4.
CN202110469147.5A 2021-04-28 2021-04-28 Document content sharing method and electronic equipment Pending CN113177190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110469147.5A CN113177190A (en) 2021-04-28 2021-04-28 Document content sharing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110469147.5A CN113177190A (en) 2021-04-28 2021-04-28 Document content sharing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN113177190A true CN113177190A (en) 2021-07-27

Family

ID=76925264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110469147.5A Pending CN113177190A (en) 2021-04-28 2021-04-28 Document content sharing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN113177190A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113840035A (en) * 2021-09-28 2021-12-24 维沃移动通信(杭州)有限公司 Information sharing method and device, electronic equipment and readable storage medium
CN114125535A (en) * 2021-11-11 2022-03-01 广州方硅信息技术有限公司 Live broadcast speaking method, system, device, equipment and storage medium
CN115033920A (en) * 2022-06-21 2022-09-09 北京字跳网络技术有限公司 Object access method, device, electronic equipment, storage medium and program product
CN115952525A (en) * 2023-02-23 2023-04-11 天津联想协同科技有限公司 Online document region authority setting method and device, server and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874545A (en) * 2006-06-23 2006-12-06 王晓琦 Method for adding name of receiver in group-sending information through handheld terminal
CN101030857A (en) * 2007-04-10 2007-09-05 华东师范大学 Method for encrypting, protecting and controlling fine mesh size file
CN101226573A (en) * 2007-01-16 2008-07-23 北京书生国际信息技术有限公司 Method for controlling access authority of electric document
CN102014351A (en) * 2010-08-19 2011-04-13 上海闻泰电子科技有限公司 Method for adding contact addresses while sending short messages by mobile phone
CN104517062A (en) * 2013-09-26 2015-04-15 中兴通讯股份有限公司 Method and device for sub authority document management based on document object model
CN104881279A (en) * 2015-05-12 2015-09-02 广东欧珀移动通信有限公司 Mass messaging method and device
CN108809809A (en) * 2018-06-08 2018-11-13 腾讯科技(武汉)有限公司 Message method, computer equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874545A (en) * 2006-06-23 2006-12-06 王晓琦 Method for adding name of receiver in group-sending information through handheld terminal
CN101226573A (en) * 2007-01-16 2008-07-23 北京书生国际信息技术有限公司 Method for controlling access authority of electric document
CN101030857A (en) * 2007-04-10 2007-09-05 华东师范大学 Method for encrypting, protecting and controlling fine mesh size file
CN102014351A (en) * 2010-08-19 2011-04-13 上海闻泰电子科技有限公司 Method for adding contact addresses while sending short messages by mobile phone
CN104517062A (en) * 2013-09-26 2015-04-15 中兴通讯股份有限公司 Method and device for sub authority document management based on document object model
CN104881279A (en) * 2015-05-12 2015-09-02 广东欧珀移动通信有限公司 Mass messaging method and device
CN108809809A (en) * 2018-06-08 2018-11-13 腾讯科技(武汉)有限公司 Message method, computer equipment and storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113840035A (en) * 2021-09-28 2021-12-24 维沃移动通信(杭州)有限公司 Information sharing method and device, electronic equipment and readable storage medium
CN114125535A (en) * 2021-11-11 2022-03-01 广州方硅信息技术有限公司 Live broadcast speaking method, system, device, equipment and storage medium
CN114125535B (en) * 2021-11-11 2024-05-28 广州方硅信息技术有限公司 Live speaking method, system, device, equipment and storage medium
CN115033920A (en) * 2022-06-21 2022-09-09 北京字跳网络技术有限公司 Object access method, device, electronic equipment, storage medium and program product
WO2023246723A1 (en) * 2022-06-21 2023-12-28 北京字跳网络技术有限公司 Object access method and apparatus, and electronic device, storage medium and program product
CN115952525A (en) * 2023-02-23 2023-04-11 天津联想协同科技有限公司 Online document region authority setting method and device, server and storage medium
CN115952525B (en) * 2023-02-23 2023-08-11 天津联想协同科技有限公司 Online document region authority setting method, device, server and storage medium

Similar Documents

Publication Publication Date Title
CN113177190A (en) Document content sharing method and electronic equipment
US20230385426A1 (en) Encryption Method and Apparatus, Electronic Device, and Medium
US11567635B2 (en) Online collaborative document processing method and device
CN112929494B (en) Information processing method, information processing apparatus, information processing medium, and electronic device
WO2024114571A1 (en) Information display method and apparatus, electronic device, and storage medium
WO2024083018A1 (en) Information processing method and apparatus, and electronic device
CN111817944A (en) Picture sharing method and device and electronic equipment
CN112163200A (en) Picture processing method and device and electronic equipment
CN106156646B (en) Information calling method and electronic equipment
WO2022253132A1 (en) Information display method and apparatus, and electronic device
CN113840035B (en) Information sharing method and device, electronic equipment and readable storage medium
CN115665079A (en) Message display method, message display device, electronic equipment and medium
CN114745346A (en) Message processing method and device, electronic equipment and readable storage medium
CN115065657A (en) Information collection method and device and electronic equipment
CN114844853A (en) Information processing method, information processing apparatus, electronic device, and medium
CN112988426A (en) Message processing method and device
US20170134781A1 (en) Method and apparatus for realizing custom menu, client and server
CN114374663A (en) Message processing method and message processing device
CN113835820A (en) Graphic code display method and device
CN113806313A (en) Information processing method and device
CN113885748A (en) Object switching method and device, electronic equipment and readable storage medium
CN113300944A (en) Friend adding method and device and electronic equipment
CN112230831A (en) Image processing method and device
CN114401281B (en) Communication management method, device, electronic equipment and readable storage medium
CN113162840B (en) Display method, display device, electronic apparatus, and readable storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210727