CN111935255A - Information processing method, device and storage medium - Google Patents

Information processing method, device and storage medium Download PDF

Info

Publication number
CN111935255A
CN111935255A CN202010750655.6A CN202010750655A CN111935255A CN 111935255 A CN111935255 A CN 111935255A CN 202010750655 A CN202010750655 A CN 202010750655A CN 111935255 A CN111935255 A CN 111935255A
Authority
CN
China
Prior art keywords
document
information
server
target
image information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010750655.6A
Other languages
Chinese (zh)
Inventor
陈泽楷
关宇健
贺桀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010750655.6A priority Critical patent/CN111935255A/en
Publication of CN111935255A publication Critical patent/CN111935255A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Abstract

The embodiment of the application discloses an information processing method, an information processing device and a storage medium, and the embodiment of the application intercepts a target instruction for sending a generation request of an online document to a server in an offline state; generating a pseudo document identification aiming at the target instruction, and generating and displaying a target online document according to the pseudo document identification; receiving document information input by a user based on a target online document, and storing the document information to a preset storage position; and in a non-offline state, sending the generation request of the intercepted online document and the stored document information to the server together for online document synchronization. Therefore, in an offline state, a target instruction for sending a generation request of the online document to the server is intercepted, a pseudo document identifier is generated, the target online document is quickly created and displayed according to the pseudo document identifier, document information input by a user is stored to a preset storage position, and the stored document information is synchronized in a non-offline state, so that the information processing efficiency is greatly improved.

Description

Information processing method, device and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to an information processing method, an information processing apparatus, and a storage medium.
Background
With the continuous popularization and development of terminals, users increasingly rely on the terminals, and various applications can be installed on the terminals, wherein online document applications are widely used, and the users can achieve the collaborative editing processing of online documents through the online document applications.
In the prior art, in an offline state, a user cannot enable an online document and is limited to enable a local document for editing, and in the research and practice processes of the prior art, the inventor of the present application finds that, in the prior art, an online document application cannot use the online document in the offline state, which results in low information processing efficiency.
Disclosure of Invention
The embodiment of the application provides an information processing method, an information processing device and a storage medium, and aims to improve the efficiency of information processing.
In order to solve the above technical problem, an embodiment of the present application provides the following technical solutions:
an information processing method comprising:
intercepting a target instruction for sending a generation request of an online document to a server in an offline state;
generating a pseudo document identification aiming at the target instruction, and generating and displaying a target online document according to the pseudo document identification;
receiving document information input by a user based on the target online document, and storing the document information to a preset storage position;
and in a non-offline state, sending the intercepted target instruction and the stored document information to a server together for online document synchronization.
An information processing apparatus comprising:
the intercepting unit is used for intercepting a target instruction for sending a generation request of an online document to the server in an offline state;
the generating unit is used for generating a pseudo document identifier aiming at the target instruction, and generating and displaying a target online document according to the pseudo document identifier;
the storage unit is used for receiving document information input by a user based on the target online document and storing the document information to a preset storage position;
and the synchronization unit is used for sending the intercepted target instruction and the stored document information to the server together for online document synchronization in a non-offline state.
In some embodiments, the document information includes text information and image information, and the storage unit includes:
the receiving subunit is used for receiving the text information input by the user based on the target online document;
the activation subunit is used for activating the image input control and receiving the image information input by the user through the image input control;
and the storage subunit is used for storing the character information and the image information to a preset storage position.
In some embodiments, the storage subunit is configured to:
storing the text information to a preset storage position;
acquiring an initial storage position of the image information, and copying the image information to a preset storage position based on the initial storage position;
and calling the image information copied to the preset storage position for display.
In some embodiments, the storage subunit is further configured to:
storing the text information to a preset storage position;
acquiring an initial storage position of the image information, and copying the image information to a preset storage position based on the initial storage position;
intercepting a caching instruction for sending a network caching request of the image information to a server;
returning to a preset storage position after the image information is copied according to the cache instruction;
and loading and displaying the image information based on the preset storage position after the image information is copied.
In some embodiments, the synchronization unit includes:
the acquisition subunit is used for acquiring the character information and the image information stored in a preset storage position in a non-offline state;
the sending subunit is used for sending the text information and the image information and the intercepted target instruction to a server so as to enable the server to carry out online document synchronization;
and the deleting subunit is used for deleting the character information and the image information stored in the preset storage position when a passing instruction returned by the server is received.
In some embodiments, the deletion subunit is configured to:
the network cache address of the image information returned by the server is used for replacing a preset storage position for storing the image information when a passing instruction returned by the server is received;
and deleting the character information and the image information stored in the preset storage position.
In some embodiments, the synchronization unit further comprises a reservation subunit configured to:
and when a failure instruction returned by the server is received, continuing to reserve the character information and the image information stored in the preset storage position, and returning to execute the step of sending the character information and the image information and the intercepted target instruction to the server.
In some embodiments, the processing apparatus further comprises a replacement unit for:
detecting whether the identifier of the currently displayed target online document is a pseudo document identifier or not in a non-offline state;
when the identifier of the currently displayed target online document is detected to be a pseudo document identifier, generating a replacement instruction, and sending the replacement instruction to a server so that the server returns the target document identifier according to the replacement instruction;
and receiving the target document identification, and replacing the pseudo document identification with the target document identification.
In some embodiments, the processing apparatus further includes an offline determination unit, configured to:
acquiring the current network signal state;
when the network signal state is lower than a preset threshold value, determining that the network signal state is in an off-line state;
and when the network signal state is not lower than a preset threshold value, judging that the network signal state is in a non-offline state.
A storage medium storing a plurality of instructions, the instructions being suitable for a processor to load so as to execute the steps of the information processing method.
The method comprises the steps that a target instruction for sending a generation request of an online document to a server is intercepted in an offline state; generating a pseudo document identification aiming at the target instruction, and generating and displaying a target online document according to the pseudo document identification; receiving document information input by a user based on a target online document, and storing the document information to a preset storage position; and in a non-offline state, sending the generation request of the intercepted online document and the stored document information to the server together for online document synchronization. Therefore, in an offline state, a target instruction for sending a generation request of the online document to the server is intercepted, a pseudo document identifier is generated, the target online document is quickly created and displayed according to the pseudo document identifier, document information input by a user is stored to a preset storage position, and the stored document information is synchronized in a non-offline state, so that the information processing efficiency is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a scenario of an information processing system provided in an embodiment of the present application;
FIG. 2 is a schematic flow chart of an information processing method provided in an embodiment of the present application;
FIG. 3 is another schematic flow chart diagram of an information processing method provided in an embodiment of the present application;
fig. 4a is a scene schematic diagram of an information processing method provided in an embodiment of the present application;
fig. 4b is a schematic view of another scenario of an information processing method provided in an embodiment of the present application;
fig. 4c is a schematic view of another scenario of an information processing method provided in an embodiment of the present application;
FIG. 5 is a schematic structural diagram of an information processing apparatus provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides an information processing method, an information processing device and a storage medium.
Referring to fig. 1, fig. 1 is a schematic view of a scenario of an information processing system according to an embodiment of the present application, including: the terminal a and the server (the processing system may also include other terminals besides the terminal a, and the specific number of the terminals is not limited herein), the terminal a and the server may be connected through a communication network, which may include a wireless network and a wired network, wherein the wireless network includes one or more of a wireless wide area network, a wireless local area network, a wireless metropolitan area network, and a wireless personal area network. The network includes network entities such as routers, gateways, etc., which are not shown in the figure. The terminal A can perform information interaction with the server through a communication network, for example, the terminal can send a target instruction and stored document information to the server, and the server synchronizes according to the target instruction and the stored document information and returns a passing instruction to the terminal A.
The information processing system may include an information processing apparatus, which may be specifically integrated in a terminal having computing capability, such as a tablet computer, a mobile phone, a notebook computer, a desktop computer, and the like, which has a storage unit and is installed with a microprocessor, in fig. 1, the terminal is a terminal a in fig. 1, and the terminal a may be installed with various applications required by a user, such as an online document application with information collaborative processing, and the like. The method comprises the steps that a terminal A intercepts a target instruction for sending a generation request of an online document to a server in an offline state, generates a pseudo document identification aiming at the target instruction, generates and displays a target online document according to the pseudo document identification, receives document information input by a user based on the target online document, stores the document information to a preset storage position, and sends the intercepted target instruction and the stored document information to the server for online document synchronization in a non-offline state.
The information processing system can also comprise a server which is mainly used for receiving a target instruction sent by the terminal A and stored document information, creating an online document according to the target instruction, loading the document information to the online document for synchronization, and returning a passing instruction to the terminal A when the synchronization is successful. The information handling system may also include a memory for storing a library of information.
It should be noted that the scenario diagram of the information processing system shown in fig. 1 is only an example, and the information processing system and the scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application.
The following are detailed below. The numbers in the following examples are not intended to limit the order of preference of the examples.
The first embodiment,
In the present embodiment, description will be made from the perspective of an information processing apparatus, which may be integrated in a terminal having an arithmetic capability, such as a tablet computer, a mobile phone, or the like, which has a storage unit and a microprocessor mounted thereon.
Referring to fig. 2, fig. 2 is a schematic flow chart of an information processing method according to an embodiment of the present disclosure. The information processing method includes:
in step 101, a target instruction for sending a generation request of an online document to a server is intercepted in an offline state.
It is to be understood that the embodiments of the present application are applied to an online document application, which is a terminal application, and can implement a collaborative editing process of an online document, allow each user to create an online document, and store the online document in a server, after the online document is stored in the server, the user can open the online document on the server from any terminal through the online document application to perform a collaborative editing process, and the online document application may be a mailbox application, i.e., other applications including online document functions, such as communication software, and is not limited herein.
In the prior art, the online document application needs to depend on a network state and needs to perform information interaction with a server through a network, for example, when a user creates a new online document through the online document application, the terminal may send a target instruction of a generation request of the online document to the server, so that the server generates a corresponding cloud online document on the server side according to the generation request of the online document and notifies the terminal of successful synchronization, and the terminal may load and display the new online document.
In one embodiment, a preset rate may be set, where the preset rate may be 10KB per second, and the preset rate is a critical value that defines whether the terminal is in an offline state, and when it is detected that the network download rate of the terminal is greater than the preset rate, it indicates that the current download rate satisfies a condition, and it is determined that the terminal is in a non-offline state. And when the network downloading rate of the terminal is not greater than the preset efficiency, the current downloading rate is not satisfied with the condition, and the terminal is judged to be in an off-line state.
In the embodiment of the application, in order to solve the problem of failure in editing the online document when the terminal is in an offline state, a target instruction for sending a generation request of the online document to the server can be directly intercepted, so that the target instruction does not go through a network channel, and the condition of loading failure is avoided.
In step 102, a pseudo document identifier for the target instruction is generated, and the target online document is generated and displayed according to the pseudo document identifier.
It should be noted that, in the prior art, after the server generates the corresponding cloud online document according to the online document generation request, in order to uniformly manage the cloud online documents in the server, the cloud online document may be marked by the target document identifier, and the target document identifier is returned to the terminal, so that the terminal may subsequently download the corresponding cloud online document from the server according to the target document identifier and display the corresponding cloud online document.
In order to overcome the problems, after a target instruction for sending a generation request of an online document to a server is intercepted, a target document identifier returned by the server cannot be obtained because the target instruction is currently in an offline state, and a corresponding online document cannot be created according to the target document identifier, in the embodiment of the application, after the target instruction for sending the generation request of the online document to the server is intercepted, a pseudo document identifier for the target instruction can be generated, the pseudo document identifier is used as a globally unique identifier for temporarily replacing the function of the target document identifier, and the pseudo document identifier can be expressed as fake _ doc _ id, so that even in the offline state, a terminal can still generate and display the target online document according to the pseudo document identifier, the identifier of the target online document is the pseudo document identifier, and the purpose of realizing the rendering according to the pseudo document information without waiting for network communication is achieved, the document can be quickly created in an off-line state, and the information processing efficiency is greatly improved.
In step 103, document information input by a user based on the target online document is received, and the document information is stored to a preset storage position.
It should be noted that the document information may include text information, image information, and rich text information, and the terminal may receive the document information input by the user through the displayed target online document, in the prior art, when the online document receives the document information, the document information needs to be sent to the server through the network channel in real time for synchronization, but in an offline state, the user cannot back up through the network channel, and if the user closes the online document, the information of the online document may be lost, which may cause a great loss to the user.
In order to solve the above problem, in the embodiment of the present application, a preset storage location localStorage may be created in advance in a local storage of a terminal, so that when receiving document information input by a user based on a target online document, a network channel backup may be skipped temporarily, and the document information is stored in the preset storage location localStorage, which may prevent the document information from being lost.
In an embodiment, after the document information is stored in the localStorage at the preset location, if the user closes the target online document, the backup information of the target online document may still be generated, and when the user opens the target online document again, the last cached document information may be directly read from the localStorage for display.
In some embodiments, the document information includes text information and image information, and the step of receiving the document information input by the user based on the target online document and storing the document information in a preset storage location may include:
(1) receiving character information input by a user based on the target online document;
(2) activating an image input control, and receiving image information input by a user through the image input control;
(3) and storing the character information and the image information to a preset storage position.
In the embodiment of the application, an image input control can be directly activated, and the image information selected by the user is input into the target online document through the image input control.
Further, the text information and the image information are directly stored to a preset storage position which is set in advance for temporary caching.
In some embodiments, the step of storing the text information and the image information to a preset storage location may include:
(1.1) storing the character information to a preset storage position;
(1.2) acquiring an initial storage position of the image information, and copying the image information to a preset storage position based on the initial storage position;
and (1.3) calling the image information copied to the preset storage position for display.
In the prior art, when a user inputs image information based on an online document to store the image information, the image information needs to be uploaded to a server, the image information is stored by the server, a network cache address for storing the image information is returned to a terminal, and the terminal loads and displays the image information according to the network cache address.
In order to solve the above problem, in the embodiment of the present application, firstly, the text information is directly stored in the preset storage location, the initial storage location of the image information is obtained, the image information is copied to the preset storage location based on the initial storage location, the image information copied to the preset storage location is retrieved for display, a network channel is avoided, so that the image information can be normally displayed in an offline state, and even if the original image information is deleted, correct resources can be loaded to ensure that the offline image information is normally displayed because the image information is copied to the preset storage location.
In some embodiments, the step of retrieving the image information copied to the preset storage location for display may include:
(2.1) intercepting a caching instruction for sending a network caching request of the image information to a server;
(2.2) returning to the preset storage position after the image information is copied according to the cache instruction;
and (2.3) loading and displaying the image information based on the preset storage position after the image information is copied.
In order to avoid the failure of caching the image information in the offline state, a caching instruction for sending a network caching request of the image information to a server can be directly intercepted, synchronization from a network channel is avoided, a preset storage position after copying the image information is returned according to the caching instruction, the image information is directly loaded and displayed based on the preset storage position after copying the image information, and the preset storage position is locally stored, so that the image information can be normally displayed in the offline state.
In an embodiment, in the offline state, when the user subsequently opens the target online document containing the image information again, since the address where the image information is stored is the local address, that is, the preset storage location after the image information is copied, the fast loading and displaying of the offline image information can be directly realized according to the local address of the image.
In step 104, in a non-offline state, the intercepted target instruction and the stored document information are sent to the server together for online document synchronization.
The method comprises the steps that a terminal detects that a non-offline state is entered from an offline state, intercepted target instructions for sending online document generation requests to a server and stored document information can be sent to the server together, so that the server generates new cloud online documents according to the target instructions and gives new target document identifications to the cloud online documents, the target document identifications are globally unique and used for distinguishing different cloud online documents and storing the document information into the new cloud online documents to achieve synchronization, and the server can return a passing instruction to the terminal when the synchronization is successful.
Further, when the terminal receives a passing instruction returned by the server, the document information of the online document which is successfully synchronized and stored on the preset storage position can be deleted, and the waste of storage space is reduced.
In some embodiments, the step of sending the intercepted target instruction and the stored document information to a server for online document synchronization may include:
(1) acquiring character information and image information stored in a preset storage position;
(2) sending the character information and the image information and the intercepted target instruction to a server so as to enable the server to carry out online document synchronization;
(3) and when a passing instruction returned by the server is received, deleting the character information and the image information stored in the preset storage position.
The terminal can acquire the text information and the image information stored in the preset storage position, and the text information and the image information and the intercepted target instruction are sent to the server together, so that the server can establish a new cloud online document according to the intercepted target instruction, give a unique target document identifier, synchronize the text information and the image information in the new cloud online document, generate a pass instruction after synchronization is completed, and return the pass instruction to the terminal.
Furthermore, when a passing instruction returned by the server is received, the on-line document synchronization is successful, and the character information and the image information stored in the preset storage position of the terminal of the on-line document which is directly synchronized successfully are deleted, so that the waste of storage space is avoided.
In some embodiments, the step of deleting the text information and the image information stored in the preset storage location may include:
(1.1) replacing the network cache address of the image information returned by the server with the preset storage position for storing the image information;
and (1.2) deleting the character information and the image information stored in the preset storage position.
The method comprises the steps that the storage address of image information in an online document is still a preset storage address, so that the image information needs to be uploaded to a server for synchronization, the server generates a network cache address on the server after backing up the image information, the network cache address can be in an http link format and returns to a terminal, the terminal can replace the preset storage position stored before the image information with the returned network cache address to achieve network synchronization, and after synchronization, text information and the image information stored in the preset storage position can be deleted.
In some embodiments, because the identifier of the target online document of the terminal is a pseudo document identifier, in order to implement synchronization with a real identifier in the server, in a non-offline state, it is detected whether the currently displayed target online document is a pseudo document identifier, when it is detected that the currently displayed target online document is a pseudo document identifier, a replacement instruction is generated and sent to the server, so that the server returns the real target document identifier according to the replacement instruction, and when the terminal receives the target document identifier, the terminal can directly replace the pseudo document identifier with the target document identifier, thereby implementing synchronization. The identification is performed synchronously and asynchronously, and the loading and the display of the online document are not influenced.
In an embodiment, the server may also directly store the pseudo document identifier as a real target document identifier.
In some embodiments, the step of sending the intercepted target instruction and the stored document information to a server for online document synchronization may include:
(2.1) detecting whether a record exists in the server or not of the false document identification of the target online document.
(2.2) when detecting that the pseudo document mark of the target online document has a record in the server, sending the intercepted target instruction and the stored document information to the server together for carrying out online document content merging;
and (2.3) when detecting that the pseudo document identification of the target online document does not have a record in the server, sending the intercepted target instruction and the stored document information to the server together for online document synchronization.
The method includes the steps of detecting whether a pseudo document identifier of a target online document has a record in a server or not, namely detecting whether the pseudo document identifier of the target online document has already created an online document at the server or not, indicating that the target online document has already created the online document at the server when detecting that the pseudo document identifier of the target online document has the record in the server, sending an intercepted target instruction and stored document information to the server together, and merging document information edited in an offline state into the online document already existing at the server.
In an embodiment, the document information edited in the offline state may be merged at the end of the online document already existing at the server, and the document information edited in the offline state may be further analyzed, and the text information portion is merged at the end of the text information of the online document already existing at the server and the image information portion is merged at the end of the image information of the online document already existing at the server.
Furthermore, after the merging, the document information inserted and merged by the server side can be marked, such as coloring or thickening, so that after the server synchronizes the online document after the merging to the terminal, the terminal user can quickly position the document information inserted out of order in the online document after the merging and typeset, and the efficiency of information processing is better improved.
When the fact that the target online document pseudo document mark is not recorded in the server is detected, the fact that the target online document does not have an established online document in the server is indicated, the intercepted target instruction and the stored document information can be sent to the server together for online document synchronization, namely the server can establish an online document at the server end according to the target instruction, and insert the document information edited in an offline state into the established online document according to an editing format, so that server-end synchronization is achieved.
As can be seen from the above, in the embodiment of the present application, a target instruction for sending a generation request of an online document to a server is intercepted in an offline state; generating a pseudo document identification aiming at the target instruction, and generating and displaying a target online document according to the pseudo document identification; receiving document information input by a user based on a target online document, and storing the document information to a preset storage position; and in a non-offline state, sending the generation request of the intercepted online document and the stored document information to the server together for online document synchronization. Therefore, in an offline state, a target instruction for sending a generation request of the online document to the server is intercepted, a pseudo document identifier is generated, the target online document is quickly created and displayed according to the pseudo document identifier, document information input by a user is stored to a preset storage position, and the stored document information is synchronized in a non-offline state, so that the information processing efficiency is greatly improved.
Example II,
The method described in the first embodiment is further illustrated by way of example.
In this embodiment, an example will be described in which the client is an instant messaging client and the information processing apparatus is specifically integrated in a terminal.
Referring to fig. 3, fig. 4a and fig. 4b together, fig. 3 is another schematic flow diagram of an information processing method according to an embodiment of the present application, fig. 4a is a schematic view of a scenario of the information processing method according to the embodiment of the present application, fig. 4b is another schematic view of a scenario of the information processing method according to the embodiment of the present application, and fig. 4c is another schematic view of a scenario of the information processing method according to the embodiment of the present application, where the flow of the method may include:
in step 201, the terminal intercepts a target instruction for sending a generation request of an online document to the server in an offline state.
As shown in fig. 4a, fig. 4a is a display interface of the online document application, the terminal is in a "flight mode", that is, in an offline state, a user can generate a generation request of an online document by clicking the document control 11, and since the terminal cannot perform network communication with the server in the offline state, the terminal can intercept a target instruction for sending the generation request of the online document to the server, thereby avoiding an interface in which network resources are not loaded successfully.
As shown in fig. 4c, when the terminal client creates a new long text in an offline state (step 1), a target instruction doc, qq.com/create _ doc for sending a request for creating an online document to the server is generated (step 2), and the terminal client may intercept and return the target instruction doc, qq.com/create _ doc (step 3).
In step 202, the terminal generates a pseudo document identifier for the target instruction, and generates and displays a target online document according to the pseudo document identifier.
The terminal can generate a corresponding pseudo document identifier fake _ doc _ id according to an intercepted target instruction for sending a generation request of the online document to the server, the pseudo document identifier is used for disguising a target document identifier returned by the server, after receiving the pseudo document identifier, the terminal can skip network interaction with the server, and the target online document in an offline state can be directly generated and displayed by the pseudo document identifier.
As shown in fig. 4c, the terminal client may return a fake document identifier fake _ doc _ id (step 3).
In step 203, the terminal receives text information input by a user based on the target online document, activates an image input control, and receives image information input by the user through the image input control.
As shown in fig. 4b, fig. 4b is a target online document generated and displayed according to a pseudo document identifier, and text information input by a user can be received through the target online document, it should be noted that, in the prior art, since the image control 12 applied to the online document is not available in an offline state, the image control is in a failure state, in this embodiment of the present application, the image input control 12 may be activated, and after the image input control 12 is activated, a user may receive locally stored image information inserted by the user through the image input control, so as to implement the use of the image information in the offline state.
With continued reference to FIG. 4c, the terminal client may open online document HTML5 into an editing state (step 4), and the user may perform text editing, picture uploading, comment writing, etc., based on online document HTML5 and attempt to synchronize svr the server (step 5).
In step 204, the terminal stores the text information to a preset storage position, obtains an initial storage position of the image information, and copies the image information to the preset storage position based on the initial storage position.
A preset storage location localStorage may be opened in the local storage space of the terminal in advance, the size of the preset storage location may be set by a user, for example, 50MB (megabytes), and the preset storage location may not exceed fifty percent of the storage space of the terminal in order not to affect the use of the terminal.
Further, after the user inputs the text information and the image information and clicks and confirms, the terminal can directly store the text information to the preset storage position, the initial storage position of the inserted image information is inserted, and the image information is copied to the preset storage position based on the initial storage position, so that local backup is realized.
As shown in fig. 4c, the terminal client fails to synchronize in the offline state, and may store the request data in the predetermined storage location (step 6).
In step 205, the terminal intercepts a cache instruction for sending a network cache request of the image information to the server, returns a preset storage location after copying the image information according to the cache instruction, and loads and displays the image information based on the preset storage location after copying the image information.
The method comprises the steps that a network cache request of image information is sent to a cache instruction of a server, the cache instruction is sent to the server, the network cache request of the image information is sent to the server, the preset storage position after the image information is copied can be returned according to the cache instruction, the image information is loaded and directly displayed based on the preset storage position after the image information is copied, and offline insertion and offline display of images are achieved.
In step 206, the terminal acquires the text information and the image information stored in the preset storage location in a non-offline state, and sends the text information and the image information and the intercepted target instruction to the server.
The terminal can detect the network state of the terminal again at preset time intervals, for example, 2 seconds, the terminal can perform information backup in a non-offline state, that is, a current network environment can perform information backup, acquire text information and image information stored in a preset storage position, and send the text information and the image information and an intercepted target instruction to the server together, so that the server generates a new cloud online document according to the target instruction, and gives the cloud online document a new target document identifier, wherein the target document identifier is globally unique and is used for distinguishing different cloud online documents, further, the document information is stored in the new cloud online document to achieve synchronization, and the server can return a pass instruction to the terminal when the synchronization is successful.
As shown in fig. 4c, the terminal client continuously detects whether the network status is normal, and attempts to synchronize the stored document data transmission servers in a non-offline status (step 7).
In step 207, when the terminal receives the pass instruction returned by the server, the network cache address of the image information returned by the server is replaced by the preset storage position where the image information is stored, and the text information and the image information stored in the preset storage position are deleted.
When the terminal receives a passing instruction returned by the server, the synchronization of the target online document on the server side is successful, and the storage address of the image information in the online document is still the local preset storage address of the terminal, so that the terminal can replace the preset storage position of the original image information storage with the network cache address http link format of the image information returned by the server, complete synchronization is realized, the text information and the image information of the target online document stored on the preset storage position are deleted, and the waste of the storage space of the terminal is avoided.
In step 208, the terminal detects whether the identifier of the currently displayed target online document is a pseudo document identifier in a non-offline state, generates a replacement instruction when detecting that the identifier of the currently displayed target online document is a pseudo document identifier, and sends the replacement instruction to the server.
The method comprises the steps that the identifier of a target online document of a terminal is a pseudo document identifier, so that the terminal can automatically detect whether the identifier of the currently displayed target online document is a pseudo document identifier or not in a non-offline state, when the identifier of the currently displayed target online document is detected to be the pseudo document identifier, a replacement instruction can be generated, the replacement instruction carries the pseudo document identifier, and the replacement instruction is sent to a server.
Further, since the association relationship between the pseudo document identifier and the target document identifier is recorded in the server, when a replacement instruction carrying the pseudo document identifier is received, the target document identifier corresponding to the pseudo document identifier can be matched, and the target document identifier is returned to the terminal.
Please refer to fig. 4c, the terminal may detect whether the identifier doc _ id of the target online document is a false id in a non-offline state (step 8), and when detecting whether the doc _ id is the false id, initiate an exchange _ doc _ id operation (step 9), so as to replace the false document identifier with the real document identifier doc _ id of the server. Therefore, the operations of editing and previewing the online document HTML5 in long text can be realized in an offline state or a non-offline state (step 10).
In step 209, the terminal receives the target document identification and replaces the pseudo document identification with the target document identification.
When the terminal receives the target document identification, the true target document identification can be replaced by the false pseudo document identification, and the complete synchronization of the target online document is realized, so that the online document can still be newly built and edited in an offline state, the network state does not need to be recovered by the terminal for use, and the information processing efficiency is greatly improved.
In some embodiments, after the step of sending the text information and the image information and the intercepted target instruction to the server, the method may further include: and when a failure instruction returned by the server is received, continuously retaining the character information and the image information stored in the preset storage position, and returning to execute the step of sending the character information and the image information and the intercepted target instruction to the server.
When a failure instruction returned by the server is received, the server side may be temporarily congested or maintained, so as to avoid losing document information of a target online document on the terminal, text information and image information stored in a preset storage position can be continuously reserved, therefore, when the user opens the target online document again, continuous editing processing can be performed on the basis of the text information and the image information on the preset storage position, and the terminal can continuously return to perform the step of sending the text information and the image information and the intercepted target instruction to the server until the target online document is synchronously completed.
Therefore, the terminal can intercept a target instruction for sending the generation request of the online document to the server in an offline state; generating a pseudo document identification aiming at the target instruction, and generating and displaying a target online document according to the pseudo document identification; receiving document information input by a user based on a target online document, and storing the document information to a preset storage position; and in a non-offline state, sending the generation request of the intercepted online document and the stored document information to the server together for online document synchronization. Therefore, in an offline state, a target instruction for sending a generation request of the online document to the server is intercepted, a pseudo document identifier is generated, the target online document is quickly created and displayed according to the pseudo document identifier, document information input by a user is stored to a preset storage position, and the stored document information is synchronized in a non-offline state, so that the information processing efficiency is greatly improved.
Furthermore, after the terminal is synchronized, the text information and the image information stored in the preset storage position can be deleted, so that the storage space of the terminal is saved.
Example III,
In order to better implement the information processing method provided by the embodiment of the present application, the embodiment of the present application further provides a device based on the information processing method. The terms are the same as those in the above-described information processing method, and details of implementation may refer to the description in the method embodiment.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present disclosure, where the information processing apparatus may include an intercepting unit 301, a generating unit 302, a storing unit 303, a synchronizing unit 304, and the like.
The intercepting unit 301 is configured to intercept a target instruction for sending a generation request of an online document to a server in an offline state.
The intercepting unit 301 may directly intercept a target instruction that sends a request for generating an online document to the server when the intercepting unit is in an offline state, so that the target instruction does not go through a network channel, thereby avoiding a loading failure.
A generating unit 302, configured to generate a pseudo document identifier for the target instruction, and generate and display a target online document according to the pseudo document identifier.
Wherein, after intercepting a target instruction for sending a generation request of an online document to a server, the intercepting unit 301 is currently in an offline state, so that a target document identifier returned by the server cannot be obtained, and further a corresponding online document cannot be created according to the target document identifier, in order to overcome the above problems, after intercepting a target instruction for sending a generation request of an online document to a server, the generating unit 302 may generate a pseudo document identifier for the target instruction, and use the pseudo document identifier as a globally unique identifier for temporarily replacing the function of the target document identifier, so that even in an offline state, the generating unit 302 may still generate and display a target online document according to the pseudo document identifier, the identifier of the target online document is a pseudo document identifier, and rendering according to pseudo document information without waiting for network communication is realized, the document can be quickly created in an off-line state, and the information processing efficiency is greatly improved.
The storage unit 303 is configured to receive document information input by a user based on the target online document, and store the document information in a preset storage location.
The storage unit 303 may open a preset storage location localStorage in the local storage of the terminal in advance, so that when receiving the document information input by the user based on the target online document, the network channel backup may be skipped temporarily, and the document information is stored in the preset storage location localStorage, which may prevent the document information from being lost.
In some embodiments, the document information includes text information and image information, and the storage unit 303 includes:
the receiving subunit is used for receiving the text information input by the user based on the target online document;
the activation subunit is used for activating the image input control and receiving the image information input by the user through the image input control;
and the storage subunit is used for storing the character information and the image information to a preset storage position.
In some embodiments, a storage subunit to: storing the character information to a preset storage position; acquiring an initial storage position of the image information, and copying the image information to a preset storage position based on the initial storage position; and calling the image information copied to the preset storage position for display.
In some embodiments, the storage subunit is further configured to: storing the character information to a preset storage position; acquiring an initial storage position of the image information, and copying the image information to a preset storage position based on the initial storage position; intercepting a caching instruction for sending a network caching request of the image information to a server; returning to a preset storage position after the image information is copied according to the cache instruction; and loading and displaying the image information based on the preset storage position after the image information is copied.
And a synchronization unit 304, configured to send the intercepted target instruction and the stored document information to the server together for online document synchronization in a non-offline state.
When detecting that the online document is in a non-offline state from an offline state, the synchronization unit 304 may send the intercepted target instruction for sending the online document generation request to the server and the stored document information to the server together, so that the server generates a new cloud online document according to the target instruction, and gives the cloud online document a new target document identifier, where the target document identifier is globally unique and is used to distinguish different cloud online documents, and store the document information into the new cloud online document to implement synchronization, and when the synchronization is successful, the server may return a pass instruction to the terminal.
Further, when receiving a pass instruction returned by the server, the synchronization unit 304 may delete the document information in which the online document successfully synchronized is stored in the preset storage location, thereby reducing the waste of storage space.
In some embodiments, the synchronization unit 304 includes:
the acquisition subunit is used for acquiring the character information and the image information stored in a preset storage position in a non-offline state;
the sending subunit is used for sending the text information, the image information and the intercepted target instruction to a server so as to enable the server to carry out online document synchronization;
and the deleting subunit is used for deleting the character information and the image information stored in the preset storage position when a passing instruction returned by the server is received.
In some embodiments, the deletion subunit is to: the network cache address of the image information returned by the server replaces a preset storage position for storing the image information when a passing instruction returned by the server is received; and deleting the character information and the image information stored in the preset storage position.
In some embodiments, the synchronization unit further comprises a reservation subunit for: and when a failure instruction returned by the server is received, continuously retaining the character information and the image information stored in the preset storage position, and returning to execute the step of sending the character information and the image information and the intercepted target instruction to the server.
In some embodiments, the processing apparatus further comprises a replacement unit for: detecting whether the identifier of the currently displayed target online document is a pseudo document identifier or not in a non-offline state; when the identifier of the currently displayed target online document is detected to be a pseudo document identifier, generating a replacement instruction, and sending the replacement instruction to the server so that the server returns the target document identifier according to the replacement instruction; and receiving the target document identification, and replacing the pseudo document identification with the target document identification.
In some embodiments, the processing apparatus further comprises an offline determination unit configured to: acquiring the current network signal state; when the network signal state is lower than a preset threshold value, determining that the network signal state is in an off-line state; and when the network signal state is not lower than a preset threshold value, judging that the network signal state is in a non-offline state.
The specific implementation of each unit can refer to the foregoing method embodiments, and is not described herein again.
As can be seen from the above, in the embodiment of the present application, the intercepting unit 301 intercepts, in an offline state, a target instruction for sending a generation request of an online document to a server; the generating unit 302 generates a pseudo document identifier for the target instruction, and generates and displays a target online document according to the pseudo document identifier; the storage unit 303 receives document information input by a user based on a target online document, and stores the document information to a preset storage location; the synchronization unit 304 sends the intercepted online document generation request and the stored document information to the server together for online document synchronization in a non-offline state. Therefore, in an offline state, a target instruction for sending a generation request of the online document to the server is intercepted, a pseudo document identifier is generated, the target online document is quickly created and displayed according to the pseudo document identifier, document information input by a user is stored to a preset storage position, and the stored document information is synchronized in a non-offline state, so that the information processing efficiency is greatly improved.
Example four,
An embodiment of the present application also provides a terminal, as shown in fig. 6, which may include components such as a Radio Frequency (RF) circuit 601, a memory 602 including one or more computer-readable storage media, an input unit 603, a display unit 604, a sensor 605, an audio circuit 606, a Wireless Fidelity (WiFi) module 607, a processor 608 including one or more processing cores, and a power supply 609. Those skilled in the art will appreciate that the terminal structure shown in fig. 6 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 601 may be used for receiving and transmitting signals during a message transmission or communication process, and in particular, for receiving downlink messages from a base station and then processing the received downlink messages by one or more processors 608; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuit 601 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 601 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 602 may be used to store software programs and modules, and the processor 608 executes various functional applications and information processing by operating the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 602 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 608 and the input unit 603 access to the memory 602.
The input unit 603 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, input unit 603 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 608, and can receive and execute commands sent by the processor 608. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 603 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 604 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 604 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 608 to determine the type of touch event, and the processor 608 then provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 6 the touch-sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The terminal may also include at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
Audio circuitry 606, a speaker, and a microphone may provide an audio interface between the user and the terminal. The audio circuit 606 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electric signal, which is received by the audio circuit 606 and converted into audio data, which is then processed by the audio data output processor 608, and then transmitted to, for example, another terminal via the RF circuit 601, or the audio data is output to the memory 602 for further processing. The audio circuit 606 may also include an earbud jack to provide communication of peripheral headphones with the terminal.
WiFi belongs to short-distance wireless transmission technology, and the terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 607, and provides wireless broadband internet access for the user. Although fig. 6 shows the WiFi module 607, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 608 is a control center of the terminal, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the handset. Optionally, processor 608 may include one or more processing cores; preferably, the processor 608 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 608.
The terminal also includes a power supply 609 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 608 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 609 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 608 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and the processor 608 runs the application programs stored in the memory 602, thereby implementing various functions:
intercepting a target instruction for sending a generation request of an online document to a server in an offline state; generating a pseudo document identification aiming at the target instruction, and generating and displaying a target online document according to the pseudo document identification; receiving document information input by a user based on the target online document, and storing the document information to a preset storage position; and in a non-offline state, sending the intercepted target instruction and the stored document information to a server together for online document synchronization.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the information processing method, and are not described herein again.
As can be seen from the above, the terminal according to the embodiment of the present application may intercept a target instruction for sending a request for generating an online document to the server in an offline state; generating a pseudo document identification aiming at the target instruction, and generating and displaying a target online document according to the pseudo document identification; receiving document information input by a user based on a target online document, and storing the document information to a preset storage position; and in a non-offline state, sending the generation request of the intercepted online document and the stored document information to the server together for online document synchronization. Therefore, in an offline state, a target instruction for sending a generation request of the online document to the server is intercepted, a pseudo document identifier is generated, the target online document is quickly created and displayed according to the pseudo document identifier, document information input by a user is stored to a preset storage position, and the stored document information is synchronized in a non-offline state, so that the information processing efficiency is greatly improved.
Example V,
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present application provides a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the information processing methods provided by the present application. For example, the instructions may perform the steps of:
intercepting a target instruction for sending a generation request of an online document to a server in an offline state; generating a pseudo document identification aiming at the target instruction, and generating and displaying a target online document according to the pseudo document identification; receiving document information input by a user based on the target online document, and storing the document information to a preset storage position; and in a non-offline state, sending the intercepted target instruction and the stored document information to a server together for online document synchronization.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method provided in the various alternative implementations provided by the embodiments described above.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any information processing method provided in the embodiments of the present application, beneficial effects that can be achieved by any information processing method provided in the embodiments of the present application can be achieved, and detailed descriptions are omitted here for the foregoing embodiments.
The foregoing detailed description is directed to an information processing method, an information processing apparatus, and a storage medium provided in the embodiments of the present application, and specific examples are applied in the present application to explain the principles and implementations of the present application, and the descriptions of the foregoing embodiments are only used to help understand the methods and core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (11)

1. An information processing method characterized by comprising:
intercepting a target instruction for sending a generation request of an online document to a server in an offline state;
generating a pseudo document identification aiming at the target instruction, and generating and displaying a target online document according to the pseudo document identification;
receiving document information input by a user based on the target online document, and storing the document information to a preset storage position;
and in a non-offline state, sending the intercepted target instruction and the stored document information to a server together for online document synchronization.
2. The processing method according to claim 1, wherein the document information includes text information and image information, and the step of receiving the document information input by the user based on the target online document and storing the document information to a preset storage location includes:
receiving text information input by a user based on the target online document;
activating an image input control, and receiving image information input by a user through the image input control;
and storing the character information and the image information to a preset storage position.
3. The processing method according to claim 2, wherein the step of storing the text information and the image information to a preset storage location comprises:
storing the text information to a preset storage position;
acquiring an initial storage position of the image information, and copying the image information to a preset storage position based on the initial storage position;
and calling the image information copied to the preset storage position for display.
4. The processing method according to claim 3, wherein the step of retrieving the image information copied to the preset storage location for display comprises:
intercepting a caching instruction for sending a network caching request of the image information to a server;
returning to a preset storage position after the image information is copied according to the cache instruction;
and loading and displaying the image information based on the preset storage position after the image information is copied.
5. The processing method according to any one of claims 2 to 4, wherein the step of sending the intercepted target instruction and the stored document information to a server for online document synchronization comprises:
acquiring character information and image information stored in a preset storage position;
sending the character information and the image information and the intercepted target instruction to a server so as to enable the server to carry out online document synchronization;
and when a passing instruction returned by the server is received, deleting the character information and the image information stored in the preset storage position.
6. The processing method according to claim 5, wherein the step of deleting the text information and the image information stored in the preset storage location comprises:
replacing a preset storage position for storing the image information by the network cache address of the image information returned by the server;
and deleting the character information and the image information stored in the preset storage position.
7. The processing method according to claim 5, wherein after the step of sending the text information and the image information and the intercepted target instruction to a server, the method further comprises:
and when a failure instruction returned by the server is received, continuing to reserve the character information and the image information stored in the preset storage position, and returning to execute the step of sending the character information and the image information and the intercepted target instruction to the server.
8. The processing method according to any one of claims 1 to 4, characterized in that it further comprises:
detecting whether the identifier of the currently displayed target online document is a pseudo document identifier or not in a non-offline state;
when the identifier of the currently displayed target online document is detected to be a pseudo document identifier, generating a replacement instruction, and sending the replacement instruction to a server so that the server returns the target document identifier according to the replacement instruction;
and receiving the target document identification, and replacing the pseudo document identification with the target document identification.
9. The processing method according to any one of claims 1 to 4, characterized by further comprising:
acquiring the current network signal state;
when the network signal state is lower than a preset threshold value, determining that the network signal state is in an off-line state;
and when the network signal state is not lower than a preset threshold value, judging that the network signal state is in a non-offline state.
10. An information processing apparatus characterized by comprising:
the intercepting unit is used for intercepting a target instruction for sending a generation request of an online document to the server in an offline state;
the generating unit is used for generating a pseudo document identifier aiming at the target instruction, and generating and displaying a target online document according to the pseudo document identifier;
the storage unit is used for receiving document information input by a user based on the target online document and storing the document information to a preset storage position;
and the synchronization unit is used for sending the intercepted target instruction and the stored document information to the server together for online document synchronization in a non-offline state.
11. A storage medium storing a plurality of instructions, the instructions being adapted to be loaded by a processor to perform the steps of the information processing method according to any one of claims 1 to 9.
CN202010750655.6A 2020-07-30 2020-07-30 Information processing method, device and storage medium Pending CN111935255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010750655.6A CN111935255A (en) 2020-07-30 2020-07-30 Information processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010750655.6A CN111935255A (en) 2020-07-30 2020-07-30 Information processing method, device and storage medium

Publications (1)

Publication Number Publication Date
CN111935255A true CN111935255A (en) 2020-11-13

Family

ID=73314379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010750655.6A Pending CN111935255A (en) 2020-07-30 2020-07-30 Information processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN111935255A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113703844A (en) * 2021-07-27 2021-11-26 厦门市思芯微科技有限公司 Instruction issuing method, system and device and computer readable storage medium
CN115118762A (en) * 2022-05-19 2022-09-27 北京京东乾石科技有限公司 Session processing method, client and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113703844A (en) * 2021-07-27 2021-11-26 厦门市思芯微科技有限公司 Instruction issuing method, system and device and computer readable storage medium
CN115118762A (en) * 2022-05-19 2022-09-27 北京京东乾石科技有限公司 Session processing method, client and system

Similar Documents

Publication Publication Date Title
CN110582017B (en) Video playing method, device, terminal and storage medium
US11025963B2 (en) Data processing method, apparatus, and system for live streaming page
EP3174253B1 (en) Message withdrawal method and apparatus, computer program and recording medium
US10635449B2 (en) Method and apparatus for running game client
US11137876B2 (en) Information display method, device and terminal for displaying progress on application icon
CN108566332B (en) Instant messaging information processing method, device and storage medium
CN104518953B (en) Method for deleting message, instant communication terminal and system
JP6511541B2 (en) Message updating method, apparatus and terminal
EP3499786B1 (en) Data synchronization method, apparatus, storage medium and electronic device
CN109309696B (en) Folder transmission method, sender, receiver, and storage medium
WO2022017107A1 (en) Information processing method and apparatus, computer device and storage medium
CN110278141B (en) Instant messaging information processing method and device and storage medium
WO2018196588A1 (en) Information sharing method, apparatus and system
US20150154149A1 (en) Typesetting method, device and system
CN106293738B (en) Expression image updating method and device
US20140351212A1 (en) Method and apparatus for processing reading history
CN111935255A (en) Information processing method, device and storage medium
CN111273955A (en) Thermal restoration plug-in optimization method and device, storage medium and electronic equipment
CN110300047B (en) Animation playing method and device and storage medium
CN110196662B (en) Method, device, terminal and storage medium for displaying synchronization state
US11327845B2 (en) Image synchronization method and device, and server
CN106330875B (en) Message display method and device
CN115065609A (en) B-end SaaS system hybrid deployment method and system
CN106681845B (en) Method and device for managing communication messages
CN106657281B (en) File sharing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination