WO2019041639A1 - 信息存储、展示方法、装置、设备及计算机存储介质 - Google Patents

信息存储、展示方法、装置、设备及计算机存储介质 Download PDF

Info

Publication number
WO2019041639A1
WO2019041639A1 PCT/CN2017/116220 CN2017116220W WO2019041639A1 WO 2019041639 A1 WO2019041639 A1 WO 2019041639A1 CN 2017116220 W CN2017116220 W CN 2017116220W WO 2019041639 A1 WO2019041639 A1 WO 2019041639A1
Authority
WO
WIPO (PCT)
Prior art keywords
writing
track
file
record
information
Prior art date
Application number
PCT/CN2017/116220
Other languages
English (en)
French (fr)
Inventor
扶宇琳
Original Assignee
广州视源电子科技股份有限公司
广州视臻信息科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广州视源电子科技股份有限公司, 广州视臻信息科技有限公司 filed Critical 广州视源电子科技股份有限公司
Publication of WO2019041639A1 publication Critical patent/WO2019041639A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Definitions

  • the present invention relates to the field of smart device technologies, and in particular, to information storage, display methods, devices, devices, and computer storage media.
  • smart devices such as interactive smart tablets that support handwriting functions have been widely used.
  • Such devices are equipped with a touch screen, the user can write on the touch screen, and the device can control the touch screen to display the user's writing track in real time.
  • the smart device can store the final layout of each page, and the user can obtain the final layout content of each page by scanning the QR code.
  • various operations may be performed during the writing process, and the layout obtained based on each operation may also be important. For each layout obtained, the user needs to save by clicking the "Save Record” control. Visible, storage efficiency low.
  • the invention provides an information storage, display method, device, device and computer storage medium to solve the defects of low storage efficiency in the prior art.
  • an information storage method comprising:
  • the file generation instruction if the file generation instruction is received, generating an object file based on the operation record indicated by the file generation instruction, where the object file is used for reading by the reading device, so that the reading device is configured according to each operation time in the target file.
  • the information in chronological order, performs a corresponding operation based on the operation content, and displays the presentation information generated by the operation, the reading device including the writing device or the device that receives the target file.
  • the operations include a page processing operation, a writing track processing operation, and an image processing One or more of the operations.
  • the operation content includes a track identifier and a coordinate set of touch points constituting the writing track, or the operation content includes a track identifier and a writing track.
  • the coordinate set of the touch point and the track attribute information, or the operation content includes a track identifier and an operation type identifier for indicating a writing track processing operation.
  • the generating the corresponding operation record includes:
  • the writing track processing operation includes adding a writing track, configuring a track mark identifying the writing track for the added writing track, acquiring a coordinate set of the touch point constituting the writing track, and track attribute information, combined with time information of the adding operation, Obtaining an operation record corresponding to the added writing track; or
  • the writing track processing operation includes deleting the writing track, acquiring the track identifier of the writing track for performing the deleting operation, setting the deletion identifier, and combining the time information of the deleting operation to obtain the operation record corresponding to the deleted writing track; or
  • the writing track processing operation includes modifying the writing track and modifying into at least two writing tracks, acquiring a track identifier of the writing track for performing the modifying operation, and acquiring a touch point constituting one of the writing tracks from the modified writing track
  • the coordinate set and the track attribute information are combined with the time information of the modified operation to obtain an operation record corresponding to the acquired track identifier; a new track identifier is configured for the other written track of the modification, and the touch points constituting the other written track are acquired.
  • the coordinate set and the track attribute information are combined with the time information of the modified operation to obtain an operation record corresponding to the newly configured track identifier; or
  • the writing track processing operation includes moving the writing track, acquiring a track identifier of the writing track for performing the moving operation, and updating the coordinate set of the touch point corresponding to the acquired track identifier, and combining the time information of the moving operation to obtain the Move the operation record corresponding to the writing track.
  • the operation content includes a page identifier and a page operation type
  • the page operation type includes adding, deleting, and switching.
  • the operation record indicated by the file generation instruction is an operation record stored in the writing process
  • the operation record indicated by the file generation instruction is an operation record obtained by screening from the operation record stored in the current writing process.
  • the method further includes: adding a pre-recorded audio file to the target file, where the audio file is used to be played synchronously when the reading device displays the display information,
  • the audio file is as described Show recorded data associated with the information.
  • a method for displaying information comprising:
  • the target file includes at least one operation record, and the operation record includes at least operation time information and operation content;
  • each operation time information in the target file the corresponding operations are sequentially performed in time series based on the operation content, and the display information generated by the operation is displayed.
  • the display time interval of the display information corresponding to the adjacent operation is an interval obtained based on the operation time information, or a specified time interval.
  • the method further includes:
  • an information storage device comprising:
  • a record generation module configured to monitor an operation on the writing device, and generate a corresponding operation record for each operation, where the operation record includes at least operation time information and operation content;
  • a storage storage module configured to store the operation record
  • a file generating module configured to generate an object file based on an operation record indicated by the file generation instruction, if the file generation instruction is received, where the object file is used for reading by a reading device, so that the reading device is configured according to the Each operation time information in the target file performs a corresponding operation based on the operation content in chronological order, and displays display information generated by the operation, and the reading device includes the writing device or a device that receives the target file.
  • the file generating module is further configured to: add a pre-recorded audio file to the target file, where the audio file is used to synchronize when the reading device displays the display information Being played, the audio file is recorded data associated with the presentation information.
  • an information display apparatus comprising:
  • a file reading module configured to read an object file obtained by the information storage device, where the target file includes at least one operation record, where the operation record includes at least operation time information and operation content;
  • a processing module configured to perform, according to each operation time information in the target file, in time sequence according to the operation content Act accordingly and display the impression information generated by the operation.
  • an electronic device including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the file generation instruction if the file generation instruction is received, generating an object file based on the operation record indicated by the file generation instruction, where the object file is used for reading by the reading device, so that the reading device is configured according to each operation time in the target file.
  • the information in chronological order, performs a corresponding operation based on the operation content, and displays the presentation information generated by the operation, the reading device including the writing device or the device that receives the target file.
  • an electronic device including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the target file includes at least one operation record, and the operation record includes at least operation time information and operation content;
  • each operation time information in the target file the corresponding operations are sequentially performed in time series based on the operation content, and the display information generated by the operation is displayed.
  • a computer storage medium where the program medium includes program instructions, where the program instructions include:
  • the file generation instruction if the file generation instruction is received, generating an object file based on the operation record indicated by the file generation instruction, where the object file is used for reading by the reading device, so that the reading device is configured according to each operation time in the target file.
  • Information press The chronological order sequentially performs a corresponding operation based on the content of the operation, and displays presentation information generated by the operation, the reading device including the writing device or a device that receives the object file.
  • a computer storage medium wherein the storage medium stores program instructions, where the program instructions include:
  • the target file includes at least one operation record, and the operation record includes at least operation time information and operation content;
  • each operation time information in the target file the corresponding operations are sequentially performed in time series based on the operation content, and the display information generated by the operation is displayed.
  • the embodiment of the present invention can monitor the operation on the writing device, generate a corresponding operation record for each operation, and store the operation record. Since the operation record includes at least the operation time information and the operation content, when the file generation instruction is received, An object file is generated based on the operation record indicated by the file generation instruction, and the object file may be used for reading by the reading device, so that the reading device sequentially performs an operation corresponding to the operation content based on each operation time information in the object file.
  • the embodiment of the invention enriches and perfects the storage function of the writing device, and can record each operation by means of operation recording. Since the operation record includes operation time information and operation content, the operation time information can be sequentially used according to the operation time information.
  • the content playback plays corresponding display information corresponding to the operation, improves storage efficiency, and the stored file can be used to play back the display information.
  • Fig. 1 is a schematic view showing writing using a writing device in the related art.
  • FIG. 2A is a flowchart of an information storage method according to an exemplary embodiment of the present invention.
  • FIG. 2B is a schematic diagram of a writing screen according to an exemplary embodiment of the present invention.
  • FIG. 2C is a structural diagram of a file content directory according to an exemplary embodiment of the present invention.
  • FIG. 3 is a flowchart of an information display method according to an exemplary embodiment of the present invention.
  • FIG. 4 is a block diagram of an information storage device according to an exemplary embodiment of the present invention.
  • FIG. 5 is a hardware structural diagram of an electronic device in which an information storage device is shown according to an exemplary embodiment of the present invention.
  • FIG. 6 is a block diagram of an information display apparatus according to an exemplary embodiment of the present invention.
  • FIG. 7 is a hardware structural diagram of an electronic device in which an information display device is shown according to an exemplary embodiment of the present invention.
  • first, second, third, etc. may be used to describe various information in the present invention, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
  • first information may also be referred to as the second information without departing from the scope of the invention.
  • second information may also be referred to as the first information.
  • word "if” as used herein may be interpreted as "when” or "when” or "in response to determination.”
  • the writing device of the embodiment of the invention may be an intelligent writing device such as an interactive smart tablet or a tablet, or a smart phone with a writing function, a smart learning machine, a tablet computer, a PDA (Personal Digital Assistant) or a multimedia device.
  • a device such as a player, of course, does not exclude an application on a PC (Personal Computer).
  • the writing device is usually equipped with an infrared technology touch screen, a capacitive touch screen, an electromagnetic touch screen or an inductive touch screen, etc.
  • such writing screen can be based on infrared recognition technology, capacitance recognition technology or electromagnetic Techniques such as recognition technology recognize the trajectory information written by the user on the writing screen, and can display the writing trajectory input by the user in real time on the writing screen.
  • FIG. 1 is a schematic diagram of writing in a related art by using a writing device.
  • the writing device in FIG. 1 takes an interactive smart tablet as an example, and a user can use a stylus to write on a writing screen, or By finger in the book Write on the write screen.
  • a user can write using a writing device in a process of teaching, meeting, etc., and various operations can be performed in the writing process, for example, adding a writing track, adding a page, inserting an image, and the like, and obtaining corresponding operations through various operations.
  • Show information Since the presentation information may be important, the smart writing device can store the final layout content of each page, and the user can obtain the final layout content of each page by scanning the two-dimensional code.
  • various operations may be performed during the writing process, and the layout obtained based on each operation may also be important. For the layout obtained for the current operation, the user needs to click on the "Save Record" control and then select the device for storage. Then, create a new record folder name. After the save is successful, click Continue to use the whiteboard to enter the whiteboard editing interface. It can be seen that there are many operations for storing a layout, resulting in low storage efficiency.
  • the solution provided by the embodiment of the present invention can monitor the operation on the writing device, generate a corresponding operation record for each operation, and store the operation record. Since the operation record includes at least the operation time information and the operation content, the file is received. When the instruction is generated, the target file may be generated based on the operation record indicated by the file generation instruction, and the target file may be used for reading by the reading device, so that the reading device sequentially performs the operation content corresponding to each operation time information in the target file. Operation.
  • the embodiment of the invention enriches and perfects the storage function of the writing device, and can record each operation by means of operation recording. Since the operation record includes operation time information and operation content, the operation time information can be sequentially used according to the operation time information.
  • the content playback plays corresponding display information corresponding to the operation, improves storage efficiency, and the stored file can be used to play back the display information.
  • FIG. 2A is a flowchart of an information storage method according to an exemplary embodiment of the present invention.
  • the method may include the following steps 201 to 203:
  • step 201 the operation on the writing device is monitored, and a corresponding operation record is generated for each operation, the operation record including at least operation time information and operation content.
  • step 202 the operational record is stored.
  • step 203 if a file generation instruction is received, an object file is generated based on the operation record indicated by the file generation instruction, the object file being used for reading by the reading device, so that the reading device is based on the target
  • Each operation time information in the file performs a corresponding operation based on the operation content in chronological order, and displays display information generated by the operation, and the reading device includes the writing device or a device that receives the target file.
  • the user can operate on the writing device by using a touch object such as a finger or a stylus.
  • a touch object such as a finger or a stylus
  • the user can write on the writing device with a touch object such as a finger or a stylus, and the writing device can collect the user's writing.
  • the trajectory information generated at the time obtains the writing trajectory input by the user.
  • Users can write text or write graphics.
  • the graphics can be symbols (such as arrows, curly braces, etc.), geometric figures, etc., so corresponding text tracks and graphic tracks are generated.
  • the user can perform operations such as inserting, deleting, zooming/moving images on the writing device by using a touch object such as a finger or a stylus.
  • the user can add/delete/switch a page for displaying information such as a writing track on the writing device by using a touch object such as a finger or a stylus pen. For different operations, corresponding display information can be generated.
  • embodiments of the present description can monitor the operation on the writing device, which can be based on the operation of the writing device for trigger generation, and the writing device generates a corresponding operational record for each operation.
  • the operation may be a writing track processing operation, and a corresponding operation record may be generated for each writing track.
  • whether or not one operation is completed is divided by whether or not a writing track is completed.
  • two examples are given below.
  • the writing trajectory can be divided by a pen down and a pen up, for example, dividing the trajectory written between the pen down and the pen up into a writing trajectory.
  • a pause may occur when drawing a continuous trajectory.
  • the continuous uninterrupted trajectory can be divided into one writing trajectory, and no other operations are performed during writing of the trajectory.
  • the embodiment divides the writing trajectory in units of the continuous trajectory required, and can reduce the number of tracks, thereby reducing the number of operation records and saving storage space.
  • the writing track processing operation is an operation of processing a writing track
  • the writing track processing operation may include various types of processing operations, for example, the writing track processing operation may include: adding a writing track, deleting a writing track, moving a writing track, and zooming a writing track And modifying one or more operations in the writing track, and the like. It can be understood that for any operation of the writing track, a corresponding operation record can be generated and stored to implement information storage.
  • the operation record may include operation time information.
  • the operation time information can be used to distinguish the time interval and sequence between different operations in the writing process.
  • the operation time information can be a time stamp of the operation, and the format is “hour: minute: second”.
  • the operation time information may be the start time of the first operation in the current writing process, and the operation time information of the other operations is the interval time from the first operation.
  • the operation time of the first operation is recorded as 00:00:00, the timer starts counting, and the operation time of the Nth operation is obtained based on the time interval from the first operation, for example, 00:01:00.
  • the operational time information can be the start of the operation, such as 16 o'clock. 27 minutes and 30 seconds to indicate the start time of this operation.
  • the operational time information may also be the start and end times of the operation, such as 16:27:30 to 16:28:10, to indicate the start time and end time of the current operation.
  • the operation record In addition to recording the operation time information of the written track of the piece, the operation record also needs to record the specific operation content, in order to re-execute the operation by using the operation content in the order of operation time.
  • the operation content may be information capable of restoring the writing track processing operation.
  • the present embodiment can determine the writing trajectory according to the coordinates of the touched point, and the coordinate change of the touched point can represent the trajectory processing operation, and thus the writing trajectory processing operation Corresponding operation record, the operation content includes at least a coordinate set of touch points constituting the writing track. According to the coordinate set of the touched point, it can be determined whether the current operation is a new writing track, deleting a writing track, modifying a writing track, moving a writing track, and the like.
  • a trajectory identifier (also referred to as a trajectory ID, a handwriting ID, and the like) may be configured for the writing trajectory, and the operation content further includes a trajectory identifier.
  • the track identifier is an identifier that uniquely identifies the written track, and the track marks of different written tracks are different.
  • the track identifier may be a Universally Unique Identifier (UUID).
  • the operation content may further include trajectory attribute information.
  • the track attribute information may include one or more attribute information of the thickness of the track, the color of the track, the processing speed of the track, and the like. If the thickness of different components in a handwriting is different or the color is different, the attributes for different components are The information is recorded separately. For example, a contiguous sub-coordinate set having the same trajectory attribute information is divided into sub-coordinate sets, and corresponding trajectory attribute information is corresponding for each sub-coordinate set. In addition, the corresponding track attribute information can also be recorded separately for each touch point.
  • the processing speed can be specified in advance as the preset speed.
  • the writing process of the writing track is displayed at a preset speed based on the coordinate order in the coordinate set of the touch point.
  • the trajectory attribute information further includes processing speed information of the trajectory. For example, when reading the operation record corresponding to the added writing track, the writing process of the writing track is reproduced according to the processing speed information in the record based on the coordinate order in the coordinate set of the touch point, so as to follow the more realistic playback writing. process.
  • the operation type identification can also be used to characterize the operation performed on each writing track.
  • the added writing trait is used to identify the added writing trajectory
  • the modified writing 1 is used to characterize the modified writing trajectory, and the modification is still a writing trajectory
  • the modified writing mark 2 is used to characterize the modified writing track, and is modified into at least two writing tracks
  • the deletion marking is used to characterize the deletion of the writing track and the like.
  • the operation content may include at least a track identifier. Further, the operation content may further include one or more of a coordinate set of touch points constituting the writing track and an operation type identifier indicating a writing track processing operation, and further The operation content may further include track attribute information.
  • the operation record corresponding to the writing track processing operation can adopt the following format:
  • the writing track processing operation includes adding a writing track
  • the coordinate set of the touch points constituting the writing track may be acquired, thereby facilitating the subsequent reading operation according to the coordinates.
  • the collection draws a written trajectory.
  • the newly added writing track can also be configured with a track identifier that identifies the writing track, so as to distinguish different writing tracks, so that when the existing writing track is operated, information about the existing writing track can be acquired. .
  • the track attribute information of the writing track for example, one or more of the degree of thickness, the color, the writing speed, and the like, may also be acquired. By recording the track attribute information, the writing track added based on the operation record is made more similar to the original writing track.
  • the generating the corresponding operation record includes: configuring a track identifier identifying the writing track for the added writing track, and acquiring a touch point constituting the writing track.
  • the coordinate set and the track attribute information are combined with the time information of the adding operation to obtain an operation record corresponding to the added writing track.
  • the time information of the adding operation has been explained above, and will not be described here.
  • the configured track identifier, the acquired coordinate set and the track attribute information, and the time information of the adding operation may be combined to obtain an operation record corresponding to the added writing track.
  • the format can be:
  • the processing identifier may be used to represent a processing operation performed on the writing track.
  • the deletion identifier may be used to represent the corresponding deletion track identifier.
  • the writing track in view of this, if the writing track processing operation includes deleting the writing track, the track identifier of the writing track for performing the deleting operation may be acquired, the deletion flag is set, and the time corresponding to the deleting operation is obtained, and the operation corresponding to the deleted writing track is obtained. recording.
  • the time information of the deletion operation, the acquired track identifier, and the deletion identifier may be combined to obtain an operation record corresponding to the deleted writing track.
  • the format can be:
  • the deletion operation is used to indicate the deletion operation, so that when the deletion identifier is subsequently read, the writing track corresponding to the track identifier is deleted.
  • the coordinate set can be deleted by using the coordinate set to be empty.
  • the track identifier of the writing track for performing the deleting operation can be acquired, and the empty coordinate set and the empty track attribute information are set, based on the acquired track identifier and the empty track.
  • the format may be: delete operation time information track identifier empty.
  • the written track is deleted by using the empty representation. It can be understood that the operation record can be recorded as a delete operation record by other means, which is not enumerated here.
  • the operation content may further include a deletion speed, so that when the operation record is subsequently read, the writing track may be deleted based on the deletion speed in the operation record to simulate the original deletion operation.
  • the writing track processing operation includes modifying the writing track and is still a writing track after the modification
  • the track identifier of the writing track may be retained, and the modified track is obtained according to the modifying operation.
  • the touch point coordinate set and the track attribute information are combined with the time information of the modification operation to generate an operation record corresponding to the modified writing track.
  • the track attribute information may be a thickness level, a color, a modification speed, and the like.
  • the modification operation can also make the original writing track become two or more writing tracks, for example, erasing a part of the track so that the original writing track is not connected, and further on the separate writing track. Make changes, etc.
  • the modification operation can also make the original writing track become two or more writing tracks, for example, erasing a part of the track so that the original writing track is not connected, and further on the separate writing track. Make changes, etc.
  • one of the writing tracks in order to determine which of the existing writing tracks is modified in the subsequent reading operation record, one of the writing tracks can retain the track of the original writing track for at least two writing tracks obtained by the modification. Identification, configure a new track identifier for other lines of writing.
  • the generating the corresponding operation record includes: acquiring a track identifier of the writing track for performing the modifying operation, and acquiring a coordinate set of the touch point constituting one of the writing tracks and the track attribute information from the written writing track obtained by the modification, combined with the modifying operation
  • the time information is obtained, the operation record corresponding to the acquired track identifier is obtained; the new track identifier is configured for the other written track traces obtained by the modification, and the coordinate set of the touch points constituting the other written track and the track attribute information are acquired, combined with the modification operation Time information, obtain the operation record corresponding to the newly configured track identifier.
  • the time information of the modification operation, the acquired track identifier, the coordinate set of the touch points constituting one of the writing tracks, and the track attribute information may be combined to obtain an operation record corresponding to the acquired track identifier.
  • the time information of the modification operation, the newly configured track identifier, the coordinate set of the touch points constituting the other written trajectories, and the track attribute information may be combined to obtain an operation record corresponding to each newly configured track identifier.
  • the writing track for performing the modification operation may be the writing track currently being processed.
  • the track attribute information may be a thickness level, a color, a modification speed, and the like.
  • the operational record may also include no trace attribute information, or may include other information such as the trace operation type identification.
  • a plurality of writings can be obtained for the modification by retaining the original writing track and creating a new track identifier for each writing track of the remaining writing track.
  • the trajectories respectively generate operation records, so that the reproduction of the operation process can be realized in the subsequent reading.
  • generating the operation record may include: acquiring a track identifier of the writing track for performing the moving operation, and identifying the acquired track set with the coordinate set of the corresponding touch point The update is performed, and the operation record corresponding to the mobile writing track is obtained in combination with the time information of the moving operation. Wherein, the acquired various information is combined to obtain an operation record corresponding to the mobile writing track. Further, attribute information such as a moving speed and a moving path may be acquired, and the attribute information is also recorded in the operation record.
  • generating the operation record may include: acquiring a track identifier of the writing track for performing the zooming operation, and updating the touch point coordinate set corresponding to the acquired track identifier, and combining the zooming The time information of the operation obtains an operation record corresponding to the scaled writing track.
  • an operation record there are many ways to generate an operation record, and the purpose may be to perform a processing operation for recording a writing track so as to be able to re-execute an operation or the like according to the operation record.
  • an image processing operation such as inserting a picture may also be performed on the writing device, and in view of this, the operation in step 201 may further include an image processing operation.
  • the image processing operation may include one or more of an insertion image, a deletion image, a moving image, and a zoom image.
  • a corresponding operation record can be generated for each image processing operation.
  • the division of the operation is divided by whether or not the image processing operation such as the insertion image, the deleted image, the moving image, or the zoomed image is completed. For example, during an image insertion operation, multiple steps may be required, such as clicking on the "Insert Image" control, selecting an image to be inserted, and the like. When all steps of the insert image operation are completed, a corresponding operation record can be generated for this operation.
  • the purpose of generating an operation record is to record what kind of operation is performed, so that the operation can be reproduced later.
  • the operation record corresponding to the image processing operation may include operation time information.
  • the operational time information can be used to distinguish between time intervals and sequences between different operations in the writing process.
  • the operation record In addition to recording the operation time information of the image processing operation, the operation record also needs to record the specific operation content, in order to re-execute the operation using the operation content in time sequence based on the operation time information.
  • the operation content may be information capable of restoring an image processing operation.
  • the operational content may include an image identification, which may be identification information that uniquely identifies the image.
  • the operational content may also include an image manipulation type identification to characterize what operation was performed on the image. For example, insert identification, delete identification, mobile identification, zoom identification, and the like.
  • the operation content also includes different information for different types of image processing operations. For example, for an insert image operation, a storage path of the image may be included in the operation content to enable an image to be acquired according to the storage path when subsequent reading is performed, while avoiding waste of resources caused by storing the image in the operation record.
  • some images are downloaded from a website, or the reading device is not the same device as the writing device.
  • the operation content may be Includes images. Further, it is also possible to record position information of the image on the screen and attribute information such as the image size. For deleting the image, the image corresponding to the image identifier can be determined to be deleted based on the image operation type identifier.
  • the operation content may also include information such as moving speed, moving trajectory, and the like.
  • the operation content may also include information such as zoom speed, zoom ratio, and the like.
  • the operations in step 201 may also include a page processing operation.
  • the page processing operation may include one or more of adding a page, deleting a page, and switching a page. For different page processing operations, a corresponding operation record can be generated.
  • the operation record corresponding to the page processing operation may include operation time information.
  • the operational time information can be used to distinguish between time intervals and sequences between different operations in the writing process.
  • the operation record In addition to recording the operation time information of the page processing operation, the operation record also needs to record the specific operation content, in order to re-execute the operation by using the operation content in the order of the operation time information.
  • the operation content may be information capable of restoring a page processing operation.
  • the operational content includes a page identification and a page operation type, the page operation type including addition, deletion, and switching. It can be seen that the embodiment can determine the page for performing the page operation based on the page identifier, and can determine which operation is performed according to the page operation type, thereby implementing the record of the page operation.
  • the following is an example of one of the operation records.
  • the operation record corresponding to the page processing operation can be in the following format:
  • the page identifier of the current page can be written in front, and the page identifier of the page (target page) to be switched to is written in order to distinguish the pages before and after the switching.
  • the page identifier of the target page may be recorded in the operation record corresponding to the switching operation, and the page identifier of the page before the switching is not recorded, and when the operation record is read, the current page is directly switched to the target identifier.
  • Page For example, the third record "00:40:00 switch page ID_01" in the example, the page ID_01 is the page identifier of the target page, that is, the page ID_01 is the page identifier corresponding to the page to which the switch is to be made.
  • the operation content corresponding to the page processing operation may also include other information for recording the page processing operation, which are not enumerated here.
  • the operation record corresponding to the operation is generated and stored for each operation. If you receive a file generation command, you can An object file is generated based on the operation record indicated by the file generation instruction.
  • the target file can be serialized. Further, the object file can be compressed and packaged into a file for storage and transmission.
  • the file generation instruction may be a file generation instruction generated by the file generation control being triggered during writing completion or writing, the file generation instruction instructing to generate an operation record stored in the current writing process, that is, The operation record indicated by the file generation instruction records the operation record stored in the writing process.
  • FIG. 2B is a schematic diagram of a writing screen according to an exemplary embodiment of the present invention. Add a "file generation" control in the menu bar of the writing screen. When the user determines that the previous operation needs to generate a file, the user can click the "file generation" control to trigger the generation of the file generation instruction to realize the storage of the current writing process. Operation record generation file.
  • the file generation instruction may also be an instruction generated after the user selects an operation record of the file to be generated from the stored operation record during writing completion or writing. For example, an operation record selection instruction is received, the stored operation record is displayed, and a file generation instruction is triggered based on the user's selection and the confirmation operation.
  • the file generation instruction indicates an operation record generation file that is selected from the operation record stored in the current writing process, that is, the operation record indicated by the file generation instruction is obtained by screening from the operation record stored in the current writing process. Operational record.
  • the user can filter out the operation record of the desired storage from the operation record, instead of generating the target file by the stored operation record by default, and the selectivity of the operation record in the target file is realized.
  • the target file can be stored in the writing device, or the target file can be transferred to other devices.
  • the writing device or other device that receives the target file can read the target file, perform corresponding operations based on the operation content according to each operation time information in the target file, and display the display information generated by the operation.
  • the reading device may be a writing device that performs an information storage method, or may be another device that receives the target file.
  • the reading device can read the operation content corresponding to the operation time information in time sequence according to the operation time information in the target file, and perform a corresponding operation based on the operation content, and display the display information generated by the operation on the screen. It can be seen that the display information can be played back during the reading and display process of the reading device.
  • the user can use the writing device to simultaneously record and obtain an audio file.
  • the audio file can be post-edited so that the audio played based on the audio file matches the image displayed based on the operation record.
  • the audio file may also be an audio file obtained by subsequent recording, and the audio file may be in an audio format, such as mp3, wav, and the like.
  • the method further includes: adding a pre-recorded audio file to the target file, the audio file being used for synchronously being played when the reading device displays the display information, the audio file being The recorded data associated with the presentation information.
  • the recorded data associated with the display information may be a voice introduction of the displayed information.
  • the final page data of each page may be stored in the page file when receiving the save record instruction, which may be referred to as final data.
  • No time stamp is required in the final page data, which is the final data result.
  • the final writing track information, image information, and the like of each page are stored to obtain final page data, so that when the final page data is subsequently read, the final page of each page can be quickly loaded and obtained.
  • the obtained final data can be added to the target file, and the operation record is equivalent to the process data, so that the target file includes both the process data and the final data.
  • FIG. 2C is a structural diagram of a file content directory according to an exemplary embodiment of the present invention.
  • an operation record (all operation records as process data) generated by the above steps 201 to 203 may be included, and final page data of each layout (final page data of all pages as final data), and an audio file are also included.
  • the process data includes a page change log file and a page folder.
  • the page change record file is used to record the operation record corresponding to the page processing operation.
  • the page folder includes different pages, and each page records a corresponding page information record (for example, an operation record corresponding to the writing track processing operation, an operation record corresponding to the image processing operation, and the like).
  • the operation record corresponding to the record page processing operation and the page information record are respectively stored in different folders, so as to facilitate subsequent quick query and reading.
  • the final data may include a page folder in which the final page data of different pages is recorded. Further, the file can be compressed and packaged into a file for subsequent storage and transmission.
  • the present invention further provides an information display method for reading an object file obtained by the information storage method, and then displaying display information obtained based on the operation content in sequence based on each operation time information in the target file.
  • FIG. 3 is a flowchart of an information display method according to an exemplary embodiment of the present invention, and the method may include the following steps 301 and 302:
  • step 301 the target file obtained by the above information storage method is read, and the target file includes at least one operation record, and the operation record includes at least operation time information and operation content.
  • step 302 according to each operation time information in the target file, the operation content is sequentially performed in chronological order. Take action and show the impressions generated by the action.
  • the target file may be read based on the preset display policy, and the corresponding operation is performed based on the operation content in time sequence according to each operation time information in the target file, and the display information generated by the operation is displayed.
  • the presentation strategy corresponds to the strategy for generating the target file in the information storage method, and the purpose is to perform the operation corresponding to each operation record.
  • the operation content corresponding to the operation time information may be sequentially read based on the operation time information. If the different operation records are sequentially stored in the same file in the order of operation time, the operation records can be sequentially read.
  • the operation record corresponding to the page processing operation is stored in the page change record file
  • the operation record corresponding to the writing track processing operation and the operation record corresponding to the image processing operation are stored in the page file.
  • the first operation record in the page change record file is read from the blank content, and the operation corresponding to the first operation record is executed (the first operation record is often a creation page), and then the corresponding page on the page
  • the operation record is read in the file, and each time the first unread operation record in the page file is read, the operation time information of the operation record in the page file and the operation time information of the first unread operation record in the page change record file are performed.
  • the operation time of the first unread operation record in the page file is executed; if the page file The operation time of the first unread operation record is later than the page change record file.
  • Article read operation time is not recorded, the recording operation is performed's first unread page change log file, thereby achieving sequentially reads the time information corresponding to the operation content based on the operation time information.
  • the addition of the trajectory operation can be performed with the operation content, and the presentation information generated by the adding operation is displayed. If the writing speed is also included in the operation record, the writing track is drawn at the writing speed and displayed.
  • the operation of deleting the writing track can be performed by using the operation content, and the display information generated by the deleting operation is displayed, such as operating an existing writing track according to the moving speed.
  • the coordinates in the operation record may be based on the screen display ratios of the two devices.
  • the set is adjusted so that the adjusted coordinates are adapted to the display scale of the reading device.
  • the target file may include an audio file in addition to the operation record, and the audio file is played synchronously when the display information generated by the operation is displayed.
  • the operation of displaying information and the playing operation of audio files can be independent, combining audio playback and information display to realize audio and writing operation playback, so that the user can both read the writing content and listen to the introduction of the writing process to the user. Convenience.
  • the target file may include final data in addition to the operation record (the final data includes the final page data of each page). If the final page data of each page is stored in the page file, the process of obtaining the display information In the middle, you can traverse the page file, create the page, and then traverse the final page data in the page file, and load the handwriting, image and other information into the page. Compared to loading from process data, loading directly from the final data is faster.
  • the display time interval of the display information corresponding to the adjacent operation may be an interval obtained based on the operation time information, that is, the display order determined according to the display time information and the display The time interval determined by the time information, the operations are performed in turn and the display information generated by the operation is displayed, and the progress of the playback is consistent with the original writing progress.
  • the time interval that the user expects is different from the actual operation time interval.
  • the actual operation time interval may be long, and the user does not expect such a long interval; or, because the actual operation time interval is short, and the user expects a longer interval time, etc., in view of this
  • the display interval of the presentation information corresponding to the neighbor operation may be a specified time interval.
  • the specified time interval may be a fixed value set in advance, or may be a value obtained based on a user selection.
  • the specified time interval for providing the selection may be 0 minutes, 2 minutes, 5 minutes, 10 minutes, etc., and the specified time interval is obtained according to the user selection instruction.
  • the display time interval of the display information corresponding to the adjacent operation is a specified time interval, the controllability of the operation time interval can be realized, and the interval time of the adjacent operations can be controlled.
  • the execution order of the page processing operation and the writing trajectory processing operation and the image processing operation in the original operation can be ignored, and after the writing trajectory processing operation and the image processing operation in one page are completed, the writing trajectory processing of the next page is executed.
  • Operation and image processing operations For example, for the current page, the operation record in the current page may be read one by one, the corresponding operation is performed based on the operation content, and the display information generated by the operation is displayed, and the same processing is performed on the next page to implement the final layout of all the pages. The data is displayed.
  • reading the page change record file For example, reading the page change record file, reading the operation record corresponding to the page processing operation one by one, ignoring the operation time information, performing corresponding operations according to the corresponding operation content, for example, re-loading the page by creating, deleting, etc., and then traversing
  • This process is equivalent to repeating all operations, and the loading time may be longer, but there is no need to store a final piece of data.
  • the operation records in the target file are executed, monitoring the operation of the writing device by the user, and generating a corresponding operation record for each operation, the operation record including at least operation time information and operation content; An operation record is added to the target file. It can be seen that after the operation is re-executed and the display information obtained by the operation is displayed, the information storage can be continued to realize the secondary editing of the page.
  • the program can be stored in a computer readable storage medium.
  • the program When executed, the steps described in the above methods are included.
  • the storage medium includes: a ROM/RAM, a magnetic disk, an optical disk, and the like.
  • the present invention also provides an embodiment of an information storage device, an electronic device to which it is applied, and a computer storage medium.
  • FIG. 4 is a block diagram of an information storage apparatus according to an exemplary embodiment of the present invention.
  • the apparatus includes a record generation module 41, a record storage module 42, and a file generation module 43.
  • the record generation module 41 is configured to monitor an operation on the writing device, and generate a corresponding operation record for each operation, where the operation record includes at least operation time information and operation content.
  • a record storage module 42 is configured to store the operation record.
  • a file generating module 43 configured to generate an object file based on an operation record indicated by the file generation instruction, if the file generation instruction is received, where the object file is used for reading by a reading device, so that the reading device is configured according to the Each operation time information in the target file sequentially performs a corresponding operation based on the operation content in chronological order, and displays display information generated by the operation, and the reading device includes the writing device or a device that receives the target file.
  • the operations include one or more of a page processing operation, a writing track processing operation, and an image processing operation.
  • the page processing operation includes one or more of adding a page, deleting a page, and switching a page, and the like;
  • the writing track processing operation includes: adding a writing track, deleting a writing track, moving a writing track, and zooming a writing track and One or more of a writing track or the like is modified;
  • the image processing operation includes one or more of an insertion image, a deletion image, a moving image, and a zoom image.
  • the operation content includes a track identifier and a coordinate set of touch points constituting the writing track.
  • the operation content may further include an operation type identifier indicating a writing track processing operation.
  • the operation content includes a track identification, an operation type identification indicating a writing track processing operation, and a coordinate set of touch points constituting the writing track.
  • the operation content may further include trajectory attribute information, for example, if the operation is a writing trajectory processing operation, the operation content includes a trajectory identifier, a coordinate set of touch points constituting the writing trajectory, and trajectory attribute information.
  • the operational content includes a track identification and an operation type identification for indicating a writing track processing operation.
  • the record generation module 41 is configured to:
  • the writing track processing operation includes adding a writing track, configuring a track mark identifying the writing track for the added writing track, acquiring a coordinate set of the touch point constituting the writing track, and track attribute information, combined with time information of the adding operation, Obtaining an operation record corresponding to the added writing track; or
  • the writing track processing operation includes deleting the writing track, acquiring the track identifier of the writing track for performing the deleting operation, setting the deletion identifier, and combining the time information of the deleting operation to obtain the operation record corresponding to the deleted writing track; or
  • the writing track processing operation includes modifying the writing track and modifying into at least two writing tracks, acquiring a track identifier of the writing track for performing the modifying operation, and acquiring a touch point constituting one of the writing tracks from the modified writing track
  • the coordinate set and the track attribute information are combined with the time information of the modified operation to obtain an operation record corresponding to the acquired track identifier; a new track identifier is configured for the other written track of the modification, and the touch points constituting the other written track are acquired.
  • the coordinate set and the track attribute information are combined with the time information of the modified operation to obtain an operation record corresponding to the newly configured track identifier; or
  • the writing track processing operation includes moving the writing track, acquiring a track identifier of the writing track for performing the moving operation, and updating the coordinate set of the touch point corresponding to the acquired track identifier, and combining the time information of the moving operation to obtain the Move the operation record corresponding to the writing track.
  • the operation content includes a page identifier and a page operation type
  • the page operation type includes adding, deleting, and switching.
  • the operation record indicated by the file generation instruction is an operation record stored in the writing process.
  • the operation record indicated by the file generation instruction is an operation record obtained by screening from the operation record stored in the current writing process.
  • the file generating module 43 is further configured to: add a pre-recorded audio file to the target file, where the audio file is used when the reading device displays the display information Synchronization is played, the audio file being recorded data associated with the presentation information.
  • a computer storage medium is stored in the storage medium, and the program instruction includes:
  • the file generation instruction if the file generation instruction is received, generating an object file based on the operation record indicated by the file generation instruction, where the object file is used for reading by the reading device, so that the reading device is configured according to each operation time in the target file.
  • the information in chronological order, performs a corresponding operation based on the operation content, and displays the presentation information generated by the operation, the reading device including the writing device or the device that receives the target file.
  • the present invention can take the form of a computer program product embodied on one or more storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) in which program code is embodied.
  • Computer-usable storage media include both permanent and non-persistent, removable and non-removable media, and information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory.
  • PRAM phase change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM random access memory
  • ROM read only memory
  • EEPROM electrically erasable programmable read only memory
  • flash memory or other memory technology
  • compact disk read only memory CD-ROM
  • DVD digital versatile disk
  • Magnetic tape cartridges magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • the device embodiment since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment.
  • the device embodiments described above are merely illustrative, wherein the modules described as separate components may or may not be physically separate, and the components displayed as modules may or may not be physical modules, ie may be located A place, or it can be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the objectives of the solution of the present invention. Those of ordinary skill in the art can understand and implement without any creative effort.
  • Embodiments of the information storage device of the present invention may be applied to an electronic device, for example, the electronic device may be an interactive smart tablet.
  • the device embodiment may be implemented by software, or may be implemented by hardware or a combination of hardware and software. Taking the software implementation as an example, as a logical device, the processor of the electronic device in which the computer is located reads the corresponding computer program instructions in the non-volatile memory into the memory.
  • FIG. 5 is a hardware structural diagram of an electronic device in which the information storage device 532 is located according to an exemplary embodiment of the present invention, except for the processor 510 and the memory shown in FIG. 5 .
  • the electronic device in which the device 532 is located in the embodiment may further include other hardware according to the actual function of the electronic device, and details are not described herein.
  • the present invention also provides an embodiment of an information display device, an electronic device to which it is applied, and a computer storage medium.
  • FIG. 6 is a block diagram of an information display apparatus according to an exemplary embodiment of the present invention, the apparatus includes:
  • the file reading module 61 is configured to read the target file obtained by the information storage method shown in FIG. 2A, and the target file includes at least one operation record, and the operation record includes at least operation time information and operation content.
  • the processing module 62 is configured to perform corresponding operations based on the operation content in chronological order according to each operation time information in the target file, and display the display information generated by the operation.
  • the display time interval of the display information corresponding to the adjacent operation is an interval obtained based on the operation time information, or a specified time interval.
  • the apparatus further includes a storage module (not shown in FIG. 6):
  • a computer storage medium is stored in the storage medium, and the program instruction includes:
  • the target file includes at least one operation record, and the operation record includes at least operation time information and operation content;
  • each operation time information in the target file the corresponding operations are sequentially performed in time series based on the operation content, and the display information generated by the operation is displayed.
  • the present invention can take the form of a computer program product embodied on one or more storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) in which program code is embodied.
  • Computer-usable storage media include both permanent and non-persistent, removable and non-removable media, and information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory.
  • PRAM phase change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM random access memory
  • ROM read only memory
  • EEPROM electrically erasable programmable read only memory
  • flash memory or other memory technology
  • compact disk read only memory CD-ROM
  • DVD digital versatile disk
  • Magnetic tape cartridge magnetic tape storage or other magnetic storage device or any other non-transmission
  • the device embodiment since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment.
  • the device embodiments described above are merely illustrative, wherein the modules described as separate components may or may not be physically separate, and the components displayed as modules may or may not be physical modules, ie may be located A place, or it can be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the objectives of the solution of the present invention. Those of ordinary skill in the art can understand and implement without any creative effort.
  • Embodiments of the information display device of the present invention can be applied to an electronic device.
  • the device embodiment may be implemented by software, or may be implemented by hardware or a combination of hardware and software.
  • the processor of the electronic device in which the computer is located reads the corresponding computer program instructions in the non-volatile memory into the memory.
  • FIG. 7 is a hardware structural diagram of an electronic device in which the information display device 732 is located according to an exemplary embodiment of the present invention, except for the processor 710 and the memory shown in FIG. 7 .
  • the electronic device in which the device 732 is located in the embodiment may further include other hardware according to the actual function of the electronic device, and details are not described herein.

Abstract

一种信息存储、展示方法、装置、设备及计算机存储介质,所述方法包括:监测书写设备上的操作,对每次操作生成相应的操作记录,所述操作记录至少包括操作时间信息和操作内容(201);存储所述操作记录(202);若接收到文件生成指令,基于所述文件生成指令所指示的操作记录生成目标文件(203),所述目标文件用于被读取设备读取,以便所述读取设备根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息,所述读取设备包括所述书写设备或接收到所述目标文件的设备。可以提高存储效率,并实现根据操作时间信息依次利用操作内容回放相应操作对应的展示信息。

Description

信息存储、展示方法、装置、设备及计算机存储介质 技术领域
本发明涉及智能设备技术领域,尤其涉及信息存储、展示方法、装置、设备及计算机存储介质。
背景技术
随着智能设备技术的快速发展,交互智能平板等支持手写功能的智能设备得到了广泛应用。此类设备配置有触摸屏,用户可以在触摸屏上进行书写,设备能控制触摸屏实时显示用户的书写轨迹。智能设备可以将每页的最终版面进行存储,用户可以通过扫描二维码的形式获得每页的最终版面内容。然而,在书写过程中可能会进行各种操作,而基于每次操作获得的版面也可能很重要,针对每次操作获得的版面,用户需要通过点击“保存记录”控件进行保存,可见,存储效率低。
发明内容
本发明提供了信息存储、展示方法、装置、设备及计算机存储介质,以解决现有技术中存储效率低的缺陷。
根据本发明实施例的第一方面,提供一种信息存储方法,所述方法包括:
监测书写设备上的操作,对每次操作生成相应的操作记录,所述操作记录至少包括操作时间信息和操作内容;
存储所述操作记录;
若接收到文件生成指令,基于所述文件生成指令所指示的操作记录生成目标文件,所述目标文件用于被读取设备读取,以便所述读取设备根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息,所述读取设备包括所述书写设备或接收到所述目标文件的设备。
在一个可选的实现方式中,所述操作包括页面处理操作、书写轨迹处理操作、图像处理 操作中的一种或多种。
在一个可选的实现方式中,若所述操作为书写轨迹处理操作,所述操作内容包括轨迹标识以及构成书写轨迹的触摸点的坐标集合,或所述操作内容包括轨迹标识、构成书写轨迹的触摸点的坐标集合以及轨迹属性信息,或所述操作内容包括轨迹标识以及用于表示书写轨迹处理操作的操作类型标识。
在一个可选的实现方式中,所述生成相应的操作记录包括:
若所述书写轨迹处理操作包括添加书写轨迹,为添加的书写轨迹配置标识该书写轨迹的轨迹标识,获取构成所述书写轨迹的触摸点的坐标集合以及轨迹属性信息,结合添加操作的时间信息,获得所述添加书写轨迹对应的操作记录;或,
若所述书写轨迹处理操作包括删除书写轨迹,获取进行删除操作的书写轨迹的轨迹标识,设置删除标识,结合删除操作的时间信息,获得所述删除书写轨迹对应的操作记录;或,
若所述书写轨迹处理操作包括修改书写轨迹、且修改为至少两条书写轨迹,获取进行修改操作的书写轨迹的轨迹标识,并从修改获得的书写轨迹中获取构成其中一条书写轨迹的触摸点的坐标集合以及轨迹属性信息,结合修改操作的时间信息,获得所获取的轨迹标识对应的操作记录;为修改获得的其他条书写轨迹配置新的轨迹标识,并获取构成其他条书写轨迹的触摸点的坐标集合以及轨迹属性信息,结合修改操作的时间信息,获得新配置的轨迹标识对应的操作记录;或,
若所述书写轨迹处理操作包括移动书写轨迹,获取进行移动操作的书写轨迹的轨迹标识,并将所获取的轨迹标识对应的触摸点的坐标集合进行更新,结合移动操作的时间信息,获得所述移动书写轨迹对应的操作记录。
在一个可选的实现方式中,若所述操作为页面处理操作,所述操作内容包括页面标识和页面操作类型,所述页面操作类型包括添加、删除和切换。
在一个可选的实现方式中,所述文件生成指令所指示的操作记录为本次书写过程所存储的操作记录;或,
所述文件生成指令所指示的操作记录为从本次书写过程所存储的操作记录中筛选获得的操作记录。
在一个可选的实现方式中,所述方法还包括:将预录制的音频文件添加至所述目标文件,所述音频文件用于在所述读取设备展示所述展示信息时同步被播放,所述音频文件为与所述 展示信息关联的录音数据。
根据本发明实施例的第二方面,提供一种信息展示方法,所述方法包括:
读取上述信息存储方法获得的目标文件,所述目标文件至少包括一条操作记录,所述操作记录至少包括操作时间信息和操作内容;
根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息。
在一个可选的实现方式中,相邻操作对应的展示信息的展示时间间隔为基于操作时间信息获得的间隔,或为指定时间间隔。
在一个可选的实现方式中,所述方法还包括:
若所述目标文件中所有操作记录被执行完成,监测用户对书写设备的操作,对每次操作生成相应的操作记录,所述操作记录至少包括操作时间信息和操作内容;
将所述操作记录添加至所述目标文件。
根据本发明实施例的第三方面,提供一种信息存储装置,所述装置包括:
记录生成模块,用于监测书写设备上的操作,对每次操作生成相应的操作记录,所述操作记录至少包括操作时间信息和操作内容;
记录存储模块,用于存储所述操作记录;
文件生成模块,用于若接收到文件生成指令,基于所述文件生成指令所指示的操作记录生成目标文件,所述目标文件用于被读取设备读取,以便所述读取设备根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息,所述读取设备包括所述书写设备或接收到所述目标文件的设备。
在一个可选的实现方式中,所述文件生成模块还用于:将预录制的音频文件添加至所述目标文件,所述音频文件用于在所述读取设备展示所述展示信息时同步被播放,所述音频文件为与所述展示信息关联的录音数据。
根据本发明实施例的第四方面,提供一种信息展示装置,所述装置包括:
文件读取模块,用于读取上述信息存储装置获得的目标文件,所述目标文件至少包括一条操作记录,所述操作记录至少包括操作时间信息和操作内容;
处理模块,用于根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容执 行相应操作,并展示由操作产生的展示信息。
根据本发明实施例的第五方面,提供一种电子设备,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
监测书写设备上的操作,对每次操作生成相应的操作记录,所述操作记录至少包括操作时间信息和操作内容;
存储所述操作记录;
若接收到文件生成指令,基于所述文件生成指令所指示的操作记录生成目标文件,所述目标文件用于被读取设备读取,以便所述读取设备根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息,所述读取设备包括所述书写设备或接收到所述目标文件的设备。
根据本发明实施例的第六方面,提供一种电子设备,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
读取上述信息存储方法获得的目标文件,所述目标文件至少包括一条操作记录,所述操作记录至少包括操作时间信息和操作内容;
根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息。
根据本发明实施例的第七方面,提供一种计算机存储介质,所述存储介质中存储有程序指令,所述程序指令包括:
监测书写设备上的操作,对每次操作生成相应的操作记录,所述操作记录至少包括操作时间信息和操作内容;
存储所述操作记录;
若接收到文件生成指令,基于所述文件生成指令所指示的操作记录生成目标文件,所述目标文件用于被读取设备读取,以便所述读取设备根据所述目标文件中各操作时间信息,按 时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息,所述读取设备包括所述书写设备或接收到所述目标文件的设备。
根据本发明实施例的第八方面,提供一种计算机存储介质,所述存储介质中存储有程序指令,所述程序指令包括:
读取上述信息存储方法获得的目标文件,所述目标文件至少包括一条操作记录,所述操作记录至少包括操作时间信息和操作内容;
根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息。
本发明的实施例提供的技术方案可以包括以下有益效果:
本发明实施例可以监测书写设备上的操作,对每次操作生成相应的操作记录,并存储该操作记录,由于操作记录至少包括操作时间信息和操作内容,因此在接收到文件生成指令时,可以基于文件生成指令所指示的操作记录生成目标文件,所述目标文件可以用于被读取设备读取,以便该读取设备基于目标文件中各操作时间信息依次执行操作内容对应的操作。本发明实施例丰富和完善了书写设备的存储功能,可以将每次操作都利用操作记录的方式记录下来,由于操作记录中包括了操作时间信息和操作内容,则可以根据操作时间信息依次利用操作内容回放相应操作对应的展示信息,提高存储效率,且存储的文件可以用于回放展示信息。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。
图1示出了相关技术中利用书写设备进行书写的示意图。
图2A是本发明根据一示例性实施例示出的一种信息存储方法的流程图。
图2B是本发明根据一示例性实施例示出的一种书写屏幕示意图。
图2C是本发明根据一示例性实施例示出的一种文件内容目录结构图。
图3是本发明根据一示例性实施例示出的一种信息展示方法的流程图。
图4是本发明根据一示例性实施例示出的一种信息存储装置的框图。
图5是本发明根据一示例性实施例示出的信息存储装置所在电子设备的一种硬件结构图。
图6是本发明根据一示例性实施例示出的一种信息展示装置的框图。
图7是本发明根据一示例性实施例示出的信息展示装置所在电子设备的一种硬件结构图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。
在本发明使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。
应当理解,尽管在本发明可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本发明范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。
本发明实施例的书写设备,可以是交互智能平板、数位板等智能书写设备,也可以是具备书写功能的智能手机、智能学习机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)或多媒体播放器等设备,当然,本发明实施例也不排除在PC(Personal Computer,个人计算机)上的应用。书写设备中通常配置有红外线技术触摸屏、电容式触摸屏、电磁式触摸屏或电感式触摸屏等书写屏幕,当用户在书写屏幕上进行书写时,此类书写屏幕可以基于红外识别技术、电容识别技术或电磁识别技术等技术,识别出用户在书写屏幕上所书写的轨迹信息,并可在书写屏幕上实时显示用户所输入的书写轨迹。
如图1所示,图1示出了相关技术中利用书写设备进行书写的示意图,图1中的书写设备以交互智能平板为例,用户可以使用触控笔在书写屏幕上进行书写,也可以通过手指在书 写屏幕上进行书写。
相关技术中,用户在教学、会议等过程中可以使用书写设备进行书写,书写过程中可以进行各种操作,例如,添加书写轨迹、添加页面、插入图像等操作,通过各种操作可以获得相应的展示信息。鉴于展示信息可能比较重要,智能书写设备可以将每页的最终版面内容进行存储,用户可以通过扫描二维码的形式获得每页的最终版面内容。然而,在书写过程中可能会进行各种操作,而基于每次操作获得的版面也可能很重要,针对当前操作获得的版面,用户需要通过点击“保存记录”控件,然后选择用于存放的设备,接着新建记录文件夹的名称,保存成功后,点击继续使用白板,进入白板编辑界面。可见,存储一份版面的操作过程较多,导致存储效率低。
本发明实施例所提供的方案,可以监测书写设备上的操作,对每次操作生成相应的操作记录,并存储该操作记录,由于操作记录至少包括操作时间信息和操作内容,因此在接收到文件生成指令时,可以基于文件生成指令所指示的操作记录生成目标文件,所述目标文件可以用于被读取设备读取,以便该读取设备基于目标文件中各操作时间信息依次执行操作内容对应的操作。本发明实施例丰富和完善了书写设备的存储功能,可以将每次操作都利用操作记录的方式记录下来,由于操作记录中包括了操作时间信息和操作内容,则可以根据操作时间信息依次利用操作内容回放相应操作对应的展示信息,提高存储效率,且存储的文件可以用于回放展示信息。
接下来对本发明方案进行示例说明。
如图2A所示,图2A是本发明根据一示例性实施例示出的一种信息存储方法的流程图,该方法可以包括以下步骤201至步骤203:
在步骤201中,监测书写设备上的操作,对每次操作生成相应的操作记录,所述操作记录至少包括操作时间信息和操作内容。
在步骤202中,存储所述操作记录。
在步骤203中,若接收到文件生成指令,基于所述文件生成指令所指示的操作记录生成目标文件,所述目标文件用于被读取设备读取,以便所述读取设备根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息,所述读取设备包括所述书写设备或接收到所述目标文件的设备。
本发明实施例中,用户可以利用手指或触控笔等触摸对象在书写设备上进行操作。例如,用户可以利用手指或触控笔等触摸对象在书写设备上进行书写,书写设备可以采集用户书写 时所产生的轨迹信息,获得用户输入的书写轨迹。用户可以书写文字,也可以书写图形。图形可以是符号(例如箭头、花括号等)、几何图形等,因此会产生相应的文字轨迹和图形轨迹等。又如,用户可以利用手指或触控笔等触摸对象在书写设备上进行插入、删除、缩放/移动图像等操作。又如,用户可以利用手指或触控笔等触摸对象在书写设备上添加/删除/切换用于展示书写轨迹等信息的页面。针对不同的操作,可以产生相应的展示信息。
为了实现书写过程中展示信息能回放,本说明书实施例可以监控书写设备上的操作,该操作可以是书写设备基于用于触发产生的操作,书写设备对每次操作都生成相应的操作记录。
其中,操作可以是书写轨迹处理操作,针对每条书写轨迹都可以生成相应的操作记录。该实施例中,一次操作是否完成,以一条书写轨迹是否完成进行划分。关于如何划分每条书写轨迹,以下列举两个例子进行示例说明。
在一个例子中,书写轨迹可以以落笔和抬笔进行划分,如,将每次落笔和抬笔间书写的轨迹划分为一条书写轨迹。
然而,在实际应用中,可能绘制某条连续的轨迹时,由于轨迹太长或有折线等因素,在绘制一条连续的轨迹时可能出现停顿(抬笔)的情况,鉴于此,作为另一个例子,可以将连续不间断的轨迹划分为一条书写轨迹、且在书写该条轨迹期间没有执行其他操作。
可见,该实施例以满足要求的连续轨迹为单位划分书写轨迹,可以减少轨迹的条数,进而减少操作记录条数,节约存储空间。
应当理解的是,还可以采用其他方式划分书写轨迹,在此不一一赘述。
书写轨迹处理操作是处理书写轨迹的操作,书写轨迹处理操作可以包括多种类型的处理操作,例如,所述书写轨迹处理操作可以包括:添加书写轨迹、删除书写轨迹、移动书写轨迹、缩放书写轨迹和修改书写轨迹等中的一种或多种操作。可以理解的是,针对书写轨迹的任何操作,都可以生成相应的操作记录并进行存储,以实现信息存储。
关于书写轨迹处理操作对应的操作记录,操作记录可以包括操作时间信息。操作时间信息可以用于区分书写过程中不同操作之间的时间间隔和顺序,例如操作时间信息可以是操作的时间戳,格式为“小时:分钟:秒钟”。在一个例子中,操作时间信息可以以当前书写过程中第一次操作为起始时间,其他操作的操作时间信息是距离第一次操作的间隔时间。例如,第一次操作的操作时间记为00:00:00,计时器开始计时,第N次操作的操作时间基于与第一次操作的时间间隔获得,例如记为00:01:00。采用这种操作时间信息,无需获取当前时刻,通过计时器即可获得。在另一个例子中,操作时间信息可以是操作的起始时刻,例如16点 27分30秒,以表示本次操作的开始时间。在另一个例子中,操作时间信息也可以是操作的起始时刻和结束时刻,例如16点27分30秒至16点28分10秒,以表示本次操作的开始时间和结束时间。
操作记录除了记录该条书写轨迹的操作时间信息,还需要记录具体的操作内容,目的是为了能按操作时间顺序,利用操作内容重新执行本次操作。鉴于此,所述操作内容可以是能还原书写轨迹处理操作的信息。
在一个例子中,由于书写轨迹由不同的触摸点(轨迹点)构成,本实施例可以根据触摸点的坐标确定书写轨迹,而且触摸点的坐标变化可以表征轨迹处理操作,因此针对书写轨迹处理操作对应的操作记录,操作内容至少包括构成书写轨迹的触摸点的坐标集合。根据触摸点的坐标集合,可以确定当前操作是否为新增书写轨迹、删除书写轨迹、修改书写轨迹、移动书写轨迹等。
进一步的,为了区分不同的书写轨迹,还可以为书写轨迹配置轨迹标识(又可以称为轨迹ID、笔迹ID等),所述操作内容还包括轨迹标识。轨迹标识是唯一标识书写轨迹的标识,不同书写轨迹的轨迹标识不同。例如,轨迹标识可以是通用唯一识别码(英语:Universally Unique Identifier,简称UUID)。
进一步的,为了比较真实的还原由于操作获得的书写轨迹,所述操作内容还可以包括轨迹属性信息。轨迹属性信息可以包括轨迹的粗细程度、轨迹的颜色、轨迹的处理速度等中的一种或多种属性信息,如果一条笔迹中不同组成部分的粗细程度不同或颜色不同,针对不同组成部分的属性信息分别记录。例如,将具有相同轨迹属性信息的连续子坐标集合划分为子坐标集合,针对每个子坐标集合对应有相应的轨迹属性信息。此外,也可以针对每个触摸点分别记录其相应的轨迹属性信息。
关于书写轨迹的处理速度,在一个例子中,处理速度可以预先指定为预设速度。例如,后续在读取到添加书写轨迹对应的操作记录时,基于触摸点的坐标集合中坐标顺序,按预设速度展示书写轨迹的书写过程。在另一个例子中,为了能再现书写过程,所述轨迹属性信息还包括轨迹的处理速度信息。例如,后续在读取到添加书写轨迹对应的操作记录时,基于触摸点的坐标集合中坐标顺序,按记录中的处理速度信息重现该条书写轨迹的书写过程,以便后续更加真实的回放书写过程。
进一步的,还可以利用操作类型标识表征对每条书写轨迹进行的操作。例如,利用添加标识表征添加书写轨迹;利用修改标识1表征修改书写轨迹、且修改后仍为一条书写轨迹; 利用修改标识2表征修改书写轨迹、且修改为至少两条书写轨迹;利用删除标识表征删除书写轨迹等等。在后续读取操作记录时,根据所读取的轨迹操作类型标识,可以确定对书写轨迹进行何种处理操作。
在一个例子中,操作内容可以至少包括轨迹标识,进一步的,操作内容还可以包括构成书写轨迹的触摸点的坐标集合、表示书写轨迹处理操作的操作类型标识中的一种或多种,进一步的,操作内容还可以包括轨迹属性信息。
以一个实例进行示例说明。书写轨迹处理操作对应的操作记录可以采用以下格式:
操作时间信息轨迹标识触摸点的坐标集合书写轨迹粗细程度书写轨迹颜色
例如:
00:01:00笔迹ID1[(2,2),(2,4),(30,50),(41,43)]D1 C1
00:02:30笔迹ID2[(5,2),(5,4),(5,8),(10,10)]D2 C2
接下来,针对不同类型的书写轨迹处理操作,对操作记录的生成过程进行示例说明。
在一个可选的实现方式中,若书写轨迹处理操作包括添加书写轨迹,而在添加书写轨迹过程中,可以获取构成书写轨迹的触摸点的坐标集合,从而便于后续读取操作记录时可以根据坐标集合绘制书写轨迹。
进一步的,还可以为新添加的书写轨迹配置标识该书写轨迹的轨迹标识,以实现区分不同的书写轨迹,以便在对已有的书写轨迹进行操作时,可以获取已有的书写轨迹的相关信息。
进一步的,还可以获取书写轨迹的轨迹属性信息,例如,粗细程度、颜色、书写速度等中的一种或多种。通过记录轨迹属性信息,使基于操作记录添加的书写轨迹与原书写轨迹更相似。
作为其中一种组合,若所述书写轨迹处理操作为添加书写轨迹,所述生成相应的操作记录包括:为添加的书写轨迹配置标识该书写轨迹的轨迹标识,获取构成所述书写轨迹的触摸点的坐标集合以及轨迹属性信息,结合添加操作的时间信息,获得所述添加书写轨迹对应的操作记录。其中,添加操作的时间信息前述已解释,在此不赘述。在该实施例中,可以将配置的轨迹标识、获取的坐标集合和轨迹属性信息、以及添加操作的时间信息进行组合,获得所述添加书写轨迹对应的操作记录。
例如,在一个例子中,格式可以为:
添加操作时间信息轨迹标识坐标集合轨迹属性信息。
应当理解的是,各个信息的排列顺序不限于上述排列顺序,上述仅以其中一种排列顺序进行示意说明。
可见,该实施例中,不仅记录坐标集合以及轨迹标识,还记录轨迹属性信息,使基于操作记录添加的书写轨迹与原书写轨迹更相似,且可以区分不同书写轨迹。
在另一个可选的实现方式中,若书写轨迹处理操作包括删除书写轨迹,在该实施例中可以利用处理标识表示对书写轨迹进行的处理操作,例如,可以利用删除标识表示删除轨迹标识对应的书写轨迹,鉴于此,若所述书写轨迹处理操作包括删除书写轨迹,可以获取进行删除操作的书写轨迹的轨迹标识,设置删除标识,结合删除操作的时间信息,获得所述删除书写轨迹对应的操作记录。在该实施例中,可以将删除操作的时间信息、获取的轨迹标识、删除标识进行组合,获得所述删除书写轨迹对应的操作记录。
例如,在一个例子中,格式可以为:
删除操作时间信息轨迹标识删除标识。
可见,该实施例利用删除标识表示删除操作,以便在后续读取到该删除标识时,删除该轨迹标识所对应的书写轨迹。
作为另一种实现手段,可以利用坐标集合为空表示删除,鉴于此,可以获取进行删除操作的书写轨迹的轨迹标识,设置空坐标集合和空轨迹属性信息,基于所获取的轨迹标识和空的坐标集合和轨迹属性信息,结合删除操作的时间信息,获得删除书写轨迹对应的操作记录。例如,格式可以为:删除操作时间信息轨迹标识空空。
上述实施例是利用空表示删除该条书写轨迹,可以理解的是,还可以采用其他方式表示该条操作记录为删除操作记录,在此不一一列举。
相应的,操作内容还可以包括删除速度,以便在后续读取操作记录时,可以基于操作记录中的删除速度删除书写轨迹,以模拟原始删除操作。
在另一个可选的实现方式中,若书写轨迹处理操作包括修改书写轨迹,且修改后仍为一条书写轨迹,可以保留该条书写轨迹的轨迹标识,并根据修改操作,获取修改后的轨迹的触摸点坐标集合以及轨迹属性信息,结合修改操作的时间信息,生成修改书写轨迹对应的操作记录。其中,轨迹属性信息可以是粗细程度、颜色、修改速度等。通过记录轨迹属性信息,基于操作记录绘制出的书写轨迹与原书写轨迹更相似。
实际应用中,修改操作还可能使原来的书写轨迹变成两条或两条以上的书写轨迹,例如,擦除某部分轨迹以使原来的书写轨迹不连接,还可以在分开的书写轨迹上进一步进行修改等。为了区分修改获得的至少两条书写轨迹,需要采用不同的书写轨迹进行标识。在一个例子中,为了在后续读取操作记录时能确定是对已有的哪条书写轨迹进行修改,因此针对修改获得的至少两条书写轨迹,其中一条书写轨迹可以保留原有书写轨迹的轨迹标识,针对其他条书写轨迹配置新的轨迹标识。例如,所述生成相应的操作记录包括:获取进行修改操作的书写轨迹的轨迹标识,并从修改获得的书写轨迹中获取构成其中一条书写轨迹的触摸点的坐标集合以及轨迹属性信息,结合修改操作的时间信息,获得所获取的轨迹标识对应的操作记录;为修改获得的其他条书写轨迹配置新的轨迹标识,并获取构成其他条书写轨迹的触摸点的坐标集合以及轨迹属性信息,结合修改操作的时间信息,获得新配置的轨迹标识对应的操作记录。
在该实施例中,可以将修改操作的时间信息、获取的轨迹标识、构成其中一条书写轨迹的触摸点的坐标集合以及轨迹属性信息进行组合,获得所获取的轨迹标识对应的操作记录。同理,可以将修改操作的时间信息、新配置的轨迹标识、构成其他条书写轨迹的触摸点的坐标集合以及轨迹属性信息进行组合,获得每个新配置的轨迹标识对应的操作记录。
其中,进行修改操作的书写轨迹,可以是当前正在被处理的书写轨迹。轨迹属性信息可以是粗细程度、颜色、修改速度等。在其他例子中,操作记录也可以不包括轨迹属性信息,或者还可以包括轨迹操作类型标识等其他信息。
可见,该实施例在一条书写轨迹被修改为多条书写轨迹后,通过保留原有书写轨迹以及为剩余的书写轨迹每条书写轨迹创建新的轨迹标识的方式,可以为修改获得的多条书写轨迹分别生成操作记录,从而便于后续读取时能实现操作过程的重现。
在另一个实施例中,若所述书写轨迹处理操作包括移动书写轨迹,生成操作记录可以包括:获取进行移动操作的书写轨迹的轨迹标识,并将所获取的轨迹标识对应的触摸点的坐标集合进行更新,结合移动操作的时间信息,获得所述移动书写轨迹对应的操作记录。其中,将获取的各种信息进行组合即可获得移动书写轨迹对应的操作记录。进一步的,还可以获取移动速度、移动路径等属性信息,将属性信息也记录在操作记录中。
相应的,若所述书写轨迹处理操作包括缩放书写轨迹,生成操作记录可以包括:获取进行缩放操作的书写轨迹的轨迹标识,并将所获取的轨迹标识对应的触摸点坐标集合进行更新,结合缩放操作的时间信息,获得所述缩放书写轨迹对应的操作记录。
应当理解,生成操作记录的方式还有很多种,目的可以是为了记录书写轨迹的处理操作,以便在后续能根据操作记录重新执行操作等。
在实际应用中,在书写设备上还可能进行插入图片等图像处理操作,鉴于此,步骤201中所述操作还可以包括图像处理操作。所述图像处理操作可以包括:插入图像、删除图像、移动图像和缩放图像等中的一种或多种。针对每次图像处理操作都可以生成相应的操作记录。
该实施例中,针对操作的划分以插入图像、删除图像、移动图像或缩放图像等图像处理操作是否完成进行划分。例如,在插入图像操作过程中,可能需要进行多个步骤,例如,点击“插入图像”控件,选择待插入的图像等操作。在插入图像操作所有步骤完成时,可以为此次操作生成相应的操作记录。
生成操作记录的目的是为了记录进行了何种操作,便于后续能重现该操作,鉴于此,图像处理操作对应的操作记录,可以包括操作时间信息。操作时间信息可以用于区分书写过程中不同操作之间的时间间隔和顺序。
操作记录除了记录该图像处理操作的操作时间信息,还需要记录具体的操作内容,目的是为了能基于操作时间信息按照时间顺序,利用操作内容重新执行本次操作。鉴于此,所述操作内容可以是能还原图像处理操作的信息。
在一个例子中,为了区分对何种图像进行了处理,因此操作内容可以包括图像标识,图像标识可以是唯一标识图像的标识信息。为了区分对图像进行了何种操作,操作内容还可以包括图像操作类型标识,以表征对图像进行了何种操作。例如,插入标识、删除标识、移动标识、缩放标识等。针对不同类型的图像处理操作,操作内容还包括不同的信息。例如,针对插入图像操作,操作内容中可以包括该图像的存储路径,以实现后续读取时能根据存储路径获取图像,同时避免在操作记录中存储图像导致的资源浪费。然而,在某些场景下,某些图像是从网站下载,或者读取设备与书写设备不是同一个设备,为了便于读取设备能正确读取目标文件,因此,作为其中一个例子,操作内容可以包括图像。进一步的,还可以记录图像在屏幕上的位置信息以及图像大小等属性信息。针对删除图像,基于图像操作类型标识即可确定对图像标识对应的图像进行删除操作。针对移动图像,操作内容中还可以包括移动速度、移动轨迹等信息。针对缩放图像,操作内容中还可以包括缩放速度、缩放比例等信息。
可以理解的是,本说明书实施例中,除了对图像这种素材进行操作外,还可以对其他素材进行操作,例如,对文件进行操作,相应的,操作还可以包括文件处理操作等,在此不 一一列举。
在实际的书写过程中可能不止创建一个页面用于进行书写,鉴于此,步骤201中的操作还可以包括页面处理操作。所述页面处理操作可以包括:添加页面、删除页面和切换页面中的一种或多种。针对不同的页面处理操作,可以生成相应的操作记录。
页面处理操作对应的操作记录,可以包括操作时间信息。操作时间信息可以用于区分书写过程中不同操作之间的时间间隔和顺序。
操作记录除了记录该页面处理操作的操作时间信息,还需要记录具体的操作内容,目的是为了能按操作时间信息的顺序,利用操作内容重新执行本次操作。鉴于此,所述操作内容可以是能还原页面处理操作的信息。
在一个例子中,所述操作内容包括页面标识和页面操作类型,所述页面操作类型包括添加、删除和切换。可见,该实施例可以基于页面标识确定进行页面操作的页面,根据页面操作类型可以确定进行了何种操作,从而实现页面操作的记录。以下列举其中一种操作记录进行示例说明,页面处理操作对应的操作记录可以采用以下格式:
操作时间信息页面操作类型页面标识
例如:
00:00:00创建页面ID_01
00:20:00创建页面ID_02
00:40:00切换页面ID_01
01:10:00删除页面ID_01
针对切换操作,在一个例子中,可以将当前页面的页面标识写在前,将所需切换到的页面(目标页面)的页面标识写在后,以便区分切换前后的页面。在另一个例子中,切换操作对应的操作记录中可以记录目标页面的页面标识,而无需记录切换前页面的页面标识,在读取到该条操作记录时,直接从当前页面切换到目标标识对应的页面。如例子中的第三条记录“00:40:00切换页面ID_01”,页面ID_01即为目标页面的页面标识,即页面ID_01是所需切换到的页面对应的页面标识。
页面处理操作对应的操作内容还可以包括其他用于记录页面处理操作的信息,在此不一一列举。
针对每次操作都生成并存储操作对应的操作记录。如果接收到文件生成指令,则可以 基于所述文件生成指令所指示的操作记录生成目标文件。在一个例子中,为了实现操作记录的可存储或可传输,可以将目标文件进行序列化处理。进一步的,还可以将目标文件进行压缩,将其打包成一个文件,便于存储和传输。
关于文件生成指令,文件生成指令可以是在书写完成或书写过程中,通过文件生成控件被触发而生成的文件生成指令,该文件生成指令指示将本次书写过程所存储的操作记录生成文件,即所述文件生成指令所指示的操作记录为本次书写过程所存储的操作记录。例如,如图2B所示,图2B是本发明根据一示例性实施例示出的一种书写屏幕示意图。在书写屏幕的菜单栏中增加“文件生成”控件,用户在确定需要将之前的操作生成文件时,可以点击“文件生成”控件,从而触发生成文件生成指令,实现将本次书写过程所存储的操作记录生成文件。
文件生成指令也可以是在书写完成或书写过程中,在用户从所存储的操作记录中选择需要生成文件的操作记录后生成的指令。例如,接收到操作记录选择指令,显示所存储的操作记录,基于用户的选择以及确认操作触发生成文件生成指令。该文件生成指令指示将从本次书写过程所存储的操作记录中筛选获得的操作记录生成文件,即所述文件生成指令所指示的操作记录为从本次书写过程所存储的操作记录中筛选获得的操作记录。
可见,用户可以从操作记录中筛选出所期望存储的操作记录,而不是默认将所存储的操作记录生成目标文件,实现了目标文件中操作记录的可选择性。
生成目标文件后,可以将目标文件存储在本书写设备,也可以将目标文件传输至其他设备。本书写设备或其他接收到目标文件的设备可以读取目标文件,根据目标文件中各操作时间信息,依次基于操作内容执行相应操作,并展示由操作产生的展示信息。可见,读取设备可以是执行信息存储方法的书写设备,也可以是其他接收到目标文件的设备。读取设备可以根据目标文件中操作时间信息按时间顺序读取操作时间信息对应的操作内容,并基于操作内容执行相应的操作,在屏幕中展示由操作产生的展示信息。可见,在读取设备读取并展示过程中,可以实现展示信息回放。
在实际应用中,由于用户在使用书写设备时,往往会对书写内容进行介绍,鉴于此,可以在用户使用书写设备时,同步录音,获得音频文件。为了避免音频的录制时间与目标文件中各操作的操作时间不一致,还可以对音频文件进行后期编辑,以使基于音频文件播放出来的音频与基于操作记录展示出的画面相契合。此外,音频文件也可以是后续录制获得的音频文件,音频文件可以是音频格式,例如mp3、wav等格式。
鉴于此,所述方法还包括:将预录制的音频文件添加至所述目标文件,所述音频文件用于在所述读取设备展示所述展示信息时同步被播放,所述音频文件为与所述展示信息关联的录音数据。所谓与所述展示信息关联的录音数据,可以是展示信息的语音介绍。
相应的,为了后续能快速加载每个页面内的信息,还可以在接收到保存记录指令时,将每个页面的最终页面数据存储在页面文件,可以称为最终数据。最终页面数据中无需时间戳,均为最终的数据结果。例如,将每个页面最终的书写轨迹信息、图像信息等进行存储,获得最终页面数据,以便后续读取最终页面数据时,能快速加载并获得每个页面的最终页面。进一步的,可以将获得的最终数据添加到目标文件,操作记录相当于过程数据,从而实现目标文件中既包括过程数据,又包括最终数据。
以上实施方式中的各种技术特征可以任意进行组合,只要特征之间的组合不存在冲突或矛盾,但是限于篇幅,未进行一一描述,因此上述实施方式中的各种技术特征的任意进行组合也属于本说明书公开的范围。
以下列举其中一种组合进行示例说明。
如图2C所示,图2C是本发明根据一示例性实施例示出的一种文件内容目录结构图。在该文件中,可以包括由上述步骤201至203生成的操作记录(所有操作记录作为过程数据),还包括每个版面的最终页面数据(所有页面的最终页面数据作为最终数据),以及音频文件。过程数据中包括页面改动记录文件和页面文件夹。页面改动记录文件用于记录页面处理操作对应的操作记录。页面文件夹中包括不同页面,每个页面记录有相应的页面信息记录(例如,书写轨迹处理操作对应的操作记录、图像处理操作对应的操作记录等)。将记录页面处理操作对应的操作记录与页面信息记录分别存储在不同的文件夹中,便于后续快速查询和读取。最终数据中可以包括页面文件夹,页面文件中记录有不同页面的最终页面数据。进一步的,可以将该文件进行压缩,打包为一个文件,以便后续存储和传输。
相应的,本发明还提供一种信息展示方法,用于读取信息存储方法获得的目标文件,进而基于目标文件中各操作时间信息,依次展示基于操作内容获得的展示信息。如图3所示,图3是本发明根据一示例性实施例示出的一种信息展示方法的流程图,所述方法可以包括以下步骤301和302:
在步骤301中,读取上述信息存储方法获得的目标文件,所述目标文件至少包括一条操作记录,所述操作记录至少包括操作时间信息和操作内容。
在步骤302中,根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容 执行相应操作,并展示由操作产生的展示信息。
本实施例中,可以基于预设的展示策略读取目标文件,根据目标文件中各操作时间信息,按照时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息。展示策略与信息存储方法中生成目标文件的策略相对应,目的是能执行每条操作记录对应的操作。例如,可以基于操作时间信息依次读取操作时间信息对应的操作内容。如果针对不同的操作记录均按操作时间顺序依次存储在同一个文件中,则可以依次读取操作记录。如果针对不同的操作记录可能存在不同的文件中,例如,页面处理操作对应的操作记录存储在页面改动记录文件,书写轨迹处理操作对应的操作记录、以及图像处理操作对应的操作记录存储在页面文件中,则从空白内容开始,读取页面改动记录文件中的第一条操作记录,执行第一条操作记录对应的操作(第一条操作记录往往是创建页面),然后在该页面对应的页面文件中读取操作记录,每次读取页面文件中首条未读操作记录时,将页面文件中该操作记录的操作时间信息与页面改动记录文件中首条未读操作记录的操作时间信息进行比较,若页面文件中首条未读操作记录的操作时间早于页面改动记录文件中首条未读操作记录的操作时间,则执行页面文件中首条未读操作记录的操作时间;若页面文件中首条未读操作记录的操作时间晚于页面改动记录文件中首条未读操作记录的操作时间,则执行页面改动记录文件中首条未读操作记录,从而实现基于操作时间信息依次读取操作时间信息对应的操作内容。
关于基于操作内容执行相应操作,并展示由操作产生的展示信息,例如,针对添加书写轨迹对应的操作内容,利用该操作内容可以执行添加书写轨迹操作,并展示由添加操作产生的展示信息。如果操作记录中还包括书写速度,则按书写速度绘制书写轨迹并进行展示等。又如,针对删除书写轨迹对应的操作内容,利用该操作内容可以执行删除书写轨迹操作,并展示由删除操作产生的展示信息,如按移动速度操作已有的某条书写轨迹。
进一步的,如果执行信息展示方法的读取设备与执行信息存储方法的书写设备不是同一个设备,且两个设备的屏幕显示比例不同,则可以基于两个设备的屏幕显示比例对操作记录中坐标集合进行调整,以使调整后的坐标适应读取设备的显示比例。
所述目标文件中除了包括操作记录外,还可以包括音频文件,在展示由操作产生的展示信息时,同步播放音频文件。展示信息的操作和音频文件的播放操作可以是独立的,将音频播放和信息展示相结合,实现音频和书写操作回放,使用户既能会看书写内容,又能听书写过程的介绍,给用户带来便利。
所述目标文件中除了包括操作记录外,还可以包括最终数据(最终数据包括每个页面的最终页面数据)。如果每个页面的最终页面数据存储在页面文件中,在获取展示信息过程 中,可以遍历页面文件,创建页面,然后遍历页面文件里的最终页面数据,将书写笔迹、图像等信息加载到页面。相比于从过程数据中加载,直接从最终数据加载速度较快。
关于相邻操作对应的展示信息的展示时间间隔,在一个例子中,相邻操作对应的展示信息的展示时间间隔可以为基于操作时间信息获得的间隔,即按照展示时间信息确定的展示顺序以及展示时间信息确定的时间间隔,依次执行操作并展示由操作产生的展示信息,实现回放进度与原始书写进度相一致。
在某些应用场景中,用户期望的时间间隔与实际的操作时间间隔不同。如,可能由于实际的操作时间间隔比较长,而用户又不期望这么长的间隔时间;又或者,由于实际的操作时间间隔较短,而用户又期望较长的间隔时间等,鉴于此,相邻操作对应的展示信息的展示时间间隔可以为指定时间间隔。指定时间间隔可以是预先设置的固定值,也可以是基于用户选择获得的值。例如,提供选择的指定时间间隔可以为0分钟、2分钟、5分钟、10分钟等,根据用户选择指令,获得指定时间间隔。
可见,由于相邻操作对应的展示信息的展示时间间隔为指定时间间隔,可以实现操作时间间隔的可控性,控制相邻操作的间隔时间。
进一步的,可以忽略原始操作中页面处理操作与书写轨迹处理操作以及图像处理操作的执行顺序,将一个页面内的书写轨迹处理操作和图像处理操作执行完成后,再执行下一页面的书写轨迹处理操作和图像处理操作。例如,针对当前页面,可以逐条读取当前页面内的操作记录,依次基于操作内容执行相应操作,并展示由操作产生的展示信息,再对下一页面进行相同处理,实现将所有页面的最终版面数据展示出来。例如,读取页面改动记录文件,逐条读取页面处理操作对应的操作记录,忽略操作时间信息,按相应的操作内容执行相应的操作,例如按创建、删除等操作把页面重新加载出来,然后遍历页面文件里的数据,逐条进行读取,把书写笔迹加载上去。该过程相当于把所有操作重复一遍,加载时间可能比较长,但不需要再存储一份最终数据。
进一步的,若所述目标文件中所有操作记录被执行完成,监测用户对书写设备的操作,对每次操作生成相应的操作记录,所述操作记录至少包括操作时间信息和操作内容;将所述操作记录添加至所述目标文件。可见,在重新执行操作并展示由操作获得的展示信息后,还可以继续进行信息存储,实现页面的二次编辑。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成。所述的程序可以存储于一计算机可读取存储介质中。该程序 在执行时,包括上述方法所述的步骤。所述的存储介质,包括:ROM/RAM、磁碟、光盘等。
与前述信息存储方法的实施例相对应,本发明还提供了信息存储装置及其所应用的电子设备、以及计算机存储介质的实施例。
如图4所示,图4是本发明根据一示例性实施例示出的一种信息存储装置的框图,所述装置包括:记录生成模块41、记录存储模块42和文件生成模块43。
其中,记录生成模块41,用于监测书写设备上的操作,对每次操作生成相应的操作记录,所述操作记录至少包括操作时间信息和操作内容。
记录存储模块42,用于存储所述操作记录。
文件生成模块43,用于若接收到文件生成指令,基于所述文件生成指令所指示的操作记录生成目标文件,所述目标文件用于被读取设备读取,以便所述读取设备根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息,所述读取设备包括所述书写设备或接收到所述目标文件的设备。
在一个可选的实现方式中,所述操作包括页面处理操作、书写轨迹处理操作、图像处理操作中的一种或多种。
例如,所述页面处理操作包括:添加页面、删除页面和切换页面等中的一种或多种;所述书写轨迹处理操作包括:添加书写轨迹、删除书写轨迹、移动书写轨迹、缩放书写轨迹和修改书写轨迹等中的一种或多种;所述图像处理操作包括:插入图像、删除图像、移动图像和缩放图像等中的一种或多种。
在一个可选的实现方式中,若所述操作为书写轨迹处理操作,所述操作内容包括轨迹标识以及构成书写轨迹的触摸点的坐标集合。
进一步的,在一个例子中,所述操作内容还可以包括表示书写轨迹处理操作的操作类型标识。例如,若所述操作为书写轨迹处理操作,所述操作内容包括轨迹标识、表示书写轨迹处理操作的操作类型标识、以及构成书写轨迹的触摸点的坐标集合。
在一个例子中,所述操作内容还可以包括轨迹属性信息,例如,若所述操作为书写轨迹处理操作,所述操作内容包括轨迹标识、构成书写轨迹的触摸点的坐标集合以及轨迹属性信息。
在某些例子中,若所述操作为书写轨迹处理操作,所述操作内容包括轨迹标识以及用于表示书写轨迹处理操作的操作类型标识。
在一个可选的实现方式中,记录生成模块41用于:
若所述书写轨迹处理操作包括添加书写轨迹,为添加的书写轨迹配置标识该书写轨迹的轨迹标识,获取构成所述书写轨迹的触摸点的坐标集合以及轨迹属性信息,结合添加操作的时间信息,获得所述添加书写轨迹对应的操作记录;或,
若所述书写轨迹处理操作包括删除书写轨迹,获取进行删除操作的书写轨迹的轨迹标识,设置删除标识,结合删除操作的时间信息,获得所述删除书写轨迹对应的操作记录;或,
若所述书写轨迹处理操作包括修改书写轨迹、且修改为至少两条书写轨迹,获取进行修改操作的书写轨迹的轨迹标识,并从修改获得的书写轨迹中获取构成其中一条书写轨迹的触摸点的坐标集合以及轨迹属性信息,结合修改操作的时间信息,获得所获取的轨迹标识对应的操作记录;为修改获得的其他条书写轨迹配置新的轨迹标识,并获取构成其他条书写轨迹的触摸点的坐标集合以及轨迹属性信息,结合修改操作的时间信息,获得新配置的轨迹标识对应的操作记录;或,
若所述书写轨迹处理操作包括移动书写轨迹,获取进行移动操作的书写轨迹的轨迹标识,并将所获取的轨迹标识对应的触摸点的坐标集合进行更新,结合移动操作的时间信息,获得所述移动书写轨迹对应的操作记录。
在一个可选的实现方式中,若所述操作为页面处理操作,所述操作内容包括页面标识和页面操作类型,所述页面操作类型包括添加、删除和切换。
在一个可选的实现方式中,所述文件生成指令所指示的操作记录为本次书写过程所存储的操作记录。
在一个可选的实现方式中,所述文件生成指令所指示的操作记录为从本次书写过程所存储的操作记录中筛选获得的操作记录。
在一个可选的实现方式中,所述文件生成模块43还用于:将预录制的音频文件添加至所述目标文件,所述音频文件用于在所述读取设备展示所述展示信息时同步被播放,所述音频文件为与所述展示信息关联的录音数据。
相应的,本发明实施例一种计算机存储介质,所述存储介质中存储有程序指令,所述程序指令包括:
监测书写设备上的操作,对每次操作生成相应的操作记录,所述操作记录至少包括操作时间信息和操作内容;
存储所述操作记录;
若接收到文件生成指令,基于所述文件生成指令所指示的操作记录生成目标文件,所述目标文件用于被读取设备读取,以便所述读取设备根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息,所述读取设备包括所述书写设备或接收到所述目标文件的设备。
本发明可采用在一个或多个其中包含有程序代码的存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。计算机可用存储介质包括永久性和非永久性、可移动和非可移动媒体,可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括但不限于:相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。
上述装置中各个模块的功能和作用的实现过程具体详情见上述方法中对应步骤的实现过程,在此不再赘述。
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本发明方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
本发明信息存储装置的实施例可以应用在电子设备上,例如电子设备可以是交互智能平板。装置实施例可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。以软件实现为例,作为一个逻辑意义上的装置,是通过其所在电子设备的处理器将非易失性存储器中对应的计算机程序指令读取到内存中运行形成的。从硬件层面而言,如图5所示,图5是本发明根据一示例性实施例示出的信息存储装置532所在电子设备的一种硬件结构图,除了图5所示的处理器510、内存530、网络接口520、以及非易失性存储器540之外,实施例中装置532所在的电子设备通常根据该电子设备的实际功能,还可以包括其他硬件,对此不再赘述。
与前述信息展示方法的实施例相对应,本发明还提供了信息展示装置及其所应用的电子设备、以及计算机存储介质的实施例。
如图6所示,图6是本发明根据一示例性实施例示出的一种信息展示装置的框图,所述装置包括:
文件读取模块61,用于读取图2A所示信息存储方法获得的目标文件,所述目标文件至少包括一条操作记录,所述操作记录至少包括操作时间信息和操作内容。
处理模块62,用于根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息。
在一个可选的实现方式中,相邻操作对应的展示信息的展示时间间隔为基于操作时间信息获得的间隔,或为指定时间间隔。
在一个可选的实现方式中,所述装置还包括存储模块,用于(图6未示出):
若所述目标文件中所有操作记录被执行完成,监测用户对书写设备的操作,对每次操作生成相应的操作记录,所述操作记录至少包括操作时间信息和操作内容;将所述操作记录添加至所述目标文件。
相应的,本发明实施例一种计算机存储介质,所述存储介质中存储有程序指令,所述程序指令包括:
读取由上述信息存储方法获得的目标文件,所述目标文件至少包括一条操作记录,所述操作记录至少包括操作时间信息和操作内容;
根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息。
本发明可采用在一个或多个其中包含有程序代码的存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。计算机可用存储介质包括永久性和非永久性、可移动和非可移动媒体,可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括但不限于:相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传 输介质,可用于存储可以被计算设备访问的信息。
上述装置中各个模块的功能和作用的实现过程具体详情见上述方法中对应步骤的实现过程,在此不再赘述。
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本发明方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
本发明信息展示装置的实施例可以应用在电子设备上。装置实施例可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。以软件实现为例,作为一个逻辑意义上的装置,是通过其所在电子设备的处理器将非易失性存储器中对应的计算机程序指令读取到内存中运行形成的。从硬件层面而言,如图7所示,图7是本发明根据一示例性实施例示出的信息展示装置732所在电子设备的一种硬件结构图,除了图7所示的处理器710、内存730、网络接口720、以及非易失性存储器740之外,实施例中装置732所在的电子设备通常根据该电子设备的实际功能,还可以包括其他硬件,对此不再赘述。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本发明旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。

Claims (17)

  1. 一种信息存储方法,其特征在于,所述方法包括:
    监测书写设备上的操作,对每次操作生成相应的操作记录,所述操作记录至少包括操作时间信息和操作内容;
    存储所述操作记录;
    若接收到文件生成指令,基于所述文件生成指令所指示的操作记录生成目标文件,所述目标文件用于被读取设备读取,以便所述读取设备根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息,所述读取设备包括所述书写设备或接收到所述目标文件的设备。
  2. 根据权利要求1所述的方法,其特征在于,所述操作包括页面处理操作、书写轨迹处理操作、图像处理操作中的一种或多种。
  3. 根据权利要求2所述的方法,其特征在于,若所述操作为书写轨迹处理操作,所述操作内容包括轨迹标识以及构成书写轨迹的触摸点的坐标集合,或所述操作内容包括轨迹标识、构成书写轨迹的触摸点的坐标集合以及轨迹属性信息,或所述操作内容包括轨迹标识以及用于表示书写轨迹处理操作的操作类型标识。
  4. 根据权利要求3所述的方法,其特征在于,所述生成相应的操作记录包括:
    若所述书写轨迹处理操作包括添加书写轨迹,为添加的书写轨迹配置标识该书写轨迹的轨迹标识,获取构成所述书写轨迹的触摸点的坐标集合以及轨迹属性信息,结合添加操作的时间信息,获得所述添加书写轨迹对应的操作记录;或,
    若所述书写轨迹处理操作包括删除书写轨迹,获取进行删除操作的书写轨迹的轨迹标识,设置删除标识,结合删除操作的时间信息,获得所述删除书写轨迹对应的操作记录;或,
    若所述书写轨迹处理操作包括修改书写轨迹、且修改为至少两条书写轨迹,获取进行修改操作的书写轨迹的轨迹标识,并从修改获得的书写轨迹中获取构成其中一条书写轨迹的触摸点的坐标集合以及轨迹属性信息,结合修改操作的时间信息,获得所获取的轨迹标识对应的操作记录;为修改获得的其他条书写轨迹配置新的轨迹标识,并获取构成其他条书写轨迹的触摸点的坐标集合以及轨迹属性信息,结合修改操作的时间信息,获得新配置的轨迹标识对应的操作记录;或,
    若所述书写轨迹处理操作包括移动书写轨迹,获取进行移动操作的书写轨迹的轨迹标识,并将所获取的轨迹标识对应的触摸点的坐标集合进行更新,结合移动操作的时间信息,获得所述移动书写轨迹对应的操作记录。
  5. 根据权利要求2所述的方法,其特征在于,若所述操作为页面处理操作,所述操作内 容包括页面标识和页面操作类型,所述页面操作类型包括添加、删除和切换。
  6. 根据权利要求1至5任一项所述的方法,其特征在于,所述文件生成指令所指示的操作记录为本次书写过程所存储的操作记录;或,
    所述文件生成指令所指示的操作记录为从本次书写过程所存储的操作记录中筛选获得的操作记录。
  7. 根据权利要求1至5任一项所述的方法,其特征在于,所述方法还包括:将预录制的音频文件添加至所述目标文件,所述音频文件用于在所述读取设备展示所述展示信息时同步被播放,所述音频文件为与所述展示信息关联的录音数据。
  8. 一种信息展示方法,其特征在于,所述方法包括:
    读取权利要求1至7所述信息存储方法获得的目标文件,所述目标文件至少包括一条操作记录,所述操作记录至少包括操作时间信息和操作内容;
    根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息。
  9. 根据权利要求8所述的方法,其特征在于,相邻操作对应的展示信息的展示时间间隔为基于操作时间信息获得的间隔,或为指定时间间隔。
  10. 根据权利要求8所述的方法,其特征在于,所述方法还包括:
    若所述目标文件中所有操作记录被执行完成,监测用户对书写设备的操作,对每次操作生成相应的操作记录,所述操作记录至少包括操作时间信息和操作内容;
    将所述操作记录添加至所述目标文件。
  11. 一种信息存储装置,其特征在于,所述装置包括:
    记录生成模块,用于监测书写设备上的操作,对每次操作生成相应的操作记录,所述操作记录至少包括操作时间信息和操作内容;
    记录存储模块,用于存储所述操作记录;
    文件生成模块,用于若接收到文件生成指令,基于所述文件生成指令所指示的操作记录生成目标文件,所述目标文件用于被读取设备读取,以便所述读取设备根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息,所述读取设备包括所述书写设备或接收到所述目标文件的设备。
  12. 根据权利要求11所述的装置,其特征在于,所述文件生成模块还用于:将预录制的音频文件添加至所述目标文件,所述音频文件用于在所述读取设备展示所述展示信息时同步被播放,所述音频文件为与所述展示信息关联的录音数据。
  13. 一种信息展示装置,其特征在于,所述装置包括:
    文件读取模块,用于读取权利要求11或12所述信息存储装置获得的目标文件,所述目标文件至少包括一条操作记录,所述操作记录至少包括操作时间信息和操作内容;
    处理模块,用于根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息。
  14. 一种电子设备,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    监测书写设备上的操作,对每次操作生成相应的操作记录,所述操作记录至少包括操作时间信息和操作内容;
    存储所述操作记录;
    若接收到文件生成指令,基于所述文件生成指令所指示的操作记录生成目标文件,所述目标文件用于被读取设备读取,以便所述读取设备根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息,所述读取设备包括所述书写设备或接收到所述目标文件的设备。
  15. 一种电子设备,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    读取权利要求1至7所述信息存储方法获得的目标文件,所述目标文件至少包括一条操作记录,所述操作记录至少包括操作时间信息和操作内容;
    根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息。
  16. 一种计算机存储介质,其特征在于,所述存储介质中存储有程序指令,所述程序指令包括:
    监测书写设备上的操作,对每次操作生成相应的操作记录,所述操作记录至少包括操作时间信息和操作内容;
    存储所述操作记录;
    若接收到文件生成指令,基于所述文件生成指令所指示的操作记录生成目标文件,所述目标文件用于被读取设备读取,以便所述读取设备根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息,所述读取设备包 括所述书写设备或接收到所述目标文件的设备。
  17. 一种计算机存储介质,其特征在于,所述存储介质中存储有程序指令,所述程序指令包括:
    读取权利要求1至7所述信息存储方法获得的目标文件,所述目标文件至少包括一条操作记录,所述操作记录至少包括操作时间信息和操作内容;
    根据所述目标文件中各操作时间信息,按时间顺序依次基于操作内容执行相应操作,并展示由操作产生的展示信息。
PCT/CN2017/116220 2017-08-30 2017-12-14 信息存储、展示方法、装置、设备及计算机存储介质 WO2019041639A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710764324.6 2017-08-30
CN201710764324.6A CN107515722A (zh) 2017-08-30 2017-08-30 信息存储、展示方法、装置、设备及计算机存储介质

Publications (1)

Publication Number Publication Date
WO2019041639A1 true WO2019041639A1 (zh) 2019-03-07

Family

ID=60724424

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/116220 WO2019041639A1 (zh) 2017-08-30 2017-12-14 信息存储、展示方法、装置、设备及计算机存储介质

Country Status (2)

Country Link
CN (1) CN107515722A (zh)
WO (1) WO2019041639A1 (zh)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108111903A (zh) * 2018-01-17 2018-06-01 广东欧珀移动通信有限公司 录屏文件播放方法、装置及终端
CN108170397A (zh) * 2018-01-19 2018-06-15 广州视源电子科技股份有限公司 数据显示方法、装置、设备及存储介质
JP7228964B2 (ja) * 2018-05-25 2023-02-27 シャープ株式会社 情報処理装置、情報処理方法、及びプログラム
CN108829480A (zh) * 2018-06-11 2018-11-16 深圳市德安里科技有限公司 电子手写板的书画过程记录方法、装置、设备和存储介质
CN109446025B (zh) * 2018-10-17 2022-08-23 北京字节跳动网络技术有限公司 一种操作行为的回放方法、装置、电子设备及可读介质
CN111104378A (zh) * 2018-10-29 2020-05-05 珠海格力电器股份有限公司 页面内容处理方法
CN111009021A (zh) * 2019-11-22 2020-04-14 珠海豹趣科技有限公司 一种电子白板的回放方法及相关设备
CN112100140A (zh) * 2020-09-11 2020-12-18 深圳市皓丽智能科技有限公司 电子白板文件保存方法、电子白板及计算机存储介质
CN112506370A (zh) * 2020-11-20 2021-03-16 广州朗国电子科技有限公司 一种基于触控屏实时保存记录方法、设备及存储介质
CN116483236A (zh) * 2023-03-30 2023-07-25 广州优谷信息技术有限公司 基于电子绘本的朗读回放方法、系统、装置及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541817A (zh) * 2010-12-26 2012-07-04 上海量明科技发展有限公司 一种数字文档的预览方法及装置
CN105706456A (zh) * 2014-05-23 2016-06-22 三星电子株式会社 用于再现内容的方法和装置
US20160299648A1 (en) * 2015-04-10 2016-10-13 Apple Inc. Media playback navigation
US20170229156A1 (en) * 2012-04-18 2017-08-10 Scorpcast, Llc System and methods for providing user generated video reviews

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SE520504C2 (sv) * 2001-11-30 2003-07-15 Anoto Ab Elektronisk penna och metod för registrering av handskriven information
CN106570919A (zh) * 2016-10-13 2017-04-19 深圳市创易联合科技有限公司 电子笔迹的保存方法和还原方法
CN106569589B (zh) * 2016-10-28 2019-10-08 网易(杭州)网络有限公司 一种信息处理方法、设备和系统
CN106775385B (zh) * 2016-11-29 2020-01-24 广州视源电子科技股份有限公司 智能书写方法及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541817A (zh) * 2010-12-26 2012-07-04 上海量明科技发展有限公司 一种数字文档的预览方法及装置
US20170229156A1 (en) * 2012-04-18 2017-08-10 Scorpcast, Llc System and methods for providing user generated video reviews
CN105706456A (zh) * 2014-05-23 2016-06-22 三星电子株式会社 用于再现内容的方法和装置
US20160299648A1 (en) * 2015-04-10 2016-10-13 Apple Inc. Media playback navigation

Also Published As

Publication number Publication date
CN107515722A (zh) 2017-12-26

Similar Documents

Publication Publication Date Title
WO2019041639A1 (zh) 信息存储、展示方法、装置、设备及计算机存储介质
EP2300906B1 (en) Copying of animation effects from a source object to at least one target object
TW201600980A (zh) 管理具有時間線的日曆事件
EP2854049A1 (en) Method for managing and displaying folders based on android system and mobile terminal thereof
CN111539188B (zh) 笔记生成方法、计算设备及计算机存储介质
US9880986B2 (en) Information display apparatus, non-transitory computer-readable storage medium and display control method
KR102337157B1 (ko) 전자 칠판 장치 및 그 제어 방법
CN113934356A (zh) 智能交互平板的显示操作方法、装置、设备和存储介质
EP4351150A1 (en) Video processing method and apparatus, and device and storage medium
CN101334990B (zh) 信息显示设备和信息显示方法
CN110955355A (zh) 电子白板的文件处理方法及装置、计算机可读存储介质
KR20150090097A (ko) 강화된 정보 수집 환경 운영 기법
JP2011095809A (ja) プレゼンテーション支援システム
JP2014171053A (ja) 電子文書コンテナデータファイル、電子文書コンテナデータファイル生成装置、電子文書コンテナデータファイル生成プログラム、サーバ装置および電子文書コンテナデータファイル生成方法
CN115048023A (zh) 电子笔记还原方法、装置、介质以及交互平板
CN104216627B (zh) 便携式电子阅读编辑装置及其文档编辑方法
WO2020186816A1 (zh) 页面元素突出显示方法、装置、设备及存储介质
US20150058394A1 (en) Method for processing data and electronic apparatus
CN112462989A (zh) 智能交互平板的操作方法、装置、智能交互平板及介质
JP2019144507A (ja) 出力装置、データ出力システム、及び出力方法
CN111158808B (zh) 一种显示设备及白板文件保存方法
Batty Smartphone screenwriting: Creativity, technology, and screenplays-on-the-go
WO2023004556A1 (zh) 行为录制方法、行为回放方法、装置、设备及存储介质
JP6089922B2 (ja) 情報処理装置及び情報編集プログラム
WO2024065097A1 (zh) 板书内容展示方法、电子设备及存储介质

Legal Events

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

Ref document number: 17923430

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17923430

Country of ref document: EP

Kind code of ref document: A1

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

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

122 Ep: pct application non-entry in european phase

Ref document number: 17923430

Country of ref document: EP

Kind code of ref document: A1