CN111343149A - Comment method and device, electronic equipment and computer readable medium - Google Patents

Comment method and device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN111343149A
CN111343149A CN202010080865.9A CN202010080865A CN111343149A CN 111343149 A CN111343149 A CN 111343149A CN 202010080865 A CN202010080865 A CN 202010080865A CN 111343149 A CN111343149 A CN 111343149A
Authority
CN
China
Prior art keywords
comment
file
voice
server
voice comment
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.)
Granted
Application number
CN202010080865.9A
Other languages
Chinese (zh)
Other versions
CN111343149B (en
Inventor
贝俊龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Douyin Vision Co Ltd
Douyin Vision Beijing Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202010080865.9A priority Critical patent/CN111343149B/en
Publication of CN111343149A publication Critical patent/CN111343149A/en
Application granted granted Critical
Publication of CN111343149B publication Critical patent/CN111343149B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos

Abstract

The embodiment of the disclosure provides a commenting method, a commenting device, electronic equipment and a computer readable medium, wherein the commenting method comprises the following steps: receiving a first voice comment file sent by a collaborative document client; verifying the writing authority of the first voice comment in the first voice comment file to determine a first file token; sending a first file token to the collaborative document client, so that a second server determines a comment identifier according to the first file token after receiving the first file token sent by the collaborative document client; and receiving a comment identifier sent by the second server, and updating the mount point of the first voice comment file according to the comment identifier so that the second server writes the first voice comment. The method combines a voice technology with a collaborative document, realizes the recording of voice comments, converts the voice comments into character comments in real time, and sends the voice comments as a part of the comments to the collaborative document after the recording of the voice comments is finished.

Description

Comment method and device, electronic equipment and computer readable medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a comment method, a comment device, an electronic device, and a computer-readable medium.
Background
At present, the cooperative office utilizes network, computer and informatization, and provides online software for realizing multi-party communication, multi-party sharing and cooperative office for multiple parties. With the increasing popularity of the 4G, WIFI network and the increasing volume of mobile intelligent terminal users, the office requirements of users have been increased from traditional collaborative offices to more demanding mobile collaborative offices. Collaborative documents involved in mobile collaborative office include text comments, and how to implement voice comments in mobile collaborative office is a problem to be solved.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Only the rights scheme is described, and the rights scheme is not described.
The present disclosure provides a comment method, apparatus, electronic device, and computer readable medium to solve the problem of how to implement voice comment in mobile collaborative office.
In a first aspect, the present disclosure provides a comment method, applied to a first service end, including:
receiving a first voice comment file sent by a collaborative document client;
verifying the writing authority of the first voice comment in the first voice comment file to determine a first file token;
sending a first file token to the collaborative document client, so that a second server determines a comment identifier according to the first file token after receiving the first file token sent by the collaborative document client;
and receiving a comment identifier sent by the second server, and updating the mount point of the first voice comment file according to the comment identifier so that the second server writes the first voice comment.
In a second aspect, the present disclosure provides a method for commenting, applied to a collaborative document client, including:
sending the first voice comment file to a first service end, so that the first service end verifies the write permission of the first voice comment corresponding to the first voice comment file to determine a first file token;
and receiving a first file token sent by the first server, and sending the first file token to the second server, so that the second server determines a comment identifier according to the first file token, and the comment identifier enables the second server to write the first voice comment.
In a third aspect, the present disclosure provides a comment apparatus, applied to a first service end, including:
the first processing module is used for receiving a first voice comment file sent by the collaborative document client;
the second processing module is used for verifying the write permission of the first voice comment in the first voice comment file and determining a first file token;
the third processing module is used for sending the first file token to the collaborative document client, so that a second server determines a comment identifier according to the first file token after receiving the first file token sent by the collaborative document client;
and the fourth processing module is used for receiving the comment identifier sent by the second server, and updating the mount point of the first voice comment file according to the comment identifier so that the second server writes the first voice comment.
In a fourth aspect, the present disclosure provides a comment apparatus, applied to a collaborative document client, including:
the fifth processing module is used for sending the first voice comment file to the first service end so that the first service end can verify the write permission of the first voice comment corresponding to the first voice comment file to determine a first file token;
the sixth processing module is configured to receive the first file token sent by the first server, and send the first file token to a second server, so that the second server determines a comment identifier according to the first file token, where the comment identifier enables the second server to write the first voice comment.
In a fifth aspect, the present disclosure provides an electronic device comprising: a processor, a memory, and a bus;
a bus for connecting the processor and the memory;
a memory for storing operating instructions;
and the processor is used for executing the comment method of the first aspect of the disclosure by calling the operation instruction.
In a sixth aspect, the present disclosure provides an electronic device comprising: a processor, a memory, and a bus;
a bus for connecting the processor and the memory;
a memory for storing operating instructions;
and the processor is used for executing the comment method of the second aspect of the disclosure by calling the operation instruction.
In a seventh aspect, the present disclosure provides a computer readable medium storing a computer program for performing the method of the review of the first aspect of the present disclosure.
In an eighth aspect, the present disclosure provides a computer readable medium storing a computer program for performing the method of the review of the second aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure has at least the following beneficial effects:
receiving a first voice comment file sent by a collaborative document client; verifying the writing authority of the first voice comment in the first voice comment file to determine a first file token; sending a first file token to the collaborative document client, so that a second server determines a comment identifier according to the first file token after receiving the first file token sent by the collaborative document client; and receiving a comment identifier sent by the second server, and updating the mount point of the first voice comment file according to the comment identifier so that the second server writes the first voice comment. Therefore, the voice technology is combined with the collaborative document, and a novel comment mode of collaborative office, namely voice comment, is realized; the voice comments are recorded, the voice comments are converted into the text comments in real time, and after the voice comment recording is finished, the voice comments are sent to the collaborative document as part of the comments.
Additional aspects and advantages of the disclosure will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the disclosure.
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 features are not necessarily drawn to scale.
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings used in the description of the embodiments of the present disclosure will be briefly described below.
FIG. 1 is a schematic flow chart diagram illustrating a method of commenting provided by an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart diagram of another review method provided by embodiments of the present disclosure;
FIG. 3 is a schematic flow chart diagram of another review method provided by embodiments of the present disclosure;
FIG. 4 is a schematic flow chart diagram of another review method provided by embodiments of the present disclosure;
FIG. 5 is a schematic structural diagram of an apparatus for commenting provided by an embodiment of the present disclosure;
FIG. 6 is a schematic structural diagram of another apparatus for reviewing comments provided by the disclosed embodiments;
fig. 7 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 the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed 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 the devices, modules or units, and are not used for limiting the devices, modules or units to be different devices, modules or units, and also for limiting the sequence or interdependence relationship of the functions executed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used 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.
Example one
The embodiment of the present disclosure provides a comment method, which is applied to a first service end, and a flowchart of the comment method is shown in fig. 1, where the comment method includes:
s101, receiving a first voice comment file sent by a collaborative document client.
S102, verifying the writing authority of the first voice comment in the first voice comment file, and determining a first file token.
In the embodiment of the present disclosure, verifying the write permission of the first voice comment in the first voice comment file, and determining the first file token includes:
verifying the write permission to obtain the verified write permission;
sending the verified write permission to a second server, so that the second server verifies the comment permission of the collaborative document client to the collaborative document according to the verified write permission;
and receiving the verified comment authority of the collaborative document sent by the second server, and determining the first file token according to the verified comment authority of the collaborative document.
In the embodiment of the disclosure, a first service end and a second service end are respectively located in different servers; the first service end and the second service end can also be located in the same server.
S103, sending the first file token to the collaborative document client, so that the second server determines the comment identifier according to the first file token after receiving the first file token sent by the collaborative document client.
And S104, receiving the comment identifier sent by the second server, and updating the mount point of the first voice comment file according to the comment identifier so that the second server writes the first voice comment.
In the embodiment of the disclosure, a first voice comment file sent by a collaborative document client is received; verifying the writing authority of the first voice comment in the first voice comment file to determine a first file token; sending a first file token to the collaborative document client, so that a second server determines a comment identifier according to the first file token after receiving the first file token sent by the collaborative document client; and receiving a comment identifier sent by the second server, and updating the mount point of the first voice comment file according to the comment identifier so that the second server writes the first voice comment. Therefore, the voice technology is combined with the collaborative document, and a novel comment mode of collaborative office, namely voice comment, is realized; the voice comments are recorded, the voice comments are converted into the text comments in real time, and after the voice comment recording is finished, the voice comments are sent to the collaborative document as part of the comments.
In the embodiment of the disclosure, when a second file token sent by a collaborative document client is received, the read permission of a second voice comment corresponding to a second voice comment file corresponding to the second file token is verified, and the verified read permission is obtained;
and reading the second voice comment according to the read permission after verification.
In the embodiment of the disclosure, the first voice comment file or the second voice comment file is converted into a text comment file.
Another comment method provided in the embodiments of the present disclosure is applied to a collaborative document client, and a flowchart of the method is shown in fig. 2, where the method includes:
s201, sending the first voice comment file to a first service end, so that the first service end verifies the write permission of the first voice comment corresponding to the first voice comment file to determine a first file token.
S202, receiving a first file token sent by a first server, and sending the first file token to a second server, so that the second server determines a comment identifier according to the first file token, and the comment identifier enables the second server to write the first voice comment.
In the embodiment of the disclosure, a first voice comment file is sent to a first service end, so that the first service end verifies the write permission of a first voice comment corresponding to the first voice comment file to determine a first file token; and receiving a first file token sent by the first server, and sending the first file token to the second server, so that the second server determines a comment identifier according to the first file token, wherein the comment identifier is used for enabling the second server to write the first voice comment. Therefore, the voice technology is combined with the collaborative document, and a novel comment mode of collaborative office, namely voice comment, is realized; the voice comments are recorded, the voice comments are converted into the text comments in real time, and after the voice comment recording is finished, the voice comments are sent to the collaborative document as part of the comments.
In the embodiment of the disclosure, a second file token is obtained; and sending the second file token to the first service end so that the first service end verifies the read permission of the second voice comment corresponding to the second voice comment file corresponding to the second file token to obtain the verified read permission, wherein the read permission is used for enabling the first service end to read the second voice comment.
In the embodiment of the disclosure, when a voice input area included in an input area of a client receives a first voice comment of a user, the first voice comment is displayed as a first word in a word input area included in the input area, and the voice input area displays a sound curve according to at least one of the frequency of the first voice comment and the volume of the first voice comment.
In the embodiment of the disclosure, when the user finishes editing the first text in the text input area, the voice input area receives a third voice comment of the user, and the third voice comment is displayed as the second text in the text input area.
In the embodiment of the disclosure, at least one of the first voice comment, the third voice comment, the first text and the second text is sent to the collaborative document comment.
In the embodiment of the disclosure, a user clicks a collaborative document client to send a voice comment and a text comment; uploading voice comments and text comments by a collaborative document client; when the collaborative document client successfully uploads the voice comment and the text comment, the collaborative document client sends a download URL (uniform resource Locator) of the voice file corresponding to the voice comment and the text file corresponding to the text comment to the front end; and the front end executes a preset comment publishing process to complete the publishing of the comment.
In the embodiment of the disclosure, a collaborative document client acquires a comment list json comprising recording comments from a front end; the collaborative document client displays an icon of the text comment and an icon of the voice comment; and clicking the icon of the text comment and the icon of the voice comment by the user, and cooperating with the document client to display the text comment and download and play the voice comment.
Another review method is provided in the disclosed embodiment, and a flow chart of the method is shown in fig. 3, where the method includes:
s301, the client starts to add voice comments.
In the embodiment of the disclosure, the client is a front end. The client is a collaborative document client.
S302, the client sends a first voice comment file included in the collaborative document to the first service terminal.
In the embodiment of the disclosure, the first server is a Drive backend.
In the embodiment of the disclosure, when the client sends the first voice comment file included in the collaborative document to the first service end, the client fills (obj _ type, obj _ token) in the voice file mount point key so as to prevent the client from sending the first voice comment file and the client from adding the voice comment to be dependent on each other.
S303, the first service end verifies the write permission of the first voice comment corresponding to the first voice comment file.
S304, the first service end sends the write permission verification completion information to the second service end.
In the embodiment of the disclosure, the second server is a comment backend. And the writing authority verification completion information is used for representing that the first service end completes verification of the writing authority of the first voice comment corresponding to the first voice comment file.
S305, the second server side checks whether the comment authority of the collaborative document exists or not, and a check result is obtained.
S306, when the verification result is that the comment authority of the collaborative document exists, the second server side sends the verification result to the first server side.
S307, the first service end saves the first voice comment file.
S308, the first server sends the first file token to the client.
S309, the client fills the first file token into the extra.
S310, the client requests to add comments to the second server.
S311, the second server receives the first file token sent by the client, and updates the mount point of the first voice comment file into the comment identification ID.
S312, the second server sends the comment identification ID to the first server.
S313, the first service end receives the comment identification sent by the second service end, and updates the mount point of the first voice comment file according to the comment identification.
And S314, the first server sends the information that the mounting point is updated to the second server.
In the embodiment of the disclosure, the updated information of the mount point is used for representing that the first service end completes the update of the mount point of the first voice comment file.
And S315, the second server side writes the first voice comment, namely, adds the voice comment.
And S316, the second server sends the write operation completion information to the client.
In the embodiment of the disclosure, the writing operation completion information is used for representing that the second server completes the writing operation on the first voice comment.
And S317, the client finishes adding the voice comment.
Another review method is provided in the disclosed embodiment, and a flow chart of the method is shown in fig. 4, where the method includes:
s401, the client starts to read the voice comment and checks out a second file token.
In the embodiment of the disclosure, the client is a front end. The client is a collaborative document client.
S402, the client sends the second file token to the first server.
In the embodiment of the disclosure, the first server is a Drive backend.
And S403, the first service end receives the second file token sent by the client end, and verifies the read permission of the second voice comment corresponding to the second voice comment file corresponding to the second file token to obtain the verified read permission.
S404, the first server side sends the read permission verification completion information to the second server side.
In the embodiment of the disclosure, the second server is a comment backend. And the read permission verification completion information is used for representing that the second server completes verification of the read permission of the second voice comment corresponding to the second voice comment file.
S405, the second server side verifies the read authority of the comment identification comment id.
S406, the second server side sends the read permission verification completion information of the comment identification to the first server side.
In the embodiment of the disclosure, the read permission verification completion information of the comment identifier is used for representing that the second server completes verification of the read permission of the comment identifier comment id.
S407, the first service end reads the second voice comment.
S408, the first server sends the read operation completion information to the client.
In the embodiment of the disclosure, the reading operation completion information is used for representing that the first service end completes the reading operation of the second voice comment.
And S409, the client finishes reading the voice comments.
In the embodiment of the disclosure, by combining the voice comment and the collaborative document, the voice frequency is added into the comment, and the voice comment supports the playing of the voice frequency by a PC browser or a client.
In the embodiment of the disclosure, the voice comment is input, and the input of the voice comment can be initiated in the comment module of the collaborative document. After the user clicks the button, the user starts to input the audio, and the audio can be automatically converted into characters at the moment.
In the embodiment of the disclosure, in the process of inputting the audio by secondary editing of the comment content, the user clicks the button, stops inputting the audio, edits the characters, and can continue to return to the recording module to continue inputting after the characters are edited.
In the embodiment of the disclosure, when the voice comment is sent and played, a user clicks to send, the audio is uploaded and sent together with the text as the comment of the collaborative document, and the sent comment can be played in the audio.
Example two
Based on the same inventive concept, the embodiment of the present disclosure further provides a comment apparatus, which is applied to the first service end, a schematic structural diagram of the comment apparatus is shown in fig. 5, and the comment apparatus 60 includes a first processing module 601, a second processing module 602, a third processing module 603, and a fourth processing module 604.
The first processing module 601 is configured to receive a first voice comment file sent by a collaborative document client;
the second processing module 602 is configured to verify write permission of the first voice comment in the first voice comment file, and determine a first file token;
a third processing module 603, configured to send the first file token to the collaborative document client, so that a second server determines a comment identifier according to the first file token after receiving the first file token sent by the collaborative document client;
a fourth processing module 604, configured to receive the comment identifier sent by the second server, and update the mount point of the first voice comment file according to the comment identifier, so that the second server writes the first voice comment.
In the embodiment of the present disclosure, the second processing module 602 is specifically configured to verify the write permission, so as to obtain a verified write permission; sending the verified write permission to a second server, so that the second server verifies the comment permission of the collaborative document client to the collaborative document according to the verified write permission; and receiving the verified comment authority of the collaborative document sent by the second server, and determining the first file token according to the verified comment authority of the collaborative document.
In the embodiment of the disclosure, when a second file token sent by a collaborative document client is received, the read permission of a second voice comment corresponding to a second voice comment file corresponding to the second file token is verified, and the verified read permission is obtained; and reading the second voice comment according to the read permission after verification.
In the embodiment of the disclosure, the first voice comment file or the second voice comment file is converted into a text comment file.
The application of the embodiment of the disclosure has at least the following beneficial effects:
receiving a first voice comment file sent by a collaborative document client; verifying the writing authority of the first voice comment in the first voice comment file to determine a first file token; sending a first file token to the collaborative document client, so that a second server determines a comment identifier according to the first file token after receiving the first file token sent by the collaborative document client; and receiving a comment identifier sent by the second server, and updating the mount point of the first voice comment file according to the comment identifier so that the second server writes the first voice comment. Therefore, the voice technology is combined with the collaborative document, and a novel comment mode of collaborative office, namely voice comment, is realized; the voice comments are recorded, the voice comments are converted into the text comments in real time, and after the voice comment recording is finished, the voice comments are sent to the collaborative document as part of the comments.
For the content that is not described in detail in the comment device provided by the embodiment of the present disclosure, reference may be made to the comment method provided by the first embodiment, and the beneficial effects that can be achieved by the comment device provided by the embodiment of the present disclosure are the same as the comment method provided by the first embodiment, and are not described herein again.
Based on the same inventive concept, the embodiment of the present disclosure further provides another comment apparatus, which is applied to a collaborative document client, and a schematic structural diagram of the comment apparatus 70 is shown in fig. 6, and includes a fifth processing module 701 and a sixth processing module 702.
A fifth processing module 701, configured to send a first voice comment file to a first service end, so that the first service end verifies write permission of a first voice comment corresponding to the first voice comment file to determine a first file token;
a sixth processing module 702, configured to receive the first file token sent by the first server, and send the first file token to a second server, so that the second server determines a comment identifier according to the first file token, where the comment identifier enables the second server to write the first voice comment.
In the embodiment of the disclosure, a second file token is obtained; and sending the second file token to the first service end so that the first service end verifies the read permission of the second voice comment corresponding to the second voice comment file corresponding to the second file token to obtain the verified read permission, wherein the read permission enables the first service end to read the second voice comment.
In the embodiment of the disclosure, when a voice input area included in an input area of a client receives a first voice comment of a user, the first voice comment is displayed as a first word in a word input area included in the input area, and the voice input area displays a sound curve according to at least one of the frequency of the first voice comment and the volume of the first voice comment.
In the embodiment of the disclosure, when the user finishes editing the first text in the text input area, the voice input area receives a third voice comment of the user, and the third voice comment is displayed as the second text in the text input area.
In the embodiment of the disclosure, at least one of the first voice comment, the third voice comment, the first text and the second text is sent to the collaborative document comment.
The application of the embodiment of the disclosure has at least the following beneficial effects:
sending a first voice comment file to a first service end, so that the first service end verifies the write permission of a first voice comment corresponding to the first voice comment file to determine a first file token; receiving the first file token sent by the first server, and sending the first file token to a second server, so that the second server determines a comment identifier according to the first file token, and the comment identifier enables the second server to write the first voice comment. Therefore, the voice technology is combined with the collaborative document, and a novel comment mode of collaborative office, namely voice comment, is realized; the voice comments are recorded, the voice comments are converted into the text comments in real time, and after the voice comment recording is finished, the voice comments are sent to the collaborative document as part of the comments.
For the content that is not described in detail in the comment device provided by the embodiment of the present disclosure, reference may be made to the comment method provided by the first embodiment, and the beneficial effects that can be achieved by the comment device provided by the embodiment of the present disclosure are the same as the comment method provided by the first embodiment, and are not described herein again.
EXAMPLE III
Referring now to FIG. 7, a block diagram of an electronic device 800 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. 7 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.
The electronic device includes: a memory and a processor, wherein the processor may be referred to as the processing device 801 described below, and the memory may include at least one of a Read Only Memory (ROM)802, a Random Access Memory (RAM)803, and a storage device 808, as shown in fig. 7:
the electronic device 800 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 801 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage means 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for the operation of the electronic apparatus 800 are also stored. The processing apparatus 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
Generally, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 807 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage 808 including, for example, magnetic tape, hard disk, etc.; and a communication device 809. The communication means 809 may allow the electronic device 800 to communicate wirelessly or by wire with other devices to exchange data. While fig. 7 illustrates an electronic device 800 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 carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 809, or installed from the storage means 808, or installed from the ROM 802. The computer program, when executed by the processing apparatus 801, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
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 be interconnected 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: receiving a first voice comment file sent by a collaborative document client; verifying the writing authority of the first voice comment in the first voice comment file to determine a first file token; sending a first file token to the collaborative document client, so that a second server determines a comment identifier according to the first file token after receiving the first file token sent by the collaborative document client; and receiving a comment identifier sent by the second server, and updating the mount point of the first voice comment file according to the comment identifier so that the second server writes the first voice comment.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: sending the first voice comment file to a first service end, so that the first service end verifies the write permission of the first voice comment corresponding to the first voice comment file to determine a first file token; and receiving a first file token sent by the first server, and sending the first file token to the second server, so that the second server determines a comment identifier according to the first file token, and the comment identifier enables the second server to write the first voice comment.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to 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 modules or units described in the embodiments of the present disclosure may be implemented by software or hardware. Wherein the designation of a module or unit does not in some cases constitute a limitation of the unit 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, a method for commenting is provided, which is applied to a first service end, and includes:
receiving a first voice comment file sent by a collaborative document client;
verifying the writing authority of the first voice comment in the first voice comment file to determine a first file token;
sending a first file token to the collaborative document client, so that a second server determines a comment identifier according to the first file token after receiving the first file token sent by the collaborative document client;
and receiving a comment identifier sent by the second server, and updating the mount point of the first voice comment file according to the comment identifier so that the second server writes the first voice comment.
In the embodiment of the present disclosure, verifying the write permission of the first voice comment in the first voice comment file, and determining the first file token includes:
verifying the write permission to obtain the verified write permission;
sending the verified write permission to a second server, so that the second server verifies the comment permission of the collaborative document client to the collaborative document according to the verified write permission;
and receiving the verified comment authority of the collaborative document sent by the second server, and determining the first file token according to the verified comment authority of the collaborative document.
In the embodiment of the disclosure, when a second file token sent by a collaborative document client is received, the read permission of a second voice comment corresponding to a second voice comment file corresponding to the second file token is verified, and the verified read permission is obtained;
and reading the second voice comment according to the read permission after verification.
In the embodiment of the disclosure, the first voice comment file or the second voice comment file is converted into a text comment file.
According to one or more embodiments of the present disclosure, the first embodiment provides another comment method, applied to a collaborative document client, including:
and sending the first voice comment file to the first service end so that the first service end checks the write permission of the first voice comment corresponding to the first voice comment file to determine a first file token.
And receiving a first file token sent by the first server, and sending the first file token to the second server, so that the second server determines a comment identifier according to the first file token, and the comment identifier enables the second server to write the first voice comment.
In the embodiment of the disclosure, a second file token is obtained; and sending the second file token to the first service end so that the first service end verifies the read permission of the second voice comment corresponding to the second voice comment file corresponding to the second file token to obtain the verified read permission, wherein the read permission enables the first service end to read the second voice comment.
In the embodiment of the disclosure, when a voice input area included in an input area of a client receives a first voice comment of a user, the first voice comment is displayed as a first word in a word input area included in the input area, and the voice input area displays a sound curve according to at least one of the frequency of the first voice comment and the volume of the first voice comment.
In the embodiment of the disclosure, when the user finishes editing the first text in the text input area, the voice input area receives a third voice comment of the user, and the third voice comment is displayed as the second text in the text input area.
In the embodiment of the disclosure, at least one of the first voice comment, the third voice comment, the first text and the second text is sent to the collaborative document comment.
According to one or more embodiments of the present disclosure, a second embodiment provides a comment device, applied to a first service end, including:
the first processing module is used for receiving a first voice comment file sent by the collaborative document client;
the second processing module is used for verifying the write permission of the first voice comment in the first voice comment file and determining a first file token;
the third processing module is used for sending the first file token to the collaborative document client, so that a second server determines a comment identifier according to the first file token after receiving the first file token sent by the collaborative document client;
and the fourth processing module is used for receiving the comment identifier sent by the second server, and updating the mount point of the first voice comment file according to the comment identifier so that the second server writes the first voice comment.
In the embodiment of the disclosure, the second processing module is specifically configured to verify the write permission to obtain the verified write permission; sending the verified write permission to a second server, so that the second server verifies the comment permission of the collaborative document client to the collaborative document according to the verified write permission; and receiving the verified comment authority of the collaborative document sent by the second server, and determining the first file token according to the verified comment authority of the collaborative document.
In the embodiment of the disclosure, when a second file token sent by a collaborative document client is received, the read permission of a second voice comment corresponding to a second voice comment file corresponding to the second file token is verified, and the verified read permission is obtained; and reading the second voice comment according to the read permission after verification.
In the embodiment of the disclosure, the first voice comment file or the second voice comment file is converted into a text comment file.
According to one or more embodiments of the present disclosure, a second embodiment provides another apparatus for commenting, which is applied to a collaborative document client, and includes:
the fifth processing module is used for sending the first voice comment file to the first service end so that the first service end can verify the write permission of the first voice comment corresponding to the first voice comment file to determine a first file token;
the sixth processing module is configured to receive the first file token sent by the first server, and send the first file token to a second server, so that the second server determines a comment identifier according to the first file token, where the comment identifier enables the second server to write the first voice comment.
In the embodiment of the disclosure, a second file token is obtained; and sending the second file token to the first service end so that the first service end verifies the read permission of the second voice comment corresponding to the second voice comment file corresponding to the second file token to obtain the verified read permission, wherein the read permission enables the first service end to read the second voice comment.
In the embodiment of the disclosure, when a voice input area included in an input area of a client receives a first voice comment of a user, the first voice comment is displayed as a first word in a word input area included in the input area, and the voice input area displays a sound curve according to at least one of the frequency of the first voice comment and the volume of the first voice comment.
In the embodiment of the disclosure, when the user finishes editing the first text in the text input area, the voice input area receives a third voice comment of the user, and the third voice comment is displayed as the second text in the text input area.
In the embodiment of the disclosure, at least one of the first voice comment, the third voice comment, the first text and the second text is sent to the collaborative document comment.
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.

Claims (15)

1. A comment method is applied to a first service end and is characterized by comprising the following steps:
receiving a first voice comment file sent by a collaborative document client;
verifying the writing authority of the first voice comment in the first voice comment file to determine a first file token;
sending the first file token to the collaborative document client, so that a second server determines a comment identifier according to the first file token after receiving the first file token sent by the collaborative document client;
and receiving the comment identifier sent by the second server, and updating the mount point of the first voice comment file according to the comment identifier so that the second server writes the first voice comment.
2. The method of claim 1, wherein the verifying the write permission of the first voice comment in the first voice comment file to determine a first file token comprises:
verifying the write permission to obtain the verified write permission;
sending the verified write permission to the second server, so that the second server verifies the comment permission of the collaborative document client to the collaborative document according to the verified write permission;
and receiving the verified comment permission of the collaborative document sent by the second server, and determining a first file token according to the verified comment permission of the collaborative document.
3. The method of claim 1, further comprising:
when a second file token sent by the collaborative document client is received, verifying the read permission of a second voice comment corresponding to a second voice comment file corresponding to the second file token to obtain the verified read permission;
and reading the second voice comment according to the read permission after verification.
4. A method according to claim 1 or 3, characterized in that the method further comprises:
and converting the first voice comment file or the second voice comment file into a text comment file.
5. A comment method is applied to a collaborative document client, and is characterized by comprising the following steps:
sending a first voice comment file to a first service end, so that the first service end verifies the write permission of a first voice comment corresponding to the first voice comment file to determine a first file token;
receiving the first file token sent by the first server, and sending the first file token to a second server, so that the second server determines a comment identifier according to the first file token, and the comment identifier enables the second server to write the first voice comment.
6. The method of claim 5, further comprising:
acquiring a second file token;
and sending the second file token to the first server, so that the first server verifies the read permission of the corresponding second voice comment of the second voice comment file corresponding to the second file token to obtain the verified read permission, and the read permission enables the first server to read the second voice comment.
7. The method of claim 5, further comprising:
when a voice input area included in an input area of the client receives the first voice comment of a user, displaying the first voice comment as first words in a word input area included in the input area, wherein the voice input area displays a sound curve according to at least one of the frequency of the first voice comment and the volume of the first voice comment.
8. The method of claim 7, further comprising:
and when the user finishes editing the first characters in the character input area, the voice input area receives a third voice comment of the user and displays the third voice comment as second characters in the character input area.
9. The method of claim 8, further comprising:
and sending at least one of the first voice comment, the third voice comment, the first text and the second text to a collaborative document comment.
10. An apparatus for commenting is applied to a first service end, and is characterized by comprising:
the first processing module is used for receiving a first voice comment file sent by the collaborative document client;
the second processing module is used for verifying the write permission of the first voice comment in the first voice comment file and determining a first file token;
the third processing module is used for sending the first file token to the collaborative document client, so that a second server determines a comment identifier according to the first file token after receiving the first file token sent by the collaborative document client;
and the fourth processing module is used for receiving the comment identifier sent by the second server, and updating the mount point of the first voice comment file according to the comment identifier so that the second server writes the first voice comment.
11. An apparatus for commenting is applied to a collaborative document client, and is characterized by comprising:
the fifth processing module is used for sending the first voice comment file to the first service end so that the first service end can verify the write permission of the first voice comment corresponding to the first voice comment file to determine a first file token;
the sixth processing module is configured to receive the first file token sent by the first server, and send the first file token to a second server, so that the second server determines a comment identifier according to the first file token, where the comment identifier enables the second server to write the first voice comment.
12. An electronic device, comprising: a processor, a memory;
the memory for storing a computer program;
the processor for executing the method of the review of any of the above claims 1-4 by invoking the computer program.
13. An electronic device, comprising: a processor, a memory;
the memory for storing a computer program;
the processor for executing the method of the review of any of the above claims 5-9 by invoking the computer program.
14. A computer-readable storage medium, characterized in that a computer program is stored which, when being executed by a processor, is adapted to carry out the method of commenting on any one of claims 1-4.
15. A computer-readable storage medium, characterized in that a computer program is stored which, when being executed by a processor, is adapted to carry out the method of commenting on any one of claims 5-9.
CN202010080865.9A 2020-02-05 2020-02-05 Comment method and device, electronic equipment and computer readable medium Active CN111343149B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010080865.9A CN111343149B (en) 2020-02-05 2020-02-05 Comment method and device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010080865.9A CN111343149B (en) 2020-02-05 2020-02-05 Comment method and device, electronic equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN111343149A true CN111343149A (en) 2020-06-26
CN111343149B CN111343149B (en) 2021-05-14

Family

ID=71185805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010080865.9A Active CN111343149B (en) 2020-02-05 2020-02-05 Comment method and device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN111343149B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8091028B2 (en) * 2001-03-09 2012-01-03 Copernicus Investments, Llc Method and apparatus for annotating a line-based document
CN108512814A (en) * 2017-02-28 2018-09-07 腾讯科技(北京)有限公司 media data processing method, device and system
CN109446283A (en) * 2018-09-10 2019-03-08 咪咕互动娱乐有限公司 A kind of method, apparatus and computer readable storage medium of comment display
CN110069620A (en) * 2019-04-30 2019-07-30 上海掌门科技有限公司 Comment information methods of exhibiting, device, electronic equipment and medium
CN110267113A (en) * 2019-06-14 2019-09-20 北京字节跳动网络技术有限公司 Video file processing method, system, medium and electronic equipment
CN110377191A (en) * 2019-06-14 2019-10-25 北京字节跳动网络技术有限公司 Voice remark exchange method, system, medium and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8091028B2 (en) * 2001-03-09 2012-01-03 Copernicus Investments, Llc Method and apparatus for annotating a line-based document
CN108512814A (en) * 2017-02-28 2018-09-07 腾讯科技(北京)有限公司 media data processing method, device and system
CN109446283A (en) * 2018-09-10 2019-03-08 咪咕互动娱乐有限公司 A kind of method, apparatus and computer readable storage medium of comment display
CN110069620A (en) * 2019-04-30 2019-07-30 上海掌门科技有限公司 Comment information methods of exhibiting, device, electronic equipment and medium
CN110267113A (en) * 2019-06-14 2019-09-20 北京字节跳动网络技术有限公司 Video file processing method, system, medium and electronic equipment
CN110377191A (en) * 2019-06-14 2019-10-25 北京字节跳动网络技术有限公司 Voice remark exchange method, system, medium and electronic equipment

Also Published As

Publication number Publication date
CN111343149B (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN110809189B (en) Video playing method and device, electronic equipment and computer readable medium
WO2020151599A1 (en) Method and apparatus for publishing video synchronously, electronic device, and readable storage medium
CN112040330B (en) Video file processing method and device, electronic equipment and computer storage medium
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN112073307B (en) Mail processing method, mail processing device, electronic equipment and computer readable medium
US20220374538A1 (en) Permission control method and device and electronic equipment
CN111459364B (en) Icon updating method and device and electronic equipment
US11758087B2 (en) Multimedia conference data processing method and apparatus, and electronic device
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN112015505A (en) Mode switching method and device and electronic equipment
CN110083768B (en) Information sharing method, device, equipment and medium
CN110908752A (en) Control setting method and device, electronic equipment and interaction system
CN114125551B (en) Video generation method, device, electronic equipment and computer readable medium
CN111460432B (en) On-line document authority control method, device, equipment and computer readable medium
US20230319325A1 (en) Information interaction method, apparatus and device
CN111756953A (en) Video processing method, device, equipment and computer readable medium
CN112148744A (en) Page display method and device, electronic equipment and computer readable medium
CN111367689A (en) Interactive prompt information sending method and device of online document and electronic equipment
CN110619101B (en) Method and apparatus for processing information
CN112307393A (en) Information issuing method and device and electronic equipment
CN111343149B (en) Comment method and device, electronic equipment and computer readable medium
CN111212296B (en) Live broadcast room gift list configuration method, device, medium and electronic equipment
CN114428925A (en) Page rendering method and device, electronic equipment and computer readable medium
CN111385638B (en) Video processing method and device
CN111367592B (en) Information processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: Tiktok vision (Beijing) Co.,Ltd.