WO2024093564A1 - 信息同步处理方法、系统、装置、电子设备和存储介质 - Google Patents

信息同步处理方法、系统、装置、电子设备和存储介质 Download PDF

Info

Publication number
WO2024093564A1
WO2024093564A1 PCT/CN2023/120380 CN2023120380W WO2024093564A1 WO 2024093564 A1 WO2024093564 A1 WO 2024093564A1 CN 2023120380 W CN2023120380 W CN 2023120380W WO 2024093564 A1 WO2024093564 A1 WO 2024093564A1
Authority
WO
WIPO (PCT)
Prior art keywords
business
information
synchronization
service
service module
Prior art date
Application number
PCT/CN2023/120380
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
Priority claimed from CN202211351902.0A external-priority patent/CN115510832B/zh
Application filed by 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2024093564A1 publication Critical patent/WO2024093564A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing

Definitions

  • the present disclosure relates to the field of computer technology, and in particular to an information synchronization processing method, system, device, electronic device and storage medium.
  • an information synchronization processing method comprising:
  • the first business synchronization request comes from an online document service module, determining a business synchronization type of the first business synchronization request, and synchronizing the first business information in the first business information service module based on the determined business synchronization type;
  • the record of the first business information in the target online document in the online document service module is synchronized.
  • an information synchronization processing system including:
  • An online document service module configured to send a first business synchronization request to the business synchronization service module in response to a first preset operation of a user in a target online document;
  • a first business information service module is configured to send a first business synchronization request to the business synchronization service module in response to monitoring a synchronization event of the first business information;
  • a business synchronization service module configured to, in response to receiving a first business synchronization request, perform the following operations: determine the service module from which the first business synchronization request comes; and perform at least one of the following synchronization operations: if the first business synchronization request comes from the online document service module, determine the business synchronization type of the first business synchronization request, and synchronize the first business information in the first business information service module based on the determined business synchronization type; and, if the first If the business synchronization request comes from the first business information service module, then based on the first business synchronization request, the record of the first business information in the target online document in the online document service module is synchronized.
  • an information synchronization processing device including:
  • a request receiving unit configured to receive a first service synchronization request
  • a request determining unit configured to determine a service module from which the first service synchronization request comes
  • a business synchronization unit used to perform at least one of the following synchronization operations: if the first business synchronization request comes from an online document service module, determining a business synchronization type of the first business synchronization request, and synchronizing the first business information in the first business information service module based on the determined business synchronization type; and, if the first business synchronization request comes from the first business information service module, synchronizing the record of the first business information in the target online document in the online document service module based on the first business synchronization request.
  • an electronic device comprising: at least one memory and at least one processor; wherein the memory is used to store program code, and the processor is used to call the program code stored in the memory so that the electronic device executes the information synchronization processing method provided according to one or more embodiments of the present disclosure.
  • a non-transitory computer storage medium stores a program code, and when the program code is executed by a computer device, the computer device executes the information synchronization processing method provided according to one or more embodiments of the present disclosure.
  • a computer program which, when executed by a processor, implements the information synchronization processing method provided according to one or more embodiments of the present disclosure.
  • FIG1 is a flow chart of an information synchronization processing method provided according to an embodiment of the present disclosure
  • FIG2 is a schematic diagram of a display page of a target online document provided according to an embodiment of the present disclosure
  • FIG3 is a schematic diagram of a task information display page provided according to an embodiment of the present disclosure.
  • FIG4 is a schematic diagram of a business abstract relationship between an online form and first business information according to an embodiment of the present disclosure
  • FIG5 is a flowchart of an information synchronization processing method provided according to another embodiment of the present disclosure.
  • FIG6 is a flow chart of a method for initializing a target online document according to an embodiment of the present disclosure
  • FIG. 7 is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present disclosure.
  • the term “including” and its variations are open inclusions, i.e., “including but not limited to”.
  • the term “based on” means “based at least in part on”.
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one other embodiment”; the term “some embodiments” means “at least some embodiments”.
  • the term “responsive to” and related terms refer to a signal or event being affected to a certain extent by another signal or event, but not necessarily completely or directly. If event x occurs “responsive to" event y, x may be directly or indirectly responsive to y. For example, the occurrence of y may ultimately lead to the occurrence of x, but there may be other intermediate events and/or conditions. In other cases, y may not necessarily lead to the occurrence of x, and x may occur even if y has not yet occurred. In addition, the term “responsive to” may also mean “at least partially responsive to”.
  • the term "determine” broadly covers a variety of actions, which may include obtaining, calculating, computing, processing, deriving, investigating, searching (e.g., searching in a table, database, or other data structure), ascertaining, and similar actions, and may also include receiving (e.g., receiving information), accessing (e.g., accessing data in a memory), and similar actions, and may also include receiving, generating, creating, establishing, and similar actions, as well as parsing, selecting, choosing, and similar actions, etc.
  • the relevant definitions of other terms will be given in the following description.
  • the relevant definitions of other terms will be given in the following description.
  • phrase "A and/or B” means (A), (B), or (A and B).
  • the business synchronization type of the first business synchronization request is determined and the first business information in the first business information service module is synchronized based on the determined business synchronization type.
  • Figure 1 shows an information synchronization processing method provided by an embodiment of the present disclosure, including steps S120-S180.
  • Step S120 receiving a first service synchronization request.
  • the first business synchronization request is used to synchronize the first business information in other service modules other than the service module that sends the first business synchronization request, and may include but is not limited to: a request for creating, updating or deleting the first business information, a request for creating, updating or deleting associated information of the first business information, or a request for updating a preset status of the first business information.
  • the first business information may be task information or an instant messaging (IM) message.
  • IM instant messaging
  • an online document can be a document that can be edited online by users, collaborated by multiple users and saved in real time in the cloud. It can be displayed through a Hypertext Markup Language (HTML) page, and relies on communication between the client and the server to synchronize the user's edited content.
  • 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 online document service module may be a module for providing online document services to users, which may be integrated in a client or a server, but the present disclosure does not limit this.
  • the online document service module e.g., a client
  • the online document service module may provide the function of an online document.
  • the online document service module calls the browser kernel through the interface provided by the browser to load the page of the online document. Based on the loaded page, the user can create and edit the online document.
  • the user can share the online document through the online document service module; in other embodiments, the online document service module is integrated with a browser kernel, and the page of the online document is displayed in the client by calling the browser kernel; in other embodiments, the online document service module is an online document client, and the page loading and display of the online document is realized by running the online document client; 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 realize the page loading and display of the online document.
  • the first business information service module may be a module for providing services such as creation, distribution, management (e.g., update, deletion, etc.) of the first business information to the user, and may be integrated in the client or the server, but the present disclosure is not limited thereto.
  • the first business information service module may be an instant messaging service, and the user may create, distribute, manage (e.g., update, delete, etc.) the first business information through the instant messaging service, but the present disclosure is not limited thereto.
  • Step S140 Determine the service module from which the first service synchronization request comes.
  • the sender of the first business synchronization request may be an online document service module or a first business information service module, and accordingly, the synchronized party of the first business information may be the first business information service module or an online document service module.
  • Step S160 If the first business synchronization request comes from an online document service module, determine the business synchronization type of the first business synchronization request, and synchronize the first business information in the first business information service module based on the determined business synchronization type.
  • the first business information can be created in the first business information service based on the first business synchronization request; if the type of the first business synchronization request is for deleting the first business information, the first business information can be deleted in the first business information service based on the first business synchronization request; if the type of the first business synchronization request is for updating the first business information, the first business information can be updated in the first business information service based on the first business synchronization request; if the type of the first business synchronization request is for creating associated information of the first business information, the associated information of the first business information can be created in the first business information service based on the first business synchronization request; if the type of the first business synchronization request is for deleting the associated information of the first business information, the associated information of the first business information can be deleted in the first business information service based on the first business synchronization request; if the type of the first business synchronization request is for deleting the associated information of the first business information; if the type of the first business synchronization request
  • a corresponding preset interface may be called based on the type of the first business request to synchronize the first business information in the first business information service module.
  • the preset interface includes an interface for creating, deleting or updating the first business information, an interface for creating, deleting or updating the associated information of the first business information, or an interface for updating the preset state of the first business information.
  • the associated information includes comment information.
  • the preset status of the first business information includes whether the task is completed.
  • Step S180 If the first business synchronization request comes from the first business information service module, then based on the first business synchronization request, the record of the first business information in the target online document in the online document service module is synchronized.
  • the first business synchronization request is triggered by the first business information service module in response to monitoring a synchronization event of the first business information.
  • the synchronization event of the first business information includes at least one of the following items: a user creates, updates or deletes the first business information, a user creates, updates or deletes associated information of the first business information, and a user updates a preset state of the first business information.
  • a corresponding record may be added to the target online document based on the first service request by calling a preset interface for adding a record to the target online document.
  • the business synchronization type of the first business synchronization request is determined and the first business information in the first business information service module is synchronized based on the determined business synchronization type;
  • the record of the first business information in the target online document in the online document service module is synchronized based on the first business synchronization request, thereby realizing two-way communication between the online document service module and the first business information service module, so that the first business information can be synchronized between the online document service module and the first business information service module, and the user can use the online document to visually manage the first business information, thereby improving the processing efficiency of the first business information.
  • the first business information is task information and the target online document is an online table.
  • a plurality of task fields are sequentially arranged in the cells of the first row of the online table, including, for example, task fields “task ID”, “task title”, “task notes”, “task personnel”, “deadline”, “reminder time”, “create/cancel task”, “task status”, “synchronization status”, etc.
  • the user can enter corresponding data below each task field as the corresponding task data.
  • one or more options are provided under the task field “Create/Cancel Task” for the user to select.
  • the online form service may be triggered to send a first business synchronization request for creating corresponding task information (the subject of the task is “Project B”) to create the corresponding task based on the corresponding record in the form;
  • the online form service may be triggered to send a first business synchronization request for deleting the corresponding task information (the subject of the task is “Project B”) to delete the corresponding task;
  • the online form service may be triggered to send a first business synchronization request for updating the corresponding task information (the subject of the task is “Project B”) to update the corresponding task based on the corresponding record in the form. Update the corresponding tasks.
  • FIG3 shows a schematic diagram of a task information display page provided by the first business information service module.
  • a user can enter the task subject or task content "Setting Goals and Key Results OKR" in the edit box 31 provided in the task information display interface, add task personnel (such as task executors, followers, supervisors, responsible persons, etc.) by triggering control 32, determine the deadline of the task by triggering control 33, and finally create corresponding task information in the first business information service module based on the task information (such as task subject, personnel, time, etc.) entered or determined by the user in the interface by triggering control 34.
  • the first business information service module sends a first business synchronization request to update the record of the task information located in the target online document.
  • the target online document includes an online form
  • the online form is associated with a set of first business information
  • a field of the online form is associated with a parameter of the first business information
  • a row or column of records in the online form is associated with a piece of first business information
  • Figure 4 shows a schematic diagram of the business abstract relationship between the online table and the first business information.
  • the online table or its subtable can correspond to a set of first business information, that is, it can correspond to more than one different first business information; each field (Field) in the online table can correspond to a parameter of the first business information (such as subject, content, personnel, time and other parameters); a row or a column record (Record) in the online table can correspond to a piece of first business information.
  • the online form is associated with a collection of the first business information
  • a field of the online form is associated with a parameter of the first business information
  • a row or column of records in the online form is associated with a piece of the first business information
  • step S160 further includes:
  • Step A11 Determine whether the first service information exists
  • Step A21 if the first business synchronization request is not a request for creating the first business information, and the first business information does not exist, returning first prompt information about request failure to the online document service module;
  • Step A22 If the first business synchronization request is a request for creating the first business information, and the first business information exists, then second prompt information about request failure is returned to the line document service module.
  • the first business synchronization request is a request for creating the first business information, and the first business information exists, a prompt about the request failure is returned to the line document service module, thereby avoiding repeated creation of the same synchronization request and repeated creation of the first business information; if the first business synchronization request is not a request for creating the first business information, and the first business information does not exist, a prompt about the request failure is returned to the line document service module, thereby avoiding synchronization operations such as updating or deleting the non-existent first business information and preventing program operation errors.
  • the first prompt information may be “request failed” or “first service information does not exist”, etc.
  • the second prompt information may be “request failed” or “first service information already exists”, etc., but the present disclosure is not limited thereto.
  • the first service synchronization request is not a request for creating the first service information
  • a subsequent synchronization operation may be further performed; if the first business synchronization request is a request for creating the first business information, and the first business information does not exist, a subsequent synchronization operation may be further performed.
  • step S160 further includes:
  • Step B11 if the first service synchronization request includes a request to create or update the first service information, determining whether the content of the first service information to be created or updated satisfies a first preset condition;
  • Step B12 If the first preset condition is not met, a third prompt message about request failure is returned to the online document service module.
  • the first preset condition is used to measure whether the content of the first business information to be created or updated meets the preset requirements.
  • the first preset condition includes that the content of the first business information should be complete, for example, it should contain one or more preset types of information. If the first business information to be created or updated contains the one or more preset types of information, it is considered that the first preset condition is met.
  • the third prompt information may be “request failed”, “first business information does not meet the conditions” or “first business information is incomplete”, etc., but the present disclosure is not limited thereto.
  • a subsequent synchronization operation may be further performed.
  • step S160 further includes:
  • Step C11 If the first business synchronization request includes a request to create or update the first business information, a reminder time is created based on the first business information to be created or updated, so that the first business information service module sends a preset reminder message to the target user at the reminder time.
  • step C11 may include creating a new reminder time or updating (deleting and creating) an existing reminder time.
  • the reminder time may be determined based on the first business information to be created or updated, and the reminder time may be created based on a preset interface for creating a reminder time, but the present disclosure is not limited thereto.
  • step S160 further includes:
  • Step D11 after the synchronization of the first service information is completed, updating the record of the synchronization status of the first service synchronization request in the target online document.
  • the target online document has a preset field for indicating the synchronization status of the first business synchronization request.
  • the record of the synchronization status of the first business synchronization request can be updated under the preset field.
  • the record of the updated synchronization status can be "Synchronization Successful", but the present disclosure is not limited thereto.
  • the user of the target online document can be informed of the synchronization status of the first business synchronization request, and the user can also perform subsequent management of the first business information based on the target online form.
  • FIG5 shows a schematic diagram of the information synchronization processing system architecture provided by an embodiment of the present disclosure.
  • the information synchronization processing system includes an online form service module 400, a business synchronization service module 500 and a task service module 600.
  • the business synchronization service module 500 can be used to execute the information synchronization processing method provided by one or more embodiments of the present disclosure.
  • step S410 the online form service module 400 may trigger a task synchronization request in response to a first preset operation of a user in a target online form.
  • the task synchronization request may include a unique identifier of the target online form (app_token), an identifier of a subtable in the target online form (table_ID), a record identifier (RecordID), type information of the task synchronization request (type), task parameter information, and a field name of the task.
  • step S610 the task service module 600 may trigger a task synchronization request in response to monitoring a task information change event.
  • step S510 the business synchronization service module 500 receives a task synchronization request.
  • step S520 the business synchronization service module 500 determines whether the task synchronization request comes from the task service module 600. If it is determined that it does not come from the task service module 600, the branch plan corresponding to step S530 is executed; if it is determined that it comes from the task service module 600, the branch plan corresponding to step S571 is executed.
  • step S530 the business synchronization service module 500 can determine the type of the task synchronization request based on the task type information carried in the task synchronization request. If it is determined that its type is for deleting the task, the branch scheme corresponding to step S541 is executed; if it is determined that its type is for updating the task, the branch scheme corresponding to step S551 is executed; if it is determined that its type is for creating a task, the branch scheme corresponding to step S561 is executed.
  • step S541 the business synchronization service module 500 determines whether the task to be synchronized exists. If so, step S542 is executed. If not, corresponding feedback is performed to the online form service module 400, so that the online form service module 400 executes step S420: displaying prompt information about the failure of task deletion.
  • step S542 the business synchronization service module 500 may call a preset interface to delete the corresponding task information in the task service module 600. Afterwards, the business synchronization service module 500 performs corresponding feedback to enable the online form service module 430 to perform step S430: display prompt information about successful task deletion.
  • step S543 the business synchronization service module 500 calls a preset interface to update the record of the synchronization status of the task synchronization request in the target online table to synchronization success.
  • step S551 the business synchronization service module 500 determines whether the task information to be updated is complete. If it is complete, step S552 is executed; if it is incomplete, corresponding feedback is performed to the online form service module 400, so that the online form service module 400 executes step S440: displaying a prompt message about incomplete task information to prompt the user to complete the task information to be updated.
  • step S552 the business synchronization service module 500 determines whether the updated task exists. If so, step S553 is executed; if not, corresponding feedback is performed to the online form service module 400, so that the online form service module 400 executes step S460: displaying a prompt message about the task update failure to prompt the user not to update the non-existent task.
  • step S553 the business synchronization service module 500 parses the task information to be synchronized.
  • the records to be synchronized corresponding to each field can be retrieved and determined based on the fields in the target online document to determine which field the records to be synchronized should be updated to, to prevent confusion in record updates (e.g., updating in the wrong field).
  • step S554 the business synchronization service module 500 updates the corresponding task in the task service module 600 by calling a preset interface based on the parsed information.
  • step S555 the business synchronization service module 500 calls a preset interface to add any The record of the synchronization status of the service synchronization request is updated to synchronization success.
  • step S561 the business synchronization service module 500 determines whether the task information to be created is complete. If it is complete, step S562 is executed; if it is incomplete, corresponding feedback is performed to the online form service module 400, so that the online form service module 400 executes step S440: displaying a prompt message about incomplete task information to prompt the user to complete the task information of the task to be created.
  • step S562 the business synchronization service module 500 determines whether the created task exists (i.e., determines whether it is a duplicate creation). If not, step S563 is executed; if so, corresponding feedback is performed to the online form service module 400, so that the online form service module 400 executes step S440: displaying a prompt message about the existing task to prompt the user not to create an existing task.
  • step S563 the business synchronization service module 500 parses the task information to be synchronized.
  • the records to be synchronized corresponding to each field can be retrieved and determined based on the fields in the target online document to determine which field the records to be synchronized should be updated to, thereby preventing confusion in record updates.
  • step S564 the business synchronization service module 500 creates a corresponding task in the task service module 600 by calling a preset interface based on the parsed information.
  • step S565 the business synchronization service module 500 calls a preset interface to update the record of the synchronization status of the task synchronization request in the target online table to synchronization success.
  • the preset synchronization information is stored in the data source.
  • the preset synchronization information may include a unique identifier (app_token) of the target online form, an identifier (table_ID) of a subtable in the target online form, a record identifier (RecordID), a task identifier (task_ID), an event identifier, etc.
  • the business synchronization service module 500 may deduplicate synchronization requests triggered by repeated task information change events based on the event identifier carried in the business synchronization request, so as to prevent repeated processing of synchronization requests corresponding to the same task information change event.
  • step S572 the business synchronization service module 500 may obtain task detail information of the corresponding task based on the task identifier carried in the business synchronization request.
  • step S573 the business synchronization service module 500 may determine a target online form to be updated.
  • step S574 the business synchronization service module 500 may update the record of the determined target online form based on the acquired task detail information.
  • the target online form further includes a first sub-form dedicated to recording task changes, and the business synchronization service module 500 may update the records in the first sub-form.
  • the method 100 further includes:
  • Step S101 pre-acquire the address of the target online document input by the user
  • Step S102 determining the target online document based on the address of the target online document.
  • the target online document to be synchronized may be determined by the link of the target online document provided by the user.
  • the address of the target online document may be the link of the target online document.
  • the method 100 further includes:
  • Step S103 Acquire the collaborator authority of the target online document, where the collaborator authority includes the authority to read and edit the content of the target online document.
  • the authorization certificate of the online document service module may be obtained to obtain the collaborator authority of the target online document.
  • the collaborator authority may be obtained based on the authorization certificate of the online document service module input by the user.
  • step S103 includes:
  • Step E11 Obtaining preset application identity information
  • Step E12 configuring the collaborator authority of the target online document for the preset application corresponding to the preset application identity information.
  • the preset application may be an execution subject or an application controlled by the execution subject for executing the information synchronization processing method provided by one or more embodiments of the present disclosure.
  • the collaborator rights of the target online document are configured for the corresponding preset application, so that the content of the target online document can be read or edited through the preset application.
  • the record of the first business information in the target online document may be updated through the preset application, or the record of the synchronization status of the first business synchronization request in the target online document may be updated through the preset application.
  • the preset application has collaborator authority of the target online document
  • the record of the first business information and the record of the synchronization status of the first business synchronization request in the target online document may be updated through the preset application by calling a preset interface.
  • a template document for synchronizing the first business information may be pre-set, and it is determined whether the target online document corresponding to the address of the target online document input by the user is the template document. If it is determined that the target online document is not the template document, the template document is added to the target online document. In this embodiment, when it is determined that the target online document provided by the user for synchronizing the first business information is not a pre-set template document, the preset template document may be added to the target online document to facilitate synchronization of the first business information.
  • the fields and formats preset in the system-preset template document are more in line with the requirements of the system for synchronizing the first business information, so that the corresponding first business information can be generated based on the content recorded in the newly added template document in the target online document and the first business information can be subsequently managed through the newly added template document.
  • the execution subject of this embodiment may be an online document service module, but the present disclosure is not limited thereto.
  • the content of the template document may include the content in the target online form shown in FIG. 2 , but the present disclosure is not limited thereto.
  • Fig. 6 shows a schematic diagram of the information synchronization processing system architecture provided by an embodiment of the present disclosure.
  • the information synchronization processing system includes an online form service module 400 and a business synchronization service module 500 .
  • the business synchronization service module 500 may parse out a unique identifier (eg, token) of the target online form based on the address of the target online form pre-entered by the user, so as to determine the target online form.
  • a unique identifier eg, token
  • step S502 the business synchronization service module 500 may obtain the authorization certificate of the online document service module 400 .
  • the business synchronization service module 500 may obtain preset application information input by the user, such as a unique identifier of the preset application, such as an ID (APP ID) and a key (APP secret) of the preset application.
  • a unique identifier of the preset application such as an ID (APP ID) and a key (APP secret) of the preset application.
  • the preset application may be a robot (BOT) in the business synchronization service module 500.
  • step S504 the collaborator rights of the target online form may be added to the preset application based on the obtained authorization credential, so that the preset application can read and edit the target online form.
  • step S401 the online document service module 400 may determine whether the target online form is a preset template form; if the target online form is a template form, step S403 is executed; if the target online form is not a template form, step S402 is executed.
  • step S402 a template form is added to the target online form.
  • a preset initial record is added in the template table or in the template table in the target table.
  • the initial record may be a preset task parameter, such as "task setting”, “task title”, “reminder time”, “task executor”, “task follower”, “repeat rule”, “task note”, “jump link”, etc.
  • steps S401-S403 are shown in Figure 6 to be performed by the online document service module 400, the present disclosure is not limited thereto. In some embodiments, steps S401-S403 shown in Figure 6 can be performed by the business synchronization service module 500, or the business synchronization service module 500 instructs the online document service module 400 to perform.
  • a template document is added to a target online document, and collaborator permissions of the target online document are obtained, so that the template document and related parameters therein can be automatically configured for the target online document provided by the user, and the target online document can be initialized to facilitate subsequent synchronization processing based on the target online document, such as the information synchronization processing method described in the aforementioned embodiments.
  • the task fields in the template table include one or more of the following: a field for indicating the task title, a field for indicating the task ID, a field for indicating the task content, a field for indicating the person associated with the task, a field for indicating the task time information, a field for indicating the task reminder method, a field for indicating the creation, cancellation or update of the task, a field for indicating the completion status of the task, and a field for indicating the synchronization status of the task.
  • the associated persons of the task include but are not limited to the creator, executor, follower, supervisor, etc. of the task;
  • the task time information includes but is not limited to the creation time of the task and the deadline of the task;
  • the task reminder method includes but is not limited to the reminder time, reminder cycle, or reminder rule of the task;
  • the task status includes but is not limited to the unfinished status of the task and the completed status of the task;
  • the task synchronization status is used to reflect whether the task has been created successfully, or whether it has been synchronized to the task-associated persons, or whether it has been synchronized to the preset task server.
  • the template table can be a multidimensional table, and the task information is managed through the multidimensional table.
  • the rows or columns in the multidimensional table are used to store the task information.
  • the multidimensional table can record different types of data, including multimedia files such as pictures and videos.
  • the multidimensional table can use row storage or column storage to store the task information of a task in one row or column. For example, each row in Figure 2 is used to store the task information of different tasks.
  • the online table is a database table. Unlike conventional excel or spreadsheets, each column of data in a database table is assigned a data type, and only cells in the column that correspond to the data type can be entered. The corresponding data; each cell is assigned a data type when it is created, and the data type corresponds to the field in the header row of each column of cell data.
  • an information synchronization processing device comprising:
  • a request receiving unit configured to receive a first service synchronization request
  • a request determining unit configured to determine a service module from which the first service synchronization request comes
  • a business synchronization unit used to perform at least one of the following synchronization operations: if the first business synchronization request comes from an online document service module, determine the business synchronization type of the first business synchronization request, and synchronize the first business information in the first business information service module based on the determined business synchronization type; and, if the first business synchronization request comes from the first business information service module, synchronize the record of the first business information in the target online document in the online document service module based on the first business synchronization request.
  • the first business information includes task information or instant messaging messages.
  • the first business information service module includes an instant messaging service module.
  • the first business synchronization request includes at least one of the following items: a request for creating, updating or deleting the first business information in other service modules other than the service module that sends the first business synchronization request, a request for creating, updating or deleting associated information of the first business information in other service modules other than the service module that sends the first business synchronization request, and a request for updating a preset status of the first business information in other service modules other than the service module that sends the first business synchronization request.
  • the first business synchronization request is triggered by the online document service module in response to a first preset operation of the user in the target online document; or, the first business synchronization request is triggered by the first business information service module in response to monitoring a synchronization event of the first business information.
  • the first preset operation of the user in the online document includes: the user inputting data of a preset type in a first preset task field in the online document.
  • the synchronization event of the first business information includes at least one of the following items: a user creates, updates or deletes the first business information, a user creates, updates or deletes associated information of the first business information, and a user updates a preset state of the first business information.
  • the associated information includes comment information.
  • the preset status of the first business information includes whether the task is completed.
  • the target online document includes an online form
  • the online form is associated with a set of first business information
  • a field of the online form is associated with a parameter of the first business information
  • a row or column of records in the online form is associated with a piece of first business information
  • the service synchronization unit includes:
  • a business existence determination unit is used to determine whether the first business information exists. If the first business synchronization request is not a request for creating the first business information, and the first business information does not exist, a first prompt message about the request failure is returned to the line document service module; or, if the first business synchronization request is a request for creating the first business information, and the first business information exists, a second prompt message about the request failure is returned to the line document service module.
  • the service synchronization unit includes:
  • the business completeness determination unit is used to determine whether the content of the first business information to be created or updated meets a first preset condition if the first business synchronization request includes a request to create or update the first business information; if the first preset condition is not met, return a third prompt information about the request failure to the line document service module.
  • the service synchronization unit includes:
  • the reminder creation unit is used to create a reminder time based on the first business information to be created or updated if the first business synchronization request includes a request to create or update the first business information, so that the first business information service module sends a preset reminder information to the target user at the reminder time.
  • the service synchronization unit includes:
  • the synchronization recording unit updates the record of the synchronization status of the first business synchronization request in the target online document after the synchronization of the first business information is completed.
  • the information synchronization processing device includes:
  • the document determining unit is used to pre-acquire the address of the target online document input by the user, and determine the target online document based on the address of the target online document.
  • the information synchronization processing device includes:
  • the permission acquisition unit is used to acquire the collaborator permissions of the target online document, wherein the collaborator permissions include permissions to read and edit the content of the target online document.
  • the permission acquisition unit is used to acquire preset application identity information, and configure collaborator permissions of the target online document for the preset application corresponding to the preset application identity information.
  • synchronizing the record about the first business information in the target online document in the online document service module includes: updating the record about the first business information in the target online document by using the preset application.
  • updating the record of the synchronization status of the first business synchronization request in the target online document includes: updating the record of the synchronization status of the first business synchronization request in the target online document through the preset application, and the preset application is pre-configured with collaborator permissions of the target online document.
  • the information synchronization processing device includes:
  • a template initialization unit is used to pre-set a template document for synchronizing the first business information; determine whether the target online document is the template document; if it is determined that the target online document is not the template document, then add the template document to the target online document.
  • the relevant parts can be referred to the partial description of the method embodiments.
  • the device embodiments described above are merely schematic, in which the modules described as separation modules may or may not be separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. A person of ordinary skill in the art can understand and implement it without creative work.
  • an electronic device including:
  • the memory is used to store program codes
  • the processor is used to call the program codes stored in the memory to enable the
  • the electronic device executes the information synchronization processing method provided according to one or more embodiments of the present disclosure.
  • a non-transitory computer storage medium which stores program code, and the program code can be executed by a computer device to enable the computer device to perform the information synchronization processing method provided according to one or more embodiments of the present disclosure.
  • a computer program is provided.
  • the computer program is executed by a processor, the information synchronization processing method provided according to one or more embodiments of the present disclosure is implemented.
  • FIG. 7 shows a schematic diagram of the structure of an electronic device (e.g., a terminal device or a server) 300 suitable for implementing the embodiments of the present disclosure.
  • the terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc.
  • the electronic device shown in FIG. 7 is only an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
  • the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 to a random access memory (RAM) 303.
  • a processing device e.g., a central processing unit, a graphics processing unit, etc.
  • RAM random access memory
  • Various programs and data required for the operation of the electronic device 300 are also stored in the RAM 303.
  • the processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304.
  • An input/output (I/O) interface 305 is also connected to the bus 304.
  • the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 308 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 309.
  • the communication device 309 may allow the electronic device 300 to communicate wirelessly or wired with other devices to exchange data.
  • FIG. 7 shows an electronic device 300 with various devices, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have alternatively.
  • an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart.
  • the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302.
  • the processing device 301 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
  • the above-mentioned computer-readable medium of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above.
  • Computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium containing or storing a program, which can be executed by an instruction execution system, Device or device for use or in combination with it.
  • a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code.
  • This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
  • the computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, device, or device.
  • the program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
  • the client and server 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 communication network).
  • HTTP HyperText Transfer Protocol
  • Examples of communication networks include a local area network ("LAN”), a wide area network ("WAN”), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
  • the computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
  • the computer-readable medium carries one or more programs.
  • the electronic device executes the method of the present disclosure.
  • Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages.
  • the program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server.
  • 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 may be connected to an external computer (e.g., through the Internet using an Internet service provider).
  • LAN local area network
  • WAN wide area network
  • Internet service provider e.g., AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
  • each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function.
  • the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved.
  • each square box in the block diagram and/or flow chart, and the combination of the square boxes in the block diagram and/or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, constitute a limitation on the unit itself.
  • exemplary types of hardware logic components include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
  • FPGAs field programmable gate arrays
  • ASICs application specific integrated circuits
  • ASSPs application specific standard products
  • SOCs systems on chips
  • CPLDs complex programmable logic devices
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment.
  • a 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, device, or equipment, or any suitable combination of the foregoing.
  • a more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or flash memory erasable programmable read-only memory
  • CD-ROM portable compact disk read-only memory
  • CD-ROM compact disk read-only memory
  • magnetic storage device or any suitable combination of the foregoing.
  • an information synchronization processing method comprising: receiving a first business synchronization request; determining a service module from which the first business synchronization request comes; and at least one of the following synchronization steps: if the first business synchronization request comes from an online document service module, determining a business synchronization type of the first business synchronization request, and synchronizing first business information in a first business information service module based on the determined business synchronization type; and, if the first business synchronization request comes from the first business information service module, synchronizing a record of the first business information in a target online document in the online document service module based on the first business synchronization request.
  • the first business information includes task information or instant messaging messages.
  • the first business information service module includes an instant messaging service module.
  • the first business synchronization request includes at least one of the following items: a request for creating, updating or deleting the first business information in other service modules other than the service module that sends the first business synchronization request, a request for creating, updating or deleting associated information of the first business information in other service modules other than the service module that sends the first business synchronization request, and a request for updating a preset status of the first business information in other service modules other than the service module that sends the first business synchronization request.
  • the first business synchronization request is triggered by the online document service module in response to a first preset operation of the user in the target online document; or, the first business synchronization request is triggered by the first business information service module in response to monitoring a synchronization event of the first business information.
  • the first preset operation of the user in the online document includes: the user inputting data of a preset type in a first preset task field in the online document.
  • the synchronization event of the first business information includes at least one of the following items: the user creates, updates or deletes the first business information, the user creates, updates or deletes the associated information of the first business information, and the user updates the preset status of the first business information.
  • the associated information includes comment information.
  • the preset status of the first business information includes whether the task is completed.
  • the target online document includes an online form.
  • the field of the online form is associated with a set of first business information
  • the field of the online form is associated with a parameter of the first business information
  • a row or a column of records in the online form is associated with a piece of first business information.
  • synchronizing the first business information based on the determined business synchronization type includes: determining whether the first business information exists; if the first business synchronization request is not a request for creating the first business information, and the first business information does not exist, returning first prompt information about request failure to the line document service module; or, if the first business synchronization request is a request for creating the first business information, and the first business information exists, returning second prompt information about request failure to the line document service module.
  • the synchronization of the first business information based on the determined business synchronization type includes: if the first business synchronization request includes a request to create or update the first business information, determining whether the content of the first business information to be created or updated meets a first preset condition; if the first preset condition is not met, returning a third prompt information about the request failure to the line document service module.
  • synchronizing the first business information based on the determined business synchronization type includes: if the first business synchronization request includes a request to create or update the first business information, creating a reminder time based on the first business information to be created or updated, so that the first business information service module sends a preset reminder message to the target user at the reminder time.
  • synchronizing the first business information based on the determined business synchronization type includes: after the synchronization of the first business information is completed, updating the record of the synchronization status of the first business synchronization request in the target online document.
  • the address of the target online document input by the user is acquired in advance; and the target online document is determined based on the address of the target online document.
  • the collaborator rights of the target online document are acquired, and the collaborator rights include the rights to read and edit the content of the target online document.
  • the acquiring the collaborator rights of the target online document includes: acquiring preset application identity information; and configuring the collaborator rights of the target online document for a preset application corresponding to the preset application identity information.
  • synchronizing the record about the first business information in the target online document in the online document service module includes: updating the record about the first business information in the target online document by using the preset application.
  • updating the record of the synchronization status of the first business synchronization request in the target online document includes: updating the record of the synchronization status of the first business synchronization request in the target online document through the preset application, and the preset application is pre-configured with collaborator permissions of the target online document.
  • a template document for synchronizing the first business information is pre-set; determining whether the target online document is the template document; if it is determined that the target online document is not the template document, adding the template document to the target online document.
  • an information synchronization processing system comprising: an online document service module, configured to send a message to the business synchronization service module in response to a first preset operation of a user in a target online document; Send a first business synchronization request; a first business information service module, used to send a first business synchronization request to the business synchronization service module in response to monitoring a synchronization event of the first business information; the business synchronization service module, used to perform the following operations in response to receiving the first business synchronization request: determine the service module from which the first business synchronization request comes; and at least one of the following synchronization operations: if the first business synchronization request comes from the online document service module, determine the business synchronization type of the first business synchronization request, and synchronize the first business information in the first business information service module based on the determined business synchronization type; and, if the first business synchronization request comes from the first business information service module, synchronize the record
  • an information synchronization processing device comprising: a request receiving unit, configured to receive a first business synchronization request; a request determining unit, configured to determine a service module from which the first business synchronization request comes; and a business synchronization unit, configured to perform at least one of the following synchronization operations: if the first business synchronization request comes from an online document service module, determining a business synchronization type of the first business synchronization request, and synchronizing first business information in a first business information service module based on the determined business synchronization type; and if the first business synchronization request comes from the first business information service module, synchronizing a record of the first business information in a target online document in the online document service module based on the first business synchronization request.
  • an electronic device comprising: at least one memory and at least one processor; wherein the memory is used to store program code, and the processor is used to call the program code stored in the memory so that the electronic device executes the information synchronization processing method provided according to one or more embodiments of the present disclosure.
  • a non-transitory computer storage medium stores program code, and when the program code is executed by a computer device, the computer device executes the information synchronization processing method provided according to one or more embodiments of the present disclosure.
  • a computer program is provided.
  • the computer program is executed by a processor, the information synchronization processing method provided according to one or more embodiments of the present disclosure is implemented.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本公开提供了一种信息同步处理方法、系统、装置、电子设备和存储介质,通过接收并确定第一业务同步请求来自的服务模块,若来自在线文档服务模块,则确定第一业务同步请求的业务同步类型并基于所确定的业务同步类型同步第一业务信息服务模块中的第一业务信息,若第一业务同步请求来自第一业务信息服务模块,则基于第一业务同步请求同步在线文档服务模块中目标在线文档中关于第一业务信息的记录。

Description

信息同步处理方法、系统、装置、电子设备和存储介质
相关申请的交叉引用
本公开要求于2022年10月31日提交的名称为“信息同步处理方法、系统、装置、电子设备和存储介质”的中国专利申请第202211351902.0号的优先权,该申请的公开通过引用被全部结合于此。
技术领域
本公开涉及计算机技术领域,具体涉及一种信息同步处理方法、系统、装置、电子设备和存储介质。
背景技术
在团队协作中,需要及时的对业务信息进行创建、分发、管理、更新和维护等。相关技术提供的业务信息管理方案存在业务信息处理效率低的问题。
发明内容
提供该发明内容部分以便以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。该发明内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。
第一方面,根据本公开的一个或多个实施例,提供了一种信息同步处理方法,包括:
接收第一业务同步请求;
确定所述第一业务同步请求来自的服务模块;以及
以下同步步骤中的至少一个:
若所述第一业务同步请求来自在线文档服务模块,则确定所述第一业务同步请求的业务同步类型,并基于所确定的业务同步类型同步第一业务信息服务模块中的第一业务信息;和
若所述第一业务同步请求来自第一业务信息服务模块,则基于所述第一业务同步请求,同步在线文档服务模块中目标在线文档中关于第一业务信息的记录。
第二方面,根据本公开的一个或多个实施例,提供了一种信息同步处理系统,包括:
在线文档服务模块,用于响应于用户在目标在线文档中的第一预设操作,向所述业务同步服务模块发送第一业务同步请求;
第一业务信息服务模块,用于响应于监听到第一业务信息的同步事件,向所述业务同步服务模块发送第一业务同步请求;
业务同步服务模块,用于响应于接收到第一业务同步请求,执行以下操作:确定所述第一业务同步请求来自的服务模块;以及以下同步操作中的至少一个:若所述第一业务同步请求来自在所述线文档服务模块,则确定所述第一业务同步请求的业务同步类型,并基于所确定的业务同步类型同步第一业务信息服务模块中的第一业务信息;和,若所述第一 业务同步请求来自第一业务信息服务模块,则基于所述第一业务同步请求,同步在线文档服务模块中所述目标在线文档中关于第一业务信息的记录。
第三方面,根据本公开的一个或多个实施例,提供了一种信息同步处理装置,包括:
请求接收单元,用于接收第一业务同步请求;
请求确定单元,用于确定所述第一业务同步请求来自的服务模块;
业务同步单元,用于执行以下同步操作中的至少一个:若所述第一业务同步请求来自在线文档服务模块,则确定所述第一业务同步请求的业务同步类型,并基于所确定的业务同步类型同步第一业务信息服务模块中的第一业务信息,和,若所述第一业务同步请求来自第一业务信息服务模块,则基于所述第一业务同步请求,同步在线文档服务模块中目标在线文档中关于第一业务信息的记录。
第四方面,根据本公开的一个或多个实施例,提供了一种电子设备,包括:至少一个存储器和至少一个处理器;其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以使所述电子设备执行根据本公开的一个或多个实施例提供的信息同步处理方法。
第五方面,根据本公开的一个或多个实施例,提供了一种非暂态计算机存储介质,所述非暂态计算机存储介质存储有程序代码,所述程序代码被计算机设备执行时,使得所述计算机设备执行根据本公开的一个或多个实施例提供的信息同步处理方法。
第六方面,根据本公开的一个或多个实施例,提供了一种计算机程序,所述计算机程序被处理器执行时实现根据本公开的一个或多个实施例提供的信息同步处理方法。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1为根据本公开一实施例提供的信息同步处理方法的流程图;
图2为根据本公开一实施例提供的目标在线文档的显示页面的示意图;
图3为根据本公开一实施例提供的任务信息显示页面的示意图;
图4为根据本公开一实施例提供的在线表格与第一业务信息之间的业务抽象关系的示意图;
图5为根据本公开另一实施例提供的信息同步处理方法的流程图;
图6为根据本公开一实施例提供的目标在线文档初始化方法的流程图;
图7为根据本公开一实施例提供的电子设备的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是, 本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的实施方式中记载的步骤可以按照不同的顺序执行,和/或并行执行。此外,实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。术语“响应于”以及有关的术语是指一个信号或事件被另一个信号或事件影响到某个程度,但不一定是完全地或直接地受到影响。如果事件x“响应于”事件y而发生,则x可以直接或间接地响应于y。例如,y的出现最终可能导致x的出现,但可能存在其它中间事件和/或条件。在其它情形中,y可能不一定导致x的出现,并且即使y尚未发生,x也可能发生。此外,术语“响应于”还可以意味着“至少部分地响应于”。
术语“确定”广泛涵盖各种各样的动作,可包括获取、演算、计算、处理、推导、调研、查找(例如,在表、数据库或其他数据结构中查找)、探明、和类似动作,还可包括接收(例如,接收信息)、访问(例如,访问存储器中的数据)和类似动作,还可包括接收生成、创建、建立和类似动作,以及解析、选择、选取和类似动作等等。其他术语的相关定义将在下文描述中给出。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
为了本公开的目的,短语“A和/或B”意为(A)、(B)或(A和B)。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
根据本公开的一个或多个实施例,通过当第一业务同步请求来自在线文档服务模块时,确定第一业务同步请求的业务同步类型并基于所确定的业务同步类型同步第一业务信息服务模块中的第一业务信息,当第一业务同步请求来自第一业务信息服务模块时,基于第一业务同步请求同步在线文档服务模块中目标在线文档中关于第一业务信息的记录,从而实现在线文档服务模块和第一业务信息服务模块之间的双向联通,使得第一业务信息可以在在线文档服务模块和第一业务信息服务模块之间进行同步,并且用户可以利用在线文档对第一业务信息进行可视化管理,提升了对第一业务信息的处理效率。参考图1,图1示出了本公开一实施例提供的信息同步处理方法,包括步骤S120-步骤S180。
步骤S120:接收第一业务同步请求。
在一些实施例中,第一业务同步请求用于在除发送所述第一业务同步请求的服务模块之外的其他服务模块中同步第一业务信息,例如可以包括但不限于:用于创建、更新或删除所述第一业务信息的请求,用于创建、更新或删除所述第一业务信息的关联信息的请求,或者,用于更新所述第一业务信息的预设状态的请求。
在一些实施例中,第一业务信息可以为任务信息或即时通讯(Instant Messaging,IM)消息。
其中,在线文档可以是一种供用户在线编辑、多用户协作并实时保存于云端的文档,其可以通过诸如超文本标记语言(HTML,Hyper Text Markup Language)页面进行文档显示,依赖于客户端与服务器的通信实现对用户编辑内容的同步,在线文档的类型可以为在线Word文档、在线Excel文档、在线PPT文档、在线制图文档。
在线文档服务模块可以为用于向用户提供在线文档服务的模块,其可以集成于客户端或服务端中,但本公开在此不做限制。在一个具体实施方式中,在线文档服务模块(例如客户端)可以提供在线文档的功能,基于用户的点击操作,在线文档服务模块通过浏览器提供的接口调用浏览器内核加载在线文档的页面,基于加载的页面用户可以创建并编辑在线文档,当然,用户可通过该在线文档服务模块实现在线文档的分享;在另一些实施例中,在线文档服务模块中集成有浏览器内核,通过调用浏览器内核实现在客户端中显示在线文档的页面;在另一些实施例中,在线文档服务模块为在线文档客户端,通过运行在线文档客户端实现在线文档的页面加载与显示;在另一些实施例中,存在对应在线文档功能的小程序,客户端通过下载并运行在线文档小程序的源代码,实现在线文档的页面加载与显示。
第一业务信息服务模块可以为用于向用户提供第一业务信息的创建、分发、管理(例如更新、删除等)等服务的模块,其可以集成于客户端或服务端中,但本公开在此不做限制。在一个具体实施方式中,第一业务信息服务模块可以为即时通讯服务,用户可以通过该即时通讯服务中创建、分发、管理(例如更新、删除等)第一业务信息,但本公开不限于此。
步骤S140:确定所述第一业务同步请求来自的服务模块。
在一些实施例中,第一业务同步请求的发送方可以为在线文档服务模块或第一业务信息服务模块,相应地,第一业务信息的被同步方可以为第一业务信息服务模块或在线文档服务模块。
步骤S160:若所述第一业务同步请求来自在线文档服务模块,则确定所述第一业务同步请求的业务同步类型,并基于所确定的业务同步类型同步第一业务信息服务模块中的第一业务信息。
在一些实施例中,若第一业务同步请求的类型为用于创建第一业务信息,则可以基于该第一业务同步请求在第一业务信息服务中创建第一业务信息;若第一业务同步请求的类型为用于删除第一业务信息,则可以基于该第一业务同步请求在第一业务信息服务中删除第一业务信息;若第一业务同步请求的类型为用于更新第一业务信息,则可以基于该第一业务同步请求在第一业务信息服务中更新第一业务信息;若第一业务同步请求的类型为用于创建第一业务信息的关联信息,则可以基于该第一业务同步请求在第一业务信息服务中创建第一业务信息的关联信息;若第一业务同步请求的类型为用于删除第一业务信息的关联信息,则可以基于该第一业务同步请求在第一业务信息服务中删除第一业务信息的关联信息;若第一业务同步请求的类型为用于更新第一业务信息的关联信息,则可以基于该第一业务同步请求在第一业务信息服务中更新第一业务信息的关联信息;若第一业务同步请 求的类型为用于更新所述第一业务信息的预设状态,则可以基于该第一业务同步请求在第一业务信息服务中更新第一业务信息的预设状态。
在一个具体实施方式中,可以基于第一业务请求的类型调用相应的预设接口(Application Programming Interface,应用程序编程接口)来同步第一业务信息服务模块中的所述第一业务信息。示例性地,预设接口包括用于创建、删除或更新第一业务信息的接口,用于创建、删除或更新第一业务信息的关联信息的接口,或用于更新第一业务信息的预设状态的接口。
在一些实施例中,所述关联信息包括评论信息。
在一些实施例中,若所述第一业务信息为任务信息,则所述第一业务信息的预设状态包括任务是否完成的状态。
步骤S180:若所述第一业务同步请求来自第一业务信息服务模块,则基于所述第一业务同步请求,同步在线文档服务模块中目标在线文档中关于第一业务信息的记录。
在一些实施例中,所述第一业务同步请求由所述第一业务信息服务模块响应于监听到第一业务信息的同步事件触发。
在一些实施例中,第一业务信息的同步事件包括以下项中的至少一个:用户创建、更新或删除所述第一业务信息,用户创建、更新或删除所述第一业务信息的关联信息,和,用户更新所述第一业务信息的预设状态。
在一些实施例中,可以通过调用预设的用于在目标在线文档中新增记录的接口,基于第一业务请求在目标在线文档中新增相应的记录。
这样,根据本公开的一个或多个实施例,通过当第一业务同步请求来自在线文档服务模块时,确定第一业务同步请求的业务同步类型并基于所确定的业务同步类型同步第一业务信息服务模块中的第一业务信息,当第一业务同步请求来自第一业务信息服务模块时,基于第一业务同步请求同步在线文档服务模块中目标在线文档中关于第一业务信息的记录,从而实现在线文档服务模块和第一业务信息服务模块之间的双向联通,使得第一业务信息可以在在线文档服务模块和第一业务信息服务模块之间进行同步,并且用户可以利用在线文档对第一业务信息进行可视化管理,提升了对第一业务信息的处理效率。
下面以第一业务信息为任务信息、目标在线文档为在线表格为例进行说明,参考图2,在线表格的第一行的单元格中依次设置于有多个任务字段,例如包括任务字段“任务ID”“任务标题”“任务备注”“任务人员”“截止时间”“提醒时间”“创建/取消任务”“任务状态”“同步状态”等,用户可以在各个任务字段的下方输入对应的数据以作为对应的任务数据。进一步参考图2,任务字段“创建/取消任务”下还提供了一个或多个选项(例如“创建任务”“删除任务”“更新任务”)供用户选择,当用户选择“创建任务”选项时,则可以触发在线表格服务发送用于创建对应的任务信息(任务主题为“项目B”)的第一业务同步请求,以基于表格中对应的记录创建对应的任务;当用户选择“删除任务”选项时,则可以触发在线表格服务发送用于删除对应的任务信息(任务主题为“项目B”)的第一业务同步请求,以删除对应的任务;当用户选择“更新任务”选项时,则可以触发在线表格服务发送用于更新对应的任务信息(任务主题为“项目B”)的第一业务同步请求,以基于表格中对应的记录 更新对应的任务。
图3示出了第一业务信息服务模块提供的任务信息显示页面的示意图,参考图3,用户可以在任务信息显示界面提供的编辑框31中输入任务主题或任务内容“制定目标与关键结果OKR”,通过触发控件32来添加任务人员(例如任务的执行者、关注者、监督者、负责人等),通过触发控件33来确定任务的截止时间,并通过触发控件34来基于用户在该界面内输入或确定的任务信息(例如任务主题、人员、时间等)最终在第一业务信息服务模块内创建对应的任务信息。并且,当用户触发控件34后,第一业务信息服务模块发送第一业务同步请求,用于更新该任务信息位于目标在线文档内的记录。
在一些实施例中,所述目标在线文档包括在线表格,所述在线表格关联第一业务信息的集合,所述在线表格的字段关联第一业务信息的参数,所述在线表格中的一行或一列记录关联一条第一业务信息。
图4示出了在线表格与第一业务信息之间的业务抽象关系的示意图。参考图4,在线表格或其内的子表格可以对应第一业务信息的集合,即可以对应一个以上不同的第一业务信息;在线表格中的每一个字段(Field)可以对应一个第一业务信息的参数(例如主题、内容、人员、时间等参数);在线表格中一个行或一列记录(Record)可以对应一条第一业务信息。
根据本公开的一个或多个实施例,通过在线表格与第一业务信息之间双向联通,使在线表格关联第一业务信息的集合,所述在线表格的字段关联第一业务信息的参数,所述在线表格中的一行或一列记录关联一条第一业务信息,可以便于用户通过在线表格创建、汇总、管理、更新多个任务,同时满足了用户对任务的创建分发、管理以及任务列表可视化的需求,从而提高了用户对任务的处理效率。
在一些实施例中,步骤S160还包括:
步骤A11:确定第一业务信息是否存在;
步骤A21:若所述第一业务同步请求不为用于创建所述第一业务信息的请求,且所述第一业务信息不存在,则向所述线文档服务模块返回关于请求失败的第一提示信息;
步骤A22:若所述第一业务同步请求为用于创建所述第一业务信息的请求,且所述第一业务信息存在,则向所述线文档服务模块返回关于请求失败的第二提示信息。
在本实施例中,在同步第一业务信息之前,还可以确定待同步的该第一业务信息是否存在,若所述第一业务同步请求为用于创建所述第一业务信息的请求,且所述第一业务信息存在,则向所述线文档服务模块返回关于请求失败的提示,从而可以避免重复创建同一个同步请求,避免第一业务信息的重复创建;若所述第一业务同步请求不为用于创建所述第一业务信息的请求,且所述第一业务信息不存在,则向所述线文档服务模块返回关于请求失败的提示,从而可以避免对不存在的第一业务信息进行执行更新或删除等同步操作,防止程序运行错误。
示例性地,第一提示信息可以为“请求失败”或“第一业务信息不存在”等,第二提示信息可以为“请求失败”或“第一业务信息已存在”等,但本公开不限于此。
在一些实施例中,若所述第一业务同步请求不为用于创建所述第一业务信息的请求, 且所述第一业务信息存在,则可以进一步执行后续同步操作;若所述第一业务同步请求为用于创建所述第一业务信息的请求,且所述第一业务信息不存在,则可以进一步执行后续同步操作。
在一些实施例中,步骤S160还包括:
步骤B11:若所述第一业务同步请求包括创建或更新所述第一业务信息的请求,则确定拟创建或拟更新的第一业务信息的内容是否满足第一预设条件;
步骤B12:若不满足所述第一预设条件,则向所述线文档服务模块返回关于请求失败的第三提示信息。
其中,第一预设条件用于衡量拟创建或拟更新的第一业务信息的内容是否符合预设的要求。示例性地,第一预设条件包括第一业务信息的内容应当完整,例如应当包含一个或多个预设类型的信息,若拟创建或拟更新的第一业务信息包含该一个或多个预设类型的信息,则认为满足第一预设条件。
示例性地,第三提示信息可以为“请求失败”、“第一业务信息不符合条件”或“第一业务信息不完整”等,但本公开不限于此。
在一些实施例中,若拟创建或拟更新的第一业务信息的内容满足第一预设条件,则可以进一步执行后续的同步操作。
在一些实施例中,步骤S160还包括:
步骤C11:若所述第一业务同步请求包括创建或更新所述第一业务信息的请求,则基于拟创建或拟更新的第一业务信息创建提醒时间,以使所述第一业务信息服务模块在所述提醒时间向目标用户发出预设的提醒信息。
其中,步骤C11可以包括创建新的提醒时间或更新(删除并创建)已有的提醒时间。在一个具体实施方式中,可以基于拟创建或拟更新的第一业务信息确定提醒时间,并基于用于创建提醒时间的预设接口来创建该提醒时间,但本公开不限于此。
在一些实施例中,步骤S160还包括:
步骤D11:在所述第一业务信息同步完成后,更新所述目标在线文档中关于所述第一业务同步请求的同步状态的记录。
在一些实施例中,目标在线文档中具有用于表示第一业务同步请求的同步状态的预设字段,在所述第一业务信息同步完成后,则可以在该预设字段下更新关于第一业务同步请求的同步状态的记录。示例性地,更新后的同步状态的记录可以为“同步成功”,但本公开不限于此。
在本实施例中,通过在所述第一业务信息同步完成后,更新所述目标在线文档中关于所述第一业务同步请求的同步状态的记录,可以便于目标在线文档的使用者知晓第一业务同步请求的同步状态,亦便于该使用者基于该目标在线表格对第一业务信息进行后续管理。
图5示出了本公开一实施例提供的信息同步处理系统架构示意图。参考图5,信息同步处理系统包括在线表格服务模块400、业务同步服务模块500和任务服务模块600。其中,业务同步服务模块500可以用于执行本公开的一个或多个实施例提供的信息同步处理方法。
在步骤S410中,在线表格服务模块400可以响应于用户在目标在线表格中的第一预设操作,触发任务同步请求。
在一些实施例中,任务同步请求可以包括目标在线表格的唯一标识(app_token)、目标在线表格中的子表的标识(table_ID)、记录标识(RecordID)、任务同步请求的类型信息(type)、任务参数信息、以及任务的字段名。
在步骤S610中,任务服务模块600可以响应于监听到任务信息变更事件,触发任务同步请求。
在步骤S510中,业务同步服务模块500接收任务同步请求。
在步骤S520中,业务同步服务模块500确定任务同步请求是否来自任务服务模块600,若确定不来自任务服务模块600,则执行步骤S530对应的分支方案;若确定来自任务服务模块600,则执行步骤S571对应的分支分案。
在步骤S530中,业务同步服务模块500可以就与任务同步请求中携带的任务类型信息确定任务同步请求的类型,若确定其类型为用于删除任务,则执行步骤S541对应的分支方案;若确定其类型为用于更新任务,则执行步骤S551对应的分支方案;若确定其类型为用于创建任务,则执行步骤S561对应的分支方案。
在步骤S541中,业务同步服务模块500确定待同步的任务是否存在,如果存在,则执行步骤S542,如果不存在,则向在线表格服务模块400执行对应的反馈,以使在线表格服务模块400执行步骤S420:显示关于任务删除失败的提示信息。
在步骤S542中,业务同步服务模块500可以调用预设的接口删除任务服务模块600中对应的任务信息。之后,业务同步服务模块500执行对应的反馈,以使在线表格服务模块430执行步骤S430:显示关于任务删除成功的提示信息。
在步骤S543中,业务同步服务模块500调用预设的接口在目标在线表格中将关于任务同步请求的同步状态的记录更新为同步成功。
在步骤S551中,业务同步服务模块500确定待更新的任务信息是否完整。如果完整,则执行步骤S552;如果不完整,则向在线表格服务模块400执行对应的反馈,以使在线表格服务模块400执行步骤S440:显示关于任务信息不全的提示信息,以提示用户补全拟更新的任务信息。
在步骤S552中,业务同步服务模块500确定被更新的任务是否存在,如果存在,则执行步骤S553;如果不存在,则向在线表格服务模块400执行对应的反馈,以使在线表格服务模块400执行步骤S460:显示关于任务更新失败的提示信息,以提示用户勿更新不存在的任务。
在步骤S553中,业务同步服务模块500解析拟同步的任务信息。在一些实施例中,可以基于目标在线文档中的字段检索并确定与各字段分别对应的拟同步的记录,以确定拟同步的记录应当更新至哪个字段,防止记录更新混乱(例如更新在错误的字段下)。
在步骤S554中,业务同步服务模块500基于解析的信息通过调用预设的接口更新任务服务模块600中对应的任务。
在步骤S555中,业务同步服务模块500调用预设的接口在目标在线表格中将关于任 务同步请求的同步状态的记录更新为同步成功。
在步骤S561中,业务同步服务模块500确定拟创建的任务信息是否完整。如果完整,则执行步骤S562;如果不完整,则向在线表格服务模块400执行对应的反馈,以使在线表格服务模块400执行步骤S440:显示关于任务信息不全的提示信息,以提示用户补全拟创建任务的任务信息。
在步骤S562中,业务同步服务模块500确定被创建的任务是否存在(即确定是否属于重复创建),如果不存在,则执行步骤S563;如果存在,则向在线表格服务模块400执行对应的反馈,以使在线表格服务模块400执行步骤S440:显示关于任务已存在的提示信息,以提示用户勿创建已存在的任务。
在步骤S563中,业务同步服务模块500解析拟同步的任务信息。在一些实施例中,可以基于目标在线文档中的字段检索并确定与各字段分别对应的拟同步的记录,以确定拟同步的记录应当更新至哪个字段,防止记录更新混乱。
在步骤S564中,业务同步服务模块500基于解析的信息通过调用预设的接口创建任务服务模块600中对应的任务。
在步骤S565中,业务同步服务模块500调用预设的接口在目标在线表格中将关于任务同步请求的同步状态的记录更新为同步成功。
在步骤S580中,在数据源中存储预设的同步信息。示例性地,预设的同步信息可以包括目标在线表格的唯一标识(app_token)、目标在线表格中的子表的标识(table_ID)、记录标识(RecordID)、任务标识(task_ID)、事件标识等。
在步骤S571中,业务同步服务模块500可以基于业务同步请求携带的事件标识对重复的任务信息变更事件触发的同步请求进行去重,以防止重复地处理同一个任务信息变更事件对应的同步请求。
在步骤S572中,业务同步服务模块500可以基于业务同步请求携带的任务标识获取对应任务的任务详情信息。
在步骤S573中,业务同步服务模块500可以确定待更新的目标在线表格。
在步骤S574中,业务同步服务模块500可以基于所获取的任务详情信息更新所确定的目标在线表格的记录。
在一些实施例中,目标在线表格还包括专用于记录任务变更情况的第一子表格,业务同步服务模块500可以更新第一子表格中的记录。
需要说明的是,对于系统的实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可,在此不再赘述。
在一些实施例中,方法100还包括:
步骤S101:预先获取用户输入的所述目标在线文档的地址;
步骤S102:基于所述目标在线文档的地址确定所述目标在线文档。
在本实施例中,通过用户提供的目标在线文档的链接可以确定待同步的目标在线文档。示例性地,目标在线文档的地址可以为目标在线文档的链接。
在一些实施例中,方法100还包括:
步骤S103:获取所述目标在线文档的协作者权限,所述协作者权限包括读取和编辑所述在目标线文档内容的权限。
在本实施例中,通过获取目标在线文档的协作者权限,即能够读取和编辑目标在线文档的内容,从而可以方便地获取目标在线文档的记录以同步第一业务信息,以及基于第一业务信息服务模块的同步请求更新目标在线文档中关于所述第一业务信息的记录。
在一个具体实施方式中,可以获取在线文档服务模块的授权凭证,以获取所述目标在线文档的协作者权限。例如,可以基于用户输入的在线文档服务模块的授权凭证获取所述协作者权限。
在一些实施例中,步骤S103包括:
步骤E11:获取预设应用身份信息;
步骤E12:为与所述预设应用身份信息所对应的预设应用配置所述目标在线文档的协作者权限。
其中,预设应用可以为用于执行本公开的一个或多个实施例提供的信息同步处理方法的执行主体或该执行主体控制的应用程序。在本实施例中,通过获取预设应用身份信息,为对应的预设应用配置目标在线文档的协作者权限,从而可以通过该预设应用读取或编辑目标在线文档的内容。
在一些实施例中,可以通过所述预设应用更新所述目标在线文档中关于所述第一业务信息的记录,或者,通过所述预设应用更新所述目标在线文档中关于所述第一业务同步请求的同步状态的记录。示例性地,因该预设应用具有目标在线文档的协作者权限,可以通过该预设应用调取预设的接口更新所述目标在线文档中关于所述第一业务信息的记录和关于所述第一业务同步请求的同步状态的记录。
在一些实施例中,可以预先设置用于同步第一业务信息的模板文档,并确定用户输入的目标在线文档的地址所对应的目标在线文档是否为所述模板文档,若确定所述目标在线文档不为所述模板文档,则在所述目标在线文档中新增所述模板文档。在本实施例中,当确定用户提供的拟用于同步第一业务信息的目标在线文档并非预先设置的模板文档,则可以在所述目标在线文档中新增该预设的模板文档,以便于同步第一业务信息。与用户自定义的文档相比,系统预设的模板文档中所预设的字段和格式更符合系统同步第一业务信息的要求,从而可以基于目标在线文档中的新增的模板文档所记录的内容生成对应的第一业务信息并通过新增的模板文档对第一业务信息进行后续管理。需要说明的是,本实施例的执行主体可以为在线文档服务模块,但本公开不限于此。
在一些具体实施方式中,模板文档的内容可以包括图2所示的目标在线表格中的内容,但本公开不限于此。
图6示出了本公开一实施例提供的信息同步处理系统架构示意图。参考图6,信息同步处理系统包括在线表格服务模块400和业务同步服务模块500。
在步骤S501中,业务同步服务模块500可以基于用户预先输入的目标在线表格的地址解析出目标在线表格的唯一标识(例如token),以确定目标在线表格。
在步骤S502中,业务同步服务模块500可以获取在线文档服务模块400的授权凭证。
在步骤S503中,业务同步服务模块500可以获取用户输入的预设应用信息,例如预设应用的唯一标识,例如预设应用的ID(APP ID)和密钥(APP secret)。示例性地,预设应用可以为业务同步服务模块500中的机器人(BOT)。
在步骤S504中,可以基于所获取的授权凭证为该预设应用增加目标在线表格的协作者权限,以使该预设应用能够读取和编辑所述目标在线表格。
在步骤S401中,在线文档服务模块400可以确定该目标在线表格是否为预设的模板表格;若目标在线表格为模板表格,则执行步骤S403;若目标在线表格不为模板表格,则执行步骤S402。
在步骤S402中,在目标在线表格中新增模板表格。
在步骤S403中,在模板表格中或在目标表格中的模板表格中新增预设的初始记录。在一些实施例中,初始记录可以为预设的任务参数,例如“任务设置”“任务标题”“提醒时间”“任务执行者”“任务关注者”“重复规则”“任务备注”“跳转链接”等。
应理解,尽管在图6中示出步骤S401-S403由在线文档服务模块400执行,然而本公开不限于此。在一些实施例中,在图6中示出步骤S401-S403可以由业务同步服务模块500来执行,或者由业务同步服务模块500指示在线文档服务模块400来执行。
根据本公开的一个或多个实施例,在目标在线文档中增加模板文档,获取目标在线文档的协作者权限,从而可以为用户提供的目标在线文档自动配置模板文档及其内部的相关参数,完成对目标在线文档的初始化,以便于基于该目标在线文档进行后续的同步处理,例如前述实施例记载的信息同步处理方法。
在一些实施例中,模板表格中的任务字段包括如下中的一个或多个:用于指示任务标题的字段、用于指示任务ID的字段、用于指示任务内容的字段、用于指示任务关联人员的字段、用于指示任务时间信息的字段、用于指示任务提醒方式的字段、用于指示创建、取消或更新任务的字段、用于指示任务的完成状态的字段、用于指示任务的同步状态的字段。
其中,任务的关联人员包括但不限于任务的创建者、执行者、关注者、监督者等;任务时间信息包括但不限于任务的创建时间、任务的截止时间;任务提醒方式包括但不限于任务的提醒时间、提醒周期、或提醒规则;任务状态包括但不限于任务未完成状态、任务已完成状态;任务同步状态用于反映任务是否已经创建成功、或是否已同步给任务关联人员、或是否同步至预设的任务服务器中。
在一些实施例中,模板表格可以多维表格,通过多维表格管理任务信息。一些实施例中,多维表格中的行或列用于存储任务信息。一些实施例中,多维表格能够记录不同类型的数据,包括图片、视频等多媒体文件,多维表格中可以采用行存储或列存储,在一个行或列中存储一个任务的任务信息,例如图2中每一行分别用于存储不同任务的任务信息。
在一些实施例中,在线表格为数据库表格。与常规的excel或者电子表格不同,数据库表格中每一列数据都配置有一个数据类型,该列的单元格中只能输入与该数据类型对 应的数据;每一个单元格在被创建时就会为其分配数据类型,数据类型与每一列单元格数据的标题行的字段相对应。
相应地,根据本公开的一实施例提供了一种信息同步处理装置,包括:
请求接收单元,用于接收第一业务同步请求;
请求确定单元,用于确定所述第一业务同步请求来自的服务模块;
业务同步单元,用于执行以下同步操作中的至少一个:若所述第一业务同步请求来自在线文档服务模块,则确定所述第一业务同步请求的业务同步类型,并基于所确定的业务同步类型同步第一业务信息服务模块中的第一业务信息,和,若所述第一业务同步请求来自第一业务信息服务模块,则基于所述第一业务同步请求,同步在线文档服务模块中目标在线文档中关于第一业务信息的记录。
在一些实施例中,所述第一业务信息包括任务信息、或即时通讯消息。
在一些实施例中,所述第一业务信息服务模块包括即时通讯服务模块。
在一些实施例中,所述第一业务同步请求包括以下项中的至少一个:用于在除发送所述第一业务同步请求的服务模块之外的其他服务模块中创建、更新或删除所述第一业务信息的请求,用于在除发送所述第一业务同步请求的服务模块之外的其他服务模块中创建、更新或删除所述第一业务信息的关联信息的请求,和用于在除发送所述第一业务同步请求的服务模块之外的其他服务模块中更新所述第一业务信息的预设状态的请求。
在一些实施例中,所述第一业务同步请求由所述在线文档服务模块响应于用户在所述目标在线文档中的第一预设操作触发;或者,所述第一业务同步请求由所述第一业务信息服务模块响应于监听到第一业务信息的同步事件触发。
在一些实施例中,所述用户在所述在线文档中的第一预设操作包括:用户在所述在线文档中的第一预设任务字段下输入预设类型的数据。
在一些实施例中,第一业务信息的同步事件包括以下项中的至少一个:用户创建、更新或删除所述第一业务信息,用户创建、更新或删除所述第一业务信息的关联信息,和,用户更新所述第一业务信息的预设状态。
在一些实施例中,所述关联信息包括评论信息。
在一些实施例中,若所述第一业务信息为任务信息,则所述第一业务信息的预设状态包括任务是否完成的状态。
在一些实施例中,所述目标在线文档包括在线表格,所述在线表格关联第一业务信息的集合,所述在线表格的字段关联第一业务信息的参数,所述在线表格中的一行或一列记录关联一条第一业务信息。
在一些实施例中,所述业务同步单元包括:
业务存在确定单元,用于确定所述第一业务信息是否存在,若所述第一业务同步请求不为用于创建所述第一业务信息的请求,且所述第一业务信息不存在,则向所述线文档服务模块返回关于请求失败的第一提示信息,或者,若所述第一业务同步请求为用于创建所述第一业务信息的请求,且所述第一业务信息存在,则向所述线文档服务模块返回关于请求失败的第二提示信息。
在一些实施例中,所述业务同步单元包括:
业务完整确定单元,用于若所述第一业务同步请求包括创建或更新所述第一业务信息的请求,则确定拟创建或拟更新的第一业务信息的内容是否满足第一预设条件;若不满足所述第一预设条件,则向所述线文档服务模块返回关于请求失败的第三提示信息。
在一些实施例中,所述业务同步单元包括:
提醒创建单元,用于若所述第一业务同步请求包括创建或更新所述第一业务信息的请求,则基于拟创建或拟更新的第一业务信息创建提醒时间,以使所述第一业务信息服务模块在所述提醒时间向目标用户发出预设的提醒信息。
在一些实施例中,所述业务同步单元包括:
同步记录单元,在所述第一业务信息同步完成后,更新所述目标在线文档中关于所述第一业务同步请求的同步状态的记录。
在一些实施例中,所述信息同步处理装置包括:
文档确定单元,用于预先获取用户输入的所述目标在线文档的地址,并基于所述目标在线文档的地址确定所述目标在线文档。
在一些实施例中,所述信息同步处理装置包括:
权限获取单元,用于获取所述目标在线文档的协作者权限,所述协作者权限包括读取和编辑所述在目标线文档内容的权限。
在一些实施例中,所述权限获取单元用于获取预设应用身份信息,并为与所述预设应用身份信息所对应的预设应用配置所述目标在线文档的协作者权限。
在一些实施例中,所述同步在线文档服务模块中目标在线文档中关于第一业务信息的记录,包括:通过所述预设应用更新所述目标在线文档中关于所述第一业务信息的记录。
在一些实施例中,所述更新所述目标在线文档中关于所述第一业务同步请求的同步状态的记录,包括:通过所述预设应用更新所述目标在线文档中关于所述第一业务同步请求的同步状态的记录,所述预设应用被预先配置有所述目标在线文档的协作者权限。
在一些实施例中,所述信息同步处理装置包括:
模板初始化单元,用于预先设置用于同步第一业务信息的模板文档;确定所述目标在线文档是否为所述模板文档;若确定所述目标在线文档不为所述模板文档,则在所述目标在线文档中新增所述模板文档。对于装置的实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中作为分离模块说明的模块可以是或者也可以不是分开的。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
对于系统的实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。
相应地,根据本公开的一个或多个实施例,提供了一种电子设备,包括:
至少一个存储器和至少一个处理器;
其中,存储器用于存储程序代码,处理器用于调用存储器所存储的程序代码以使所述 电子设备执行根据本公开一个或多个实施例提供的信息同步处理方法。
相应地,根据本公开的一个或多个实施例,提供了一种非暂态计算机存储介质,非暂态计算机存储介质存储有程序代码,程序代码可被计算机设备执行来使得所述计算机设备执行根据本公开一个或多个实施例提供的信息同步处理方法。
相应地,根据本公开的一个或多个实施例,提供了一种计算机程序,所述计算机程序被处理器执行时实现根据本公开一个或多个实施例提供的信息同步处理方法。
下面参考图7,其示出了适于用来实现本公开实施例的电子设备(例如终端设备或服务器)300的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图7示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图7所示,电子设备300可以包括处理装置(例如中央处理器、图形处理器等)301,其可以根据存储在只读存储器(ROM)302中的程序或者从存储装置308加载到随机访问存储器(RAM)303中的程序而执行各种适当的动作和处理。在RAM303中,还存储有电子设备300操作所需的各种程序和数据。处理装置301、ROM 302以及RAM 303通过总线304彼此相连。输入/输出(I/O)接口305也连接至总线304。
通常,以下装置可以连接至I/O接口305:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置306;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置307;包括例如磁带、硬盘等的存储装置308;以及通信装置309。通信装置309可以允许电子设备300与其他设备进行无线或有线通信以交换数据。虽然图7示出了具有各种装置的电子设备300,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置309从网络上被下载和安装,或者从存储装置308被安装,或者从ROM 302被安装。在该计算机程序被处理装置301执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、 装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行上述的本公开的方法。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如, 非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,提供了一种信息同步处理方法,包括:接收第一业务同步请求;确定所述第一业务同步请求来自的服务模块;以及以下同步步骤中的至少一个:若所述第一业务同步请求来自在线文档服务模块,则确定所述第一业务同步请求的业务同步类型,并基于所确定的业务同步类型同步第一业务信息服务模块中的第一业务信息;和,若所述第一业务同步请求来自第一业务信息服务模块,则基于所述第一业务同步请求,同步在线文档服务模块中目标在线文档中关于第一业务信息的记录。
根据本公开的一个或多个实施例,所述第一业务信息包括任务信息、或即时通讯消息。
根据本公开的一个或多个实施例,所述第一业务信息服务模块包括即时通讯服务模块。
根据本公开的一个或多个实施例,所述第一业务同步请求包括以下项中的至少一个:用于在除发送所述第一业务同步请求的服务模块之外的其他服务模块中创建、更新或删除所述第一业务信息的请求,用于在除发送所述第一业务同步请求的服务模块之外的其他服务模块中创建、更新或删除所述第一业务信息的关联信息的请求,和用于在除发送所述第一业务同步请求的服务模块之外的其他服务模块中更新所述第一业务信息的预设状态的请求。
根据本公开的一个或多个实施例,所述第一业务同步请求由所述在线文档服务模块响应于用户在所述目标在线文档中的第一预设操作触发;或者,所述第一业务同步请求由所述第一业务信息服务模块响应于监听到第一业务信息的同步事件触发。
根据本公开的一个或多个实施例,所述用户在所述在线文档中的第一预设操作包括:用户在所述在线文档中的第一预设任务字段下输入预设类型的数据。
根据本公开的一个或多个实施例,第一业务信息的同步事件包括以下项中的至少一个:用户创建、更新或删除所述第一业务信息,用户创建、更新或删除所述第一业务信息的关联信息,和,用户更新所述第一业务信息的预设状态。
根据本公开的一个或多个实施例,所述关联信息包括评论信息。
根据本公开的一个或多个实施例,若所述第一业务信息为任务信息,则所述第一业务信息的预设状态包括任务是否完成的状态。
根据本公开的一个或多个实施例,所述目标在线文档包括在线表格,所述在线表格关 联第一业务信息的集合,所述在线表格的字段关联第一业务信息的参数,所述在线表格中的一行或一列记录关联一条第一业务信息。
根据本公开的一个或多个实施例,所述基于所确定的业务同步类型同步第一业务信息,包括:确定所述第一业务信息是否存在;若所述第一业务同步请求不为用于创建所述第一业务信息的请求,且所述第一业务信息不存在,则向所述线文档服务模块返回关于请求失败的第一提示信息;或者,若所述第一业务同步请求为用于创建所述第一业务信息的请求,且所述第一业务信息存在,则向所述线文档服务模块返回关于请求失败的第二提示信息。
根据本公开的一个或多个实施例,所述基于所确定的业务同步类型同步第一业务信息,包括:若所述第一业务同步请求包括创建或更新所述第一业务信息的请求,则确定拟创建或拟更新的第一业务信息的内容是否满足第一预设条件;若不满足所述第一预设条件,则向所述线文档服务模块返回关于请求失败的第三提示信息。
根据本公开的一个或多个实施例,所述基于所确定的业务同步类型同步第一业务信息,包括:若所述第一业务同步请求包括创建或更新所述第一业务信息的请求,则基于拟创建或拟更新的第一业务信息创建提醒时间,以使所述第一业务信息服务模块在所述提醒时间向目标用户发出预设的提醒信息。
根据本公开的一个或多个实施例,所述基于所确定的业务同步类型同步第一业务信息,包括:在所述第一业务信息同步完成后,更新所述目标在线文档中关于所述第一业务同步请求的同步状态的记录。
根据本公开的一个或多个实施例,预先获取用户输入的所述目标在线文档的地址;基于所述目标在线文档的地址确定所述目标在线文档。
根据本公开的一个或多个实施例,获取所述目标在线文档的协作者权限,所述协作者权限包括读取和编辑所述在目标线文档内容的权限。
根据本公开的一个或多个实施例,所述获取所述目标在线文档的协作者权限,包括:获取预设应用身份信息;为与所述预设应用身份信息所对应的预设应用配置所述目标在线文档的协作者权限。
根据本公开的一个或多个实施例,所述同步在线文档服务模块中目标在线文档中关于第一业务信息的记录,包括:通过所述预设应用更新所述目标在线文档中关于所述第一业务信息的记录。
根据本公开的一个或多个实施例,所述更新所述目标在线文档中关于所述第一业务同步请求的同步状态的记录,包括:通过所述预设应用更新所述目标在线文档中关于所述第一业务同步请求的同步状态的记录,所述预设应用被预先配置有所述目标在线文档的协作者权限。
根据本公开的一个或多个实施例,预先设置用于同步第一业务信息的模板文档;确定所述目标在线文档是否为所述模板文档;若确定所述目标在线文档不为所述模板文档,则在所述目标在线文档中新增所述模板文档。
根据本公开的一个或多个实施例,提供了一种信息同步处理系统,包括:在线文档服务模块,用于响应于用户在目标在线文档中的第一预设操作,向所述业务同步服务模块发 送第一业务同步请求;第一业务信息服务模块,用于响应于监听到第一业务信息的同步事件,向所述业务同步服务模块发送第一业务同步请求;业务同步服务模块,用于响应于接收到第一业务同步请求,执行以下操作:确定所述第一业务同步请求来自的服务模块;以及以下同步操作中的至少一个:若所述第一业务同步请求来自在所述线文档服务模块,则确定所述第一业务同步请求的业务同步类型,并基于所确定的业务同步类型同步第一业务信息服务模块中的第一业务信息;和,若所述第一业务同步请求来自第一业务信息服务模块,则基于所述第一业务同步请求,同步在线文档服务模块中所述目标在线文档中关于第一业务信息的记录。
根据本公开的一个或多个实施例,提供了一种信息同步处理装置,包括:请求接收单元,用于接收第一业务同步请求;请求确定单元,用于确定所述第一业务同步请求来自的服务模块;业务同步单元,用于执行以下同步操作中的至少一个:若所述第一业务同步请求来自在线文档服务模块,则确定所述第一业务同步请求的业务同步类型,并基于所确定的业务同步类型同步第一业务信息服务模块中的第一业务信息,和若所述第一业务同步请求来自第一业务信息服务模块,则基于所述第一业务同步请求,同步在线文档服务模块中目标在线文档中关于第一业务信息的记录。
根据本公开的一个或多个实施例,提供了一种电子设备,包括:至少一个存储器和至少一个处理器;其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以使所述电子设备执行根据本公开的一个或多个实施例提供的信息同步处理方法。
根据本公开的一个或多个实施例,提供了一种非暂态计算机存储介质,所述非暂态计算机存储介质存储有程序代码,所述程序代码被计算机设备执行时,使得所述计算机设备执行根据本公开的一个或多个实施例提供的信息同步处理方法。
根据本公开的一个或多个实施例,提供了一种计算机程序,所述计算机程序被处理器执行时实现根据本公开的一个或多个实施例提供的信息同步处理方法。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反, 上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (25)

  1. 一种信息同步处理方法,包括:
    接收第一业务同步请求;
    确定所述第一业务同步请求来自的服务模块;以及
    以下同步步骤中的至少一个:
    若所述第一业务同步请求来自在线文档服务模块,则确定所述第一业务同步请求的业务同步类型,并基于所确定的业务同步类型同步第一业务信息服务模块中的第一业务信息;和,
    若所述第一业务同步请求来自第一业务信息服务模块,则基于所述第一业务同步请求,同步在线文档服务模块中目标在线文档中关于第一业务信息的记录。
  2. 根据权利要求1所述的方法,其中,所述第一业务信息包括任务信息、或即时通讯消息。
  3. 根据权利要求1所述的方法,其中,所述第一业务信息服务模块包括即时通讯服务模块。
  4. 根据权利要求1所述的方法,其中,所述第一业务同步请求包括以下项中的至少一个:
    用于在除发送所述第一业务同步请求的服务模块之外的其他服务模块中创建、更新或删除所述第一业务信息的请求,
    用于在除发送所述第一业务同步请求的服务模块之外的其他服务模块中创建、更新或删除所述第一业务信息的关联信息的请求,和
    用于在除发送所述第一业务同步请求的服务模块之外的其他服务模块中更新所述第一业务信息的预设状态的请求。
  5. 根据权利要求1所述的方法,其中,
    所述第一业务同步请求由所述在线文档服务模块响应于用户在所述目标在线文档中的第一预设操作触发;或者,
    所述第一业务同步请求由所述第一业务信息服务模块响应于监听到第一业务信息的同步事件触发。
  6. 根据权利要求5所述的方法,其中,所述用户在所述在线文档中的第一预设操作包括:
    用户在所述在线文档中的第一预设任务字段下输入预设类型的数据。
  7. 根据权利要求5所述的方法,其中,第一业务信息的同步事件包括以下项中的至少一个:
    用户创建、更新或删除所述第一业务信息,
    用户创建、更新或删除所述第一业务信息的关联信息,和
    用户更新所述第一业务信息的预设状态。
  8. 根据权利要求4或7所述的方法,其中,所述关联信息包括评论信息。
  9. 根据权利要求4或7所述的方法,其中,若所述第一业务信息为任务信息,则所述第一业务信息的预设状态包括任务是否完成的状态。
  10. 根据权利要求1所述的方法,其中,所述目标在线文档包括在线表格,所述在线表格关联第一业务信息的集合,所述在线表格的字段关联第一业务信息的参数,所述在线表格中的一行或一列记录关联一条第一业务信息。
  11. 根据权利要求1所述的方法,其中,所述基于所确定的业务同步类型同步第一业务信息,包括:
    确定所述第一业务信息是否存在;
    若所述第一业务同步请求不为用于创建所述第一业务信息的请求,且所述第一业务信息不存在,则向所述线文档服务模块返回关于请求失败的第一提示信息;或者,
    若所述第一业务同步请求为用于创建所述第一业务信息的请求,且所述第一业务信息存在,则向所述线文档服务模块返回关于请求失败的第二提示信息。
  12. 根据权利要求1所述的方法,其中,所述基于所确定的业务同步类型同步第一业务信息,包括:
    若所述第一业务同步请求包括创建或更新所述第一业务信息的请求,则确定拟创建或拟更新的第一业务信息的内容是否满足第一预设条件;
    若不满足所述第一预设条件,则向所述线文档服务模块返回关于请求失败的第三提示信息。
  13. 根据权利要求1所述的方法,其中,所述基于所确定的业务同步类型同步第一业务信息,包括:
    若所述第一业务同步请求包括创建或更新所述第一业务信息的请求,则基于拟创建或拟更新的第一业务信息创建提醒时间,以使所述第一业务信息服务模块在所述提醒时间向目标用户发出预设的提醒信息。
  14. 根据权利要求1所述的方法,其中,所述基于所确定的业务同步类型同步第一业务信息,包括:
    在所述第一业务信息同步完成后,更新所述目标在线文档中关于所述第一业务同步请求的同步状态的记录。
  15. 根据权利要求1所述的方法,还包括:
    预先获取用户输入的所述目标在线文档的地址;
    基于所述目标在线文档的地址确定所述目标在线文档。
  16. 根据权利要求15所述的方法,还包括:
    获取所述目标在线文档的协作者权限,所述协作者权限包括读取和编辑所述在目标线文档内容的权限。
  17. 根据权利要求16所述的方法,其中,所述获取所述目标在线文档的协作者权限,包括:
    获取预设应用身份信息;
    为与所述预设应用身份信息所对应的预设应用配置所述目标在线文档的协作者权限。
  18. 根据权利要求17所述的方法,其中,所述同步在线文档服务模块中目标在线文档中关于第一业务信息的记录,包括:
    通过所述预设应用更新所述目标在线文档中关于所述第一业务信息的记录。
  19. 根据权利要求14所述的方法,其中,所述更新所述目标在线文档中关于所述第一业务同步请求的同步状态的记录,包括:
    通过预设应用更新所述目标在线文档中关于所述第一业务同步请求的同步状态的记录,所述预设应用被预先配置有所述目标在线文档的协作者权限。
  20. 根据权利要求15所述的方法,还包括:
    预先设置用于同步第一业务信息的模板文档;
    确定所述目标在线文档是否为所述模板文档;
    若确定所述目标在线文档不为所述模板文档,则在所述目标在线文档中新增所述模板文档。
  21. 一种信息同步处理系统,包括:
    在线文档服务模块,用于响应于用户在目标在线文档中的第一预设操作,向所述业务同步服务模块发送第一业务同步请求;
    第一业务信息服务模块,用于响应于监听到第一业务信息的同步事件,向所述业务同步服务模块发送第一业务同步请求;
    业务同步服务模块,用于响应于接收到第一业务同步请求,执行以下操作:确定所述第一业务同步请求来自的服务模块;以及以下同步操作中的至少一个:若所述第一业务同步请求来自在所述线文档服务模块,则确定所述第一业务同步请求的业务同步类型,并基于所确定的业务同步类型同步第一业务信息服务模块中的第一业务信息;和,若所述第一业务同步请求来自第一业务信息服务模块,则基于所述第一业务同步请求,同步在线文档服务模块中所述目标在线文档中关于第一业务信息的记录。
  22. 一种信息同步处理装置,包括:
    请求接收单元,用于接收第一业务同步请求;
    请求确定单元,用于确定所述第一业务同步请求来自的服务模块;
    业务同步单元,用于执行以下同步操作中的至少一个:若所述第一业务同步请求来自在线文档服务模块,则确定所述第一业务同步请求的业务同步类型,并基于所确定的业务同步类型同步第一业务信息服务模块中的第一业务信息,和,若所述第一业务同步请求来自第一业务信息服务模块,则基于所述第一业务同步请求,同步在线文档服务模块中目标在线文档中关于第一业务信息的记录。
  23. 一种电子设备,包括:
    至少一个存储器和至少一个处理器;
    其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以使所述电子设备执行权利要求1至20中任一项所述的方法。
  24. 一种非暂态计算机存储介质,
    所述非暂态计算机存储介质存储有程序代码,所述程序代码被计算机设备执行时,使得所述计算机设备执行权利要求1至20中任一项所述的方法。
  25. 一种计算机程序,所述计算机程序被处理器执行时实现权利要求1至20中任一项所述的方法。
PCT/CN2023/120380 2022-10-31 2023-09-21 信息同步处理方法、系统、装置、电子设备和存储介质 WO2024093564A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211351902.0A CN115510832B (zh) 2022-10-31 信息同步处理方法、系统、装置、电子设备和存储介质
CN202211351902.0 2022-10-31

Publications (1)

Publication Number Publication Date
WO2024093564A1 true WO2024093564A1 (zh) 2024-05-10

Family

ID=84512786

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/120380 WO2024093564A1 (zh) 2022-10-31 2023-09-21 信息同步处理方法、系统、装置、电子设备和存储介质

Country Status (1)

Country Link
WO (1) WO2024093564A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080021219A (ko) * 2006-08-30 2008-03-07 엔에이치엔(주) 컨텐츠 동기화 방법 및 장치
CN111027921A (zh) * 2019-11-19 2020-04-17 山东中创软件商用中间件股份有限公司 一种业务处理方法、装置及电子设备和存储介质
CN114500570A (zh) * 2022-02-09 2022-05-13 北京字跳网络技术有限公司 任务处理方法、装置、电子设备和计算机可读存储介质
CN114676671A (zh) * 2022-03-09 2022-06-28 中国邮政储蓄银行股份有限公司 文档在线编辑方法及其装置、计算机可读存储介质
CN115146302A (zh) * 2021-03-31 2022-10-04 北京有竹居网络技术有限公司 文件处理方法、装置、存储介质及系统
CN115510832A (zh) * 2022-10-31 2022-12-23 北京字跳网络技术有限公司 信息同步处理方法、系统、装置、电子设备和存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080021219A (ko) * 2006-08-30 2008-03-07 엔에이치엔(주) 컨텐츠 동기화 방법 및 장치
CN111027921A (zh) * 2019-11-19 2020-04-17 山东中创软件商用中间件股份有限公司 一种业务处理方法、装置及电子设备和存储介质
CN115146302A (zh) * 2021-03-31 2022-10-04 北京有竹居网络技术有限公司 文件处理方法、装置、存储介质及系统
CN114500570A (zh) * 2022-02-09 2022-05-13 北京字跳网络技术有限公司 任务处理方法、装置、电子设备和计算机可读存储介质
CN114676671A (zh) * 2022-03-09 2022-06-28 中国邮政储蓄银行股份有限公司 文档在线编辑方法及其装置、计算机可读存储介质
CN115510832A (zh) * 2022-10-31 2022-12-23 北京字跳网络技术有限公司 信息同步处理方法、系统、装置、电子设备和存储介质

Also Published As

Publication number Publication date
CN115510832A (zh) 2022-12-23

Similar Documents

Publication Publication Date Title
US9131054B2 (en) Synchronization in unified messaging systems
US11575772B2 (en) Systems and methods for initiating processing actions utilizing automatically generated data of a group-based communication system
KR20130126930A (ko) 텍스트 메시지를 사용하는 스프레드시트와의 상호작용
EP4145310A1 (en) Document sharing processing method and apparatus, device, medium, and system
US20130198171A1 (en) Method and system for managing database object information
US10614057B2 (en) Shared processing of rulesets for isolated collections of resources and relationships
CN111045999A (zh) 文档展示方法、装置、计算机设备及存储介质
US11336604B2 (en) Techniques for supervising communications from multiple communication modalities
CN108885557B (zh) 分批的任务
WO2016040370A1 (en) Methods and apparatus for tracking construction material delivery
WO2023185983A1 (zh) 信息处理方法、装置、电子设备和存储介质
WO2024093563A1 (zh) 信息处理方法、装置、电子设备和存储介质
US20130304802A1 (en) Asynchronous, passive knowledge sharing system and method
WO2024093566A1 (zh) 信息处理方法、装置、电子设备和存储介质
WO2024093576A1 (zh) 信息处理方法、装置、电子设备和存储介质
US20240126724A1 (en) Method, apparatus, electronic device and storage medium for information processing
US20240086632A1 (en) Methods, system, apparatuses and electronic device for information referencing
WO2024087821A1 (zh) 信息处理方法、装置和电子设备
WO2024093564A1 (zh) 信息同步处理方法、系统、装置、电子设备和存储介质
JP7353076B2 (ja) 会話関連データを収集する方法、コンピュータプログラム、コンピュータ機器及びサーバーシステム
CN114697285B (zh) 信息展示和信息发送方法、装置、设备和介质
CN115510832B (zh) 信息同步处理方法、系统、装置、电子设备和存储介质
CN115017149A (zh) 数据处理方法、装置、电子设备和存储介质
CN115079873A (zh) 信息显示方法、装置、电子设备和存储介质
CN114827066B (zh) 信息处理方法、装置、电子设备和存储介质