WO2020211745A1 - 在线文档的通知方法、装置、终端、服务器及存储介质 - Google Patents

在线文档的通知方法、装置、终端、服务器及存储介质 Download PDF

Info

Publication number
WO2020211745A1
WO2020211745A1 PCT/CN2020/084668 CN2020084668W WO2020211745A1 WO 2020211745 A1 WO2020211745 A1 WO 2020211745A1 CN 2020084668 W CN2020084668 W CN 2020084668W WO 2020211745 A1 WO2020211745 A1 WO 2020211745A1
Authority
WO
WIPO (PCT)
Prior art keywords
notification
online document
online
document
page
Prior art date
Application number
PCT/CN2020/084668
Other languages
English (en)
French (fr)
Inventor
彭龙腾
Original Assignee
北京字节跳动网络技术有限公司
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 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Publication of WO2020211745A1 publication Critical patent/WO2020211745A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/453Help systems

Definitions

  • the present disclosure relates to communication technology, and in particular to a method, device, terminal, server and storage medium for notifying online documents.
  • online documents are more and more favored by users due to their multi-user collaboration and cloud storage features.
  • online documents created and received by users increase, some online documents cannot be processed in time. And forget about the handling of online documents.
  • embodiments of the present disclosure provide a method, device, terminal, server, and storage medium for notifying online documents.
  • embodiments of the present disclosure provide a method for notifying online documents, including:
  • a notification corresponding to the online document is sent to an instant messaging (IM, Instant Message) client associated with the online document, where the notification is used to indicate the processing status of the online document.
  • IM Instant Messaging
  • the method further includes:
  • At least one of the following notification methods is adopted to send a notification corresponding to the online document:
  • sending a notification corresponding to the online document to an instant messaging client associated with the online document includes:
  • sending a notification corresponding to the online document to an instant messaging client associated with the online document includes:
  • a notification corresponding to the online document is sent to the instant messaging client corresponding to the notification object identifier.
  • sending a notification corresponding to the online document to an instant messaging client associated with the online document includes:
  • the method further includes:
  • the method further includes:
  • embodiments of the present disclosure provide a method for notifying online documents, including:
  • the client loads the page of the online document
  • a setting instruction corresponding to the online document is sent through the page, the setting instruction is triggered by a page operation of the online document, and the setting instruction carries notification information corresponding to the online document, the notification information Including at least one of notification method and notification time;
  • the client loading the page of the online document includes:
  • the operation instruction instructs to create the online document or display the online document
  • the built-in browser kernel is called to load the page of the online document, or the browser kernel is called to load the page of the online document through the interface provided by the browser.
  • an online document notification device including:
  • a receiving unit configured to receive a setting instruction for an online document, the setting instruction being triggered by a page operation of the online document;
  • a parsing unit configured to parse the setting instruction to obtain notification information corresponding to the online document, where the notification information includes at least one of a notification method and a notification time;
  • the sending unit is configured to send a notification corresponding to the online document to an instant messaging client associated with the online document based on the notification information, and the notification is used to indicate the processing status of the online document.
  • the sending unit is further configured to obtain the notification object identifier corresponding to the notification mode
  • At least one of the following notification methods is adopted to send a notification corresponding to the online document:
  • the sending unit is specifically configured to further include the document identifier of the online document in response to the notification information
  • the sending unit is specifically configured to respond to the notification information including the notification time and the notification object identifier, and based on the notification time, send the notification corresponding to the online document to the instant messaging corresponding to the notification object identifier Client.
  • the sending unit is specifically configured to send a notification including the document name and the uniform resource locator URL corresponding to the online document based on the notification information, so that the notification is displayed by the newsletter client At the time, the page is redirected to the online document based on the URL.
  • the device further includes a deleting unit
  • the receiving unit is further configured to receive a closing instruction corresponding to the setting instruction
  • the deleting unit is configured to delete the established notification task corresponding to the online document based on the closing instruction, and the notification task instructs to send a notification corresponding to the online document based on the notification information.
  • the sending unit is further configured to periodically check the processing status of the online document, and when it is determined that the online document is in the pending state, send a notification corresponding to the online document.
  • an embodiment of the present disclosure also provides an online document notification device, including:
  • the page loading unit is used to load pages of online documents
  • An instruction sending unit configured to send a setting instruction corresponding to the online document through the page, the setting instruction is triggered by a page operation of the online document, and the setting instruction carries a notification corresponding to the online document Information, the notification information includes at least one of a notification method and a notification time;
  • the notification receiving unit is configured to receive a notification corresponding to the online document, and the notification is used to indicate the processing status of the online document.
  • the page loading unit is specifically configured to respond to an operation instruction corresponding to the online document, the operation instruction instructing to create the online document or display the online document,
  • the built-in browser kernel is called to load the page of the online document, or the browser kernel is called to load the page of the online document through the interface provided by the browser.
  • an embodiment of the present disclosure also provides a server, the server including:
  • the first memory is used to store executable instructions
  • the first processor is configured to implement the above-mentioned online document notification method provided by the embodiment of the present disclosure when executing the executable instructions stored in the first memory.
  • the embodiments of the present disclosure also provide a terminal, the terminal including:
  • the second memory is used to store executable instructions
  • the second processor is configured to implement the above-mentioned online document notification method provided by the embodiment of the present disclosure when executing the executable instructions stored in the second memory.
  • an embodiment of the present disclosure further provides a storage medium that stores executable instructions, and when the executable instructions are executed, the foregoing online document notification method provided by the embodiments of the present disclosure is implemented.
  • an embodiment of the present disclosure further provides a storage medium that stores executable instructions, and when the executable instructions are executed, the foregoing online document notification method provided by the embodiments of the present disclosure is implemented.
  • the setting instruction corresponding to the online document is triggered based on the user's page operation on the online document, and then the notification of the corresponding online document is sent based on the notification information in the setting instruction, so that the user can timely process the pending online document Documents will not be missed, and the user experience is high.
  • FIG. 1 is a schematic structural diagram of an online document notification system provided by an embodiment of the disclosure
  • FIG. 2 is a schematic diagram 1 of the composition structure of an online document notification device provided by an embodiment of the disclosure
  • FIG. 3 is a first schematic flowchart of a method for notifying online documents provided by an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of an interface for setting notifications of online documents provided by an embodiment of the present disclosure
  • FIG. 5 is a first schematic diagram of an interface of an online document notification provided by an embodiment of the present disclosure
  • FIG. 6 is a second schematic diagram of an interface of an online document notification provided by an embodiment of the disclosure.
  • FIG. 7 is a second schematic flowchart of a method for notifying online documents provided by an embodiment of the disclosure.
  • FIG. 8 is a second schematic diagram of the composition structure of an online document notification device provided by an embodiment of the disclosure.
  • FIG. 9 is a third schematic diagram of the composition structure of an online document notification device provided by an embodiment of the disclosure.
  • each block in the flowchart or block diagram can represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logical function Executable instructions.
  • the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown in succession can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
  • Client an application running in a terminal for providing various services, such as an instant messaging application client.
  • Online document a document for users to edit online, collaborate with multiple users, and save in the cloud in real time.
  • the document is displayed through the HyperText Markup Language (HTML) page, which depends on the communication between the client and the server.
  • HTML HyperText Markup Language
  • the types of online documents can be online Word documents, online Excel documents, online PPT documents, and online drawing documents.
  • the executed one or more operations can be real-time or have a set delay; Unless otherwise specified, there is no restriction on the order of execution of multiple operations performed.
  • FIG. 1 is a schematic diagram of the architecture of the online document notification system provided by the embodiments of the present disclosure.
  • the terminal 400 Including a terminal 400-1 and a terminal 400-2
  • the terminal 400 is connected to the server 200 through the network 300
  • a client is provided on the terminal, through which the user can load the page of the online document.
  • the network 300 may be a wide area network or a local area network , Or a combination of the two, use wireless links to achieve data transmission.
  • the terminal 400 (such as the terminal 400-1) is used to load a page of an online document so that a user can perform page operations based on the loaded page, and the page operation triggers the sending of a setting instruction corresponding to the online document to the server 200 through the page;
  • the server 200 is configured to parse the setting instructions to obtain notification information corresponding to the online document.
  • the notification information includes at least one of a notification method and a notification time; based on the notification information, a notification corresponding to the online document is sent to the terminal 400, and the notification indicates that the online document is in Pending status.
  • the online document notification device in the embodiments of the present disclosure can be implemented in various forms, such as: implemented by terminals such as smart phones, tablet computers, and desktop computers, or implemented by servers alone, or implemented by terminals and servers in cooperation.
  • the online document notification device provided by the embodiments of the present disclosure may be implemented in a hardware or a combination of software and hardware. The following describes various exemplary implementations of the online document notification device provided by the embodiments of the present disclosure.
  • FIG. 2 is a schematic diagram of the composition structure of the online document notification device provided by the embodiment of the disclosure.
  • the device composition shown in FIG. 2 is only an example. Any limitation should be brought about the function and scope of use of the embodiments of the present disclosure.
  • the notification device of an online document may include a processing device (such as a central processing unit, a graphics processor, etc.) 210, which may be based on a program stored in a read-only memory (ROM, Read-Only Memory) 220 or from The storage device 280 loads a program in a random access memory (RAM, Random Access Memory) 230 to execute various appropriate actions and processes.
  • RAM random access memory
  • various programs and data required for terminal operation are also stored.
  • the processing device 210, the ROM 220, and the RAM 230 are connected to each other through a bus 240.
  • An input/output (I/O, Input/Output) interface 250 is also connected to the bus 240.
  • the following devices can be connected to the I/O interface 250: including input devices 260 such as touch screen, touch panel, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, liquid crystal display (LCD), speakers, vibration An output device 270 such as a device; a storage device 280 such as a magnetic tape, a hard disk, etc.; and a communication device 290.
  • the communication device 290 may allow the terminal to perform wireless or wired communication with other devices to exchange data.
  • FIG. 2 shows a terminal with various devices, it should be understood that it is not required to implement or have all the devices shown. It may alternatively be implemented or provided with more or fewer devices.
  • the process described by the provided flowchart can be implemented as a computer software program.
  • the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 290, or installed from the storage device 280, or installed from the ROM 220.
  • the processing device 210 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
  • the aforementioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
  • the computer-readable storage medium may include, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the above, for example. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable signal medium may send, propagate, or transmit a program for use by or in combination with the instruction execution system, apparatus, or device.
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, radio frequency (RF), etc., or any suitable combination of the above.
  • the above-mentioned computer-readable medium may be included in the above-mentioned terminal; or it may exist alone without being assembled into the terminal.
  • the foregoing computer-readable medium carries one or more programs, and when the foregoing one or more programs are executed by the terminal, the terminal is caused to execute the foregoing online document notification method provided by the embodiment of the present disclosure.
  • the computer program code used to perform the operations of the present disclosure may be written in one or more programming languages or a combination thereof.
  • the above-mentioned programming languages include object-oriented programming languages—such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) and a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to pass Internet connection).
  • LAN local area network
  • WAN wide area network
  • the units and/or modules that implement the terminal of the embodiments of the present disclosure can be implemented by one or more application specific integrated circuits (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic device). Device, Complex Programmable Logic Device (CPLD, Complex Programmable Logic Device), Field-Programmable Gate Array (FPGA, Field-Programmable Gate Array), or other electronic components are used to implement the methods provided in the embodiments of the present disclosure.
  • ASIC Application Specific Integrated Circuit
  • DSP digital signal processor
  • PLD programmable logic device
  • CPLD Complex Programmable Logic Device
  • FPGA Field-Programmable Gate Array
  • FPGA Field-Programmable Gate Array
  • FIG. 3 is a schematic flowchart of a method for notifying online documents provided by an embodiment of the present disclosure.
  • the method for notifying online documents in an embodiment of the present disclosure includes:
  • Step 301 The server receives the setting instruction corresponding to the online document, and the setting instruction is triggered by the page operation of the online document.
  • the above-mentioned setting instructions may be sent through the client, and the online document may be displayed through the client.
  • the client may be a social client, such as an IM client, which integrates the function of online documents. Based on the user's click operation, the client uses the interface provided by the browser to call the browser kernel to load the page of the online document. Based on the loaded page, the user can create and edit the online document.
  • the client is integrated with a browser kernel, and the page of the online document is displayed on the client by calling the browser kernel; in other embodiments, the client is an online document client, through Run the online document client to load the page of the online document; in other embodiments, there is a small program corresponding to the online document function, and the client downloads and runs the source code of the online document small program to load the page of the online document.
  • FIG. 4 is a schematic diagram of the interface of the notification setting of the online document provided by the embodiment of the present disclosure. See Figure 4, the user sets the notification method and/or notification time by clicking the setting option on the page , To trigger the setting command.
  • the browser kernel is integrated in the IM client, the IM client listens to the user’s notification setting operation and sends the setting command corresponding to the online document to the server.
  • the setting instructions corresponding to the online document are sent to the server through the browser client.
  • Step 302 Parse the setting instruction to obtain notification information corresponding to the online document.
  • the notification information includes at least one of a notification method and a notification time.
  • the server parses the setting command based on the received setting command, and obtains notification information including the notification method and/or notification time; in some embodiments, the notification information also includes the online document identification ID, and the server
  • the processed state of the corresponding online document can be marked as the pending state based on the online document ID, and a notification task for the online document can be established.
  • the notification task indicates that based on the notification information, a notification of the corresponding online document is sent to indicate that the online document is in Pending status.
  • the notification mode can be at least one of the following: IM notification mode, voice notification mode, SMS notification mode, and email notification mode.
  • the notification information may also include the notification object identifier corresponding to the notification mode; for example, when the notification mode is In IM notification mode, the corresponding notification object ID is the IM client ID (IM client account); when the notification mode is voice notification and/or SMS notification, the corresponding notification object ID is the mobile phone number; when the notification mode is In the mail notification mode, the corresponding notification object identifier is the mailbox user name.
  • the notification time can be the specific time when the notification is sent, such as X month X day X o'clock, or a period of time since the user set (the server receives the setting instruction), such as 3 hours later. It is a time range, such as between X o'clock and Y o'clock on T day; in some embodiments, if the user does not set the notification time, the server can select a default time to remind when the online document is notified, such as X hours Rear.
  • the user can close the set notification for the online document, the client sends a close instruction corresponding to the set instruction to the server, and the server deletes the established notification task corresponding to the online document based on the received close instruction.
  • Step 303 Based on the notification information, a notification corresponding to the online document is sent, and the notification is used to indicate the processing status of the online document.
  • the processing status of the online document includes status information used to indicate the processing progress of the online document, for example, the processing status of the online document is the pending status or the processing completion status.
  • the server may send a notification corresponding to the online document in the following manner:
  • the notification information In response to the notification method included in the notification information being at least one of the following: IM notification method, voice notification method, SMS notification method, and email notification method, the notification information also includes the notification object identifier corresponding to the notification method, and the server adopts the notification object identifier based on the notification object identifier.
  • the notification method included in the notification information sends a notification corresponding to the online document.
  • the notification method included in the notification information is a short message notification method
  • the included notification object identifier is a mobile phone number
  • the server sends a short message notification corresponding to the online document based on the mobile phone number included in the notification information, see Figure 5, Figure 5
  • Figure 5 This is a schematic diagram of the interface of the online document notification provided by the embodiment of the present disclosure.
  • the notification short message received by the user includes the document name of the online document in the pending state and the URL corresponding to the online document, so that it is convenient for the user to click the URL directly Jump to the corresponding online document.
  • the notification method included in the notification information is the IM notification method
  • the included notification object identifier is the IM client identifier
  • the server sends the IM message corresponding to the online document based on the IM client identifier included in the notification information, see Figure 6.
  • FIG. 6 is a schematic diagram of the interface of the online document notification provided by the embodiment of the present disclosure.
  • the IM message received by the user includes the document name of the online document in the pending state and the URL corresponding to the online document.
  • the server may send a notification corresponding to the online document in the following manner:
  • the notification information In response to the notification mode included in the notification information being the IM notification mode, the notification information further includes the user identification corresponding to the online document, and the notification corresponding to the online document is sent to the client corresponding to the user identification.
  • the IM client integrated with the online document function shares a set of account system with the online document, that is, the client ID of the IM client is the same as the user ID corresponding to the online document. Therefore, the server can be based on the corresponding online document User ID, to send notifications of online documents via IM messages.
  • the notification method included in the notification information is an email notification method
  • the included notification object identifier is a mailbox user name.
  • the server sends an email corresponding to the online document based on the mailbox user name included in the notification information.
  • the subject of the email may be the document name of the online document in a pending state
  • the body of the email includes the document name and the URL corresponding to the online document.
  • the server in order to prevent the user from failing to handle the missed processing when receiving the online document notification, the server periodically checks the processing status of the online document after sending the online document notification to determine the online document When in the pending state, repeat the notification of the corresponding online document.
  • the length of the cycle can be set according to actual needs, such as setting the cycle to 2 hours.
  • the user after receiving the notification of the online document, the user processes the online document or determines that the online document does not need to be notified, and then turns off the set notification for the online document, so that the server receives the corresponding setting instruction Close the instruction to delete the notification task corresponding to the established online document.
  • FIG. 7 is a schematic flowchart of a method for notifying online documents provided by an embodiment of the present disclosure.
  • the method for notifying online documents provided by an embodiment of the present disclosure includes:
  • Step 401 In response to the operation instruction of the online document triggered by the user, the IM client calls the browser kernel through the interface to load the page of the online document.
  • Step 402 In response to the setting instruction for the online document triggered by the user based on the page, the browser sends the setting instruction corresponding to the online document to the server.
  • the user sets the notification based on the page of the online document displayed through the browser.
  • the user sets the notification mode and notification time for the online document that needs to be notified, for example, the notification mode is set to IM notification. Way, set the notification time to 3 hours later.
  • Step 403 The server parses the setting instruction to obtain the notification information corresponding to the online document.
  • the aforementioned notification information includes a notification method, notification time, user identification, and document identification.
  • Step 404 The server establishes a notification task for the online document based on the document identifier.
  • the notification task corresponding to the online document established by the server instructs to send a notification corresponding to the online document based on the notification information to indicate that the online document is in a pending state.
  • Step 405 When the server determines that the notification time has arrived, it sends a notification corresponding to the online document to the IM client in the form of an IM message according to the user identifier.
  • the IM client integrated with the online document function shares an account system with the online document, that is, the client ID of the IM client is the same as the user ID corresponding to the online document, so the server can be based on the user ID corresponding to the online document , Send notifications of online documents via IM messages.
  • the IM message sent by the server contains the name of the online document that needs to be processed by the user and the corresponding URL, so that the user can directly jump to the page of the online document by clicking the URL.
  • the server periodically checks the processing state of the online document to determine that the online document is in the pending state, and repeatedly sends a notification corresponding to the online document.
  • Step 406 In response to the user's click operation on the URL in the IM message, call the browser kernel through the interface to load the page corresponding to the URL.
  • the user realizes the processing of the online document in the pending state according to the IM message sent by the server, and closes the notification of the online document.
  • Step 407 In response to the user's closing instruction for the online document triggered based on the page corresponding to the URL, the browser sends the corresponding online document closing instruction to the server.
  • Step 408 The server deletes the established notification task corresponding to the online document based on the closing instruction.
  • FIG. 8 is a schematic diagram of the composition of an online document notification device provided by an embodiment of the present disclosure.
  • the online document notification device 80 provided by an embodiment of the present disclosure includes:
  • the receiving unit 81 is configured to receive a setting instruction corresponding to an online document, the online document is displayed by the client, and the setting instruction is triggered by a page operation of the online document;
  • the analyzing unit 82 is configured to analyze the setting instruction to obtain notification information corresponding to the online document, where the notification information includes at least one of a notification method and a notification time;
  • the sending unit 83 is configured to send a notification corresponding to the online document based on the notification information, and the notification is used to indicate the processing status of the online document.
  • the sending unit is specifically configured to respond to that the notification mode included in the notification information is at least one of the following: instant messaging IM notification mode, voice notification mode, short message notification mode, and email notification mode.
  • the notification information also includes the notification object identifier corresponding to the notification method;
  • the notification corresponding to the online document is sent in the notification manner.
  • the sending unit is specifically configured to respond to that the notification mode included in the notification information is an IM notification mode, and the notification information further includes the document identifier of the online document;
  • the sending unit is specifically configured to send a notification corresponding to the online document based on the notification time and the notification object identifier in response to the notification information including the notification time and notification object identifier.
  • the sending unit is specifically configured to send, based on the notification information, the document name and the uniform resource locator URL corresponding to the online document, so that when the notification is displayed, based on the URL Jump to the page to the online document.
  • the device further includes a deletion unit
  • the receiving unit is further configured to receive a closing instruction corresponding to the setting instruction sent by the client;
  • the deleting unit is configured to delete the established notification task corresponding to the online document based on the closing instruction, and the notification task instructs to send a notification corresponding to the online document based on the notification information.
  • the sending unit is further configured to periodically check the processing state of the online document, and when it is determined that the online document is in the pending state, send a notification corresponding to the online document.
  • FIG. 9 is a schematic diagram of the composition structure of an online document notification device provided by an embodiment of the present disclosure.
  • the device provided by an embodiment of the present disclosure includes:
  • the page loading unit 91 is used to load pages of online documents
  • the instruction sending unit 92 is configured to send a setting instruction corresponding to the online document through the page, the setting instruction is triggered by a page operation of the online document, and the setting instruction carries information corresponding to the online document Notification information, where the notification information includes at least one of a notification method and a notification time;
  • the notification receiving unit 93 is configured to receive a notification corresponding to the online document, and the notification is used to indicate the processing status of the online document.
  • the page loading unit is specifically configured to respond to an operation instruction corresponding to the online document, the operation instruction instructing to create the online document or display the online document,
  • the built-in browser kernel is called to load the page of the online document, or the browser kernel is called to load the page of the online document through the interface provided by the browser.
  • the embodiment of the present disclosure also provides a server, and the server includes:
  • the first memory is used to store executable instructions
  • the first processor is configured to implement the online document notification method provided in the embodiment of the present disclosure when executing the executable instructions stored in the first memory.
  • the embodiment of the present disclosure also provides a terminal, and the terminal includes:
  • the second memory is used to store executable instructions
  • the second processor is configured to implement the online document notification method provided in the embodiment of the present disclosure when executing the executable instructions stored in the second memory.
  • the embodiments of the present disclosure also provide a readable storage medium.
  • the storage medium may include: a mobile storage device, a random access memory (RAM, Random Access Memory), a read-only memory (ROM, Read-Only Memory), a magnetic disk, or Various media that can store program codes, such as an optical disc.
  • the readable storage medium stores executable instructions;
  • the executable instruction is used to implement the online document notification method provided by the embodiment of the present disclosure when executed by the processor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种在线文档的通知方法、装置、终端、服务器及存储介质,其中,方法包括:接收到对应在线文档的设定指令,所述设定指令通过所述在线文档的页面操作所触发;解析所述设定指令,得到对应所述在线文档的通知信息,所述通知信息包括通知方式、通知时间中至少一种;基于所述通知信息,向与所述在线文档相关联的即时通讯客户端发送对应所述在线文档的通知,所述通知用于指示所述在线文档的处理状态。

Description

在线文档的通知方法、装置、终端、服务器及存储介质
相关申请的交叉引用
本申请基于申请号为201910302451.3、申请日为2019年04月16日、名称为“在线文档的通知方法、装置、终端、服务器及存储介质”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及通信技术,尤其涉及一种在线文档的通知方法、装置、终端、服务器及存储介质。
背景技术
随着互联网技术的发展,由于在线文档所具备的多用户协作、云端存储等特性,越来越受到用户的青睐,然而随着用户创建及接收的在线文档的增多,有些在线文档无法及时处理,进而忘记对在线文档的处理。
发明内容
有鉴于此,本公开实施例提供一种在线文档的通知方法、装置、终端、服务器及存储介质。
第一方面,本公开实施例提供一种在线文档的通知方法,包括:
接收到针对在线文档的设定指令,所述设定指令通过所述在线文档的页面操作所触发;
解析所述设定指令,得到与所述在线文档对应的通知信息,所述通知信息包括通知方式、通知时间中至少一种;
基于所述通知信息,向与所述在线文档相关联的即时通讯(IM,Instant M essage)客户端发送对应所述在线文档的通知,所述通知用于指示所述在线文档的处理状态。
上述方案中,所述方法还包括:
获取对应所述通知方式的通知对象标识,
基于所述通知对象标识,采用以下通知方式中至少之一,发送对应所述在线文档的通知:
语音通知方式、短信通知方式及邮件通知方式。
上述方案中,所述基于所述通知信息,向与所述在线文档相关联的即时通讯客户端发送对应所述在线文档的通知,包括:
响应于所述通知信息还包括所述在线文档对应的用户标识,
发送对应所述在线文档的通知给对应所述用户标识的即时通讯客户端。
上述方案中,所述基于所述通知信息,向与所述在线文档相关联的即时通讯客户端发送对应所述在线文档的通知,包括:
响应于所述通知信息包括通知时间及通知对象标识,
基于所述通知时间,发送对应所述在线文档的通知给对应所述通知对象标识的即时通讯客户端。
上述方案中,所述基于所述通知信息,向与所述在线文档相关联的即时通讯客户端发送对应所述在线文档的通知,包括:
基于所述通知信息,发送包含文档名称及对应所述在线文档的统一资源定位符(URL,Uniform Resource Locator)的通知,以使所述通知被所述时通讯客户端显示时,基于所述URL跳转页面至所述在线文档。
上述方案中,所述方法还包括:
接收到对应所述设定指令的关闭指令;
基于所述关闭指令,删除建立的对应所述在线文档的通知任务,所述通知任务指示基于所述通知信息,发送对应所述在线文档的通知。
上述方案中,所述发送对应所述在线文档的通知之后,所述方法还包括:
周期性的查看所述在线文档的处理状态,确定所述在线文档处于待处理状 态时,发送对应所述在线文档的通知。
第二方面,本公开实施例提供一种在线文档的通知方法,包括:
客户端加载在线文档的页面;
通过所述页面发送对应所述在线文档的设定指令,所述设定指令通过所述在线文档的页面操作所触发,所述设定指令携带对应所述在线文档的通知信息,所述通知信息包括通知方式、通知时间中至少一种;
接收对应所述在线文档的通知,所述通知用于指示所述在线文档的处理状态。
上述方案中,所述客户端加载在线文档的页面,包括:
响应于对应所述在线文档的操作指令,所述操作指令指示创建所述在线文档或显示所述在线文档,
调用内置的浏览器内核加载所述在线文档的页面,或者通过浏览器提供的接口调用浏览器内核加载所述在线文档的页面。
第三方面,本公开实施例提供一种在线文档的通知装置,包括:
接收单元,用于接收针对在线文档的设定指令,所述设定指令通过所述在线文档的页面操作所触发;
解析单元,用于解析所述设定指令,得到与所述在线文档对应的通知信息,所述通知信息包括通知方式、通知时间中至少一种;
发送单元,用于基于所述通知信息,向与所述在线文档相关联的即时通讯客户端发送对应所述在线文档的通知,所述通知用于指示所述在线文档的处理状态。
上述方案中,所述发送单元,还用于获取对应所述通知方式的通知对象标识,
基于所述通知对象标识,采用以下通知方式中至少之一,发送对应所述在线文档的通知:
语音通知方式、短信通知方式及邮件通知方式。
上述方案中,所述发送单元,具体用于响应于所述通知信息还包括所述在 线文档的文档标识,
发送对应所述在线文档的通知给对应所述文档标识的即时通讯客户端。
上述方案中,所述发送单元,具体用于响应于所述通知信息包括通知时间及通知对象标识,基于所述通知时间,发送对应所述在线文档的通知给对应所述通知对象标识的即时通讯客户端。
上述方案中,所述发送单元,具体用于基于所述通知信息,发送包含文档名称及对应所述在线文档的统一资源定位符URL的通知,以使所述通知被所述时通讯客户端显示时,基于所述URL跳转页面至所述在线文档。
上述方案中,所述装置还包括删除单元;
所述接收单元,还用于接收到对应所述设定指令的关闭指令;
所述删除单元,用于基于所述关闭指令,删除建立的对应所述在线文档的通知任务,所述通知任务指示基于所述通知信息,发送对应所述在线文档的通知。
上述方案中,所述发送单元,还用于周期性的查看所述在线文档的处理状态,确定所述在线文档处于待处理状态时,发送对应所述在线文档的通知。
第四方面,本公开实施例还提供一种在线文档的通知装置,包括:
页面加载单元,用于加载在线文档的页面;
指令发送单元,用于通过所述页面发送对应所述在线文档的设定指令,所述设定指令通过所述在线文档的页面操作所触发,所述设定指令携带对应所述在线文档的通知信息,所述通知信息包括通知方式、通知时间中至少一种;
通知接收单元,用于接收对应所述在线文档的通知,所述通知用于指示所述在线文档的处理状态。
上述方案中,所述页面加载单元,具体用于响应于对应所述在线文档的操作指令,所述操作指令指示创建所述在线文档或显示所述在线文档,
调用内置的浏览器内核加载所述在线文档的页面,或者通过浏览器提供的接口调用浏览器内核加载所述在线文档的页面。
第五方面,本公开实施例还提供一种服务器,所述服务器包括:
第一存储器,用于存储可执行指令;
第一处理器,用于执行所述第一存储器中存储的可执行指令时,实现本公开实施例提供的上述在线文档的通知方法。
第六方面,本公开实施例还提供一种终端,所述终端包括:
第二存储器,用于存储可执行指令;
第二处理器,用于执行所述第二存储器中存储的可执行指令时,实现本公开实施例提供的上述在线文档的通知方法。
第七方面,本公开实施例还提供一种存储介质,存储有可执行指令,所述可执行指令被执行时,实现本公开实施例提供的上述在线文档的通知方法。
第八方面,本公开实施例还提供一种存储介质,存储有可执行指令,所述可执行指令被执行时,实现本公开实施例提供的上述在线文档的通知方法。
应用本公开上述实施例具有以下有益效果:
应用本公开上述实施例,基于用户针对在线文档的页面操作触发对应在线文档的设定指令,进而基于设定指令中的通知信息发送对应在线文档的通知,使得用户能够及时的处理待处理的在线文档而不会遗漏,用户体验高。
附图说明
图1为本公开实施例提供的在线文档的通知系统的架构示意图;
图2为本公开实施例提供的在线文档的通知装置的组成结构示意图一;
图3为本公开实施例提供的在线文档的通知方法的流程示意图一;
图4为本公开实施例提供的在线文档的通知设定的界面示意图;
图5为本公开实施例提供的在线文档的通知的界面示意图一;
图6为本公开实施例提供的在线文档的通知的界面示意图二;
图7为本公开实施例提供的在线文档的通知方法的流程示意图二;
图8为本公开实施例提供的在线文档的通知装置的组成结构示意图二;
图9为本公开实施例提供的在线文档的通知装置的组成结构示意图三。
具体实施方式
在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。
除非另有定义,本文所使用的所有的技术和科学术语与属于本公开实施例的技术领域的技术人员通常理解的含义相同。本文中所使用的术语只是为了描述具体的实施例的目的,不是旨在限制本公开实施例。
本公开实施例提供的附图中的流程图和框图,图示了按照本公开实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
对本公开实施例进行进一步详细说明之前,对本公开实施例中涉及的名词和术语进行说明,本公开实施例中涉及的名词和术语适用于如下的解释。
1)客户端,终端中运行的用于提供各种服务的应用程序,例如即时通信应用客户端。
2)在线文档,一种供用户在线编辑、多用户协作并实时保存于云端的文档,通过超文本标记语言(HTML,Hyper Text Markup Language)页面进行文档显示,依赖于客户端与服务器的通信实现对用户编辑内容的同步,在线文档的类型可以为在线Word文档、在线Excel文档、在线PPT文档、在线制图文档。
3)响应于,用于表示所执行的操作所依赖的条件或者状态,当满足所依赖 的条件或状态时,所执行的一个或多个操作可以是实时的,也可以具有设定的延迟;在没有特别说明的情况下,所执行的多个操作不存在执行先后顺序的限制。
基于上述对本公开实施例中涉及的名词和术语的解释,接下来参见图1,图1为本公开实施例提供的在线文档的通知系统的架构示意图,为实现支撑一个示例性应用,终端400(包括终端400-1和终端400-2),终端400通过网络300连接服务器200,终端上设置有客户端,用户可通过该客户端实现对在线文档的页面的加载,网络300可以是广域网或者局域网,又或者是二者的组合,使用无线链路实现数据传输。
终端400(如终端400-1),用于加载在线文档的页面,使得用户可基于加载的页面进行页面操作,该页面操作触发通过所述页面发送对应在线文档的设定指令给服务器200;
服务器200,用于解析设定指令,得到对应在线文档的通知信息,通知信息包括通知方式、通知时间中至少一种;基于通知信息,发送对应在线文档的通知给终端400,通知指示在线文档处于待处理状态。
接下来对本公开实施例提供的在线文档的通知装置进行说明。本公开实施例的在线文档的通知装置可以以各种形式来实施,如:由智能手机、平板电脑和台式机等终端单独实施,或者由服务器单独实施,或者由终端、服务器协同实施。本公开实施例提供的在线文档的通知装置可以实施为硬件或者软硬件结合的方式,下面说明本公开实施例提供的在线文档的通知装置的各种示例性实施。
下面对本公开实施例的在线文档的通知装置的硬件结构做详细说明,图2为本公开实施例提供的在线文档的通知装置的组成结构示意图,图2示出的装置组成仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图2所示,在线文档的通知装置可以包括处理装置(例如中央处理器、 图形处理器等)210,其可以根据存储在只读存储器(ROM,Read-Only Memory)220中的程序或者从存储装置280加载到随机访问存储器(RAM,Random Access Memory)230中的程序而执行各种适当的动作和处理。在RAM 230中,还存储有终端操作所需的各种程序和数据。处理装置210、ROM 220以及RAM 230通过总线240彼此相连。输入/输出(I/O,Input/Output)接口250也连接至总线240。
通常,以下装置可以连接至I/O接口250:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置260;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置270;包括例如磁带、硬盘等的存储装置280;以及通信装置290。通信装置290可以允许终端与其他设备进行无线或有线通信以交换数据。虽然图2示出了具有各种装置的终端,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,所提供的流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,计算机程序可以通过通信装置290从网络上被下载和安装,或者从存储装置280被安装,或者从ROM220被安装。在计算机程序被处理装置210执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以包括但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器 件、或者上述的任意合适的组合。
在本公开实施例中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开实施例中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、射频(RF)等等,或者上述的任意合适的组合。
上述计算机可读介质可以是上述终端中所包含的;也可以是单独存在,而未装配入终端中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该终端执行时,使得终端执行本公开实施例提供的上述在线文档的通知方法。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络,包括局域网(LAN)和广域网(WAN),以连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
描述于本公开实施例中所涉及到的单元和/或模块可以通过软件的方式实现,也可以通过硬件的方式来实现。
对于硬件的方式来说,实现本公开实施例的终端的单元和/或模块可以被一 个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、现场可编程门阵列(FPGA,Field-Programmable Gate Array)或其他电子元件实现,用于执行实现本公开实施例提供的方法。
图3为本公开实施例提供的在线文档的通知方法的流程示意图,参见图3,本公开实施例的在线文档的通知方法包括:
步骤301:服务器接收到对应在线文档的设定指令,设定指令通过在线文档的页面操作所触发。
在一些实施例中,上述设定指令可通过客户端发送,在线文档通过客户端显示,在实际应用中,客户端可以为社交客户端,如IM客户端,客户端集成了在线文档的功能,基于用户的点击操作,客户端通过浏览器提供的接口调用浏览器内核加载在线文档的页面,基于加载的页面用户可进行在线文档的创建及编辑,当然,用户可通过该客户端实现在线文档的分享;在另一些实施例中,客户端中集成有浏览器内核,通过调用浏览器内核实现在客户端中显示在线文档的页面;在另一些实施例中,客户端为在线文档客户端,通过运行在线文档客户端实现在线文档的页面加载;在另一些实施例中,存在对应在线文档功能的小程序,客户端通过下载并运行在线文档小程序的源代码,实现在线文档的页面加载。
以客户端为IM客户端为例,用户通过IM客户端接收到其他用户分享的在线文档,若用户由于某种原因暂不对接收到的在线文档进行处理,又担心忘记处理,则可打开接收到的在线文档后进行通知设定,图4为本公开实施例提供的在线文档的通知设定的界面示意图,参见图4,用户通过点击页面中设置选项进行通知方式和/或通知时间的设定,以触发设定指令,当IM客户端中集成有浏览器内核时,IM客户端监听到用户的通知设定操作,发送对应在线文档的设定指令给服务器,当IM客户端中未集成浏览器内核时,通过浏览器客户端 发送对应在线文档的设定指令给服务器。
步骤302:解析设定指令,得到对应在线文档的通知信息,通知信息包括通知方式、通知时间中至少一种。
在实际实施时,服务器基于接收到的设定指令,对设定指令进行解析,得到包括通知方式和/或通知时间的通知信息;在一些实施例中,通知信息还包括在线文档标识ID,服务器可基于在线文档ID标记对应的在线文档的被处理的状态为待处理状态,并建立针对该在线文档的通知任务,该通知任务指示基于通知信息,发送对应在线文档的通知,以指示在线文档处于待处理状态。
其中,通知方式可以为以下至少之一:IM通知方式、语音通知方式、短信通知方式及邮件通知方式,相应的,通知信息中还可包括对应通知方式的通知对象标识;例如,当通知方式为IM通知方式时,相应的通知对象标识为IM客户端标识(IM客户端账号);当通知方式为语音通知方式和/或短信通知方式时,相应的通知对象标识为手机号;当通知方式为邮件通知方式时,相应的通知对象标识为邮箱用户名。
在实际应用中,通知时间可以为具体的发送通知的时间,如X月X日X时,还可以为自用户设定(服务器接收到设定指令)后一段时间,如3小时后,还可以为一个时间范围,如T日的X时至Y时之间;在一些实施例中,若用户未设定通知时间,服务器在进行在线文档的通知时可选择默认的时间进行提醒,如X小时后。
在一些实施例中,用户可关闭设定的针对在线文档的通知,客户端发送对应设定指令的关闭指令给服务器,服务器基于接收到的关闭指令,删除建立的对应在线文档的通知任务。
步骤303:基于通知信息,发送对应在线文档的通知,通知用于指示在线文档的处理状态。
在实际应用中,在线文档的处理状态包括用于指示在线文档的处理进度的状态信息,如在线文档的处理状态为待处理状态,或者处理完成状态等。
在一些实施例中,服务器可通过如下方式发送对应在线文档的通知:
响应于通知信息所包括的通知方式为以下至少之一:IM通知方式、语音通知方式、短信通知方式及邮件通知方式,通知信息还包括对应通知方式的通知对象标识,服务器基于通知对象标识,采用通知信息所包括的通知方式发送对应在线文档的通知。
示例性地,通知信息所包括的通知方式为短信通知方式,所包括的通知对象标识为手机号,服务器基于通知信息所包括的手机号,发送对应在线文档的短信通知,参见图5,图5为本公开实施例提供的在线文档的通知的界面示意图,在用户收到的通知短信中,包含处于待处理状态的在线文档的文档名称及该在线文档对应的URL,如此,方便用户直接点击URL跳转到对应的在线文档。
示例性地,通知信息所包括的通知方式为IM通知方式,所包括的通知对象标识为IM客户端标识,服务器基于通知信息所包括的IM客户端标识,发送对应在线文档的IM消息,参见图6,图6为本公开实施例提供的在线文档的通知的界面示意图,在用户收到的IM消息中,包含处于待处理状态的在线文档的文档名称及该在线文档对应的URL。
在一些实施例中,服务器可通过如下方式发送对应在线文档的通知:
响应于通知信息所包括的通知方式为IM通知方式,通知信息还包括在线文档对应的用户标识,发送对应在线文档的通知给对应用户标识的客户端。
这里,在实际应用中,集成有在线文档功能的IM客户端与在线文档共用一套账号体系,即IM客户端的客户端标识与在线文档对应的用户标识相同,因此,服务器可基于在线文档对应的用户标识,通过IM消息发送在线文档的通知。
示例性地,通知信息所包括的通知方式为邮件通知方式,所包括的通知对象标识为邮箱用户名,服务器基于通知信息所包括的邮箱用户名,发送对应在线文档的邮件,在用户收到的邮件中,邮件主题可以为处于待处理状态的在线文档的文档名称,邮件正文包含文档名称及该在线文档对应的URL。
在一些实施例中,为避免用户在接收到在线文档的通知时未及时处理出现 漏处理的情况,服务器发送在线文档的通知之后,周期性的查看该在线文档被处理的状态,确定该在线文档处于待处理状态时,重复发送对应在线文档的通知。在实际应用中,周期的长短可依据实际需要进行设定,如设定周期为2小时。
在实际应用中,用户在收到在线文档的通知后,对在线文档进行处理或者判断确定该在线文档无需通知时,关闭设定的针对在线文档的通知,以使服务器接收到对应设定指令的关闭指令,删除建立的对应在线文档的通知任务。
接下来以客户端为IM客户端,该IM客户端集成有在线文档的功能为例,对本公开实施例提供的在线文档的通知方法进行说明。图7为本公开实施例提供的在线文档的通知方法的流程示意图,参见图7,本公开实施例提供的在线文档的通知方法包括:
步骤401:响应于用户触发的在线文档的操作指令,IM客户端通过接口调用浏览器内核加载在线文档的页面。
步骤402:响应于用户基于所述页面触发的针对在线文档的设定指令,浏览器发送对应在线文档的设定指令给服务器。
这里,用户基于通过浏览器显示的在线文档的页面,进行通知设定,在一些实施例中,用户针对需要通知的在线文档进行通知方式及通知时间的设定,例如设定通知方式为IM通知方式,设定通知时间为3小时后。
步骤403:服务器解析设定指令,得到对应在线文档的通知信息。
在一些实施例中,上述通知信息包括通知方式、通知时间、用户标识及文档标识。
步骤404:服务器基于文档标识建立针对在线文档的通知任务。
这里,服务器所建立的对应在线文档的通知任务,指示基于通知信息发送对应在线文档的通知,以指示在线文档处于待处理状态。
步骤405:服务器确定通知时间到达时,根据用户标识,以IM消息的方式发送对应在线文档的通知给IM客户端。
在实际实施时,集成有在线文档功能的IM客户端与在线文档共用一套账号体系,即IM客户端的客户端标识与在线文档对应的用户标识相同,因此,服务器可基于在线文档对应的用户标识,通过IM消息发送在线文档的通知。
这里,在实际应用中,服务器所发送的IM消息中包含需要用户处理的在线文档的名称及相应的URL,以方便用户通过点击该URL直接跳转至在线文档的页面。
在一些实施例中,服务器周期性的查看在线文档被处理的状态,以确定在线文档处于待处理状态时,重复发送对应在线文档的通知。
步骤406:响应于用户针对IM消息中URL的点击操作,通过接口调用浏览器内核加载URL对应的页面。
在实际应用中,用户根据服务器发送的IM消息实现对处于待处理状态的在线文档的处理,并关闭对在线文档的通知。
步骤407:响应于用户基于URL对应的页面触发的针对在线文档的关闭指令,浏览器发送对应在线文档的关闭指令给服务器。
步骤408:服务器基于关闭指令,删除建立的对应在线文档的通知任务。
图8为本公开实施例提供的在线文档的通知装置的组成示意图,参见图8,本公开实施例提供的在线文档的通知装置80包括:
接收单元81,用于接收对应在线文档的设定指令,所述在线文档通过所述客户端显示,所述设定指令通过所述在线文档的页面操作所触发;
解析单元82,用于解析所述设定指令,得到对应所述在线文档的通知信息,所述通知信息包括通知方式、通知时间中至少一种;
发送单元83,用于基于所述通知信息,发送对应所述在线文档的通知,所述通知用于指示所述在线文档的处理状态。
在一些实施例中,所述发送单元,具体用于响应于所述通知信息所包括的通知方式为以下至少之一:即时通信IM通知方式、语音通知方式、短信通知方式及邮件通知方式,所述通知信息还包括对应所述通知方式的通知对象标识;
基于所述通知对象标识,采用所述通知方式发送对应所述在线文档的通知。
在一些实施例中,所述发送单元,具体用于响应于所述通知信息所包括的通知方式为IM通知方式,所述通知信息还包括所述在线文档的文档标识;
发送对应所述在线文档的通知给对应所述文档标识的客户端。
在一些实施例中,所述发送单元,具体用于响应于所述通知信息包括通知时间及通知对象标识,基于所述通知时间及通知对象标识,发送对应所述在线文档的通知。
在一些实施例中,所述发送单元,具体用于基于所述通知信息,发送包含文档名称及对应所述在线文档的统一资源定位符URL,以使所述通知被显示时,基于所述URL跳转页面至所述在线文档。
在一些实施例中,所述装置还包括删除单元;
所述接收单元,还用于接收到所述客户端发送的对应所述设定指令的关闭指令;
所述删除单元,用于基于所述关闭指令,删除建立的对应所述在线文档的通知任务,所述通知任务指示基于所述通知信息,发送对应所述在线文档的通知。
在一些实施例中,所述发送单元,还用于周期性的查看所述在线文档被处理的状态,确定所述在线文档处于待处理状态时,发送对应所述在线文档的通知。
图9为本公开实施例提供的在线文档的通知装置的组成结构示意图,参见图9,本公开实施例提供的装置包括:
页面加载单元91,用于加载在线文档的页面;
指令发送单元92,用于通过所述页面发送对应所述在线文档的设定指令,所述设定指令通过所述在线文档的页面操作所触发,所述设定指令携带对应所述在线文档的通知信息,所述通知信息包括通知方式、通知时间中至少一种;
通知接收单元93,用于接收对应所述在线文档的通知,所述通知用于指示所述在线文档的处理状态。
在一些实施例中,所述页面加载单元,具体用于响应于对应所述在线文档的操作指令,所述操作指令指示创建所述在线文档或显示所述在线文档,
调用内置的浏览器内核加载所述在线文档的页面,或者通过浏览器提供的接口调用浏览器内核加载所述在线文档的页面。
本公开实施例还提供了一种服务器,所述服务器包括:
第一存储器,用于存储可执行指令;
第一处理器,用于执行所述第一存储器中存储的可执行指令时,实现本公开实施例提供的在线文档的通知方法。
本公开实施例还提供了一种终端,所述终端包括:
第二存储器,用于存储可执行指令;
第二处理器,用于执行所述第二存储器中存储的可执行指令时,实现本公开实施例提供的在线文档的通知方法。
这里需要指出的是:以上涉及在线文档的通知装置的描述,与上述在线文档的通知方法描述是类似的,同方法的有益效果描述,不做赘述。对于本公开所述在线文档的通知装置实施例中未披露的技术细节,请参照本公开在线文档的通知方法实施例的描述。
本公开实施例还提供了一种可读存储介质,存储介质可以包括:移动存储设备、随机存取存储器(RAM,Random Access Memory)、只读存储器(ROM,Read-Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。所述可读存储介质存储有可执行指令;
所述可执行指令,用于被处理器执行时实现本公开实施例提供的在线文档的通知方法。
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以所述权利要求的保护范围为准。

Claims (15)

  1. 一种在线文档的通知方法,其特征在于,所述方法包括:
    接收到针对在线文档的设定指令,所述设定指令通过所述在线文档的页面操作所触发;
    解析所述设定指令,得到与所述在线文档对应的通知信息,所述通知信息包括通知方式、通知时间中至少一种;
    基于所述通知信息,向与所述在线文档相关联的即时通讯客户端发送对应所述在线文档的通知,所述通知用于指示所述在线文档的处理状态。
  2. 如权利要求1所述的方法,其特征在于,所述方法还包括:
    获取对应所述通知方式的通知对象标识,
    基于所述通知对象标识,采用以下通知方式中至少之一,发送对应所述在线文档的通知:
    语音通知方式、短信通知方式及邮件通知方式。
  3. 如权利要求1所述的方法,其特征在于,所述基于所述通知信息,向与所述在线文档相关联的即时通讯客户端发送对应所述在线文档的通知,包括:
    响应于所述通知信息还包括所述在线文档对应的用户标识,
    发送对应所述在线文档的通知给对应所述用户标识的即时通讯客户端。
  4. 如权利要求1所述的方法,其特征在于,所述基于所述通知信息,向与所述在线文档相关联的即时通讯客户端发送对应所述在线文档的通知,包括:
    响应于所述通知信息包括通知时间及通知对象标识,
    基于所述通知时间,发送对应所述在线文档的通知给对应所述通知对象标识的即时通讯客户端。
  5. 如权利要求1所述的方法,其特征在于,所述基于所述通知信息,向与所述在线文档相关联的即时通讯客户端发送对应所述在线文档的通知,包括:
    基于所述通知信息,发送包含文档名称及对应所述在线文档的统一资源定位符URL的通知,以使所述通知被所述时通讯客户端显示时,基于所述URL 跳转页面至所述在线文档。
  6. 如权利要求1所述的方法,其特征在于,所述方法还包括:
    接收到对应所述设定指令的关闭指令;
    基于所述关闭指令,删除建立的对应所述在线文档的通知任务,所述通知任务指示基于所述通知信息,发送对应所述在线文档的通知。
  7. 如权利要求1所述的方法,其特征在于,所述发送对应所述在线文档的通知之后,所述方法还包括:
    周期性的查看所述在线文档的处理状态,确定所述在线文档处于待处理状态时,发送对应所述在线文档的通知。
  8. 一种在线文档的通知方法,其特征在于,所述方法包括:
    客户端加载在线文档的页面;
    通过所述页面发送与所述在线文档对应的设定指令,所述设定指令通过所述在线文档的页面操作所触发,所述设定指令携带对应所述在线文档的通知信息,所述通知信息包括通知方式、通知时间中至少一种;
    接收对应所述在线文档的通知,所述通知用于指示所述在线文档的处理状态。
  9. 如权利要求8所述的方法,其特征在于,所述客户端加载在线文档的页面,包括:
    响应于对应所述在线文档的操作指令,所述操作指令指示创建所述在线文档或显示所述在线文档,
    调用内置的浏览器内核加载所述在线文档的页面,或者通过浏览器提供的接口调用浏览器内核加载所述在线文档的页面。
  10. 一种在线文档的通知装置,其特征在于,所述装置包括:
    接收单元,用于接收针对在线文档的设定指令,所述设定指令通过所述在线文档的页面操作所触发;
    解析单元,用于解析所述设定指令,得到与所述在线文档对应的通知信息,所述通知信息包括通知方式、通知时间中至少一种;
    发送单元,用于基于所述通知信息,向与所述在线文档相关联的即时通讯客户端发送对应所述在线文档的通知,所述通知用于指示所述在线文档的处理状态。
  11. 一种在线文档的通知装置,其特征在于,所述装置包括:
    页面加载单元,用于加载在线文档的页面;
    指令发送单元,用于通过所述页面发送对应所述在线文档的设定指令,所述设定指令通过所述在线文档的页面操作所触发,所述设定指令携带对应所述在线文档的通知信息,所述通知信息包括通知方式、通知时间中至少一种;
    通知接收单元,用于接收对应所述在线文档的通知,所述通知用于指示所述在线文档的处理状态。
  12. 一种服务器,其特征在于,所述服务器包括:
    第一存储器,用于存储可执行指令;
    第一处理器,用于执行所述第一存储器中存储的可执行指令时,实现如权利要求1至7任一项所述的在线文档的通知方法。
  13. 一种终端,其特征在于,所述终端包括:
    第二存储器,用于存储可执行指令;
    第二处理器,用于执行所述第二存储器中存储的可执行指令时,实现如权利要求8或9所述的在线文档的通知方法。
  14. 一种存储介质,其特征在于,存储有可执行指令,所述可执行指令被执行时,用于实现权利要求1至7任一项所述的在线文档的通知方法。
  15. 一种存储介质,其特征在于,存储有可执行指令,所述可执行指令被执行时,用于实现权利要求8或9所述的在线文档的通知方法。
PCT/CN2020/084668 2019-04-16 2020-04-14 在线文档的通知方法、装置、终端、服务器及存储介质 WO2020211745A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910302451.3A CN110083421A (zh) 2019-04-16 2019-04-16 在线文档的通知方法、装置、终端、服务器及存储介质
CN201910302451.3 2019-04-16

Publications (1)

Publication Number Publication Date
WO2020211745A1 true WO2020211745A1 (zh) 2020-10-22

Family

ID=67415218

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/084668 WO2020211745A1 (zh) 2019-04-16 2020-04-14 在线文档的通知方法、装置、终端、服务器及存储介质

Country Status (2)

Country Link
CN (1) CN110083421A (zh)
WO (1) WO2020211745A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110083421A (zh) * 2019-04-16 2019-08-02 北京字节跳动网络技术有限公司 在线文档的通知方法、装置、终端、服务器及存储介质
CN110752984B (zh) 2019-10-24 2021-10-15 北京字节跳动网络技术有限公司 一种显示在线文档的方法、装置、电子设备及存储介质
CN111262776B (zh) * 2020-01-10 2021-05-07 北京字节跳动网络技术有限公司 发送通知消息的方法、装置、电子设备及计算机可读介质
CN113591439B (zh) * 2020-04-30 2023-07-11 抖音视界有限公司 一种信息交互方法、装置、电子设备及存储介质
WO2021218946A1 (zh) 2020-04-30 2021-11-04 北京字节跳动网络技术有限公司 信息交互方法、装置、电子设备及存储介质
CN111932218B (zh) * 2020-10-13 2021-02-09 北京联想协同科技有限公司 一种文件处理方法及装置
CN112307397A (zh) * 2020-10-29 2021-02-02 腾讯科技(深圳)有限公司 基于在线文档的日程处理方法、装置、设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7970850B1 (en) * 2009-12-29 2011-06-28 International Business Machines Corporation Instant messaging based virtual file system
CN102521407A (zh) * 2011-12-28 2012-06-27 谢勇 一种多用户之间的文档协作方法
CN102523173A (zh) * 2011-12-01 2012-06-27 上海量明科技发展有限公司 共享文档更新提醒的方法和系统
CN104182397A (zh) * 2013-05-21 2014-12-03 北大方正集团有限公司 文档协同处理方法、系统和设备
CN105227444A (zh) * 2015-10-23 2016-01-06 阿里巴巴集团控股有限公司 基于即时通信的消息通知方法及装置
CN110083421A (zh) * 2019-04-16 2019-08-02 北京字节跳动网络技术有限公司 在线文档的通知方法、装置、终端、服务器及存储介质

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750711A (zh) * 2013-12-27 2015-07-01 珠海金山办公软件有限公司 一种文档推送提醒方法及装置
CN107146064A (zh) * 2017-03-13 2017-09-08 广州视源电子科技股份有限公司 待办事项提醒方法及服务器
CN108932159B (zh) * 2017-05-23 2022-04-08 腾讯科技(深圳)有限公司 任务管理方法及装置
CN107861789A (zh) * 2017-11-24 2018-03-30 珠海市魅族科技有限公司 一种通信信息展示方法、装置、终端及可读存储介质
CN108646961B (zh) * 2018-05-04 2021-08-27 腾讯科技(深圳)有限公司 一种待办任务的管理方法、装置及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7970850B1 (en) * 2009-12-29 2011-06-28 International Business Machines Corporation Instant messaging based virtual file system
CN102523173A (zh) * 2011-12-01 2012-06-27 上海量明科技发展有限公司 共享文档更新提醒的方法和系统
CN102521407A (zh) * 2011-12-28 2012-06-27 谢勇 一种多用户之间的文档协作方法
CN104182397A (zh) * 2013-05-21 2014-12-03 北大方正集团有限公司 文档协同处理方法、系统和设备
CN105227444A (zh) * 2015-10-23 2016-01-06 阿里巴巴集团控股有限公司 基于即时通信的消息通知方法及装置
CN110083421A (zh) * 2019-04-16 2019-08-02 北京字节跳动网络技术有限公司 在线文档的通知方法、装置、终端、服务器及存储介质

Also Published As

Publication number Publication date
CN110083421A (zh) 2019-08-02

Similar Documents

Publication Publication Date Title
WO2020211745A1 (zh) 在线文档的通知方法、装置、终端、服务器及存储介质
CA3155538A1 (en) Method and apparatus for displaying online document, electronic device, and storage medium
CN110658961B (zh) 信息显示方法、装置和电子设备
CN114461313A (zh) 信息显示方法、装置和电子设备
WO2020135431A1 (zh) 消息加急提醒方法、装置和电子设备
CN112422409B (zh) 即时通讯方法、装置、终端和存储介质
CN110874307A (zh) 事件埋点的收集上报方法和装置
US20230385080A1 (en) Method and apparatus for presenting information on lock screen interface, terminal, and storage medium
CN112003712A (zh) 业务的处理方法、电子设备及计算机可读存储介质
US20240104671A1 (en) Method and apparatus for group management, electronic device, and storage medium
WO2024032708A1 (zh) 信息处理方法、装置、电子设备和存储介质
CN111581664B (zh) 信息保护方法和装置
CN110795135A (zh) 一种实现注解式配置的方法和装置
WO2023186130A1 (zh) 信息展示和信息发送方法、装置、设备、介质和产品
CN112905281A (zh) 视图显示方法、装置、电子设备及存储介质
CN112256372A (zh) 信息处理方法、装置和电子设备
CN111367689A (zh) 在线文档的互动提示信息发送方法、装置及电子设备
CN103975301A (zh) 通过本地服务器的对于本地客户机应用的事件服务
CN115022106B (zh) 一种群信息处理方法、装置、设备及介质
CN115022265B (zh) 信息处理方法、装置、终端和存储介质
CN113760487B (zh) 一种业务处理方法和装置
CN115016878A (zh) 信息处理方法、装置和电子设备
CN111444457B (zh) 数据发布方法、装置、存储介质及电子设备
JP2024500300A (ja) 情報インタラクション方法、装置、及び機器
CN113835790A (zh) 基于Android的分页页面显示方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20791876

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 24.01.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20791876

Country of ref document: EP

Kind code of ref document: A1